ServerDefOrBuilder

public interface ServerDefOrBuilder
Known Indirect Subclasses

Public Methods

abstract ClusterDef
getCluster ()
 The cluster of which this server is a member.
abstract ClusterDeviceFilters
getClusterDeviceFilters ()
 Device filters for remote tasks in the cluster.
abstract ClusterDeviceFiltersOrBuilder
getClusterDeviceFiltersOrBuilder ()
 Device filters for remote tasks in the cluster.
abstract ClusterDefOrBuilder
getClusterOrBuilder ()
 The cluster of which this server is a member.
abstract ConfigProto
getDefaultSessionConfig ()
 The default configuration for sessions that run on this server.
abstract ConfigProtoOrBuilder
getDefaultSessionConfigOrBuilder ()
 The default configuration for sessions that run on this server.
abstract String
getJobName ()
 The name of the job of which this server is a member.
abstract com.google.protobuf.ByteString
getJobNameBytes ()
 The name of the job of which this server is a member.
abstract int
getPort ()
 The server port.
abstract String
getProtocol ()
 The protocol to be used by this server.
abstract com.google.protobuf.ByteString
getProtocolBytes ()
 The protocol to be used by this server.
abstract int
getTaskIndex ()
 The task index of this server in its job.
abstract boolean
hasCluster ()
 The cluster of which this server is a member.
abstract boolean
hasClusterDeviceFilters ()
 Device filters for remote tasks in the cluster.
abstract boolean
hasDefaultSessionConfig ()
 The default configuration for sessions that run on this server.

Public Methods

public abstract ClusterDef getCluster ()

 The cluster of which this server is a member.
 
.tensorflow.ClusterDef cluster = 1;

public abstract 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 abstract 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 abstract ClusterDefOrBuilder getClusterOrBuilder ()

 The cluster of which this server is a member.
 
.tensorflow.ClusterDef cluster = 1;

public abstract ConfigProto getDefaultSessionConfig ()

 The default configuration for sessions that run on this server.
 
.tensorflow.ConfigProto default_session_config = 4;

public abstract ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()

 The default configuration for sessions that run on this server.
 
.tensorflow.ConfigProto default_session_config = 4;

public abstract 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 abstract 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 abstract int getPort ()

 The server port. If not set, then we identify the port from the job_name.
 
int32 port = 6;

public abstract String getProtocol ()

 The protocol to be used by this server.
 Acceptable values include: "grpc", "grpc+verbs".
 
string protocol = 5;

public abstract com.google.protobuf.ByteString getProtocolBytes ()

 The protocol to be used by this server.
 Acceptable values include: "grpc", "grpc+verbs".
 
string protocol = 5;

public abstract 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 abstract boolean hasCluster ()

 The cluster of which this server is a member.
 
.tensorflow.ClusterDef cluster = 1;

public abstract 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 abstract boolean hasDefaultSessionConfig ()

 The default configuration for sessions that run on this server.
 
.tensorflow.ConfigProto default_session_config = 4;