Package org.platanios.tensorflow.proto
Interface RecvBufRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecvBufRequest
,RecvBufRequest.Builder
public interface RecvBufRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBufPtr()
When RDMA is in use, address of destination field on client.java.lang.String
getBufRendezvousKey()
Arbitrary string identifying a BufRendezvous entry.com.google.protobuf.ByteString
getBufRendezvousKeyBytes()
Arbitrary string identifying a BufRendezvous entry.DeviceLocality
getClientLocality()
Optional information on client-side device locality.DeviceLocalityOrBuilder
getClientLocalityOrBuilder()
Optional information on client-side device locality.java.lang.String
getDstDevice()
Optional, for annotating the timeline.com.google.protobuf.ByteString
getDstDeviceBytes()
Optional, for annotating the timeline.long
getNumBytes()
Size of value expected, must agree with BufRendezvous entry.long
getRequestId()
Depending on the RPC system in use, it may be necessary to set this id to detect resends of RPCs where the server is not aware that the prior RPC failed.DeviceLocality
getServerLocality()
Optional information on server-side device locality.DeviceLocalityOrBuilder
getServerLocalityOrBuilder()
Optional information on server-side device locality.java.lang.String
getSrcDevice()
For annotating timeline and device incarnation check.com.google.protobuf.ByteString
getSrcDeviceBytes()
For annotating timeline and device incarnation check.long
getSrcIncarnation()
Incarnation number of the source device, used to detect worker failures.long
getStepId()
Used at server side to find the correct BufRendezvous.Any
getTransportOptions()
Optional, implementation-specific data.AnyOrBuilder
getTransportOptionsOrBuilder()
Optional, implementation-specific data.boolean
hasClientLocality()
Optional information on client-side device locality.boolean
hasServerLocality()
Optional information on server-side device locality.boolean
hasTransportOptions()
Optional, implementation-specific data.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStepId
long getStepId()
Used at server side to find the correct BufRendezvous.
int64 step_id = 1;
- Returns:
- The stepId.
-
getBufRendezvousKey
java.lang.String getBufRendezvousKey()
Arbitrary string identifying a BufRendezvous entry.
string buf_rendezvous_key = 2;
- Returns:
- The bufRendezvousKey.
-
getBufRendezvousKeyBytes
com.google.protobuf.ByteString getBufRendezvousKeyBytes()
Arbitrary string identifying a BufRendezvous entry.
string buf_rendezvous_key = 2;
- Returns:
- The bytes for bufRendezvousKey.
-
getNumBytes
long getNumBytes()
Size of value expected, must agree with BufRendezvous entry.
int64 num_bytes = 3;
- Returns:
- The numBytes.
-
getBufPtr
long getBufPtr()
When RDMA is in use, address of destination field on client.
fixed64 buf_ptr = 4;
- Returns:
- The bufPtr.
-
hasClientLocality
boolean hasClientLocality()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
- Returns:
- Whether the clientLocality field is set.
-
getClientLocality
DeviceLocality getClientLocality()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
- Returns:
- The clientLocality.
-
getClientLocalityOrBuilder
DeviceLocalityOrBuilder getClientLocalityOrBuilder()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
-
hasServerLocality
boolean hasServerLocality()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
- Returns:
- Whether the serverLocality field is set.
-
getServerLocality
DeviceLocality getServerLocality()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
- Returns:
- The serverLocality.
-
getServerLocalityOrBuilder
DeviceLocalityOrBuilder getServerLocalityOrBuilder()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
-
hasTransportOptions
boolean hasTransportOptions()
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
- Returns:
- Whether the transportOptions field is set.
-
getTransportOptions
Any getTransportOptions()
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
- Returns:
- The transportOptions.
-
getTransportOptionsOrBuilder
AnyOrBuilder getTransportOptionsOrBuilder()
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
-
getSrcDevice
java.lang.String getSrcDevice()
For annotating timeline and device incarnation check.
string src_device = 8;
- Returns:
- The srcDevice.
-
getSrcDeviceBytes
com.google.protobuf.ByteString getSrcDeviceBytes()
For annotating timeline and device incarnation check.
string src_device = 8;
- Returns:
- The bytes for srcDevice.
-
getDstDevice
java.lang.String getDstDevice()
Optional, for annotating the timeline.
string dst_device = 9;
- Returns:
- The dstDevice.
-
getDstDeviceBytes
com.google.protobuf.ByteString getDstDeviceBytes()
Optional, for annotating the timeline.
string dst_device = 9;
- Returns:
- The bytes for dstDevice.
-
getRequestId
long getRequestId()
Depending on the RPC system in use, it may be necessary to set this id to detect resends of RPCs where the server is not aware that the prior RPC failed.
int64 request_id = 10;
- Returns:
- The requestId.
-
getSrcIncarnation
long getSrcIncarnation()
Incarnation number of the source device, used to detect worker failures.
uint64 src_incarnation = 11;
- Returns:
- The srcIncarnation.
-
-