JobDef

공개 최종 클래스 JobDef

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

중첩 클래스

수업 JobDef.Builder
 Defines a single job in a TensorFlow cluster. 

상수

정수 NAME_FIELD_NUMBER
정수 TASKS_FIELD_NUMBER

공개 방법

부울
containTasks (int 키)
 Mapping from task ID to "hostname:port" string.
부울
같음 (객체 객체)
정적 JobDef
JobDef
최종 정적 com.google.protobuf.Descriptors.Descriptor
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.
최종 com.google.protobuf.UnknownFieldSet
정수
최종 부울
정적 JobDef.Builder
newBuilder ( JobDef 프로토타입)
정적 JobDef.Builder
JobDef.Builder
정적 JobDef
parsDelimitedFrom (InputStream 입력)
정적 JobDef
parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 JobDef
parsFrom (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 확장Registry)
정적 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

공개 정적 최종 int TASKS_FIELD_NUMBER

상수값: 2

공개 방법

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

공개 부울은 (객체 obj)와 같습니다 .

공개 정적 JobDef getDefaultInstance ()

공개 JobDef getDefaultInstanceForType ()

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

공개 문자열 getName ()

 The name of this job.
 
string name = 1;

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

 The name of this job.
 
string name = 1;

공공의 getParserForType ()

공개 int getSerializedSize ()

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

공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()

공개 int hashCode ()

공개 최종 부울 isInitialized ()

공개 정적 JobDef.Builder newBuilder ( JobDef 프로토타입)

공개 정적 JobDef.Builder newBuilder ()

공개 JobDef.Builder newBuilderForType ()

공개 정적 JobDef parseDelimitedFrom (InputStream 입력)

던지기
IO예외

공개 정적 JobDefparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 JobDef 구문 분석 (ByteBuffer 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 JobDef 구문 분석 (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)

던지기
IO예외

공개 정적 JobDef 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 JobDef parsFrom (com.google.protobuf.CodedInputStream 입력)

던지기
IO예외

공개 정적 JobDef 구문 분석 (바이트[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)

던지기
잘못된프로토콜버퍼예외

공개 정적 JobDef 구문 분석 (com.google.protobuf.ByteString 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 JobDef parsFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 JobDef ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 파서 ()

공개 JobDef.Builder toBuilder ()

공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)

던지기
IO예외