Package org.platanios.tensorflow.proto
Interface RecvTensorResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecvTensorResponse
,RecvTensorResponse.Builder
public interface RecvTensorResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getIsDead()
If true, this tensor was the output of a dead node, and the content is invalid.boolean
getRequireAck()
Whether the receiver should send a MarkRecvFinishedRequest to the sender to ack the message.long
getSendStartMicros()
The time at which tensor was available and started to be returned.TensorProto
getTensor()
The tensor as a proto.TensorProtoOrBuilder
getTensorOrBuilder()
The tensor as a proto.Any
getTransportOptions()
Optional additional information about how to receive the tensor, e.g.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTensor
boolean hasTensor()
The tensor as a proto.
.org.platanios.tensorflow.proto.TensorProto tensor = 1;
- Returns:
- Whether the tensor field is set.
-
getTensor
TensorProto getTensor()
The tensor as a proto.
.org.platanios.tensorflow.proto.TensorProto tensor = 1;
- Returns:
- The tensor.
-
getTensorOrBuilder
TensorProtoOrBuilder getTensorOrBuilder()
The tensor as a proto.
.org.platanios.tensorflow.proto.TensorProto tensor = 1;
-
getIsDead
boolean getIsDead()
If true, this tensor was the output of a dead node, and the content is invalid.
bool is_dead = 2;
- Returns:
- The isDead.
-
getSendStartMicros
long getSendStartMicros()
The time at which tensor was available and started to be returned.
int64 send_start_micros = 3;
- Returns:
- The sendStartMicros.
-
hasTransportOptions
boolean hasTransportOptions()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.org.platanios.tensorflow.proto.google.Any transport_options = 4;
- Returns:
- Whether the transportOptions field is set.
-
getTransportOptions
Any getTransportOptions()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.org.platanios.tensorflow.proto.google.Any transport_options = 4;
- Returns:
- The transportOptions.
-
getTransportOptionsOrBuilder
AnyOrBuilder getTransportOptionsOrBuilder()
Optional additional information about how to receive the tensor, e.g. in the event that `RecvTensorRequest.dma_ok` was true.
.org.platanios.tensorflow.proto.google.Any transport_options = 4;
-
getRequireAck
boolean getRequireAck()
Whether the receiver should send a MarkRecvFinishedRequest to the sender to ack the message.
bool require_ack = 5;
- Returns:
- The requireAck.
-
-