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.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)EagerServiceOuterClass.CreateContextRequestbuild()EagerServiceOuterClass.CreateContextRequestbuildPartial()EagerServiceOuterClass.CreateContextRequest.Builderclear()EagerServiceOuterClass.CreateContextRequest.BuilderclearAsync()Whether the ops on the worker should be executed synchronously or asynchronously.EagerServiceOuterClass.CreateContextRequest.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)EagerServiceOuterClass.CreateContextRequest.BuilderclearKeepAliveSecs()Number of seconds to keep the context alive.EagerServiceOuterClass.CreateContextRequest.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)EagerServiceOuterClass.CreateContextRequest.BuilderclearServerDef()Identifies the full cluster, and this particular worker's position within.EagerServiceOuterClass.CreateContextRequest.BuilderclearVersionDef()This is the version for all the ops that will be enqueued by the client.EagerServiceOuterClass.CreateContextRequest.Builderclone()booleangetAsync()Whether the ops on the worker should be executed synchronously or asynchronously.EagerServiceOuterClass.CreateContextRequestgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetKeepAliveSecs()Number of seconds to keep the context alive.ServerDefgetServerDef()Identifies the full cluster, and this particular worker's position within.ServerDef.BuildergetServerDefBuilder()Identifies the full cluster, and this particular worker's position within.ServerDefOrBuildergetServerDefOrBuilder()Identifies the full cluster, and this particular worker's position within.VersionDefgetVersionDef()This is the version for all the ops that will be enqueued by the client.VersionDef.BuildergetVersionDefBuilder()This is the version for all the ops that will be enqueued by the client.VersionDefOrBuildergetVersionDefOrBuilder()This is the version for all the ops that will be enqueued by the client.booleanhasServerDef()Identifies the full cluster, and this particular worker's position within.booleanhasVersionDef()This is the version for all the ops that will be enqueued by the client.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()EagerServiceOuterClass.CreateContextRequest.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)EagerServiceOuterClass.CreateContextRequest.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)EagerServiceOuterClass.CreateContextRequest.BuildermergeFrom(EagerServiceOuterClass.CreateContextRequest other)EagerServiceOuterClass.CreateContextRequest.BuildermergeServerDef(ServerDef value)Identifies the full cluster, and this particular worker's position within.EagerServiceOuterClass.CreateContextRequest.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)EagerServiceOuterClass.CreateContextRequest.BuildermergeVersionDef(VersionDef value)This is the version for all the ops that will be enqueued by the client.EagerServiceOuterClass.CreateContextRequest.BuildersetAsync(boolean value)Whether the ops on the worker should be executed synchronously or asynchronously.EagerServiceOuterClass.CreateContextRequest.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)EagerServiceOuterClass.CreateContextRequest.BuildersetKeepAliveSecs(long value)Number of seconds to keep the context alive.EagerServiceOuterClass.CreateContextRequest.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)EagerServiceOuterClass.CreateContextRequest.BuildersetServerDef(ServerDef value)Identifies the full cluster, and this particular worker's position within.EagerServiceOuterClass.CreateContextRequest.BuildersetServerDef(ServerDef.Builder builderForValue)Identifies the full cluster, and this particular worker's position within.EagerServiceOuterClass.CreateContextRequest.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)EagerServiceOuterClass.CreateContextRequest.BuildersetVersionDef(VersionDef value)This is the version for all the ops that will be enqueued by the client.EagerServiceOuterClass.CreateContextRequest.BuildersetVersionDef(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:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clear
public EagerServiceOuterClass.CreateContextRequest.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.CreateContextRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.CreateContextRequest build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.CreateContextRequest buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.CreateContextRequest.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein 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:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clearField
public EagerServiceOuterClass.CreateContextRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clearOneof
public EagerServiceOuterClass.CreateContextRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin 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:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasServerDefin 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:
getServerDefin 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:
getServerDefOrBuilderin 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:
getAsyncin 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:
getKeepAliveSecsin 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:
hasVersionDefin 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:
getVersionDefin 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:
getVersionDefOrBuilderin interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
setUnknownFields
public final EagerServiceOuterClass.CreateContextRequest.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.CreateContextRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
-