Class RunCallableRequest.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, RunCallableRequestOrBuilder
    Enclosing class:
    RunCallableRequest

    public static final class RunCallableRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
    implements RunCallableRequestOrBuilder
    Protobuf type org.platanios.tensorflow.proto.RunCallableRequest
    • 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<RunCallableRequest.Builder>
      • clear

        public RunCallableRequest.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<RunCallableRequest.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<RunCallableRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public RunCallableRequest.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<RunCallableRequest.Builder>
      • setField

        public RunCallableRequest.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<RunCallableRequest.Builder>
      • clearField

        public RunCallableRequest.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<RunCallableRequest.Builder>
      • clearOneof

        public RunCallableRequest.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<RunCallableRequest.Builder>
      • setRepeatedField

        public RunCallableRequest.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<RunCallableRequest.Builder>
      • addRepeatedField

        public RunCallableRequest.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<RunCallableRequest.Builder>
      • mergeFrom

        public RunCallableRequest.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<RunCallableRequest.Builder>
      • isInitialized

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

        public RunCallableRequest.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<RunCallableRequest.Builder>
        Throws:
        java.io.IOException
      • getSessionHandle

        public java.lang.String getSessionHandle()
         REQUIRED: session_handle must be returned by a CreateSession call
         to the same master service.
         
        string session_handle = 1;
        Specified by:
        getSessionHandle in interface RunCallableRequestOrBuilder
        Returns:
        The sessionHandle.
      • getSessionHandleBytes

        public com.google.protobuf.ByteString getSessionHandleBytes()
         REQUIRED: session_handle must be returned by a CreateSession call
         to the same master service.
         
        string session_handle = 1;
        Specified by:
        getSessionHandleBytes in interface RunCallableRequestOrBuilder
        Returns:
        The bytes for sessionHandle.
      • setSessionHandle

        public RunCallableRequest.Builder setSessionHandle​(java.lang.String value)
         REQUIRED: session_handle must be returned by a CreateSession call
         to the same master service.
         
        string session_handle = 1;
        Parameters:
        value - The sessionHandle to set.
        Returns:
        This builder for chaining.
      • clearSessionHandle

        public RunCallableRequest.Builder clearSessionHandle()
         REQUIRED: session_handle must be returned by a CreateSession call
         to the same master service.
         
        string session_handle = 1;
        Returns:
        This builder for chaining.
      • setSessionHandleBytes

        public RunCallableRequest.Builder setSessionHandleBytes​(com.google.protobuf.ByteString value)
         REQUIRED: session_handle must be returned by a CreateSession call
         to the same master service.
         
        string session_handle = 1;
        Parameters:
        value - The bytes for sessionHandle to set.
        Returns:
        This builder for chaining.
      • getHandle

        public long getHandle()
         REQUIRED: handle must be returned by a MakeCallable call to the same
         master service.
         
        int64 handle = 2;
        Specified by:
        getHandle in interface RunCallableRequestOrBuilder
        Returns:
        The handle.
      • setHandle

        public RunCallableRequest.Builder setHandle​(long value)
         REQUIRED: handle must be returned by a MakeCallable call to the same
         master service.
         
        int64 handle = 2;
        Parameters:
        value - The handle to set.
        Returns:
        This builder for chaining.
      • clearHandle

        public RunCallableRequest.Builder clearHandle()
         REQUIRED: handle must be returned by a MakeCallable call to the same
         master service.
         
        int64 handle = 2;
        Returns:
        This builder for chaining.
      • getFeedList

        public java.util.List<TensorProto> getFeedList()
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
        Specified by:
        getFeedList in interface RunCallableRequestOrBuilder
      • getFeedCount

        public int getFeedCount()
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
        Specified by:
        getFeedCount in interface RunCallableRequestOrBuilder
      • getFeed

        public TensorProto getFeed​(int index)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
        Specified by:
        getFeed in interface RunCallableRequestOrBuilder
      • setFeed

        public RunCallableRequest.Builder setFeed​(int index,
                                                  TensorProto value)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • setFeed

        public RunCallableRequest.Builder setFeed​(int index,
                                                  TensorProto.Builder builderForValue)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • addFeed

        public RunCallableRequest.Builder addFeed​(TensorProto value)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • addFeed

        public RunCallableRequest.Builder addFeed​(int index,
                                                  TensorProto value)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • addFeed

        public RunCallableRequest.Builder addFeed​(TensorProto.Builder builderForValue)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • addFeed

        public RunCallableRequest.Builder addFeed​(int index,
                                                  TensorProto.Builder builderForValue)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • addAllFeed

        public RunCallableRequest.Builder addAllFeed​(java.lang.Iterable<? extends TensorProto> values)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • clearFeed

        public RunCallableRequest.Builder clearFeed()
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • removeFeed

        public RunCallableRequest.Builder removeFeed​(int index)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • getFeedBuilder

        public TensorProto.Builder getFeedBuilder​(int index)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • getFeedOrBuilder

        public TensorProtoOrBuilder getFeedOrBuilder​(int index)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
        Specified by:
        getFeedOrBuilder in interface RunCallableRequestOrBuilder
      • getFeedOrBuilderList

        public java.util.List<? extends TensorProtoOrBuilder> getFeedOrBuilderList()
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
        Specified by:
        getFeedOrBuilderList in interface RunCallableRequestOrBuilder
      • addFeedBuilder

        public TensorProto.Builder addFeedBuilder()
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • addFeedBuilder

        public TensorProto.Builder addFeedBuilder​(int index)
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • getFeedBuilderList

        public java.util.List<TensorProto.Builder> getFeedBuilderList()
         Values of the tensors passed as arguments to the callable, in the order
         defined in the CallableOptions.feed field passed to MakeCallable.
         
        repeated .org.platanios.tensorflow.proto.TensorProto feed = 3;
      • getRequestId

        public long getRequestId()
         Unique identifier for this request. Every RunCallableRequest must
         have a unique request_id, and retried RunCallableRequest must have
         the same request_id. If request_id is zero, retry detection is disabled.
         
        int64 request_id = 4;
        Specified by:
        getRequestId in interface RunCallableRequestOrBuilder
        Returns:
        The requestId.
      • setRequestId

        public RunCallableRequest.Builder setRequestId​(long value)
         Unique identifier for this request. Every RunCallableRequest must
         have a unique request_id, and retried RunCallableRequest must have
         the same request_id. If request_id is zero, retry detection is disabled.
         
        int64 request_id = 4;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public RunCallableRequest.Builder clearRequestId()
         Unique identifier for this request. Every RunCallableRequest must
         have a unique request_id, and retried RunCallableRequest must have
         the same request_id. If request_id is zero, retry detection is disabled.
         
        int64 request_id = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RunCallableRequest.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<RunCallableRequest.Builder>
      • mergeUnknownFields

        public final RunCallableRequest.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<RunCallableRequest.Builder>