public final class
ServerDef
Defines the configuration of a single TensorFlow server.Protobuf type
tensorflow.ServerDef
Nested Classes
class | ServerDef.Builder | Defines the configuration of a single TensorFlow server. |
Constants
Public Methods
boolean |
equals(Object obj)
|
ClusterDef |
getCluster()
The cluster of which this server is a member. |
ClusterDeviceFilters |
getClusterDeviceFilters()
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. |
static ServerDef | |
ServerDef | |
ConfigProto |
getDefaultSessionConfig()
The default configuration for sessions that run on this server. |
ConfigProtoOrBuilder |
getDefaultSessionConfigOrBuilder()
The default configuration for sessions that run on this server. |
final static com.google.protobuf.Descriptors.Descriptor | |
String |
getJobName()
The name of the job of which this server is a member. |
com.google.protobuf.ByteString |
getJobNameBytes()
The name of the job of which this server is a member. |
|
|
int |
getPort()
The server port. |
String |
getProtocol()
The protocol to be used by this server. |
com.google.protobuf.ByteString |
getProtocolBytes()
The protocol to be used by this server. |
int | |
int |
getTaskIndex()
The task index of this server in its job. |
final com.google.protobuf.UnknownFieldSet | |
boolean |
hasCluster()
The cluster of which this server is a member. |
boolean |
hasClusterDeviceFilters()
Device filters for remote tasks in the cluster. |
boolean |
hasDefaultSessionConfig()
The default configuration for sessions that run on this server. |
int |
hashCode()
|
final boolean | |
static ServerDef.Builder |
newBuilder(ServerDef prototype)
|
static ServerDef.Builder | |
ServerDef.Builder | |
static ServerDef |
parseDelimitedFrom(InputStream input)
|
static ServerDef |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServerDef |
parseFrom(ByteBuffer data)
|
static ServerDef |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServerDef |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServerDef |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static ServerDef |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServerDef |
parseFrom(com.google.protobuf.ByteString data)
|
static ServerDef |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static ServerDef |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
ServerDef.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
Constant Value:
7
public static final int CLUSTER_FIELD_NUMBER
Constant Value:
1
public static final int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
Constant Value:
4
public static final int JOB_NAME_FIELD_NUMBER
Constant Value:
2
public static final int PORT_FIELD_NUMBER
Constant Value:
6
public static final int PROTOCOL_FIELD_NUMBER
Constant Value:
5
public static final int TASK_INDEX_FIELD_NUMBER
Constant Value:
3
Public Methods
public boolean equals (Object obj)
public ClusterDef getCluster ()
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 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;