Package org.platanios.tensorflow.proto
Class EagerServiceOuterClass.CreateContextRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
- org.platanios.tensorflow.proto.EagerServiceOuterClass.CreateContextRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,EagerServiceOuterClass.CreateContextRequestOrBuilder
- Enclosing class:
- EagerServiceOuterClass.CreateContextRequest
public static final class EagerServiceOuterClass.CreateContextRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder> implements EagerServiceOuterClass.CreateContextRequestOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.CreateContextRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EagerServiceOuterClass.CreateContextRequest.Builder
addAllClusterDeviceAttributes(java.lang.Iterable<? extends DeviceAttributes> values)
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
addClusterDeviceAttributes(int index, DeviceAttributes value)
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
addClusterDeviceAttributes(int index, DeviceAttributes.Builder builderForValue)
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
addClusterDeviceAttributes(DeviceAttributes value)
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
addClusterDeviceAttributes(DeviceAttributes.Builder builderForValue)
Device attributes in the clusterDeviceAttributes.Builder
addClusterDeviceAttributesBuilder()
Device attributes in the clusterDeviceAttributes.Builder
addClusterDeviceAttributesBuilder(int index)
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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
clearClusterDeviceAttributes()
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
clearContextId()
The ID of the created context.EagerServiceOuterClass.CreateContextRequest.Builder
clearContextViewId()
The view ID of the context.EagerServiceOuterClass.CreateContextRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EagerServiceOuterClass.CreateContextRequest.Builder
clearKeepAliveSecs()
Number of seconds to keep the context alive.EagerServiceOuterClass.CreateContextRequest.Builder
clearLazyCopyRemoteFunctionInputs()
For a multi device function, if false, eagerly copy all remote inputs to the default function device; if true, lazily copy remote inputs to their target devices after function instantiation to avoid redundant copies.EagerServiceOuterClass.CreateContextRequest.Builder
clearOneof(com.google.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.DeviceAttributes
getClusterDeviceAttributes(int index)
Device attributes in the clusterDeviceAttributes.Builder
getClusterDeviceAttributesBuilder(int index)
Device attributes in the clusterjava.util.List<DeviceAttributes.Builder>
getClusterDeviceAttributesBuilderList()
Device attributes in the clusterint
getClusterDeviceAttributesCount()
Device attributes in the clusterjava.util.List<DeviceAttributes>
getClusterDeviceAttributesList()
Device attributes in the clusterDeviceAttributesOrBuilder
getClusterDeviceAttributesOrBuilder(int index)
Device attributes in the clusterjava.util.List<? extends DeviceAttributesOrBuilder>
getClusterDeviceAttributesOrBuilderList()
Device attributes in the clusterlong
getContextId()
The ID of the created context.long
getContextViewId()
The view ID of the context.EagerServiceOuterClass.CreateContextRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getKeepAliveSecs()
Number of seconds to keep the context alive.boolean
getLazyCopyRemoteFunctionInputs()
For a multi device function, if false, eagerly copy all remote inputs to the default function device; if true, lazily copy remote inputs to their target devices after function instantiation to avoid redundant copies.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EagerServiceOuterClass.CreateContextRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EagerServiceOuterClass.CreateContextRequest.Builder
mergeFrom(com.google.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(com.google.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
removeClusterDeviceAttributes(int index)
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
setAsync(boolean value)
Whether the ops on the worker should be executed synchronously or asynchronously.EagerServiceOuterClass.CreateContextRequest.Builder
setClusterDeviceAttributes(int index, DeviceAttributes value)
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
setClusterDeviceAttributes(int index, DeviceAttributes.Builder builderForValue)
Device attributes in the clusterEagerServiceOuterClass.CreateContextRequest.Builder
setContextId(long value)
The ID of the created context.EagerServiceOuterClass.CreateContextRequest.Builder
setContextViewId(long value)
The view ID of the context.EagerServiceOuterClass.CreateContextRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EagerServiceOuterClass.CreateContextRequest.Builder
setKeepAliveSecs(long value)
Number of seconds to keep the context alive.EagerServiceOuterClass.CreateContextRequest.Builder
setLazyCopyRemoteFunctionInputs(boolean value)
For a multi device function, if false, eagerly copy all remote inputs to the default function device; if true, lazily copy remote inputs to their target devices after function instantiation to avoid redundant copies.EagerServiceOuterClass.CreateContextRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.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(com.google.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 com.google.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 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clear
public EagerServiceOuterClass.CreateContextRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.CreateContextRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.CreateContextRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.CreateContextRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.CreateContextRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
setField
public EagerServiceOuterClass.CreateContextRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clearField
public EagerServiceOuterClass.CreateContextRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
clearOneof
public EagerServiceOuterClass.CreateContextRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
setRepeatedField
public EagerServiceOuterClass.CreateContextRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
addRepeatedField
public EagerServiceOuterClass.CreateContextRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextRequest.Builder mergeFrom(EagerServiceOuterClass.CreateContextRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeFrom
public EagerServiceOuterClass.CreateContextRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
- Throws:
java.io.IOException
-
hasServerDef
public boolean hasServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
setServerDef
public EagerServiceOuterClass.CreateContextRequest.Builder setServerDef(ServerDef.Builder builderForValue)
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
mergeServerDef
public EagerServiceOuterClass.CreateContextRequest.Builder mergeServerDef(ServerDef value)
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
clearServerDef
public EagerServiceOuterClass.CreateContextRequest.Builder clearServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
getServerDefBuilder
public ServerDef.Builder getServerDefBuilder()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
-
getServerDefOrBuilder
public ServerDefOrBuilder getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.VersionDef version_def = 4;
-
getVersionDefBuilder
public VersionDef.Builder getVersionDefBuilder()
This is the version for all the ops that will be enqueued by the client.
.org.platanios.tensorflow.proto.VersionDef version_def = 4;
-
getVersionDefOrBuilder
public VersionDefOrBuilder getVersionDefOrBuilder()
This is the version for all the ops that will be enqueued by the client.
.org.platanios.tensorflow.proto.VersionDef version_def = 4;
- Specified by:
getVersionDefOrBuilder
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
getClusterDeviceAttributesList
public java.util.List<DeviceAttributes> getClusterDeviceAttributesList()
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
- Specified by:
getClusterDeviceAttributesList
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
getClusterDeviceAttributesCount
public int getClusterDeviceAttributesCount()
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
- Specified by:
getClusterDeviceAttributesCount
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
getClusterDeviceAttributes
public DeviceAttributes getClusterDeviceAttributes(int index)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
- Specified by:
getClusterDeviceAttributes
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
setClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder setClusterDeviceAttributes(int index, DeviceAttributes value)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
setClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder setClusterDeviceAttributes(int index, DeviceAttributes.Builder builderForValue)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
addClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder addClusterDeviceAttributes(DeviceAttributes value)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
addClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder addClusterDeviceAttributes(int index, DeviceAttributes value)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
addClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder addClusterDeviceAttributes(DeviceAttributes.Builder builderForValue)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
addClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder addClusterDeviceAttributes(int index, DeviceAttributes.Builder builderForValue)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
addAllClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder addAllClusterDeviceAttributes(java.lang.Iterable<? extends DeviceAttributes> values)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
clearClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder clearClusterDeviceAttributes()
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
removeClusterDeviceAttributes
public EagerServiceOuterClass.CreateContextRequest.Builder removeClusterDeviceAttributes(int index)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
getClusterDeviceAttributesBuilder
public DeviceAttributes.Builder getClusterDeviceAttributesBuilder(int index)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
getClusterDeviceAttributesOrBuilder
public DeviceAttributesOrBuilder getClusterDeviceAttributesOrBuilder(int index)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
- Specified by:
getClusterDeviceAttributesOrBuilder
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
getClusterDeviceAttributesOrBuilderList
public java.util.List<? extends DeviceAttributesOrBuilder> getClusterDeviceAttributesOrBuilderList()
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
- Specified by:
getClusterDeviceAttributesOrBuilderList
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
-
addClusterDeviceAttributesBuilder
public DeviceAttributes.Builder addClusterDeviceAttributesBuilder()
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
addClusterDeviceAttributesBuilder
public DeviceAttributes.Builder addClusterDeviceAttributesBuilder(int index)
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
getClusterDeviceAttributesBuilderList
public java.util.List<DeviceAttributes.Builder> getClusterDeviceAttributesBuilderList()
Device attributes in the cluster
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 6;
-
getContextId
public long getContextId()
The ID of the created context. This is usually a randomly generated number, that will be used to identify the context in future requests to the service. Contexts are not persisted through server restarts. This ID will be used for all future communications as well. It is essential that both ends use this ID for selecting a rendezvous to get everything to match.
fixed64 context_id = 7;
- Specified by:
getContextId
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- The contextId.
-
setContextId
public EagerServiceOuterClass.CreateContextRequest.Builder setContextId(long value)
The ID of the created context. This is usually a randomly generated number, that will be used to identify the context in future requests to the service. Contexts are not persisted through server restarts. This ID will be used for all future communications as well. It is essential that both ends use this ID for selecting a rendezvous to get everything to match.
fixed64 context_id = 7;
- Parameters:
value
- The contextId to set.- Returns:
- This builder for chaining.
-
clearContextId
public EagerServiceOuterClass.CreateContextRequest.Builder clearContextId()
The ID of the created context. This is usually a randomly generated number, that will be used to identify the context in future requests to the service. Contexts are not persisted through server restarts. This ID will be used for all future communications as well. It is essential that both ends use this ID for selecting a rendezvous to get everything to match.
fixed64 context_id = 7;
- Returns:
- This builder for chaining.
-
getContextViewId
public long getContextViewId()
The view ID of the context.
fixed64 context_view_id = 8;
- Specified by:
getContextViewId
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- The contextViewId.
-
setContextViewId
public EagerServiceOuterClass.CreateContextRequest.Builder setContextViewId(long value)
The view ID of the context.
fixed64 context_view_id = 8;
- Parameters:
value
- The contextViewId to set.- Returns:
- This builder for chaining.
-
clearContextViewId
public EagerServiceOuterClass.CreateContextRequest.Builder clearContextViewId()
The view ID of the context.
fixed64 context_view_id = 8;
- Returns:
- This builder for chaining.
-
getLazyCopyRemoteFunctionInputs
public boolean getLazyCopyRemoteFunctionInputs()
For a multi device function, if false, eagerly copy all remote inputs to the default function device; if true, lazily copy remote inputs to their target devices after function instantiation to avoid redundant copies.
bool lazy_copy_remote_function_inputs = 9;
- Specified by:
getLazyCopyRemoteFunctionInputs
in interfaceEagerServiceOuterClass.CreateContextRequestOrBuilder
- Returns:
- The lazyCopyRemoteFunctionInputs.
-
setLazyCopyRemoteFunctionInputs
public EagerServiceOuterClass.CreateContextRequest.Builder setLazyCopyRemoteFunctionInputs(boolean value)
For a multi device function, if false, eagerly copy all remote inputs to the default function device; if true, lazily copy remote inputs to their target devices after function instantiation to avoid redundant copies.
bool lazy_copy_remote_function_inputs = 9;
- Parameters:
value
- The lazyCopyRemoteFunctionInputs to set.- Returns:
- This builder for chaining.
-
clearLazyCopyRemoteFunctionInputs
public EagerServiceOuterClass.CreateContextRequest.Builder clearLazyCopyRemoteFunctionInputs()
For a multi device function, if false, eagerly copy all remote inputs to the default function device; if true, lazily copy remote inputs to their target devices after function instantiation to avoid redundant copies.
bool lazy_copy_remote_function_inputs = 9;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final EagerServiceOuterClass.CreateContextRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.CreateContextRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.CreateContextRequest.Builder>
-
-