Package org.platanios.tensorflow.proto
Class EagerServiceOuterClass.Operation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
- org.platanios.tensorflow.proto.EagerServiceOuterClass.Operation.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.OperationOrBuilder
- Enclosing class:
- EagerServiceOuterClass.Operation
public static final class EagerServiceOuterClass.Operation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder> implements EagerServiceOuterClass.OperationOrBuilder
A proto representation of an eager operation.
Protobuf typeorg.platanios.tensorflow.proto.Operation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EagerServiceOuterClass.Operation.Builder
addAllControlOpIds(java.lang.Iterable<? extends java.lang.Long> values)
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.Builder
addAllOpInputs(java.lang.Iterable<? extends EagerServiceOuterClass.Operation.Input> values)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
addControlOpIds(long value)
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.Builder
addOpInputs(int index, EagerServiceOuterClass.Operation.Input value)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
addOpInputs(int index, EagerServiceOuterClass.Operation.Input.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
addOpInputs(EagerServiceOuterClass.Operation.Input value)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
addOpInputs(EagerServiceOuterClass.Operation.Input.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Input.Builder
addOpInputsBuilder()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Input.Builder
addOpInputsBuilder(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EagerServiceOuterClass.Operation
build()
EagerServiceOuterClass.Operation
buildPartial()
EagerServiceOuterClass.Operation.Builder
clear()
EagerServiceOuterClass.Operation.Builder
clearAttrs()
EagerServiceOuterClass.Operation.Builder
clearControlOpIds()
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.Builder
clearDevice()
string device = 6;
EagerServiceOuterClass.Operation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EagerServiceOuterClass.Operation.Builder
clearFuncStepId()
Set when is_component_function is true.EagerServiceOuterClass.Operation.Builder
clearId()
A unique identifier for the operation.EagerServiceOuterClass.Operation.Builder
clearIsComponentFunction()
Indicates whether the op is a component of a multi-device function.EagerServiceOuterClass.Operation.Builder
clearIsFunction()
Indicates whether the op is a function.EagerServiceOuterClass.Operation.Builder
clearName()
string name = 2;
EagerServiceOuterClass.Operation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EagerServiceOuterClass.Operation.Builder
clearOpInputs()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
clone()
boolean
containsAttrs(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
java.util.Map<java.lang.String,AttrValue>
getAttrs()
Deprecated.int
getAttrsCount()
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
java.util.Map<java.lang.String,AttrValue>
getAttrsMap()
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
AttrValue
getAttrsOrDefault(java.lang.String key, AttrValue defaultValue)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
AttrValue
getAttrsOrThrow(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
long
getControlOpIds(int index)
Control Operation IDs that will be respected when ops are re-ordered by async execution.int
getControlOpIdsCount()
Control Operation IDs that will be respected when ops are re-ordered by async execution.java.util.List<java.lang.Long>
getControlOpIdsList()
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDevice()
string device = 6;
com.google.protobuf.ByteString
getDeviceBytes()
string device = 6;
long
getFuncStepId()
Set when is_component_function is true.long
getId()
A unique identifier for the operation.boolean
getIsComponentFunction()
Indicates whether the op is a component of a multi-device function.boolean
getIsFunction()
Indicates whether the op is a function.java.util.Map<java.lang.String,AttrValue>
getMutableAttrs()
Deprecated.java.lang.String
getName()
string name = 2;
com.google.protobuf.ByteString
getNameBytes()
string name = 2;
EagerServiceOuterClass.Operation.Input
getOpInputs(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Input.Builder
getOpInputsBuilder(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
java.util.List<EagerServiceOuterClass.Operation.Input.Builder>
getOpInputsBuilderList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
int
getOpInputsCount()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
java.util.List<EagerServiceOuterClass.Operation.Input>
getOpInputsList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.InputOrBuilder
getOpInputsOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
java.util.List<? extends EagerServiceOuterClass.Operation.InputOrBuilder>
getOpInputsOrBuilderList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
EagerServiceOuterClass.Operation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EagerServiceOuterClass.Operation.Builder
mergeFrom(com.google.protobuf.Message other)
EagerServiceOuterClass.Operation.Builder
mergeFrom(EagerServiceOuterClass.Operation other)
EagerServiceOuterClass.Operation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EagerServiceOuterClass.Operation.Builder
putAllAttrs(java.util.Map<java.lang.String,AttrValue> values)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
EagerServiceOuterClass.Operation.Builder
putAttrs(java.lang.String key, AttrValue value)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
EagerServiceOuterClass.Operation.Builder
removeAttrs(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
EagerServiceOuterClass.Operation.Builder
removeOpInputs(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
setControlOpIds(int index, long value)
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.Builder
setDevice(java.lang.String value)
string device = 6;
EagerServiceOuterClass.Operation.Builder
setDeviceBytes(com.google.protobuf.ByteString value)
string device = 6;
EagerServiceOuterClass.Operation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EagerServiceOuterClass.Operation.Builder
setFuncStepId(long value)
Set when is_component_function is true.EagerServiceOuterClass.Operation.Builder
setId(long value)
A unique identifier for the operation.EagerServiceOuterClass.Operation.Builder
setIsComponentFunction(boolean value)
Indicates whether the op is a component of a multi-device function.EagerServiceOuterClass.Operation.Builder
setIsFunction(boolean value)
Indicates whether the op is a function.EagerServiceOuterClass.Operation.Builder
setName(java.lang.String value)
string name = 2;
EagerServiceOuterClass.Operation.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 2;
EagerServiceOuterClass.Operation.Builder
setOpInputs(int index, EagerServiceOuterClass.Operation.Input value)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
setOpInputs(int index, EagerServiceOuterClass.Operation.Input.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
EagerServiceOuterClass.Operation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
clear
public EagerServiceOuterClass.Operation.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.Operation.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.Operation.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.Operation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.Operation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.Operation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
setField
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
clearField
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
clearOneof
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
setRepeatedField
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
addRepeatedField
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.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.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.Builder mergeFrom(EagerServiceOuterClass.Operation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.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.Operation.Builder>
- Throws:
java.io.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:
getId
in 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 java.lang.String getName()
string name = 2;
- Specified by:
getName
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 2;
- Specified by:
getNameBytes
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The bytes for name.
-
setName
public EagerServiceOuterClass.Operation.Builder setName(java.lang.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(com.google.protobuf.ByteString value)
string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getOpInputsList
public java.util.List<EagerServiceOuterClass.Operation.Input> getOpInputsList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
- Specified by:
getOpInputsList
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getOpInputsCount
public int getOpInputsCount()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
- Specified by:
getOpInputsCount
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getOpInputs
public EagerServiceOuterClass.Operation.Input getOpInputs(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
- Specified by:
getOpInputs
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
setOpInputs
public EagerServiceOuterClass.Operation.Builder setOpInputs(int index, EagerServiceOuterClass.Operation.Input value)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
setOpInputs
public EagerServiceOuterClass.Operation.Builder setOpInputs(int index, EagerServiceOuterClass.Operation.Input.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
addOpInputs
public EagerServiceOuterClass.Operation.Builder addOpInputs(EagerServiceOuterClass.Operation.Input value)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
addOpInputs
public EagerServiceOuterClass.Operation.Builder addOpInputs(int index, EagerServiceOuterClass.Operation.Input value)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
addOpInputs
public EagerServiceOuterClass.Operation.Builder addOpInputs(EagerServiceOuterClass.Operation.Input.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
addOpInputs
public EagerServiceOuterClass.Operation.Builder addOpInputs(int index, EagerServiceOuterClass.Operation.Input.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
addAllOpInputs
public EagerServiceOuterClass.Operation.Builder addAllOpInputs(java.lang.Iterable<? extends EagerServiceOuterClass.Operation.Input> values)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
clearOpInputs
public EagerServiceOuterClass.Operation.Builder clearOpInputs()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
removeOpInputs
public EagerServiceOuterClass.Operation.Builder removeOpInputs(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getOpInputsBuilder
public EagerServiceOuterClass.Operation.Input.Builder getOpInputsBuilder(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getOpInputsOrBuilder
public EagerServiceOuterClass.Operation.InputOrBuilder getOpInputsOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
- Specified by:
getOpInputsOrBuilder
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getOpInputsOrBuilderList
public java.util.List<? extends EagerServiceOuterClass.Operation.InputOrBuilder> getOpInputsOrBuilderList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
- Specified by:
getOpInputsOrBuilderList
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
addOpInputsBuilder
public EagerServiceOuterClass.Operation.Input.Builder addOpInputsBuilder()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
addOpInputsBuilder
public EagerServiceOuterClass.Operation.Input.Builder addOpInputsBuilder(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getOpInputsBuilderList
public java.util.List<EagerServiceOuterClass.Operation.Input.Builder> getOpInputsBuilderList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getControlOpIdsList
public java.util.List<java.lang.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:
getControlOpIdsList
in 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:
getControlOpIdsCount
in 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:
getControlOpIds
in 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(java.lang.Iterable<? extends java.lang.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.OperationOrBuilder
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
- Specified by:
getAttrsCount
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
containsAttrs
public boolean containsAttrs(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
- Specified by:
containsAttrs
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrs
@Deprecated public java.util.Map<java.lang.String,AttrValue> getAttrs()
Deprecated.UsegetAttrsMap()
instead.- Specified by:
getAttrs
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsMap
public java.util.Map<java.lang.String,AttrValue> getAttrsMap()
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
- Specified by:
getAttrsMap
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsOrDefault
public AttrValue getAttrsOrDefault(java.lang.String key, AttrValue defaultValue)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
- Specified by:
getAttrsOrDefault
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsOrThrow
public AttrValue getAttrsOrThrow(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
- Specified by:
getAttrsOrThrow
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
clearAttrs
public EagerServiceOuterClass.Operation.Builder clearAttrs()
-
removeAttrs
public EagerServiceOuterClass.Operation.Builder removeAttrs(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
-
getMutableAttrs
@Deprecated public java.util.Map<java.lang.String,AttrValue> getMutableAttrs()
Deprecated.Use alternate mutation accessors instead.
-
putAttrs
public EagerServiceOuterClass.Operation.Builder putAttrs(java.lang.String key, AttrValue value)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
-
putAllAttrs
public EagerServiceOuterClass.Operation.Builder putAllAttrs(java.util.Map<java.lang.String,AttrValue> values)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
-
getDevice
public java.lang.String getDevice()
string device = 6;
- Specified by:
getDevice
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The device.
-
getDeviceBytes
public com.google.protobuf.ByteString getDeviceBytes()
string device = 6;
- Specified by:
getDeviceBytes
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The bytes for device.
-
setDevice
public EagerServiceOuterClass.Operation.Builder setDevice(java.lang.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(com.google.protobuf.ByteString value)
string device = 6;
- Parameters:
value
- The bytes for device to set.- Returns:
- This builder for chaining.
-
getIsComponentFunction
public boolean getIsComponentFunction()
Indicates whether the op is a component of a multi-device function.
bool is_component_function = 7;
- Specified by:
getIsComponentFunction
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The isComponentFunction.
-
setIsComponentFunction
public EagerServiceOuterClass.Operation.Builder setIsComponentFunction(boolean value)
Indicates whether the op is a component of a multi-device function.
bool is_component_function = 7;
- Parameters:
value
- The isComponentFunction to set.- Returns:
- This builder for chaining.
-
clearIsComponentFunction
public EagerServiceOuterClass.Operation.Builder clearIsComponentFunction()
Indicates whether the op is a component of a multi-device function.
bool is_component_function = 7;
- Returns:
- This builder for chaining.
-
getFuncStepId
public long getFuncStepId()
Set when is_component_function is true. It's initially generated when we create an FunctionLibraryRuntime::Options (negative value) and used to create Rendezvous for function execution. All components of a multi-device function should use the same step id to make sure that they can communicate through Send/Recv ops.
int64 func_step_id = 8;
- Specified by:
getFuncStepId
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The funcStepId.
-
setFuncStepId
public EagerServiceOuterClass.Operation.Builder setFuncStepId(long value)
Set when is_component_function is true. It's initially generated when we create an FunctionLibraryRuntime::Options (negative value) and used to create Rendezvous for function execution. All components of a multi-device function should use the same step id to make sure that they can communicate through Send/Recv ops.
int64 func_step_id = 8;
- Parameters:
value
- The funcStepId to set.- Returns:
- This builder for chaining.
-
clearFuncStepId
public EagerServiceOuterClass.Operation.Builder clearFuncStepId()
Set when is_component_function is true. It's initially generated when we create an FunctionLibraryRuntime::Options (negative value) and used to create Rendezvous for function execution. All components of a multi-device function should use the same step id to make sure that they can communicate through Send/Recv ops.
int64 func_step_id = 8;
- Returns:
- This builder for chaining.
-
getIsFunction
public boolean getIsFunction()
Indicates whether the op is a function.
bool is_function = 9;
- Specified by:
getIsFunction
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The isFunction.
-
setIsFunction
public EagerServiceOuterClass.Operation.Builder setIsFunction(boolean value)
Indicates whether the op is a function.
bool is_function = 9;
- Parameters:
value
- The isFunction to set.- Returns:
- This builder for chaining.
-
clearIsFunction
public EagerServiceOuterClass.Operation.Builder clearIsFunction()
Indicates whether the op is a function.
bool is_function = 9;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final EagerServiceOuterClass.Operation.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.Operation.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.Operation.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.Operation.Builder>
-
-