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) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean hasCluster()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
hasCluster
in interface ServerDefOrBuilder
public ClusterDef getCluster()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
getCluster
in interface ServerDefOrBuilder
public ClusterDefOrBuilder getClusterOrBuilder()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
getClusterOrBuilder
in interface ServerDefOrBuilder
public 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 ServerDefOrBuilder
public 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 ServerDefOrBuilder
public 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 ServerDefOrBuilder
public boolean hasDefaultSessionConfig()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
hasDefaultSessionConfig
in interface ServerDefOrBuilder
public ConfigProto getDefaultSessionConfig()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
getDefaultSessionConfig
in interface ServerDefOrBuilder
public ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
getDefaultSessionConfigOrBuilder
in interface ServerDefOrBuilder
public String getProtocol()
The protocol to be used by this server. Acceptable values include: "grpc".
string protocol = 5;
getProtocol
in interface ServerDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getProtocolBytes()
The protocol to be used by this server. Acceptable values include: "grpc".
string protocol = 5;
getProtocolBytes
in interface ServerDefOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static ServerDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ServerDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ServerDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static ServerDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ServerDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static ServerDef parseFrom(InputStream input) throws IOException
IOException
public static ServerDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ServerDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ServerDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ServerDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static ServerDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ServerDef.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static ServerDef.Builder newBuilder()
public static ServerDef.Builder newBuilder(ServerDef prototype)
public ServerDef.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected ServerDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public ServerDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.