パブリック静的最終クラスServerDef.Builder
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef
パブリックメソッド
サーバー定義ビルダー | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
サーバー定義 | 建てる() |
サーバー定義 | buildPartial () |
サーバー定義ビルダー | クリア() |
サーバー定義ビルダー | クリアクラスター() The cluster of which this server is a member. |
サーバー定義ビルダー | ClearClusterDeviceFilters () Device filters for remote tasks in the cluster. |
サーバー定義ビルダー | clearDefaultSessionConfig () The default configuration for sessions that run on this server. |
サーバー定義ビルダー | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
サーバー定義ビルダー | クリアジョブ名() The name of the job of which this server is a member. |
サーバー定義ビルダー | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
サーバー定義ビルダー | クリアポート() The server port. |
サーバー定義ビルダー | クリアプロトコル() The protocol to be used by this server. |
サーバー定義ビルダー | クリアタスクインデックス() The task index of this server in its job. |
サーバー定義ビルダー | クローン() |
クラスター定義 | getCluster () The cluster of which this server is a member. |
ClusterDef.Builder | getClusterBuilder () The cluster of which this server is a member. |
クラスターデバイスフィルター | getClusterDeviceFilters () Device filters for remote tasks in the cluster. |
ClusterDeviceFilters.Builder | getClusterDeviceFiltersBuilder () Device filters for remote tasks in the cluster. |
ClusterDeviceFiltersOrBuilder | getClusterDeviceFiltersOrBuilder () Device filters for remote tasks in the cluster. |
ClusterDefOrBuilder | getClusterOrBuilder () The cluster of which this server is a member. |
サーバー定義 | |
コンフィグプロト | getDefaultSessionConfig () The default configuration for sessions that run on this server. |
ConfigProto.Builder | getDefaultSessionConfigBuilder () The default configuration for sessions that run on this server. |
ConfigProtoOrBuilder | getDefaultSessionConfigOrBuilder () The default configuration for sessions that run on this server. |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
弦 | getジョブ名() The name of the job of which this server is a member. |
com.google.protobuf.ByteString | getジョブ名バイト() The name of the job of which this server is a member. |
整数 | getポート() The server port. |
弦 | getプロトコル() The protocol to be used by this server. |
com.google.protobuf.ByteString | getProtocolBytes () The protocol to be used by this server. |
整数 | getTaskIndex () The task index of this server in its job. |
ブール値 | hasCluster () The cluster of which this server is a member. |
ブール値 | hasClusterDeviceFilters () Device filters for remote tasks in the cluster. |
ブール値 | hasDefaultSessionConfig () The default configuration for sessions that run on this server. |
最終ブール値 | |
サーバー定義ビルダー | |
サーバー定義ビルダー | |
サーバー定義ビルダー | mergeDefaultSessionConfig ( ConfigProto値) The default configuration for sessions that run on this server. |
サーバー定義ビルダー | mergeFrom (com.google.protobuf.Message other) |
サーバー定義ビルダー | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
最終的なServerDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
サーバー定義ビルダー | |
サーバー定義ビルダー | |
サーバー定義ビルダー | setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue) Device filters for remote tasks in the cluster. |
サーバー定義ビルダー | |
サーバー定義ビルダー | setDefaultSessionConfig ( ConfigProto値) The default configuration for sessions that run on this server. |
サーバー定義ビルダー | setDefaultSessionConfig ( ConfigProto.Builder builderForValue) The default configuration for sessions that run on this server. |
サーバー定義ビルダー | setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
サーバー定義ビルダー | setJobName (文字列値) The name of the job of which this server is a member. |
サーバー定義ビルダー | setJobNameBytes (com.google.protobuf.ByteString 値) The name of the job of which this server is a member. |
サーバー定義ビルダー | setPort (int 値) The server port. |
サーバー定義ビルダー | setProtocol (文字列値) The protocol to be used by this server. |
サーバー定義ビルダー | setProtocolBytes (com.google.protobuf.ByteString 値) The protocol to be used by this server. |
サーバー定義ビルダー | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値) |
サーバー定義ビルダー | setTaskIndex (int 値) The task index of this server in its job. |
最終的なServerDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
継承されたメソッド
パブリックメソッド
public ServerDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
public ServerDef.Builder clearCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ServerDef.Builder clearClusterDeviceFilters ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ServerDef.Builder clearDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ServerDef.Builder ClearJobName ()
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2;
public ServerDef.Builder clearPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
public ServerDef.Builder clearProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public ServerDef.Builder clearTaskIndex ()
The task index of this server in its job. NOTE: The `cluster` field must contain a `JobDef` with a matching `name` and a mapping in its `tasks` field for this index.
int32 task_index = 3;
public ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ClusterDef.Builder getClusterBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ClusterDeviceFilters getClusterDeviceFilters ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ClusterDeviceFilters.Builder getClusterDeviceFiltersBuilder ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ClusterDeviceFiltersOrBuilder getClusterDeviceFiltersOrBuilder ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ClusterDefOrBuilder getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ConfigProto getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ConfigProto.Builder getDefaultSessionConfigBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getJobName ()
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2;
public com.google.protobuf.ByteString getJobNameBytes ()
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2;
public int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
public String getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public int getTaskIndex ()
The task index of this server in its job. NOTE: The `cluster` field must contain a `JobDef` with a matching `name` and a mapping in its `tasks` field for this index.
int32 task_index = 3;
public boolean hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public boolean hasClusterDeviceFilters ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public boolean hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
パブリック最終ブール値isInitialized ()
public ServerDef.Builder mergeCluster ( ClusterDef値)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ServerDef.Builder mergeClusterDeviceFilters ( ClusterDeviceFilters値)
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ServerDef.Builder mergeDefaultSessionConfig ( ConfigProto値)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ServerDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public ServerDef.Builder setCluster ( ClusterDef値)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ServerDef.Builder setCluster ( ClusterDef.Builder builderForValue)
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ServerDef.Builder setClusterDeviceFilters ( ClusterDeviceFilters.Builder builderForValue)
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ServerDef.Builder setClusterDeviceFilters ( ClusterDeviceFilters値)
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ServerDef.Builder setDefaultSessionConfig ( ConfigProto値)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ServerDef.Builder setDefaultSessionConfig ( ConfigProto.Builder builderForValue)
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ServerDef.Builder setJobName (文字列値)
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2;
public ServerDef.Builder setJobNameBytes (com.google.protobuf.ByteString 値)
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2;
public ServerDef.Builder setPort (int 値)
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
public ServerDef.Builder setProtocol (文字列値)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public ServerDef.Builder setProtocolBytes (com.google.protobuf.ByteString 値)
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public ServerDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
public ServerDef.Builder setTaskIndex (int 値)
The task index of this server in its job. NOTE: The `cluster` field must contain a `JobDef` with a matching `name` and a mapping in its `tasks` field for this index.
int32 task_index = 3;