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

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

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

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

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

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

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

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

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

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

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

        public String getSessionHandle()
         The session handle to be used in subsequent calls for the created session.
         The client must arrange to call CloseSession with this returned
         session handle to close the session.
         
        string session_handle = 1;
        Specified by:
        getSessionHandle in interface CreateSessionResponseOrBuilder
        Returns:
        The sessionHandle.
      • getSessionHandleBytes

        public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
         The session handle to be used in subsequent calls for the created session.
         The client must arrange to call CloseSession with this returned
         session handle to close the session.
         
        string session_handle = 1;
        Specified by:
        getSessionHandleBytes in interface CreateSessionResponseOrBuilder
        Returns:
        The bytes for sessionHandle.
      • setSessionHandle

        public CreateSessionResponse.Builder setSessionHandle​(String value)
         The session handle to be used in subsequent calls for the created session.
         The client must arrange to call CloseSession with this returned
         session handle to close the session.
         
        string session_handle = 1;
        Parameters:
        value - The sessionHandle to set.
        Returns:
        This builder for chaining.
      • clearSessionHandle

        public CreateSessionResponse.Builder clearSessionHandle()
         The session handle to be used in subsequent calls for the created session.
         The client must arrange to call CloseSession with this returned
         session handle to close the session.
         
        string session_handle = 1;
        Returns:
        This builder for chaining.
      • setSessionHandleBytes

        public CreateSessionResponse.Builder setSessionHandleBytes​(org.nd4j.shade.protobuf.ByteString value)
         The session handle to be used in subsequent calls for the created session.
         The client must arrange to call CloseSession with this returned
         session handle to close the session.
         
        string session_handle = 1;
        Parameters:
        value - The bytes for sessionHandle to set.
        Returns:
        This builder for chaining.
      • getGraphVersion

        public long getGraphVersion()
         The initial version number for the graph, to be used in the next call
         to ExtendSession.
         
        int64 graph_version = 2;
        Specified by:
        getGraphVersion in interface CreateSessionResponseOrBuilder
        Returns:
        The graphVersion.
      • setGraphVersion

        public CreateSessionResponse.Builder setGraphVersion​(long value)
         The initial version number for the graph, to be used in the next call
         to ExtendSession.
         
        int64 graph_version = 2;
        Parameters:
        value - The graphVersion to set.
        Returns:
        This builder for chaining.
      • clearGraphVersion

        public CreateSessionResponse.Builder clearGraphVersion()
         The initial version number for the graph, to be used in the next call
         to ExtendSession.
         
        int64 graph_version = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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