Package org.tensorflow.distruntime
Class RecvTensorResponse.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
- org.tensorflow.distruntime.RecvTensorResponse.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
,RecvTensorResponseOrBuilder
- Enclosing class:
- RecvTensorResponse
public static final class RecvTensorResponse.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder> implements RecvTensorResponseOrBuilder
Protobuf typetensorflow.RecvTensorResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RecvTensorResponse.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RecvTensorResponse
build()
RecvTensorResponse
buildPartial()
RecvTensorResponse.Builder
clear()
RecvTensorResponse.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
RecvTensorResponse.Builder
clearIsDead()
If true, this tensor was the output of a dead node, and the content is invalid.RecvTensorResponse.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
RecvTensorResponse.Builder
clearSendStartMicros()
The time at which tensor was available and started to be returned.RecvTensorResponse.Builder
clearTensor()
The tensor as a proto.RecvTensorResponse.Builder
clearTransportOptions()
Optional additional information about how to receive the tensor, e.g.RecvTensorResponse.Builder
clone()
RecvTensorResponse
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getIsDead()
If true, this tensor was the output of a dead node, and the content is invalid.long
getSendStartMicros()
The time at which tensor was available and started to be returned.TensorProto
getTensor()
The tensor as a proto.TensorProto.Builder
getTensorBuilder()
The tensor as a proto.TensorProtoOrBuilder
getTensorOrBuilder()
The tensor as a proto.org.nd4j.shade.protobuf.Any
getTransportOptions()
Optional additional information about how to receive the tensor, e.g.org.nd4j.shade.protobuf.Any.Builder
getTransportOptionsBuilder()
Optional additional information about how to receive the tensor, e.g.org.nd4j.shade.protobuf.AnyOrBuilder
getTransportOptionsOrBuilder()
Optional additional information about how to receive the tensor, e.g.boolean
hasTensor()
The tensor as a proto.boolean
hasTransportOptions()
Optional additional information about how to receive the tensor, e.g.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RecvTensorResponse.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
RecvTensorResponse.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
RecvTensorResponse.Builder
mergeFrom(RecvTensorResponse other)
RecvTensorResponse.Builder
mergeTensor(TensorProto value)
The tensor as a proto.RecvTensorResponse.Builder
mergeTransportOptions(org.nd4j.shade.protobuf.Any value)
Optional additional information about how to receive the tensor, e.g.RecvTensorResponse.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
RecvTensorResponse.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RecvTensorResponse.Builder
setIsDead(boolean value)
If true, this tensor was the output of a dead node, and the content is invalid.RecvTensorResponse.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RecvTensorResponse.Builder
setSendStartMicros(long value)
The time at which tensor was available and started to be returned.RecvTensorResponse.Builder
setTensor(TensorProto value)
The tensor as a proto.RecvTensorResponse.Builder
setTensor(TensorProto.Builder builderForValue)
The tensor as a proto.RecvTensorResponse.Builder
setTransportOptions(org.nd4j.shade.protobuf.Any value)
Optional additional information about how to receive the tensor, e.g.RecvTensorResponse.Builder
setTransportOptions(org.nd4j.shade.protobuf.Any.Builder builderForValue)
Optional additional information about how to receive the tensor, e.g.RecvTensorResponse.Builder
setUnknownFields(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, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
clear
public RecvTensorResponse.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
getDefaultInstanceForType
public RecvTensorResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RecvTensorResponse build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RecvTensorResponse buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RecvTensorResponse.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
setField
public RecvTensorResponse.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
clearField
public RecvTensorResponse.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
clearOneof
public RecvTensorResponse.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
setRepeatedField
public RecvTensorResponse.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
addRepeatedField
public RecvTensorResponse.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
mergeFrom
public RecvTensorResponse.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RecvTensorResponse.Builder>
-
mergeFrom
public RecvTensorResponse.Builder mergeFrom(RecvTensorResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
mergeFrom
public RecvTensorResponse.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RecvTensorResponse.Builder>
- Throws:
IOException
-
hasTensor
public boolean hasTensor()
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
- Specified by:
hasTensor
in interfaceRecvTensorResponseOrBuilder
- Returns:
- Whether the tensor field is set.
-
getTensor
public TensorProto getTensor()
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
- Specified by:
getTensor
in interfaceRecvTensorResponseOrBuilder
- Returns:
- The tensor.
-
setTensor
public RecvTensorResponse.Builder setTensor(TensorProto value)
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
-
setTensor
public RecvTensorResponse.Builder setTensor(TensorProto.Builder builderForValue)
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
-
mergeTensor
public RecvTensorResponse.Builder mergeTensor(TensorProto value)
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
-
clearTensor
public RecvTensorResponse.Builder clearTensor()
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
-
getTensorBuilder
public TensorProto.Builder getTensorBuilder()
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
-
getTensorOrBuilder
public TensorProtoOrBuilder getTensorOrBuilder()
The tensor as a proto.
.tensorflow.TensorProto tensor = 1;
- Specified by:
getTensorOrBuilder
in interfaceRecvTensorResponseOrBuilder
-
getIsDead
public boolean getIsDead()
If true, this tensor was the output of a dead node, and the content is invalid.
bool is_dead = 2;
- Specified by:
getIsDead
in interfaceRecvTensorResponseOrBuilder
- Returns:
- The isDead.
-
setIsDead
public RecvTensorResponse.Builder setIsDead(boolean value)
If true, this tensor was the output of a dead node, and the content is invalid.
bool is_dead = 2;
- Parameters:
value
- The isDead to set.- Returns:
- This builder for chaining.
-
clearIsDead
public RecvTensorResponse.Builder clearIsDead()
If true, this tensor was the output of a dead node, and the content is invalid.
bool is_dead = 2;
- Returns:
- This builder for chaining.
-
getSendStartMicros
public long getSendStartMicros()
The time at which tensor was available and started to be returned.
int64 send_start_micros = 3;
- Specified by:
getSendStartMicros
in interfaceRecvTensorResponseOrBuilder
- Returns:
- The sendStartMicros.
-
setSendStartMicros
public RecvTensorResponse.Builder setSendStartMicros(long value)
The time at which tensor was available and started to be returned.
int64 send_start_micros = 3;
- Parameters:
value
- The sendStartMicros to set.- Returns:
- This builder for chaining.
-
clearSendStartMicros
public RecvTensorResponse.Builder clearSendStartMicros()
The time at which tensor was available and started to be returned.
int64 send_start_micros = 3;
- Returns:
- This builder for chaining.
-
hasTransportOptions
public boolean hasTransportOptions()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
- Specified by:
hasTransportOptions
in interfaceRecvTensorResponseOrBuilder
- Returns:
- Whether the transportOptions field is set.
-
getTransportOptions
public org.nd4j.shade.protobuf.Any getTransportOptions()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
- Specified by:
getTransportOptions
in interfaceRecvTensorResponseOrBuilder
- Returns:
- The transportOptions.
-
setTransportOptions
public RecvTensorResponse.Builder setTransportOptions(org.nd4j.shade.protobuf.Any value)
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
-
setTransportOptions
public RecvTensorResponse.Builder setTransportOptions(org.nd4j.shade.protobuf.Any.Builder builderForValue)
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
-
mergeTransportOptions
public RecvTensorResponse.Builder mergeTransportOptions(org.nd4j.shade.protobuf.Any value)
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
-
clearTransportOptions
public RecvTensorResponse.Builder clearTransportOptions()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
-
getTransportOptionsBuilder
public org.nd4j.shade.protobuf.Any.Builder getTransportOptionsBuilder()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
-
getTransportOptionsOrBuilder
public org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.google.protobuf.Any transport_options = 4;
- Specified by:
getTransportOptionsOrBuilder
in interfaceRecvTensorResponseOrBuilder
-
setUnknownFields
public final RecvTensorResponse.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
mergeUnknownFields
public final RecvTensorResponse.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
-
-