Class RecvTensorRequest.Builder

    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • clear

        public RecvTensorRequest.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • getDefaultInstanceForType

        public RecvTensorRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public RecvTensorRequest build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public RecvTensorRequest buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public RecvTensorRequest.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • setField

        public RecvTensorRequest.Builder setField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • clearField

        public RecvTensorRequest.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • clearOneof

        public RecvTensorRequest.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • setRepeatedField

        public RecvTensorRequest.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • addRepeatedField

        public RecvTensorRequest.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • mergeFrom

        public RecvTensorRequest.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RecvTensorRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • mergeFrom

        public RecvTensorRequest.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                   org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RecvTensorRequest.Builder>
        Throws:
        IOException
      • getStepId

        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;
        Specified by:
        getStepId in interface RecvTensorRequestOrBuilder
        Returns:
        The stepId.
      • setStepId

        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;
        Parameters:
        value - The stepId to set.
        Returns:
        This builder for chaining.
      • clearStepId

        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;
        Returns:
        This builder for chaining.
      • getRendezvousKey

        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;
        Specified by:
        getRendezvousKey in interface RecvTensorRequestOrBuilder
        Returns:
        The rendezvousKey.
      • getRendezvousKeyBytes

        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;
        Specified by:
        getRendezvousKeyBytes in interface RecvTensorRequestOrBuilder
        Returns:
        The bytes for rendezvousKey.
      • setRendezvousKey

        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;
        Parameters:
        value - The rendezvousKey to set.
        Returns:
        This builder for chaining.
      • clearRendezvousKey

        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;
        Returns:
        This builder for chaining.
      • setRendezvousKeyBytes

        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;
        Parameters:
        value - The bytes for rendezvousKey to set.
        Returns:
        This builder for chaining.
      • getDmaOk

        public boolean getDmaOk()
         If true, use an out-of-band DMA mechanism to transfer the
         received tensor.
         
        bool dma_ok = 3;
        Specified by:
        getDmaOk in interface RecvTensorRequestOrBuilder
        Returns:
        The dmaOk.
      • setDmaOk

        public RecvTensorRequest.Builder setDmaOk​(boolean value)
         If true, use an out-of-band DMA mechanism to transfer the
         received tensor.
         
        bool dma_ok = 3;
        Parameters:
        value - The dmaOk to set.
        Returns:
        This builder for chaining.
      • clearDmaOk

        public RecvTensorRequest.Builder clearDmaOk()
         If true, use an out-of-band DMA mechanism to transfer the
         received tensor.
         
        bool dma_ok = 3;
        Returns:
        This builder for chaining.
      • hasClientLocality

        public boolean hasClientLocality()
         Optional information on client-side device locality.
         
        .tensorflow.DeviceLocality client_locality = 4;
        Specified by:
        hasClientLocality in interface RecvTensorRequestOrBuilder
        Returns:
        Whether the clientLocality field is set.
      • setClientLocality

        public RecvTensorRequest.Builder setClientLocality​(DeviceLocality value)
         Optional information on client-side device locality.
         
        .tensorflow.DeviceLocality client_locality = 4;
      • mergeClientLocality

        public RecvTensorRequest.Builder mergeClientLocality​(DeviceLocality value)
         Optional information on client-side device locality.
         
        .tensorflow.DeviceLocality client_locality = 4;
      • clearClientLocality

        public RecvTensorRequest.Builder clearClientLocality()
         Optional information on client-side device locality.
         
        .tensorflow.DeviceLocality client_locality = 4;
      • getClientLocalityBuilder

        public DeviceLocality.Builder getClientLocalityBuilder()
         Optional information on client-side device locality.
         
        .tensorflow.DeviceLocality client_locality = 4;
      • hasServerLocality

        public boolean hasServerLocality()
         Optional information on server-side device locality.
         
        .tensorflow.DeviceLocality server_locality = 5;
        Specified by:
        hasServerLocality in interface RecvTensorRequestOrBuilder
        Returns:
        Whether the serverLocality field is set.
      • setServerLocality

        public RecvTensorRequest.Builder setServerLocality​(DeviceLocality value)
         Optional information on server-side device locality.
         
        .tensorflow.DeviceLocality server_locality = 5;
      • mergeServerLocality

        public RecvTensorRequest.Builder mergeServerLocality​(DeviceLocality value)
         Optional information on server-side device locality.
         
        .tensorflow.DeviceLocality server_locality = 5;
      • clearServerLocality

        public RecvTensorRequest.Builder clearServerLocality()
         Optional information on server-side device locality.
         
        .tensorflow.DeviceLocality server_locality = 5;
      • getServerLocalityBuilder

        public DeviceLocality.Builder getServerLocalityBuilder()
         Optional information on server-side device locality.
         
        .tensorflow.DeviceLocality server_locality = 5;
      • hasTransportOptions

        public boolean hasTransportOptions()
         Optional information needed by the RPC subsystem.
         
        .google.protobuf.Any transport_options = 6;
        Specified by:
        hasTransportOptions in interface RecvTensorRequestOrBuilder
        Returns:
        Whether the transportOptions field is set.
      • getTransportOptions

        public org.nd4j.shade.protobuf.Any getTransportOptions()
         Optional information needed by the RPC subsystem.
         
        .google.protobuf.Any transport_options = 6;
        Specified by:
        getTransportOptions in interface RecvTensorRequestOrBuilder
        Returns:
        The transportOptions.
      • setTransportOptions

        public RecvTensorRequest.Builder setTransportOptions​(org.nd4j.shade.protobuf.Any value)
         Optional information needed by the RPC subsystem.
         
        .google.protobuf.Any transport_options = 6;
      • setTransportOptions

        public RecvTensorRequest.Builder setTransportOptions​(org.nd4j.shade.protobuf.Any.Builder builderForValue)
         Optional information needed by the RPC subsystem.
         
        .google.protobuf.Any transport_options = 6;
      • mergeTransportOptions

        public RecvTensorRequest.Builder mergeTransportOptions​(org.nd4j.shade.protobuf.Any value)
         Optional information needed by the RPC subsystem.
         
        .google.protobuf.Any transport_options = 6;
      • clearTransportOptions

        public RecvTensorRequest.Builder clearTransportOptions()
         Optional information needed by the RPC subsystem.
         
        .google.protobuf.Any transport_options = 6;
      • getTransportOptionsBuilder

        public org.nd4j.shade.protobuf.Any.Builder getTransportOptionsBuilder()
         Optional information needed by the RPC subsystem.
         
        .google.protobuf.Any transport_options = 6;
      • getTransportOptionsOrBuilder

        public org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder()
         Optional information needed by the RPC subsystem.
         
        .google.protobuf.Any transport_options = 6;
        Specified by:
        getTransportOptionsOrBuilder in interface RecvTensorRequestOrBuilder
      • getRequestId

        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;
        Specified by:
        getRequestId in interface RecvTensorRequestOrBuilder
        Returns:
        The requestId.
      • setRequestId

        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;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        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;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RecvTensorRequest.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>
      • mergeUnknownFields

        public final RecvTensorRequest.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RecvTensorRequest.Builder>