public final class ServerDef extends com.github.os72.protobuf351.GeneratedMessageV3 implements ServerDefOrBuilder
Defines the configuration of a single TensorFlow server.Protobuf type
tensorflow.ServerDef| Modifier and Type | Class and Description |
|---|---|
static class |
ServerDef.Builder
Defines the configuration of a single TensorFlow server.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_FIELD_NUMBER |
static int |
DEFAULT_SESSION_CONFIG_FIELD_NUMBER |
static int |
JOB_NAME_FIELD_NUMBER |
static int |
PROTOCOL_FIELD_NUMBER |
static int |
TASK_INDEX_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ClusterDef |
getCluster()
The cluster of which this server is a member.
|
ClusterDefOrBuilder |
getClusterOrBuilder()
The cluster of which this server is a member.
|
static ServerDef |
getDefaultInstance() |
ServerDef |
getDefaultInstanceForType() |
ConfigProto |
getDefaultSessionConfig()
The default configuration for sessions that run on this server.
|
ConfigProtoOrBuilder |
getDefaultSessionConfigOrBuilder()
The default configuration for sessions that run on this server.
|
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getJobName()
The name of the job of which this server is a member.
|
com.github.os72.protobuf351.ByteString |
getJobNameBytes()
The name of the job of which this server is a member.
|
com.github.os72.protobuf351.Parser<ServerDef> |
getParserForType() |
String |
getProtocol()
The protocol to be used by this server.
|
com.github.os72.protobuf351.ByteString |
getProtocolBytes()
The protocol to be used by this server.
|
int |
getSerializedSize() |
int |
getTaskIndex()
The task index of this server in its job.
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCluster()
The cluster of which this server is a member.
|
boolean |
hasDefaultSessionConfig()
The default configuration for sessions that run on this server.
|
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServerDef.Builder |
newBuilder() |
static ServerDef.Builder |
newBuilder(ServerDef prototype) |
ServerDef.Builder |
newBuilderForType() |
protected ServerDef.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static ServerDef |
parseDelimitedFrom(InputStream input) |
static ServerDef |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(byte[] data) |
static ServerDef |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(ByteBuffer data) |
static ServerDef |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static ServerDef |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static ServerDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(InputStream input) |
static ServerDef |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<ServerDef> |
parser() |
ServerDef.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLUSTER_FIELD_NUMBER
public static final int JOB_NAME_FIELD_NUMBER
public static final int TASK_INDEX_FIELD_NUMBER
public static final int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.github.os72.protobuf351.MessageOrBuildergetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3public boolean hasCluster()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;hasCluster in interface ServerDefOrBuilderpublic ClusterDef getCluster()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;getCluster in interface ServerDefOrBuilderpublic ClusterDefOrBuilder getClusterOrBuilder()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;getClusterOrBuilder in interface ServerDefOrBuilderpublic 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;getJobName in interface ServerDefOrBuilderpublic com.github.os72.protobuf351.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;getJobNameBytes in interface ServerDefOrBuilderpublic 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;getTaskIndex in interface ServerDefOrBuilderpublic boolean hasDefaultSessionConfig()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;hasDefaultSessionConfig in interface ServerDefOrBuilderpublic ConfigProto getDefaultSessionConfig()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;getDefaultSessionConfig in interface ServerDefOrBuilderpublic ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;getDefaultSessionConfigOrBuilder in interface ServerDefOrBuilderpublic String getProtocol()
The protocol to be used by this server. Acceptable values include: "grpc".
string protocol = 5;getProtocol in interface ServerDefOrBuilderpublic com.github.os72.protobuf351.ByteString getProtocolBytes()
The protocol to be used by this server. Acceptable values include: "grpc".
string protocol = 5;getProtocolBytes in interface ServerDefOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3public void writeTo(com.github.os72.protobuf351.CodedOutputStream output)
throws IOException
writeTo in interface com.github.os72.protobuf351.MessageLitewriteTo in class com.github.os72.protobuf351.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.github.os72.protobuf351.MessageLitegetSerializedSize in class com.github.os72.protobuf351.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.github.os72.protobuf351.Messageequals in class com.github.os72.protobuf351.AbstractMessagepublic int hashCode()
hashCode in interface com.github.os72.protobuf351.MessagehashCode in class com.github.os72.protobuf351.AbstractMessagepublic static ServerDef parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerDef parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerDef parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerDef parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOExceptionpublic static ServerDef parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServerDef.Builder newBuilderForType()
newBuilderForType in interface com.github.os72.protobuf351.MessagenewBuilderForType in interface com.github.os72.protobuf351.MessageLitepublic static ServerDef.Builder newBuilder()
public static ServerDef.Builder newBuilder(ServerDef prototype)
public ServerDef.Builder toBuilder()
toBuilder in interface com.github.os72.protobuf351.MessagetoBuilder in interface com.github.os72.protobuf351.MessageLiteprotected ServerDef.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.github.os72.protobuf351.GeneratedMessageV3public static ServerDef getDefaultInstance()
public static com.github.os72.protobuf351.Parser<ServerDef> parser()
public com.github.os72.protobuf351.Parser<ServerDef> getParserForType()
getParserForType in interface com.github.os72.protobuf351.MessagegetParserForType in interface com.github.os72.protobuf351.MessageLitegetParserForType in class com.github.os72.protobuf351.GeneratedMessageV3public ServerDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderCopyright © 2018. All rights reserved.