Package org.platanios.tensorflow.proto
Class EagerServiceOuterClass.SendTensorOp.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.SendTensorOp.Builder>
-
- org.platanios.tensorflow.proto.EagerServiceOuterClass.SendTensorOp.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.SendTensorOpOrBuilder
- Enclosing class:
- EagerServiceOuterClass.SendTensorOp
public static final class EagerServiceOuterClass.SendTensorOp.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.SendTensorOp.Builder> implements EagerServiceOuterClass.SendTensorOpOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.SendTensorOp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EagerServiceOuterClass.SendTensorOp.Builder
addAllTensors(java.lang.Iterable<? extends TensorProto> values)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EagerServiceOuterClass.SendTensorOp.Builder
addTensors(int index, TensorProto value)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp.Builder
addTensors(int index, TensorProto.Builder builderForValue)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp.Builder
addTensors(TensorProto value)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp.Builder
addTensors(TensorProto.Builder builderForValue)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.TensorProto.Builder
addTensorsBuilder()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.TensorProto.Builder
addTensorsBuilder(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp
build()
EagerServiceOuterClass.SendTensorOp
buildPartial()
EagerServiceOuterClass.SendTensorOp.Builder
clear()
EagerServiceOuterClass.SendTensorOp.Builder
clearDeviceName()
The device on which the tensors should be resident.EagerServiceOuterClass.SendTensorOp.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EagerServiceOuterClass.SendTensorOp.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EagerServiceOuterClass.SendTensorOp.Builder
clearOpId()
All remote tensors are identified by <Op ID, Output num>.EagerServiceOuterClass.SendTensorOp.Builder
clearTensors()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp.Builder
clone()
EagerServiceOuterClass.SendTensorOp
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDeviceName()
The device on which the tensors should be resident.com.google.protobuf.ByteString
getDeviceNameBytes()
The device on which the tensors should be resident.long
getOpId()
All remote tensors are identified by <Op ID, Output num>.TensorProto
getTensors(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.TensorProto.Builder
getTensorsBuilder(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.java.util.List<TensorProto.Builder>
getTensorsBuilderList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.int
getTensorsCount()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.java.util.List<TensorProto>
getTensorsList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.TensorProtoOrBuilder
getTensorsOrBuilder(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.java.util.List<? extends TensorProtoOrBuilder>
getTensorsOrBuilderList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EagerServiceOuterClass.SendTensorOp.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EagerServiceOuterClass.SendTensorOp.Builder
mergeFrom(com.google.protobuf.Message other)
EagerServiceOuterClass.SendTensorOp.Builder
mergeFrom(EagerServiceOuterClass.SendTensorOp other)
EagerServiceOuterClass.SendTensorOp.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EagerServiceOuterClass.SendTensorOp.Builder
removeTensors(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp.Builder
setDeviceName(java.lang.String value)
The device on which the tensors should be resident.EagerServiceOuterClass.SendTensorOp.Builder
setDeviceNameBytes(com.google.protobuf.ByteString value)
The device on which the tensors should be resident.EagerServiceOuterClass.SendTensorOp.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EagerServiceOuterClass.SendTensorOp.Builder
setOpId(long value)
All remote tensors are identified by <Op ID, Output num>.EagerServiceOuterClass.SendTensorOp.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
EagerServiceOuterClass.SendTensorOp.Builder
setTensors(int index, TensorProto value)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp.Builder
setTensors(int index, TensorProto.Builder builderForValue)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.EagerServiceOuterClass.SendTensorOp.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, 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.SendTensorOp.Builder>
-
clear
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.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.SendTensorOp.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.SendTensorOp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.SendTensorOp build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.SendTensorOp buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
setField
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
clearField
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
clearOneof
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
setRepeatedField
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
addRepeatedField
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
mergeFrom
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
mergeFrom
public EagerServiceOuterClass.SendTensorOp.Builder mergeFrom(EagerServiceOuterClass.SendTensorOp other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.SendTensorOp.Builder>
-
mergeFrom
public EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
- Throws:
java.io.IOException
-
getOpId
public long getOpId()
All remote tensors are identified by <Op ID, Output num>. To mimic this situation when directly sending tensors, we include an "artificial" op ID (which would have corresponded to the _Recv op when not using SendTensor).
int64 op_id = 1;
- Specified by:
getOpId
in interfaceEagerServiceOuterClass.SendTensorOpOrBuilder
- Returns:
- The opId.
-
setOpId
public EagerServiceOuterClass.SendTensorOp.Builder setOpId(long value)
All remote tensors are identified by <Op ID, Output num>. To mimic this situation when directly sending tensors, we include an "artificial" op ID (which would have corresponded to the _Recv op when not using SendTensor).
int64 op_id = 1;
- Parameters:
value
- The opId to set.- Returns:
- This builder for chaining.
-
clearOpId
public EagerServiceOuterClass.SendTensorOp.Builder clearOpId()
All remote tensors are identified by <Op ID, Output num>. To mimic this situation when directly sending tensors, we include an "artificial" op ID (which would have corresponded to the _Recv op when not using SendTensor).
int64 op_id = 1;
- Returns:
- This builder for chaining.
-
getTensorsList
public java.util.List<TensorProto> getTensorsList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
- Specified by:
getTensorsList
in interfaceEagerServiceOuterClass.SendTensorOpOrBuilder
-
getTensorsCount
public int getTensorsCount()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
- Specified by:
getTensorsCount
in interfaceEagerServiceOuterClass.SendTensorOpOrBuilder
-
getTensors
public TensorProto getTensors(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
- Specified by:
getTensors
in interfaceEagerServiceOuterClass.SendTensorOpOrBuilder
-
setTensors
public EagerServiceOuterClass.SendTensorOp.Builder setTensors(int index, TensorProto value)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
setTensors
public EagerServiceOuterClass.SendTensorOp.Builder setTensors(int index, TensorProto.Builder builderForValue)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
addTensors
public EagerServiceOuterClass.SendTensorOp.Builder addTensors(TensorProto value)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
addTensors
public EagerServiceOuterClass.SendTensorOp.Builder addTensors(int index, TensorProto value)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
addTensors
public EagerServiceOuterClass.SendTensorOp.Builder addTensors(TensorProto.Builder builderForValue)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
addTensors
public EagerServiceOuterClass.SendTensorOp.Builder addTensors(int index, TensorProto.Builder builderForValue)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
addAllTensors
public EagerServiceOuterClass.SendTensorOp.Builder addAllTensors(java.lang.Iterable<? extends TensorProto> values)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
clearTensors
public EagerServiceOuterClass.SendTensorOp.Builder clearTensors()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
removeTensors
public EagerServiceOuterClass.SendTensorOp.Builder removeTensors(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getTensorsBuilder
public TensorProto.Builder getTensorsBuilder(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getTensorsOrBuilder
public TensorProtoOrBuilder getTensorsOrBuilder(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
- Specified by:
getTensorsOrBuilder
in interfaceEagerServiceOuterClass.SendTensorOpOrBuilder
-
getTensorsOrBuilderList
public java.util.List<? extends TensorProtoOrBuilder> getTensorsOrBuilderList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
- Specified by:
getTensorsOrBuilderList
in interfaceEagerServiceOuterClass.SendTensorOpOrBuilder
-
addTensorsBuilder
public TensorProto.Builder addTensorsBuilder()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
addTensorsBuilder
public TensorProto.Builder addTensorsBuilder(int index)
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getTensorsBuilderList
public java.util.List<TensorProto.Builder> getTensorsBuilderList()
The index within the repeated field is the output number that will help uniquely identify (along with the above op_id) the particular tensor.
repeated .org.platanios.tensorflow.proto.TensorProto tensors = 2;
-
getDeviceName
public java.lang.String getDeviceName()
The device on which the tensors should be resident.
string device_name = 3;
- Specified by:
getDeviceName
in interfaceEagerServiceOuterClass.SendTensorOpOrBuilder
- Returns:
- The deviceName.
-
getDeviceNameBytes
public com.google.protobuf.ByteString getDeviceNameBytes()
The device on which the tensors should be resident.
string device_name = 3;
- Specified by:
getDeviceNameBytes
in interfaceEagerServiceOuterClass.SendTensorOpOrBuilder
- Returns:
- The bytes for deviceName.
-
setDeviceName
public EagerServiceOuterClass.SendTensorOp.Builder setDeviceName(java.lang.String value)
The device on which the tensors should be resident.
string device_name = 3;
- Parameters:
value
- The deviceName to set.- Returns:
- This builder for chaining.
-
clearDeviceName
public EagerServiceOuterClass.SendTensorOp.Builder clearDeviceName()
The device on which the tensors should be resident.
string device_name = 3;
- Returns:
- This builder for chaining.
-
setDeviceNameBytes
public EagerServiceOuterClass.SendTensorOp.Builder setDeviceNameBytes(com.google.protobuf.ByteString value)
The device on which the tensors should be resident.
string device_name = 3;
- Parameters:
value
- The bytes for deviceName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.SendTensorOp.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.SendTensorOp.Builder>
-
-