public final class ServerDef extends org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
org.nd4j.shade.protobuf.Parser<ServerDef> |
getParserForType() |
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 |
getSerializedSize() |
int |
getTaskIndex()
The task index of this server in its job.
|
org.nd4j.shade.protobuf.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 org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServerDef.Builder |
newBuilder() |
static ServerDef.Builder |
newBuilder(ServerDef prototype) |
ServerDef.Builder |
newBuilderForType() |
protected ServerDef.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ServerDef |
parseDelimitedFrom(InputStream input) |
static ServerDef |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(byte[] data) |
static ServerDef |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(ByteBuffer data) |
static ServerDef |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static ServerDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static ServerDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerDef |
parseFrom(InputStream input) |
static ServerDef |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<ServerDef> |
parser() |
ServerDef.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.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 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;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 org.nd4j.shade.protobuf.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 org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static ServerDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static ServerDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServerDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServerDef.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static ServerDef.Builder newBuilder()
public static ServerDef.Builder newBuilder(ServerDef prototype)
public ServerDef.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected ServerDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static ServerDef getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<ServerDef> parser()
public org.nd4j.shade.protobuf.Parser<ServerDef> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public ServerDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.