public static final class RecvTensorRequest.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder> implements RecvTensorRequestOrBuilder
tensorflow.RecvTensorRequest
Modifier and Type | Method and Description |
---|---|
RecvTensorRequest.Builder |
addRepeatedField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
RecvTensorRequest.Builder |
clearOneof(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.Any |
getTransportOptions()
Optional information needed by the RPC subsystem.
|
com.github.os72.protobuf351.Any.Builder |
getTransportOptionsBuilder()
Optional information needed by the RPC subsystem.
|
com.github.os72.protobuf351.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 com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RecvTensorRequest.Builder |
mergeClientLocality(DeviceLocality value)
Optional information on client-side device locality.
|
RecvTensorRequest.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
RecvTensorRequest.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
RecvTensorRequest.Builder |
mergeFrom(RecvTensorRequest other) |
RecvTensorRequest.Builder |
mergeServerLocality(DeviceLocality value)
Optional information on server-side device locality.
|
RecvTensorRequest.Builder |
mergeTransportOptions(com.github.os72.protobuf351.Any value)
Optional information needed by the RPC subsystem.
|
RecvTensorRequest.Builder |
mergeUnknownFields(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
RecvTensorRequest.Builder |
setRendezvousKey(String value)
A key identifying the channel to receive tensors from.
|
RecvTensorRequest.Builder |
setRendezvousKeyBytes(com.github.os72.protobuf351.ByteString value)
A key identifying the channel to receive tensors from.
|
RecvTensorRequest.Builder |
setRepeatedField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Any.Builder builderForValue)
Optional information needed by the RPC subsystem.
|
RecvTensorRequest.Builder |
setTransportOptions(com.github.os72.protobuf351.Any value)
Optional information needed by the RPC subsystem.
|
RecvTensorRequest.Builder |
setUnknownFields(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder clear()
clear
in interface com.github.os72.protobuf351.Message.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.github.os72.protobuf351.Message.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public RecvTensorRequest build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public RecvTensorRequest buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public RecvTensorRequest.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.github.os72.protobuf351.Message.Builder
setField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField
in interface com.github.os72.protobuf351.Message.Builder
clearField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.github.os72.protobuf351.Message.Builder
clearOneof
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
setRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
addRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder mergeFrom(RecvTensorRequest other)
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public RecvTensorRequest.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Any getTransportOptions()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
getTransportOptions
in interface RecvTensorRequestOrBuilder
public RecvTensorRequest.Builder setTransportOptions(com.github.os72.protobuf351.Any value)
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
public RecvTensorRequest.Builder setTransportOptions(com.github.os72.protobuf351.Any.Builder builderForValue)
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
public RecvTensorRequest.Builder mergeTransportOptions(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Any.Builder getTransportOptionsBuilder()
Optional information needed by the RPC subsystem.
.google.protobuf.Any transport_options = 6;
public com.github.os72.protobuf351.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(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
setUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
public final RecvTensorRequest.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
Copyright © 2018. All rights reserved.