Class RecvBufRequest

  • All Implemented Interfaces:
    Serializable, org.nd4j.shade.protobuf.Message, org.nd4j.shade.protobuf.MessageLite, org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder, RecvBufRequestOrBuilder

    public final class RecvBufRequest
    extends org.nd4j.shade.protobuf.GeneratedMessageV3
    implements RecvBufRequestOrBuilder
     Use of the fields below may vary by implementation.  For example
     the buf_ptr and num_bytes may be set only for local operations and
     not sent on the wire, or only sent on the wire in one direction.
     
    Protobuf type tensorflow.RecvBufRequest
    See Also:
    Serialized Form
    • Field Detail

      • BUF_RENDEZVOUS_KEY_FIELD_NUMBER

        public static final int BUF_RENDEZVOUS_KEY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLIENT_LOCALITY_FIELD_NUMBER

        public static final int CLIENT_LOCALITY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVER_LOCALITY_FIELD_NUMBER

        public static final int SERVER_LOCALITY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRANSPORT_OPTIONS_FIELD_NUMBER

        public static final int TRANSPORT_OPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SRC_DEVICE_FIELD_NUMBER

        public static final int SRC_DEVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DST_DEVICE_FIELD_NUMBER

        public static final int DST_DEVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • 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
      • getStepId

        public long getStepId()
         Used at server side to find the correct BufRendezvous.
         
        int64 step_id = 1;
        Specified by:
        getStepId in interface RecvBufRequestOrBuilder
        Returns:
        The stepId.
      • getBufRendezvousKey

        public String getBufRendezvousKey()
         Arbitrary string identifying a BufRendezvous entry.
         
        string buf_rendezvous_key = 2;
        Specified by:
        getBufRendezvousKey in interface RecvBufRequestOrBuilder
        Returns:
        The bufRendezvousKey.
      • getBufRendezvousKeyBytes

        public org.nd4j.shade.protobuf.ByteString getBufRendezvousKeyBytes()
         Arbitrary string identifying a BufRendezvous entry.
         
        string buf_rendezvous_key = 2;
        Specified by:
        getBufRendezvousKeyBytes in interface RecvBufRequestOrBuilder
        Returns:
        The bytes for bufRendezvousKey.
      • getNumBytes

        public long getNumBytes()
         Size of value expected, must agree with BufRendezvous entry.
         
        int64 num_bytes = 3;
        Specified by:
        getNumBytes in interface RecvBufRequestOrBuilder
        Returns:
        The numBytes.
      • getBufPtr

        public long getBufPtr()
         When RDMA is in use, address of destination field on client.
         
        fixed64 buf_ptr = 4;
        Specified by:
        getBufPtr in interface RecvBufRequestOrBuilder
        Returns:
        The bufPtr.
      • hasClientLocality

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

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

        public boolean hasTransportOptions()
         Optional, implementation-specific data.
         
        .google.protobuf.Any transport_options = 7;
        Specified by:
        hasTransportOptions in interface RecvBufRequestOrBuilder
        Returns:
        Whether the transportOptions field is set.
      • getTransportOptions

        public org.nd4j.shade.protobuf.Any getTransportOptions()
         Optional, implementation-specific data.
         
        .google.protobuf.Any transport_options = 7;
        Specified by:
        getTransportOptions in interface RecvBufRequestOrBuilder
        Returns:
        The transportOptions.
      • getTransportOptionsOrBuilder

        public org.nd4j.shade.protobuf.AnyOrBuilder getTransportOptionsOrBuilder()
         Optional, implementation-specific data.
         
        .google.protobuf.Any transport_options = 7;
        Specified by:
        getTransportOptionsOrBuilder in interface RecvBufRequestOrBuilder
      • getSrcDeviceBytes

        public org.nd4j.shade.protobuf.ByteString getSrcDeviceBytes()
         Optional, for annotating the timeline.
         
        string src_device = 8;
        Specified by:
        getSrcDeviceBytes in interface RecvBufRequestOrBuilder
        Returns:
        The bytes for srcDevice.
      • getDstDeviceBytes

        public org.nd4j.shade.protobuf.ByteString getDstDeviceBytes()
        string dst_device = 9;
        Specified by:
        getDstDeviceBytes in interface RecvBufRequestOrBuilder
        Returns:
        The bytes for dstDevice.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(org.nd4j.shade.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        writeTo in class org.nd4j.shade.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface org.nd4j.shade.protobuf.Message
        Overrides:
        equals in class org.nd4j.shade.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.nd4j.shade.protobuf.Message
        Overrides:
        hashCode in class org.nd4j.shade.protobuf.AbstractMessage
      • parseFrom

        public static RecvBufRequest parseFrom​(ByteBuffer data)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RecvBufRequest parseFrom​(ByteBuffer data,
                                               org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RecvBufRequest parseFrom​(org.nd4j.shade.protobuf.ByteString data)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RecvBufRequest parseFrom​(org.nd4j.shade.protobuf.ByteString data,
                                               org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RecvBufRequest parseFrom​(byte[] data)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RecvBufRequest parseFrom​(byte[] data,
                                               org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RecvBufRequest parseFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                               org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public RecvBufRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        newBuilderForType in interface org.nd4j.shade.protobuf.MessageLite
      • toBuilder

        public RecvBufRequest.Builder toBuilder()
        Specified by:
        toBuilder in interface org.nd4j.shade.protobuf.Message
        Specified by:
        toBuilder in interface org.nd4j.shade.protobuf.MessageLite
      • newBuilderForType

        protected RecvBufRequest.Builder newBuilderForType​(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static RecvBufRequest getDefaultInstance()
      • parser

        public static org.nd4j.shade.protobuf.Parser<RecvBufRequest> parser()
      • getParserForType

        public org.nd4j.shade.protobuf.Parser<RecvBufRequest> getParserForType()
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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