Package org.platanios.tensorflow.proto
Class RecvBufRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RecvBufRequest.Builder>
-
- org.platanios.tensorflow.proto.RecvBufRequest.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
,RecvBufRequestOrBuilder
- Enclosing class:
- RecvBufRequest
public static final class RecvBufRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RecvBufRequest.Builder> implements RecvBufRequestOrBuilder
Use of the fields below may vary by implementation. For example the buf_ptr and num_bytes may be set only for local operations and not sent on the wire, or only sent on the wire in one direction.
Protobuf typeorg.platanios.tensorflow.proto.RecvBufRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RecvBufRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
RecvBufRequest
build()
RecvBufRequest
buildPartial()
RecvBufRequest.Builder
clear()
RecvBufRequest.Builder
clearBufPtr()
When RDMA is in use, address of destination field on client.RecvBufRequest.Builder
clearBufRendezvousKey()
Arbitrary string identifying a BufRendezvous entry.RecvBufRequest.Builder
clearClientLocality()
Optional information on client-side device locality.RecvBufRequest.Builder
clearDstDevice()
Optional, for annotating the timeline.RecvBufRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RecvBufRequest.Builder
clearNumBytes()
Size of value expected, must agree with BufRendezvous entry.RecvBufRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RecvBufRequest.Builder
clearRequestId()
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.RecvBufRequest.Builder
clearServerLocality()
Optional information on server-side device locality.RecvBufRequest.Builder
clearSrcDevice()
For annotating timeline and device incarnation check.RecvBufRequest.Builder
clearSrcIncarnation()
Incarnation number of the source device, used to detect worker failures.RecvBufRequest.Builder
clearStepId()
Used at server side to find the correct BufRendezvous.RecvBufRequest.Builder
clearTransportOptions()
Optional, implementation-specific data.RecvBufRequest.Builder
clone()
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.DeviceLocality.Builder
getClientLocalityBuilder()
Optional information on client-side device locality.DeviceLocalityOrBuilder
getClientLocalityOrBuilder()
Optional information on client-side device locality.RecvBufRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.DeviceLocality.Builder
getServerLocalityBuilder()
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.Any.Builder
getTransportOptionsBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RecvBufRequest.Builder
mergeClientLocality(DeviceLocality value)
Optional information on client-side device locality.RecvBufRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RecvBufRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RecvBufRequest.Builder
mergeFrom(RecvBufRequest other)
RecvBufRequest.Builder
mergeServerLocality(DeviceLocality value)
Optional information on server-side device locality.RecvBufRequest.Builder
mergeTransportOptions(Any value)
Optional, implementation-specific data.RecvBufRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RecvBufRequest.Builder
setBufPtr(long value)
When RDMA is in use, address of destination field on client.RecvBufRequest.Builder
setBufRendezvousKey(java.lang.String value)
Arbitrary string identifying a BufRendezvous entry.RecvBufRequest.Builder
setBufRendezvousKeyBytes(com.google.protobuf.ByteString value)
Arbitrary string identifying a BufRendezvous entry.RecvBufRequest.Builder
setClientLocality(DeviceLocality value)
Optional information on client-side device locality.RecvBufRequest.Builder
setClientLocality(DeviceLocality.Builder builderForValue)
Optional information on client-side device locality.RecvBufRequest.Builder
setDstDevice(java.lang.String value)
Optional, for annotating the timeline.RecvBufRequest.Builder
setDstDeviceBytes(com.google.protobuf.ByteString value)
Optional, for annotating the timeline.RecvBufRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
RecvBufRequest.Builder
setNumBytes(long value)
Size of value expected, must agree with BufRendezvous entry.RecvBufRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
RecvBufRequest.Builder
setRequestId(long value)
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.RecvBufRequest.Builder
setServerLocality(DeviceLocality value)
Optional information on server-side device locality.RecvBufRequest.Builder
setServerLocality(DeviceLocality.Builder builderForValue)
Optional information on server-side device locality.RecvBufRequest.Builder
setSrcDevice(java.lang.String value)
For annotating timeline and device incarnation check.RecvBufRequest.Builder
setSrcDeviceBytes(com.google.protobuf.ByteString value)
For annotating timeline and device incarnation check.RecvBufRequest.Builder
setSrcIncarnation(long value)
Incarnation number of the source device, used to detect worker failures.RecvBufRequest.Builder
setStepId(long value)
Used at server side to find the correct BufRendezvous.RecvBufRequest.Builder
setTransportOptions(Any value)
Optional, implementation-specific data.RecvBufRequest.Builder
setTransportOptions(Any.Builder builderForValue)
Optional, implementation-specific data.RecvBufRequest.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<RecvBufRequest.Builder>
-
clear
public RecvBufRequest.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<RecvBufRequest.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<RecvBufRequest.Builder>
-
getDefaultInstanceForType
public RecvBufRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RecvBufRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RecvBufRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RecvBufRequest.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<RecvBufRequest.Builder>
-
setField
public RecvBufRequest.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<RecvBufRequest.Builder>
-
clearField
public RecvBufRequest.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<RecvBufRequest.Builder>
-
clearOneof
public RecvBufRequest.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<RecvBufRequest.Builder>
-
setRepeatedField
public RecvBufRequest.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<RecvBufRequest.Builder>
-
addRepeatedField
public RecvBufRequest.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<RecvBufRequest.Builder>
-
mergeFrom
public RecvBufRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RecvBufRequest.Builder>
-
mergeFrom
public RecvBufRequest.Builder mergeFrom(RecvBufRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecvBufRequest.Builder>
-
mergeFrom
public RecvBufRequest.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<RecvBufRequest.Builder>
- Throws:
java.io.IOException
-
getStepId
public long getStepId()
Used at server side to find the correct BufRendezvous.
int64 step_id = 1;
- Specified by:
getStepId
in interfaceRecvBufRequestOrBuilder
- Returns:
- The stepId.
-
setStepId
public RecvBufRequest.Builder setStepId(long value)
Used at server side to find the correct BufRendezvous.
int64 step_id = 1;
- Parameters:
value
- The stepId to set.- Returns:
- This builder for chaining.
-
clearStepId
public RecvBufRequest.Builder clearStepId()
Used at server side to find the correct BufRendezvous.
int64 step_id = 1;
- Returns:
- This builder for chaining.
-
getBufRendezvousKey
public java.lang.String getBufRendezvousKey()
Arbitrary string identifying a BufRendezvous entry.
string buf_rendezvous_key = 2;
- Specified by:
getBufRendezvousKey
in interfaceRecvBufRequestOrBuilder
- Returns:
- The bufRendezvousKey.
-
getBufRendezvousKeyBytes
public com.google.protobuf.ByteString getBufRendezvousKeyBytes()
Arbitrary string identifying a BufRendezvous entry.
string buf_rendezvous_key = 2;
- Specified by:
getBufRendezvousKeyBytes
in interfaceRecvBufRequestOrBuilder
- Returns:
- The bytes for bufRendezvousKey.
-
setBufRendezvousKey
public RecvBufRequest.Builder setBufRendezvousKey(java.lang.String value)
Arbitrary string identifying a BufRendezvous entry.
string buf_rendezvous_key = 2;
- Parameters:
value
- The bufRendezvousKey to set.- Returns:
- This builder for chaining.
-
clearBufRendezvousKey
public RecvBufRequest.Builder clearBufRendezvousKey()
Arbitrary string identifying a BufRendezvous entry.
string buf_rendezvous_key = 2;
- Returns:
- This builder for chaining.
-
setBufRendezvousKeyBytes
public RecvBufRequest.Builder setBufRendezvousKeyBytes(com.google.protobuf.ByteString value)
Arbitrary string identifying a BufRendezvous entry.
string buf_rendezvous_key = 2;
- Parameters:
value
- The bytes for bufRendezvousKey to set.- Returns:
- This builder for chaining.
-
getNumBytes
public long getNumBytes()
Size of value expected, must agree with BufRendezvous entry.
int64 num_bytes = 3;
- Specified by:
getNumBytes
in interfaceRecvBufRequestOrBuilder
- Returns:
- The numBytes.
-
setNumBytes
public RecvBufRequest.Builder setNumBytes(long value)
Size of value expected, must agree with BufRendezvous entry.
int64 num_bytes = 3;
- Parameters:
value
- The numBytes to set.- Returns:
- This builder for chaining.
-
clearNumBytes
public RecvBufRequest.Builder clearNumBytes()
Size of value expected, must agree with BufRendezvous entry.
int64 num_bytes = 3;
- Returns:
- This builder for chaining.
-
getBufPtr
public long getBufPtr()
When RDMA is in use, address of destination field on client.
fixed64 buf_ptr = 4;
- Specified by:
getBufPtr
in interfaceRecvBufRequestOrBuilder
- Returns:
- The bufPtr.
-
setBufPtr
public RecvBufRequest.Builder setBufPtr(long value)
When RDMA is in use, address of destination field on client.
fixed64 buf_ptr = 4;
- Parameters:
value
- The bufPtr to set.- Returns:
- This builder for chaining.
-
clearBufPtr
public RecvBufRequest.Builder clearBufPtr()
When RDMA is in use, address of destination field on client.
fixed64 buf_ptr = 4;
- Returns:
- This builder for chaining.
-
hasClientLocality
public boolean hasClientLocality()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
- Specified by:
hasClientLocality
in interfaceRecvBufRequestOrBuilder
- Returns:
- Whether the clientLocality field is set.
-
getClientLocality
public DeviceLocality getClientLocality()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
- Specified by:
getClientLocality
in interfaceRecvBufRequestOrBuilder
- Returns:
- The clientLocality.
-
setClientLocality
public RecvBufRequest.Builder setClientLocality(DeviceLocality value)
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
-
setClientLocality
public RecvBufRequest.Builder setClientLocality(DeviceLocality.Builder builderForValue)
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
-
mergeClientLocality
public RecvBufRequest.Builder mergeClientLocality(DeviceLocality value)
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
-
clearClientLocality
public RecvBufRequest.Builder clearClientLocality()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
-
getClientLocalityBuilder
public DeviceLocality.Builder getClientLocalityBuilder()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
-
getClientLocalityOrBuilder
public DeviceLocalityOrBuilder getClientLocalityOrBuilder()
Optional information on client-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality client_locality = 5;
- Specified by:
getClientLocalityOrBuilder
in interfaceRecvBufRequestOrBuilder
-
hasServerLocality
public boolean hasServerLocality()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
- Specified by:
hasServerLocality
in interfaceRecvBufRequestOrBuilder
- Returns:
- Whether the serverLocality field is set.
-
getServerLocality
public DeviceLocality getServerLocality()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
- Specified by:
getServerLocality
in interfaceRecvBufRequestOrBuilder
- Returns:
- The serverLocality.
-
setServerLocality
public RecvBufRequest.Builder setServerLocality(DeviceLocality value)
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
-
setServerLocality
public RecvBufRequest.Builder setServerLocality(DeviceLocality.Builder builderForValue)
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
-
mergeServerLocality
public RecvBufRequest.Builder mergeServerLocality(DeviceLocality value)
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
-
clearServerLocality
public RecvBufRequest.Builder clearServerLocality()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
-
getServerLocalityBuilder
public DeviceLocality.Builder getServerLocalityBuilder()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
-
getServerLocalityOrBuilder
public DeviceLocalityOrBuilder getServerLocalityOrBuilder()
Optional information on server-side device locality.
.org.platanios.tensorflow.proto.DeviceLocality server_locality = 6;
- Specified by:
getServerLocalityOrBuilder
in interfaceRecvBufRequestOrBuilder
-
hasTransportOptions
public boolean hasTransportOptions()
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
- Specified by:
hasTransportOptions
in interfaceRecvBufRequestOrBuilder
- Returns:
- Whether the transportOptions field is set.
-
getTransportOptions
public Any getTransportOptions()
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
- Specified by:
getTransportOptions
in interfaceRecvBufRequestOrBuilder
- Returns:
- The transportOptions.
-
setTransportOptions
public RecvBufRequest.Builder setTransportOptions(Any value)
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
-
setTransportOptions
public RecvBufRequest.Builder setTransportOptions(Any.Builder builderForValue)
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
-
mergeTransportOptions
public RecvBufRequest.Builder mergeTransportOptions(Any value)
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
-
clearTransportOptions
public RecvBufRequest.Builder clearTransportOptions()
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
-
getTransportOptionsBuilder
public Any.Builder getTransportOptionsBuilder()
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
-
getTransportOptionsOrBuilder
public AnyOrBuilder getTransportOptionsOrBuilder()
Optional, implementation-specific data.
.org.platanios.tensorflow.proto.google.Any transport_options = 7;
- Specified by:
getTransportOptionsOrBuilder
in interfaceRecvBufRequestOrBuilder
-
getSrcDevice
public java.lang.String getSrcDevice()
For annotating timeline and device incarnation check.
string src_device = 8;
- Specified by:
getSrcDevice
in interfaceRecvBufRequestOrBuilder
- Returns:
- The srcDevice.
-
getSrcDeviceBytes
public com.google.protobuf.ByteString getSrcDeviceBytes()
For annotating timeline and device incarnation check.
string src_device = 8;
- Specified by:
getSrcDeviceBytes
in interfaceRecvBufRequestOrBuilder
- Returns:
- The bytes for srcDevice.
-
setSrcDevice
public RecvBufRequest.Builder setSrcDevice(java.lang.String value)
For annotating timeline and device incarnation check.
string src_device = 8;
- Parameters:
value
- The srcDevice to set.- Returns:
- This builder for chaining.
-
clearSrcDevice
public RecvBufRequest.Builder clearSrcDevice()
For annotating timeline and device incarnation check.
string src_device = 8;
- Returns:
- This builder for chaining.
-
setSrcDeviceBytes
public RecvBufRequest.Builder setSrcDeviceBytes(com.google.protobuf.ByteString value)
For annotating timeline and device incarnation check.
string src_device = 8;
- Parameters:
value
- The bytes for srcDevice to set.- Returns:
- This builder for chaining.
-
getDstDevice
public java.lang.String getDstDevice()
Optional, for annotating the timeline.
string dst_device = 9;
- Specified by:
getDstDevice
in interfaceRecvBufRequestOrBuilder
- Returns:
- The dstDevice.
-
getDstDeviceBytes
public com.google.protobuf.ByteString getDstDeviceBytes()
Optional, for annotating the timeline.
string dst_device = 9;
- Specified by:
getDstDeviceBytes
in interfaceRecvBufRequestOrBuilder
- Returns:
- The bytes for dstDevice.
-
setDstDevice
public RecvBufRequest.Builder setDstDevice(java.lang.String value)
Optional, for annotating the timeline.
string dst_device = 9;
- Parameters:
value
- The dstDevice to set.- Returns:
- This builder for chaining.
-
clearDstDevice
public RecvBufRequest.Builder clearDstDevice()
Optional, for annotating the timeline.
string dst_device = 9;
- Returns:
- This builder for chaining.
-
setDstDeviceBytes
public RecvBufRequest.Builder setDstDeviceBytes(com.google.protobuf.ByteString value)
Optional, for annotating the timeline.
string dst_device = 9;
- Parameters:
value
- The bytes for dstDevice to set.- Returns:
- This builder for chaining.
-
getRequestId
public 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;
- Specified by:
getRequestId
in interfaceRecvBufRequestOrBuilder
- Returns:
- The requestId.
-
setRequestId
public RecvBufRequest.Builder setRequestId(long value)
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;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public RecvBufRequest.Builder clearRequestId()
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:
- This builder for chaining.
-
getSrcIncarnation
public long getSrcIncarnation()
Incarnation number of the source device, used to detect worker failures.
uint64 src_incarnation = 11;
- Specified by:
getSrcIncarnation
in interfaceRecvBufRequestOrBuilder
- Returns:
- The srcIncarnation.
-
setSrcIncarnation
public RecvBufRequest.Builder setSrcIncarnation(long value)
Incarnation number of the source device, used to detect worker failures.
uint64 src_incarnation = 11;
- Parameters:
value
- The srcIncarnation to set.- Returns:
- This builder for chaining.
-
clearSrcIncarnation
public RecvBufRequest.Builder clearSrcIncarnation()
Incarnation number of the source device, used to detect worker failures.
uint64 src_incarnation = 11;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final RecvBufRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecvBufRequest.Builder>
-
mergeUnknownFields
public final RecvBufRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecvBufRequest.Builder>
-
-