JobDef

שיעור הגמר הציבורי JobDef

 Defines a single job in a TensorFlow cluster.
 
סוג Protobuf tensorflow.JobDef

כיתות מקוננות

מעמד JobDef.Builder
 Defines a single job in a TensorFlow cluster. 

קבועים

int NAME_FIELD_NUMBER
int TASKS_FIELD_NUMBER

שיטות ציבוריות

בוליאני
containsTasks (מפתח int)
 Mapping from task ID to "hostname:port" string.
בוליאני
שווה (Object obj)
סטטי JobDef
JobDef
final static com.google.protobuf.Descriptors.Descriptor
חוּט
getName ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
int
מפה<Integer, String>
getTasks ()
השתמש getTasksMap() במקום זאת.
int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
מפה<Integer, String>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
חוּט
getTasksOrDefault (מפתח int, String defaultValue)
 Mapping from task ID to "hostname:port" string.
חוּט
getTasksOrThrow (מפתח int)
 Mapping from task ID to "hostname:port" string.
final com.google.protobuf.UnknownFieldSet
int
בוליאנית סופית
סטטי JobDef.Builder
newBuilder (אב טיפוס של JobDef )
סטטי JobDef.Builder
JobDef.Builder
סטטי JobDef
parseDelimitedFrom (קלט InputStream)
סטטי JobDef
parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי JobDef
parseFrom (נתוני ByteBuffer)
סטטי JobDef
parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי JobDef
parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי JobDef
parseFrom (קלט com.google.protobuf.CodedInputStream)
סטטי JobDef
parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי JobDef
parseFrom (נתוני com.google.protobuf.ByteString)
סטטי JobDef
parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי JobDef
parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטָטִי
JobDef.Builder
בָּטֵל
writeTo (פלט com.google.protobuf.CodedOutputStream)

שיטות בירושה

קבועים

גמר סטטי ציבורי NAME_FIELD_NUMBER

ערך קבוע: 1

גמר סטטי ציבורי TASKS_FIELD_NUMBER

ערך קבוע: 2

שיטות ציבוריות

Public Boolean containsTasks (מפתח int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

שווה ערך בוליאני ציבורי (Object obj)

Public static JobDef getDefaultInstance ()

public JobDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

מחרוזת ציבורית getName ()

 The name of this job.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

פּוּמְבֵּי getParserForType ()

public int getSerializedSize ()

מפה ציבורית<Integer, String> getTasks ()

השתמש getTasksMap() במקום זאת.

public int getTasksCount ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

מפה ציבורית<Integer, String> getTasksMap ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

מחרוזת ציבורית getTasksOrDefault (מפתח int, String defaultValue)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

מחרוזת ציבורית getTasksOrThrow (מפתח int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

בוליאני הסופי הציבורי הוא אתחול ()

Public static JobDef.Builder newBuilder (אב טיפוס של JobDef )

public static JobDef.Builder newBuilder ()

public JobDef.Builder newBuilderForType ()

Public static JobDef parseDelimitedFrom (קלט InputStream)

זורק
IOException

Public static JobDef parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static JobDef parseFrom (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

Public static JobDef parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static JobDef parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

Public static JobDef parseFrom (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

Public static JobDef parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

Public Static JobDef parseFrom (נתוני com.google.protobuf.ByteString)

זורק
InvalidProtocolBufferException

Public static JobDef parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static JobDef parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

Public JobDef.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException