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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public RecvTensorRequest build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public RecvTensorRequest buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public RecvTensorRequest.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RecvTensorRequest.Builder>
IOException
public 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 RecvTensorRequestOrBuilder
public 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 RecvTensorRequestOrBuilder
public 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 RecvTensorRequestOrBuilder
public 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 RecvTensorRequestOrBuilder
public 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 RecvTensorRequestOrBuilder
public DeviceLocality getClientLocality()
Optional information on client-side device locality.
.tensorflow.DeviceLocality client_locality = 4;
getClientLocality
in interface RecvTensorRequestOrBuilder
public 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 RecvTensorRequestOrBuilder
public boolean hasServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;
hasServerLocality
in interface RecvTensorRequestOrBuilder
public DeviceLocality getServerLocality()
Optional information on server-side device locality.
.tensorflow.DeviceLocality server_locality = 5;
getServerLocality
in interface RecvTensorRequestOrBuilder
public 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 RecvTensorRequestOrBuilder
public boolean hasTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
hasTransportOptions
in interface RecvTensorRequestOrBuilder
public org.nd4j.shade.protobuf.Any getTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
getTransportOptions
in interface RecvTensorRequestOrBuilder
public 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 RecvTensorRequestOrBuilder
public 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 RecvTensorRequestOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
Copyright © 2020. All rights reserved.