public static final class RecvTensorRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder> implements RecvTensorRequestOrBuilder
tensorflow.RecvTensorRequest| Modifier and Type | Method and Description |
|---|---|
RecvTensorRequest.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RecvTensorRequest |
build() |
RecvTensorRequest |
buildPartial() |
RecvTensorRequest.Builder |
clear() |
RecvTensorRequest.Builder |
clearClientLocality()
Optional information on client-side device locality.
|
RecvTensorRequest.Builder |
clearDmaOk()
If true, use an out-of-band DMA mechanism to transfer the
received tensor.
|
RecvTensorRequest.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
RecvTensorRequest.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
RecvTensorRequest.Builder |
clearRendezvousKey()
A key identifying the channel to receive tensors from.
|
RecvTensorRequest.Builder |
clearRequestId()
Unique identifier for this request.
|
RecvTensorRequest.Builder |
clearServerLocality()
Optional information on server-side device locality.
|
RecvTensorRequest.Builder |
clearStepId()
The step in which the tensor will be produced.
|
RecvTensorRequest.Builder |
clearTransportOptions()
Optional information needed by the RPC subsystem.
|
RecvTensorRequest.Builder |
clone() |
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.
|
RecvTensorRequest |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDmaOk()
If true, use an out-of-band DMA mechanism to transfer the
received tensor.
|
String |
getRendezvousKey()
A key identifying the channel to receive tensors from.
|
org.nd4j.shade.protobuf.ByteString |
getRendezvousKeyBytes()
A key identifying the channel to receive tensors from.
|
long |
getRequestId()
Unique identifier for this request.
|
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.
|
long |
getStepId()
The step in which the tensor will be produced.
|
org.nd4j.shade.protobuf.Any |
getTransportOptions()
Optional information needed by the RPC subsystem.
|
org.nd4j.shade.protobuf.Any.Builder |
getTransportOptionsBuilder()
Optional information needed by the RPC subsystem.
|
org.nd4j.shade.protobuf.AnyOrBuilder |
getTransportOptionsOrBuilder()
Optional information needed by the RPC subsystem.
|
boolean |
hasClientLocality()
Optional information on client-side device locality.
|
boolean |
hasServerLocality()
Optional information on server-side device locality.
|
boolean |
hasTransportOptions()
Optional information needed by the RPC subsystem.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RecvTensorRequest.Builder |
mergeClientLocality(DeviceLocality value)
Optional information on client-side device locality.
|
RecvTensorRequest.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
RecvTensorRequest.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
RecvTensorRequest.Builder |
mergeFrom(RecvTensorRequest other) |
RecvTensorRequest.Builder |
mergeServerLocality(DeviceLocality value)
Optional information on server-side device locality.
|
RecvTensorRequest.Builder |
mergeTransportOptions(org.nd4j.shade.protobuf.Any value)
Optional information needed by the RPC subsystem.
|
RecvTensorRequest.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
RecvTensorRequest.Builder |
setClientLocality(DeviceLocality.Builder builderForValue)
Optional information on client-side device locality.
|
RecvTensorRequest.Builder |
setClientLocality(DeviceLocality value)
Optional information on client-side device locality.
|
RecvTensorRequest.Builder |
setDmaOk(boolean value)
If true, use an out-of-band DMA mechanism to transfer the
received tensor.
|
RecvTensorRequest.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RecvTensorRequest.Builder |
setRendezvousKey(String value)
A key identifying the channel to receive tensors from.
|
RecvTensorRequest.Builder |
setRendezvousKeyBytes(org.nd4j.shade.protobuf.ByteString value)
A key identifying the channel to receive tensors from.
|
RecvTensorRequest.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RecvTensorRequest.Builder |
setRequestId(long value)
Unique identifier for this request.
|
RecvTensorRequest.Builder |
setServerLocality(DeviceLocality.Builder builderForValue)
Optional information on server-side device locality.
|
RecvTensorRequest.Builder |
setServerLocality(DeviceLocality value)
Optional information on server-side device locality.
|
RecvTensorRequest.Builder |
setStepId(long value)
The step in which the tensor will be produced.
|
RecvTensorRequest.Builder |
setTransportOptions(org.nd4j.shade.protobuf.Any.Builder builderForValue)
Optional information needed by the RPC subsystem.
|
RecvTensorRequest.Builder |
setTransportOptions(org.nd4j.shade.protobuf.Any value)
Optional information needed by the RPC subsystem.
|
RecvTensorRequest.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic RecvTensorRequest build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic RecvTensorRequest buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic RecvTensorRequest.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder mergeFrom(RecvTensorRequest other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public RecvTensorRequest.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RecvTensorRequest.Builder>IOExceptionpublic long getStepId()
The step in which the tensor will be produced. REQUIRED: This must eventually correspond to the `step_id` passed into a RunGraph call on the same WorkerService.
int64 step_id = 1;getStepId in interface RecvTensorRequestOrBuilderpublic RecvTensorRequest.Builder setStepId(long value)
The step in which the tensor will be produced. REQUIRED: This must eventually correspond to the `step_id` passed into a RunGraph call on the same WorkerService.
int64 step_id = 1;public RecvTensorRequest.Builder clearStepId()
The step in which the tensor will be produced. REQUIRED: This must eventually correspond to the `step_id` passed into a RunGraph call on the same WorkerService.
int64 step_id = 1;public String getRendezvousKey()
A key identifying the channel to receive tensors from. A RecvTensor request retrieves one tensor from the channel, but multiple tensors can be sent and received over the same channel with multiple RecvTensor requests. See rendezvous.h for details.
string rendezvous_key = 2;getRendezvousKey in interface RecvTensorRequestOrBuilderpublic org.nd4j.shade.protobuf.ByteString getRendezvousKeyBytes()
A key identifying the channel to receive tensors from. A RecvTensor request retrieves one tensor from the channel, but multiple tensors can be sent and received over the same channel with multiple RecvTensor requests. See rendezvous.h for details.
string rendezvous_key = 2;getRendezvousKeyBytes in interface RecvTensorRequestOrBuilderpublic RecvTensorRequest.Builder setRendezvousKey(String value)
A key identifying the channel to receive tensors from. A RecvTensor request retrieves one tensor from the channel, but multiple tensors can be sent and received over the same channel with multiple RecvTensor requests. See rendezvous.h for details.
string rendezvous_key = 2;public RecvTensorRequest.Builder clearRendezvousKey()
A key identifying the channel to receive tensors from. A RecvTensor request retrieves one tensor from the channel, but multiple tensors can be sent and received over the same channel with multiple RecvTensor requests. See rendezvous.h for details.
string rendezvous_key = 2;public RecvTensorRequest.Builder setRendezvousKeyBytes(org.nd4j.shade.protobuf.ByteString value)
A key identifying the channel to receive tensors from. A RecvTensor request retrieves one tensor from the channel, but multiple tensors can be sent and received over the same channel with multiple RecvTensor requests. See rendezvous.h for details.
string rendezvous_key = 2;public boolean getDmaOk()
If true, use an out-of-band DMA mechanism to transfer the received tensor.
bool dma_ok = 3;getDmaOk in interface RecvTensorRequestOrBuilderpublic RecvTensorRequest.Builder setDmaOk(boolean value)
If true, use an out-of-band DMA mechanism to transfer the received tensor.
bool dma_ok = 3;public RecvTensorRequest.Builder clearDmaOk()
If true, use an out-of-band DMA mechanism to transfer the received tensor.
bool dma_ok = 3;public boolean hasClientLocality()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;hasClientLocality in interface RecvTensorRequestOrBuilderpublic DeviceLocality getClientLocality()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;getClientLocality in interface RecvTensorRequestOrBuilderpublic RecvTensorRequest.Builder setClientLocality(DeviceLocality value)
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;public RecvTensorRequest.Builder setClientLocality(DeviceLocality.Builder builderForValue)
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;public RecvTensorRequest.Builder mergeClientLocality(DeviceLocality value)
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;public RecvTensorRequest.Builder clearClientLocality()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;public DeviceLocality.Builder getClientLocalityBuilder()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;public DeviceLocalityOrBuilder getClientLocalityOrBuilder()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;getClientLocalityOrBuilder in interface RecvTensorRequestOrBuilderpublic boolean hasServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;hasServerLocality in interface RecvTensorRequestOrBuilderpublic DeviceLocality getServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;getServerLocality in interface RecvTensorRequestOrBuilderpublic RecvTensorRequest.Builder setServerLocality(DeviceLocality value)
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;public RecvTensorRequest.Builder setServerLocality(DeviceLocality.Builder builderForValue)
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;public RecvTensorRequest.Builder mergeServerLocality(DeviceLocality value)
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;public RecvTensorRequest.Builder clearServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;public DeviceLocality.Builder getServerLocalityBuilder()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;public DeviceLocalityOrBuilder getServerLocalityOrBuilder()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;getServerLocalityOrBuilder in interface RecvTensorRequestOrBuilderpublic boolean hasTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;hasTransportOptions in interface RecvTensorRequestOrBuilderpublic org.nd4j.shade.protobuf.Any getTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;getTransportOptions in interface RecvTensorRequestOrBuilderpublic RecvTensorRequest.Builder setTransportOptions(org.nd4j.shade.protobuf.Any value)
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;public RecvTensorRequest.Builder setTransportOptions(org.nd4j.shade.protobuf.Any.Builder builderForValue)
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;public RecvTensorRequest.Builder mergeTransportOptions(org.nd4j.shade.protobuf.Any value)
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;public RecvTensorRequest.Builder clearTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;public org.nd4j.shade.protobuf.Any.Builder getTransportOptionsBuilder()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;public org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;getTransportOptionsOrBuilder in interface RecvTensorRequestOrBuilderpublic long getRequestId()
Unique identifier for this request. Every RecvTensorRequest must have a unique request_id, and retried RecvTensorRequests must have the same request_id. If request_id is zero, retry detection is disabled. Retried RecvTensorRequests are problematic because a RecvTensor with no corresponding sender will wait forever, and the tensor may have been delivered to a previous retry. Workers use request_ids to reject retried RecvTensor requests instead of waiting forever.
int64 request_id = 7;getRequestId in interface RecvTensorRequestOrBuilderpublic RecvTensorRequest.Builder setRequestId(long value)
Unique identifier for this request. Every RecvTensorRequest must have a unique request_id, and retried RecvTensorRequests must have the same request_id. If request_id is zero, retry detection is disabled. Retried RecvTensorRequests are problematic because a RecvTensor with no corresponding sender will wait forever, and the tensor may have been delivered to a previous retry. Workers use request_ids to reject retried RecvTensor requests instead of waiting forever.
int64 request_id = 7;public RecvTensorRequest.Builder clearRequestId()
Unique identifier for this request. Every RecvTensorRequest must have a unique request_id, and retried RecvTensorRequests must have the same request_id. If request_id is zero, retry detection is disabled. Retried RecvTensorRequests are problematic because a RecvTensor with no corresponding sender will wait forever, and the tensor may have been delivered to a previous retry. Workers use request_ids to reject retried RecvTensor requests instead of waiting forever.
int64 request_id = 7;public final RecvTensorRequest.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>public final RecvTensorRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>Copyright © 2021. All rights reserved.