Package org.tensorflow.distruntime
Interface ServerDefOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerDef
,ServerDef.Builder
public interface ServerDefOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterDef
getCluster()
The cluster of which this server is a member.ClusterDefOrBuilder
getClusterOrBuilder()
The cluster of which this server is a member.ConfigProto
getDefaultSessionConfig()
The default configuration for sessions that run on this server.ConfigProtoOrBuilder
getDefaultSessionConfigOrBuilder()
The default configuration for sessions that run on this server.String
getJobName()
The name of the job of which this server is a member.org.nd4j.shade.protobuf.ByteString
getJobNameBytes()
The name of the job of which this server is a member.String
getProtocol()
The protocol to be used by this server.org.nd4j.shade.protobuf.ByteString
getProtocolBytes()
The protocol to be used by this server.int
getTaskIndex()
The task index of this server in its job.boolean
hasCluster()
The cluster of which this server is a member.boolean
hasDefaultSessionConfig()
The default configuration for sessions that run on this server.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCluster
boolean hasCluster()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
- Returns:
- Whether the cluster field is set.
-
getCluster
ClusterDef getCluster()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
- Returns:
- The cluster.
-
getClusterOrBuilder
ClusterDefOrBuilder getClusterOrBuilder()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
-
getJobName
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;
- Returns:
- The jobName.
-
getJobNameBytes
org.nd4j.shade.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;
- Returns:
- The bytes for jobName.
-
getTaskIndex
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;
- Returns:
- The taskIndex.
-
hasDefaultSessionConfig
boolean hasDefaultSessionConfig()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
- Returns:
- Whether the defaultSessionConfig field is set.
-
getDefaultSessionConfig
ConfigProto getDefaultSessionConfig()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
- Returns:
- The defaultSessionConfig.
-
getDefaultSessionConfigOrBuilder
ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
-
getProtocol
String getProtocol()
The protocol to be used by this server. Acceptable values include: "grpc".
string protocol = 5;
- Returns:
- The protocol.
-
getProtocolBytes
org.nd4j.shade.protobuf.ByteString getProtocolBytes()
The protocol to be used by this server. Acceptable values include: "grpc".
string protocol = 5;
- Returns:
- The bytes for protocol.
-
-