Package tensorflow.eager
Class EagerServiceOuterClass.CreateContextRequest.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
- tensorflow.eager.EagerServiceOuterClass.CreateContextRequest.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,EagerServiceOuterClass.CreateContextRequestOrBuilder
- Enclosing class:
- EagerServiceOuterClass.CreateContextRequest
public static final class EagerServiceOuterClass.CreateContextRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder> implements EagerServiceOuterClass.CreateContextRequestOrBuilder
Protobuf typetensorflow.eager.CreateContextRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EagerServiceOuterClass.CreateContextRequest.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
EagerServiceOuterClass.CreateContextRequest
build()
EagerServiceOuterClass.CreateContextRequest
buildPartial()
EagerServiceOuterClass.CreateContextRequest.Builder
clear()
EagerServiceOuterClass.CreateContextRequest.Builder
clearAsync()
Whether the ops on the worker should be executed synchronously or asynchronously.EagerServiceOuterClass.CreateContextRequest.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
EagerServiceOuterClass.CreateContextRequest.Builder
clearKeepAliveSecs()
Number of seconds to keep the context alive.EagerServiceOuterClass.CreateContextRequest.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
EagerServiceOuterClass.CreateContextRequest.Builder
clearServerDef()
Identifies the full cluster, and this particular worker's position within.EagerServiceOuterClass.CreateContextRequest.Builder
clearVersionDef()
This is the version for all the ops that will be enqueued by the client.EagerServiceOuterClass.CreateContextRequest.Builder
clone()
boolean
getAsync()
Whether the ops on the worker should be executed synchronously or asynchronously.EagerServiceOuterClass.CreateContextRequest
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getKeepAliveSecs()
Number of seconds to keep the context alive.ServerDef
getServerDef()
Identifies the full cluster, and this particular worker's position within.ServerDef.Builder
getServerDefBuilder()
Identifies the full cluster, and this particular worker's position within.ServerDefOrBuilder
getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.VersionDef
getVersionDef()
This is the version for all the ops that will be enqueued by the client.VersionDef.Builder
getVersionDefBuilder()
This is the version for all the ops that will be enqueued by the client.VersionDefOrBuilder
getVersionDefOrBuilder()
This is the version for all the ops that will be enqueued by the client.boolean
hasServerDef()
Identifies the full cluster, and this particular worker's position within.boolean
hasVersionDef()
This is the version for all the ops that will be enqueued by the client.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EagerServiceOuterClass.CreateContextRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
EagerServiceOuterClass.CreateContextRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
EagerServiceOuterClass.CreateContextRequest.Builder
mergeFrom(EagerServiceOuterClass.CreateContextRequest other)
EagerServiceOuterClass.CreateContextRequest.Builder
mergeServerDef(ServerDef value)
Identifies the full cluster, and this particular worker's position within.EagerServiceOuterClass.CreateContextRequest.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
EagerServiceOuterClass.CreateContextRequest.Builder
mergeVersionDef(VersionDef value)
This is the version for all the ops that will be enqueued by the client.EagerServiceOuterClass.CreateContextRequest.Builder
setAsync(boolean value)
Whether the ops on the worker should be executed synchronously or asynchronously.EagerServiceOuterClass.CreateContextRequest.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
EagerServiceOuterClass.CreateContextRequest.Builder
setKeepAliveSecs(long value)
Number of seconds to keep the context alive.EagerServiceOuterClass.CreateContextRequest.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
EagerServiceOuterClass.CreateContextRequest.Builder
setServerDef(ServerDef value)
Identifies the full cluster, and this particular worker's position within.EagerServiceOuterClass.CreateContextRequest.Builder
setServerDef(ServerDef.Builder builderForValue)
Identifies the full cluster, and this particular worker's position within.EagerServiceOuterClass.CreateContextRequest.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
EagerServiceOuterClass.CreateContextRequest.Builder
setVersionDef(VersionDef value)
This is the version for all the ops that will be enqueued by the client.EagerServiceOuterClass.CreateContextRequest.Builder
setVersionDef(VersionDef.Builder builderForValue)
This is the version for all the ops that will be enqueued by the client.-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clear
public EagerServiceOuterClass.CreateContextRequest.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.CreateContextRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.CreateContextRequest build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.CreateContextRequest buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.CreateContextRequest.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
setField
public EagerServiceOuterClass.CreateContextRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clearField
public EagerServiceOuterClass.CreateContextRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clearOneof
public EagerServiceOuterClass.CreateContextRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
setRepeatedField
public EagerServiceOuterClass.CreateContextRequest.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
addRepeatedField
public EagerServiceOuterClass.CreateContextRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextRequest.Builder mergeFrom(EagerServiceOuterClass.CreateContextRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextRequest.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
- Throws:
IOException
-
hasServerDef
public boolean hasServerDef()
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
- Specified by:
hasServerDef
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- Whether the serverDef field is set.
-
getServerDef
public ServerDef getServerDef()
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
- Specified by:
getServerDef
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- The serverDef.
-
setServerDef
public EagerServiceOuterClass.CreateContextRequest.Builder setServerDef(ServerDef value)
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
-
setServerDef
public EagerServiceOuterClass.CreateContextRequest.Builder setServerDef(ServerDef.Builder builderForValue)
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
-
mergeServerDef
public EagerServiceOuterClass.CreateContextRequest.Builder mergeServerDef(ServerDef value)
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
-
clearServerDef
public EagerServiceOuterClass.CreateContextRequest.Builder clearServerDef()
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
-
getServerDefBuilder
public ServerDef.Builder getServerDefBuilder()
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
-
getServerDefOrBuilder
public ServerDefOrBuilder getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
- Specified by:
getServerDefOrBuilder
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
getAsync
public boolean getAsync()
Whether the ops on the worker should be executed synchronously or asynchronously. By default, ops are executed synchronously.
bool async = 2;
- Specified by:
getAsync
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- The async.
-
setAsync
public EagerServiceOuterClass.CreateContextRequest.Builder setAsync(boolean value)
Whether the ops on the worker should be executed synchronously or asynchronously. By default, ops are executed synchronously.
bool async = 2;
- Parameters:
value
- The async to set.- Returns:
- This builder for chaining.
-
clearAsync
public EagerServiceOuterClass.CreateContextRequest.Builder clearAsync()
Whether the ops on the worker should be executed synchronously or asynchronously. By default, ops are executed synchronously.
bool async = 2;
- Returns:
- This builder for chaining.
-
getKeepAliveSecs
public long getKeepAliveSecs()
Number of seconds to keep the context alive. If more than keep_alive_secs has passed since a particular context has been communicated with, it will be garbage collected.
int64 keep_alive_secs = 3;
- Specified by:
getKeepAliveSecs
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- The keepAliveSecs.
-
setKeepAliveSecs
public EagerServiceOuterClass.CreateContextRequest.Builder setKeepAliveSecs(long value)
Number of seconds to keep the context alive. If more than keep_alive_secs has passed since a particular context has been communicated with, it will be garbage collected.
int64 keep_alive_secs = 3;
- Parameters:
value
- The keepAliveSecs to set.- Returns:
- This builder for chaining.
-
clearKeepAliveSecs
public EagerServiceOuterClass.CreateContextRequest.Builder clearKeepAliveSecs()
Number of seconds to keep the context alive. If more than keep_alive_secs has passed since a particular context has been communicated with, it will be garbage collected.
int64 keep_alive_secs = 3;
- Returns:
- This builder for chaining.
-
hasVersionDef
public boolean hasVersionDef()
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
- Specified by:
hasVersionDef
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- Whether the versionDef field is set.
-
getVersionDef
public VersionDef getVersionDef()
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
- Specified by:
getVersionDef
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- The versionDef.
-
setVersionDef
public EagerServiceOuterClass.CreateContextRequest.Builder setVersionDef(VersionDef value)
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
-
setVersionDef
public EagerServiceOuterClass.CreateContextRequest.Builder setVersionDef(VersionDef.Builder builderForValue)
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
-
mergeVersionDef
public EagerServiceOuterClass.CreateContextRequest.Builder mergeVersionDef(VersionDef value)
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
-
clearVersionDef
public EagerServiceOuterClass.CreateContextRequest.Builder clearVersionDef()
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
-
getVersionDefBuilder
public VersionDef.Builder getVersionDefBuilder()
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
-
getVersionDefOrBuilder
public VersionDefOrBuilder getVersionDefOrBuilder()
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
- Specified by:
getVersionDefOrBuilder
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
setUnknownFields
public final EagerServiceOuterClass.CreateContextRequest.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.CreateContextRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
-