パブリック最終クラスJobDef
Defines a single job in a TensorFlow cluster.
tensorflow.JobDef ネストされたクラス
| クラス | ジョブ定義ビルダー | Defines a single job in a TensorFlow cluster. | |
定数
| 整数 | NAME_FIELD_NUMBER | |
| 整数 | TASKS_FIELD_NUMBER | 
パブリックメソッド
| ブール値 | containsTasks (int キー)  Mapping from task ID to "hostname:port" string. | 
| ブール値 | 等しい(オブジェクトオブジェクト) | 
| 静的JobDef | |
| ジョブ定義 | |
| 最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
| 弦 | getName ()  The name of this job. | 
| com.google.protobuf.ByteString |  getNameBytes ()  The name of this job. | 
| 整数 | |
| Map<整数、文字列> |  getTask () 代わりに getTasksMap()を使用してください。 | 
| 整数 | getTasksCount ()  Mapping from task ID to "hostname:port" string. | 
| Map<整数、文字列> |  getTasksMap ()  Mapping from task ID to "hostname:port" string. | 
| 弦 | getTasksOrDefault (int キー、文字列のデフォルト値)  Mapping from task ID to "hostname:port" string. | 
| 弦 | getTasksOrThrow (int キー)  Mapping from task ID to "hostname:port" string. | 
| 最終的な com.google.protobuf.UnknownFieldSet | |
| 整数 | ハッシュコード() | 
| 最終ブール値 | |
| 静的JobDef.Builder |  newBuilder ( JobDefプロトタイプ) | 
| 静的JobDef.Builder |  newBuilder () | 
| ジョブ定義ビルダー | |
| 静的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) | 
| 静的 | パーサー() | 
| ジョブ定義ビルダー | toビルダー() | 
| 空所 | 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; public booleanに等しい(オブジェクト obj)
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getName ()
The name of this job.
string name = 1; public com.google.protobuf.ByteString getNameBytes ()
The name of this job.
string name = 1; 公共
public int getSerializedSize ()
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; public 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; public String 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; public String 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 ()
パブリック最終ブール値isInitialized ()
public static JobDef parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 | 
|---|
public static JobDef parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 | 
|---|
public static JobDef parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 | 
|---|
public static JobDef parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 | 
|---|
public static JobDef parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| IO例外 | 
|---|
public static JobDef parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
| 無効なプロトコルバッファ例外 | 
|---|
パブリック静的
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
| IO例外 | 
|---|