Class RecvTensorResponse.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, RecvTensorResponseOrBuilder
    Enclosing class:
    RecvTensorResponse

    public static final class RecvTensorResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
    implements RecvTensorResponseOrBuilder
    Protobuf type org.platanios.tensorflow.proto.RecvTensorResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • clear

        public RecvTensorResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • getDefaultInstanceForType

        public RecvTensorResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RecvTensorResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RecvTensorResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RecvTensorResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • setField

        public RecvTensorResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • clearField

        public RecvTensorResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • clearOneof

        public RecvTensorResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • setRepeatedField

        public RecvTensorResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • addRepeatedField

        public RecvTensorResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • mergeFrom

        public RecvTensorResponse.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecvTensorResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • mergeFrom

        public RecvTensorResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecvTensorResponse.Builder>
        Throws:
        java.io.IOException
      • hasTensor

        public boolean hasTensor()
         The tensor as a proto.
         
        .org.platanios.tensorflow.proto.TensorProto tensor = 1;
        Specified by:
        hasTensor in interface RecvTensorResponseOrBuilder
        Returns:
        Whether the tensor field is set.
      • clearTensor

        public RecvTensorResponse.Builder clearTensor()
         The tensor as a proto.
         
        .org.platanios.tensorflow.proto.TensorProto tensor = 1;
      • getTensorBuilder

        public TensorProto.Builder getTensorBuilder()
         The tensor as a proto.
         
        .org.platanios.tensorflow.proto.TensorProto tensor = 1;
      • getIsDead

        public boolean getIsDead()
         If true, this tensor was the output of a dead node, and the
         content is invalid.
         
        bool is_dead = 2;
        Specified by:
        getIsDead in interface RecvTensorResponseOrBuilder
        Returns:
        The isDead.
      • setIsDead

        public RecvTensorResponse.Builder setIsDead​(boolean value)
         If true, this tensor was the output of a dead node, and the
         content is invalid.
         
        bool is_dead = 2;
        Parameters:
        value - The isDead to set.
        Returns:
        This builder for chaining.
      • clearIsDead

        public RecvTensorResponse.Builder clearIsDead()
         If true, this tensor was the output of a dead node, and the
         content is invalid.
         
        bool is_dead = 2;
        Returns:
        This builder for chaining.
      • getSendStartMicros

        public long getSendStartMicros()
         The time at which tensor was available and started to be returned.
         
        int64 send_start_micros = 3;
        Specified by:
        getSendStartMicros in interface RecvTensorResponseOrBuilder
        Returns:
        The sendStartMicros.
      • setSendStartMicros

        public RecvTensorResponse.Builder setSendStartMicros​(long value)
         The time at which tensor was available and started to be returned.
         
        int64 send_start_micros = 3;
        Parameters:
        value - The sendStartMicros to set.
        Returns:
        This builder for chaining.
      • clearSendStartMicros

        public RecvTensorResponse.Builder clearSendStartMicros()
         The time at which tensor was available and started to be returned.
         
        int64 send_start_micros = 3;
        Returns:
        This builder for chaining.
      • hasTransportOptions

        public boolean hasTransportOptions()
         Optional additional information about how to receive the tensor,
         e.g. in the event that `RecvTensorRequest.dma_ok` was true.
         
        .org.platanios.tensorflow.proto.google.Any transport_options = 4;
        Specified by:
        hasTransportOptions in interface RecvTensorResponseOrBuilder
        Returns:
        Whether the transportOptions field is set.
      • getTransportOptions

        public Any getTransportOptions()
         Optional additional information about how to receive the tensor,
         e.g. in the event that `RecvTensorRequest.dma_ok` was true.
         
        .org.platanios.tensorflow.proto.google.Any transport_options = 4;
        Specified by:
        getTransportOptions in interface RecvTensorResponseOrBuilder
        Returns:
        The transportOptions.
      • setTransportOptions

        public RecvTensorResponse.Builder setTransportOptions​(Any value)
         Optional additional information about how to receive the tensor,
         e.g. in the event that `RecvTensorRequest.dma_ok` was true.
         
        .org.platanios.tensorflow.proto.google.Any transport_options = 4;
      • setTransportOptions

        public RecvTensorResponse.Builder setTransportOptions​(Any.Builder builderForValue)
         Optional additional information about how to receive the tensor,
         e.g. in the event that `RecvTensorRequest.dma_ok` was true.
         
        .org.platanios.tensorflow.proto.google.Any transport_options = 4;
      • mergeTransportOptions

        public RecvTensorResponse.Builder mergeTransportOptions​(Any value)
         Optional additional information about how to receive the tensor,
         e.g. in the event that `RecvTensorRequest.dma_ok` was true.
         
        .org.platanios.tensorflow.proto.google.Any transport_options = 4;
      • clearTransportOptions

        public RecvTensorResponse.Builder clearTransportOptions()
         Optional additional information about how to receive the tensor,
         e.g. in the event that `RecvTensorRequest.dma_ok` was true.
         
        .org.platanios.tensorflow.proto.google.Any transport_options = 4;
      • getTransportOptionsBuilder

        public Any.Builder getTransportOptionsBuilder()
         Optional additional information about how to receive the tensor,
         e.g. in the event that `RecvTensorRequest.dma_ok` was true.
         
        .org.platanios.tensorflow.proto.google.Any transport_options = 4;
      • getTransportOptionsOrBuilder

        public AnyOrBuilder getTransportOptionsOrBuilder()
         Optional additional information about how to receive the tensor,
         e.g. in the event that `RecvTensorRequest.dma_ok` was true.
         
        .org.platanios.tensorflow.proto.google.Any transport_options = 4;
        Specified by:
        getTransportOptionsOrBuilder in interface RecvTensorResponseOrBuilder
      • getRequireAck

        public boolean getRequireAck()
         Whether the receiver should send a MarkRecvFinishedRequest to the sender
         to ack the message.
         
        bool require_ack = 5;
        Specified by:
        getRequireAck in interface RecvTensorResponseOrBuilder
        Returns:
        The requireAck.
      • setRequireAck

        public RecvTensorResponse.Builder setRequireAck​(boolean value)
         Whether the receiver should send a MarkRecvFinishedRequest to the sender
         to ack the message.
         
        bool require_ack = 5;
        Parameters:
        value - The requireAck to set.
        Returns:
        This builder for chaining.
      • clearRequireAck

        public RecvTensorResponse.Builder clearRequireAck()
         Whether the receiver should send a MarkRecvFinishedRequest to the sender
         to ack the message.
         
        bool require_ack = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RecvTensorResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>
      • mergeUnknownFields

        public final RecvTensorResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RecvTensorResponse.Builder>