public final class RecvTensorRequest extends com.github.os72.protobuf351.GeneratedMessageV3 implements RecvTensorRequestOrBuilder
tensorflow.RecvTensorRequest
Modifier and Type | Class and Description |
---|---|
static class |
RecvTensorRequest.Builder
Protobuf type
tensorflow.RecvTensorRequest |
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
CLIENT_LOCALITY_FIELD_NUMBER |
static int |
DMA_OK_FIELD_NUMBER |
static int |
RENDEZVOUS_KEY_FIELD_NUMBER |
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
SERVER_LOCALITY_FIELD_NUMBER |
static int |
STEP_ID_FIELD_NUMBER |
static int |
TRANSPORT_OPTIONS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DeviceLocality |
getClientLocality()
Optional information on client-side device locality.
|
DeviceLocalityOrBuilder |
getClientLocalityOrBuilder()
Optional information on client-side device locality.
|
static RecvTensorRequest |
getDefaultInstance() |
RecvTensorRequest |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDmaOk()
If true, use an out-of-band DMA mechanism to transfer the
received tensor.
|
com.github.os72.protobuf351.Parser<RecvTensorRequest> |
getParserForType() |
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.
|
int |
getSerializedSize() |
DeviceLocality |
getServerLocality()
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.AnyOrBuilder |
getTransportOptionsOrBuilder()
Optional information needed by the RPC subsystem.
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClientLocality()
Optional information on client-side device locality.
|
int |
hashCode() |
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() |
static RecvTensorRequest.Builder |
newBuilder() |
static RecvTensorRequest.Builder |
newBuilder(RecvTensorRequest prototype) |
RecvTensorRequest.Builder |
newBuilderForType() |
protected RecvTensorRequest.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static RecvTensorRequest |
parseDelimitedFrom(InputStream input) |
static RecvTensorRequest |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(byte[] data) |
static RecvTensorRequest |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(ByteBuffer data) |
static RecvTensorRequest |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static RecvTensorRequest |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static RecvTensorRequest |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static RecvTensorRequest |
parseFrom(InputStream input) |
static RecvTensorRequest |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<RecvTensorRequest> |
parser() |
RecvTensorRequest.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int STEP_ID_FIELD_NUMBER
public static final int RENDEZVOUS_KEY_FIELD_NUMBER
public static final int DMA_OK_FIELD_NUMBER
public static final int CLIENT_LOCALITY_FIELD_NUMBER
public static final int SERVER_LOCALITY_FIELD_NUMBER
public static final int TRANSPORT_OPTIONS_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
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
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 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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static RecvTensorRequest parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static RecvTensorRequest parseFrom(InputStream input) throws IOException
IOException
public static RecvTensorRequest parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RecvTensorRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RecvTensorRequest parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RecvTensorRequest parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static RecvTensorRequest parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RecvTensorRequest.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static RecvTensorRequest.Builder newBuilder()
public static RecvTensorRequest.Builder newBuilder(RecvTensorRequest prototype)
public RecvTensorRequest.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected RecvTensorRequest.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static RecvTensorRequest getDefaultInstance()
public static com.github.os72.protobuf351.Parser<RecvTensorRequest> parser()
public com.github.os72.protobuf351.Parser<RecvTensorRequest> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public RecvTensorRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.