Package tensorflow.eager
Class EagerServiceOuterClass.Operation.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
- tensorflow.eager.EagerServiceOuterClass.Operation.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.OperationOrBuilder
- Enclosing class:
- EagerServiceOuterClass.Operation
public static final class EagerServiceOuterClass.Operation.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder> implements EagerServiceOuterClass.OperationOrBuilder
A proto representation of an eager operation.
Protobuf typetensorflow.eager.Operation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EagerServiceOuterClass.Operation.BuilderaddAllControlOpIds(Iterable<? extends Long> values)Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.BuilderaddAllInputs(Iterable<? extends EagerServiceOuterClass.RemoteTensorHandle> values)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuilderaddControlOpIds(long value)Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.BuilderaddInputs(int index, EagerServiceOuterClass.RemoteTensorHandle value)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuilderaddInputs(int index, EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuilderaddInputs(EagerServiceOuterClass.RemoteTensorHandle value)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuilderaddInputs(EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.RemoteTensorHandle.BuilderaddInputsBuilder()repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.RemoteTensorHandle.BuilderaddInputsBuilder(int index)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)EagerServiceOuterClass.Operationbuild()EagerServiceOuterClass.OperationbuildPartial()EagerServiceOuterClass.Operation.Builderclear()EagerServiceOuterClass.Operation.BuilderclearAttrs()EagerServiceOuterClass.Operation.BuilderclearControlOpIds()Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.BuilderclearDevice()string device = 6;EagerServiceOuterClass.Operation.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)EagerServiceOuterClass.Operation.BuilderclearId()A unique identifier for the operation.EagerServiceOuterClass.Operation.BuilderclearInputs()repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuilderclearName()string name = 2;EagerServiceOuterClass.Operation.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)EagerServiceOuterClass.Operation.Builderclone()booleancontainsAttrs(String key)map<string, .tensorflow.AttrValue> attrs = 5;Map<String,AttrValue>getAttrs()Deprecated.intgetAttrsCount()map<string, .tensorflow.AttrValue> attrs = 5;Map<String,AttrValue>getAttrsMap()map<string, .tensorflow.AttrValue> attrs = 5;AttrValuegetAttrsOrDefault(String key, AttrValue defaultValue)map<string, .tensorflow.AttrValue> attrs = 5;AttrValuegetAttrsOrThrow(String key)map<string, .tensorflow.AttrValue> attrs = 5;longgetControlOpIds(int index)Control Operation IDs that will be respected when ops are re-ordered by async execution.intgetControlOpIdsCount()Control Operation IDs that will be respected when ops are re-ordered by async execution.List<Long>getControlOpIdsList()Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.OperationgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDevice()string device = 6;org.nd4j.shade.protobuf.ByteStringgetDeviceBytes()string device = 6;longgetId()A unique identifier for the operation.EagerServiceOuterClass.RemoteTensorHandlegetInputs(int index)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.RemoteTensorHandle.BuildergetInputsBuilder(int index)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;List<EagerServiceOuterClass.RemoteTensorHandle.Builder>getInputsBuilderList()repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;intgetInputsCount()repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;List<EagerServiceOuterClass.RemoteTensorHandle>getInputsList()repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.RemoteTensorHandleOrBuildergetInputsOrBuilder(int index)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;List<? extends EagerServiceOuterClass.RemoteTensorHandleOrBuilder>getInputsOrBuilderList()repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;Map<String,AttrValue>getMutableAttrs()Deprecated.StringgetName()string name = 2;org.nd4j.shade.protobuf.ByteStringgetNameBytes()string name = 2;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected org.nd4j.shade.protobuf.MapFieldinternalGetMapField(int number)protected org.nd4j.shade.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()EagerServiceOuterClass.Operation.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)EagerServiceOuterClass.Operation.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)EagerServiceOuterClass.Operation.BuildermergeFrom(EagerServiceOuterClass.Operation other)EagerServiceOuterClass.Operation.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)EagerServiceOuterClass.Operation.BuilderputAllAttrs(Map<String,AttrValue> values)map<string, .tensorflow.AttrValue> attrs = 5;EagerServiceOuterClass.Operation.BuilderputAttrs(String key, AttrValue value)map<string, .tensorflow.AttrValue> attrs = 5;EagerServiceOuterClass.Operation.BuilderremoveAttrs(String key)map<string, .tensorflow.AttrValue> attrs = 5;EagerServiceOuterClass.Operation.BuilderremoveInputs(int index)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuildersetControlOpIds(int index, long value)Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.BuildersetDevice(String value)string device = 6;EagerServiceOuterClass.Operation.BuildersetDeviceBytes(org.nd4j.shade.protobuf.ByteString value)string device = 6;EagerServiceOuterClass.Operation.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)EagerServiceOuterClass.Operation.BuildersetId(long value)A unique identifier for the operation.EagerServiceOuterClass.Operation.BuildersetInputs(int index, EagerServiceOuterClass.RemoteTensorHandle value)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuildersetInputs(int index, EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;EagerServiceOuterClass.Operation.BuildersetName(String value)string name = 2;EagerServiceOuterClass.Operation.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)string name = 2;EagerServiceOuterClass.Operation.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)EagerServiceOuterClass.Operation.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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()
-
internalGetMapField
protected org.nd4j.shade.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
internalGetMutableMapField
protected org.nd4j.shade.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
clear
public EagerServiceOuterClass.Operation.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.Operation.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.Operation.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.Operation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.Operation build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.Operation buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
setField
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
clearField
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
clearOneof
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
setRepeatedField
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
addRepeatedField
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.Builder mergeFrom(EagerServiceOuterClass.Operation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.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.Operation.Builder>- Throws:
IOException
-
getId
public long getId()
A unique identifier for the operation. Set by the client so that the client can uniquely identify the outputs of the scheduled operation. In the initial implementation, sending duplicate IDs has undefined behaviour, but additional constraints may be placed upon this in the future.
int64 id = 1;- Specified by:
getIdin interfaceEagerServiceOuterClass.OperationOrBuilder- Returns:
- The id.
-
setId
public EagerServiceOuterClass.Operation.Builder setId(long value)
A unique identifier for the operation. Set by the client so that the client can uniquely identify the outputs of the scheduled operation. In the initial implementation, sending duplicate IDs has undefined behaviour, but additional constraints may be placed upon this in the future.
int64 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public EagerServiceOuterClass.Operation.Builder clearId()
A unique identifier for the operation. Set by the client so that the client can uniquely identify the outputs of the scheduled operation. In the initial implementation, sending duplicate IDs has undefined behaviour, but additional constraints may be placed upon this in the future.
int64 id = 1;- Returns:
- This builder for chaining.
-
getName
public String getName()
string name = 2;- Specified by:
getNamein interfaceEagerServiceOuterClass.OperationOrBuilder- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 2;- Specified by:
getNameBytesin interfaceEagerServiceOuterClass.OperationOrBuilder- Returns:
- The bytes for name.
-
setName
public EagerServiceOuterClass.Operation.Builder setName(String value)
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public EagerServiceOuterClass.Operation.Builder clearName()
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public EagerServiceOuterClass.Operation.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getInputsList
public List<EagerServiceOuterClass.RemoteTensorHandle> getInputsList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;- Specified by:
getInputsListin interfaceEagerServiceOuterClass.OperationOrBuilder
-
getInputsCount
public int getInputsCount()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;- Specified by:
getInputsCountin interfaceEagerServiceOuterClass.OperationOrBuilder
-
getInputs
public EagerServiceOuterClass.RemoteTensorHandle getInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;- Specified by:
getInputsin interfaceEagerServiceOuterClass.OperationOrBuilder
-
setInputs
public EagerServiceOuterClass.Operation.Builder setInputs(int index, EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
setInputs
public EagerServiceOuterClass.Operation.Builder setInputs(int index, EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputs
public EagerServiceOuterClass.Operation.Builder addInputs(EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputs
public EagerServiceOuterClass.Operation.Builder addInputs(int index, EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputs
public EagerServiceOuterClass.Operation.Builder addInputs(EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputs
public EagerServiceOuterClass.Operation.Builder addInputs(int index, EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addAllInputs
public EagerServiceOuterClass.Operation.Builder addAllInputs(Iterable<? extends EagerServiceOuterClass.RemoteTensorHandle> values)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
clearInputs
public EagerServiceOuterClass.Operation.Builder clearInputs()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
removeInputs
public EagerServiceOuterClass.Operation.Builder removeInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
getInputsBuilder
public EagerServiceOuterClass.RemoteTensorHandle.Builder getInputsBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
getInputsOrBuilder
public EagerServiceOuterClass.RemoteTensorHandleOrBuilder getInputsOrBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;- Specified by:
getInputsOrBuilderin interfaceEagerServiceOuterClass.OperationOrBuilder
-
getInputsOrBuilderList
public List<? extends EagerServiceOuterClass.RemoteTensorHandleOrBuilder> getInputsOrBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;- Specified by:
getInputsOrBuilderListin interfaceEagerServiceOuterClass.OperationOrBuilder
-
addInputsBuilder
public EagerServiceOuterClass.RemoteTensorHandle.Builder addInputsBuilder()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputsBuilder
public EagerServiceOuterClass.RemoteTensorHandle.Builder addInputsBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
getInputsBuilderList
public List<EagerServiceOuterClass.RemoteTensorHandle.Builder> getInputsBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
getControlOpIdsList
public List<Long> getControlOpIdsList()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;- Specified by:
getControlOpIdsListin interfaceEagerServiceOuterClass.OperationOrBuilder- Returns:
- A list containing the controlOpIds.
-
getControlOpIdsCount
public int getControlOpIdsCount()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;- Specified by:
getControlOpIdsCountin interfaceEagerServiceOuterClass.OperationOrBuilder- Returns:
- The count of controlOpIds.
-
getControlOpIds
public long getControlOpIds(int index)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;- Specified by:
getControlOpIdsin interfaceEagerServiceOuterClass.OperationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The controlOpIds at the given index.
-
setControlOpIds
public EagerServiceOuterClass.Operation.Builder setControlOpIds(int index, long value)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;- Parameters:
index- The index to set the value at.value- The controlOpIds to set.- Returns:
- This builder for chaining.
-
addControlOpIds
public EagerServiceOuterClass.Operation.Builder addControlOpIds(long value)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;- Parameters:
value- The controlOpIds to add.- Returns:
- This builder for chaining.
-
addAllControlOpIds
public EagerServiceOuterClass.Operation.Builder addAllControlOpIds(Iterable<? extends Long> values)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;- Parameters:
values- The controlOpIds to add.- Returns:
- This builder for chaining.
-
clearControlOpIds
public EagerServiceOuterClass.Operation.Builder clearControlOpIds()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;- Returns:
- This builder for chaining.
-
getAttrsCount
public int getAttrsCount()
Description copied from interface:EagerServiceOuterClass.OperationOrBuildermap<string, .tensorflow.AttrValue> attrs = 5;- Specified by:
getAttrsCountin interfaceEagerServiceOuterClass.OperationOrBuilder
-
containsAttrs
public boolean containsAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5;- Specified by:
containsAttrsin interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrs
@Deprecated public Map<String,AttrValue> getAttrs()
Deprecated.UsegetAttrsMap()instead.- Specified by:
getAttrsin interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsMap
public Map<String,AttrValue> getAttrsMap()
map<string, .tensorflow.AttrValue> attrs = 5;- Specified by:
getAttrsMapin interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsOrDefault
public AttrValue getAttrsOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attrs = 5;- Specified by:
getAttrsOrDefaultin interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsOrThrow
public AttrValue getAttrsOrThrow(String key)
map<string, .tensorflow.AttrValue> attrs = 5;- Specified by:
getAttrsOrThrowin interfaceEagerServiceOuterClass.OperationOrBuilder
-
clearAttrs
public EagerServiceOuterClass.Operation.Builder clearAttrs()
-
removeAttrs
public EagerServiceOuterClass.Operation.Builder removeAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
-
getMutableAttrs
@Deprecated public Map<String,AttrValue> getMutableAttrs()
Deprecated.Use alternate mutation accessors instead.
-
putAttrs
public EagerServiceOuterClass.Operation.Builder putAttrs(String key, AttrValue value)
map<string, .tensorflow.AttrValue> attrs = 5;
-
putAllAttrs
public EagerServiceOuterClass.Operation.Builder putAllAttrs(Map<String,AttrValue> values)
map<string, .tensorflow.AttrValue> attrs = 5;
-
getDevice
public String getDevice()
string device = 6;- Specified by:
getDevicein interfaceEagerServiceOuterClass.OperationOrBuilder- Returns:
- The device.
-
getDeviceBytes
public org.nd4j.shade.protobuf.ByteString getDeviceBytes()
string device = 6;- Specified by:
getDeviceBytesin interfaceEagerServiceOuterClass.OperationOrBuilder- Returns:
- The bytes for device.
-
setDevice
public EagerServiceOuterClass.Operation.Builder setDevice(String value)
string device = 6;- Parameters:
value- The device to set.- Returns:
- This builder for chaining.
-
clearDevice
public EagerServiceOuterClass.Operation.Builder clearDevice()
string device = 6;- Returns:
- This builder for chaining.
-
setDeviceBytes
public EagerServiceOuterClass.Operation.Builder setDeviceBytes(org.nd4j.shade.protobuf.ByteString value)
string device = 6;- Parameters:
value- The bytes for device to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EagerServiceOuterClass.Operation.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.Operation.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.Operation.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.Operation.Builder>
-
-