public interface ServerDefOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and 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.
|
com.google.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.
|
com.google.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasCluster()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
ClusterDef getCluster()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
ClusterDefOrBuilder getClusterOrBuilder()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
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;
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;
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;
boolean hasDefaultSessionConfig()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
ConfigProto getDefaultSessionConfig()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
String getProtocol()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
com.google.protobuf.ByteString getProtocolBytes()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
Copyright © 2015–2019. All rights reserved.