JobDef.Builder

공개 정적 최종 클래스 JobDef.Builder

 Defines a single job in a TensorFlow cluster.
 
Protobuf 유형 tensorflow.JobDef

공개 방법

JobDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
JobDef
짓다 ()
JobDef
JobDef.Builder
JobDef.Builder
ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드)
JobDef.Builder
클리어이름 ()
 The name of this job.
JobDef.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
JobDef.Builder
JobDef.Builder
클론 ()
불리언
containTasks (int 키)
 Mapping from task ID to "hostname:port" string.
JobDef
최종 정적 com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
맵<정수, 문자열>
getMutableTasks ()
대신 대체 돌연변이 접근자를 사용하세요.
getName ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
맵<정수, 문자열>
getTasks ()
대신 getTasksMap() 사용하세요.
정수
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
맵<정수, 문자열>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
getTasksOrDefault (int 키, 문자열 defaultValue)
 Mapping from task ID to "hostname:port" string.
getTasksOrThrow (정수 키)
 Mapping from task ID to "hostname:port" string.
최종 부울
JobDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
JobDef.Builder
mergeFrom (com.google.protobuf.다른 메시지 보내기)
최종 JobDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields)
JobDef.Builder
putAllTasks (Map<Integer, String> 값)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
putTasks (int 키, 문자열 값)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
RemoveTasks (int 키)
 Mapping from task ID to "hostname:port" string.
JobDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
JobDef.Builder
setName (문자열 값)
 The name of this job.
JobDef.Builder
setNameBytes (com.google.protobuf.ByteString 값)
 The name of this job.
JobDef.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
최종 JobDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

상속된 메서드

공개 방법

공개 JobDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)

공개 JobDef 빌드 ()

공개 JobDef 빌드Partial ()

공개 JobDef.Builder 지우기 ()

공개 JobDef.BuilderclearField (com.google.protobuf.Descriptors.FieldDescriptor 필드 )

공개 JobDef.Builder 클리어이름 ()

 The name of this job.
 
string name = 1;

공개 JobDef.BuilderclearOneof ( com.google.protobuf.Descriptors.OneofDescriptor oneof)

공개 JobDef.Builder 클리어태스크 ()

공개 JobDef.Builder 클론 ()

공개 부울 containTasks (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;

공개 JobDef getDefaultInstanceForType ()

공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()

공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

공개 Map<Integer, String> getMutableTasks ()

대신 대체 돌연변이 접근자를 사용하세요.

공개 문자열 getName ()

 The name of this job.
 
string name = 1;

공개 com.google.protobuf.ByteString getNameBytes ()

 The name of this job.
 
string name = 1;

공개 Map<Integer, String> getTasks ()

대신 getTasksMap() 사용하세요.

공개 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;

공용 Map<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 키, 문자열 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;

공개 최종 부울 isInitialized ()

공개 JobDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 JobDef.Builder mergeFrom (com.google.protobuf.기타 메시지)

공개 최종 JobDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

공용 JobDef.Builder putAllTasks (Map<Integer, String> 값)

 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;

공개 JobDef.Builder putTasks (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;

공개 JobDef.Builder RemoveTasks (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;

공개 JobDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)

공용 JobDef.Builder setName (문자열 값)

 The name of this job.
 
string name = 1;

공개 JobDef.Builder setNameBytes (com.google.protobuf.ByteString 값)

 The name of this job.
 
string name = 1;

public JobDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)

공개 최종 JobDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)