Class ExtendSessionRequest.Builder

    • 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<ExtendSessionRequest.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

        public ExtendSessionRequest.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<ExtendSessionRequest.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 ExtendSessionRequestOrBuilder
        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 ExtendSessionRequestOrBuilder
        Returns:
        The bytes for sessionHandle.
      • setSessionHandle

        public ExtendSessionRequest.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 ExtendSessionRequest.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 ExtendSessionRequest.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.
      • hasGraphDef

        public boolean hasGraphDef()
         REQUIRED: The nodes to be added to the session's graph. If any node has
         the same name as an existing node, the operation will fail with
         ILLEGAL_ARGUMENT.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
        Specified by:
        hasGraphDef in interface ExtendSessionRequestOrBuilder
        Returns:
        Whether the graphDef field is set.
      • getGraphDef

        public GraphDef getGraphDef()
         REQUIRED: The nodes to be added to the session's graph. If any node has
         the same name as an existing node, the operation will fail with
         ILLEGAL_ARGUMENT.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
        Specified by:
        getGraphDef in interface ExtendSessionRequestOrBuilder
        Returns:
        The graphDef.
      • setGraphDef

        public ExtendSessionRequest.Builder setGraphDef​(GraphDef value)
         REQUIRED: The nodes to be added to the session's graph. If any node has
         the same name as an existing node, the operation will fail with
         ILLEGAL_ARGUMENT.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
      • setGraphDef

        public ExtendSessionRequest.Builder setGraphDef​(GraphDef.Builder builderForValue)
         REQUIRED: The nodes to be added to the session's graph. If any node has
         the same name as an existing node, the operation will fail with
         ILLEGAL_ARGUMENT.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
      • mergeGraphDef

        public ExtendSessionRequest.Builder mergeGraphDef​(GraphDef value)
         REQUIRED: The nodes to be added to the session's graph. If any node has
         the same name as an existing node, the operation will fail with
         ILLEGAL_ARGUMENT.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
      • clearGraphDef

        public ExtendSessionRequest.Builder clearGraphDef()
         REQUIRED: The nodes to be added to the session's graph. If any node has
         the same name as an existing node, the operation will fail with
         ILLEGAL_ARGUMENT.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
      • getGraphDefBuilder

        public GraphDef.Builder getGraphDefBuilder()
         REQUIRED: The nodes to be added to the session's graph. If any node has
         the same name as an existing node, the operation will fail with
         ILLEGAL_ARGUMENT.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
      • getGraphDefOrBuilder

        public GraphDefOrBuilder getGraphDefOrBuilder()
         REQUIRED: The nodes to be added to the session's graph. If any node has
         the same name as an existing node, the operation will fail with
         ILLEGAL_ARGUMENT.
         
        .org.platanios.tensorflow.proto.GraphDef graph_def = 2;
        Specified by:
        getGraphDefOrBuilder in interface ExtendSessionRequestOrBuilder
      • getCurrentGraphVersion

        public long getCurrentGraphVersion()
         REQUIRED: The version number of the graph to be extended. This will be
         tested against the current server-side version number, and the operation
         will fail with FAILED_PRECONDITION if they do not match.
         
        int64 current_graph_version = 3;
        Specified by:
        getCurrentGraphVersion in interface ExtendSessionRequestOrBuilder
        Returns:
        The currentGraphVersion.
      • setCurrentGraphVersion

        public ExtendSessionRequest.Builder setCurrentGraphVersion​(long value)
         REQUIRED: The version number of the graph to be extended. This will be
         tested against the current server-side version number, and the operation
         will fail with FAILED_PRECONDITION if they do not match.
         
        int64 current_graph_version = 3;
        Parameters:
        value - The currentGraphVersion to set.
        Returns:
        This builder for chaining.
      • clearCurrentGraphVersion

        public ExtendSessionRequest.Builder clearCurrentGraphVersion()
         REQUIRED: The version number of the graph to be extended. This will be
         tested against the current server-side version number, and the operation
         will fail with FAILED_PRECONDITION if they do not match.
         
        int64 current_graph_version = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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