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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.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 com.google.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​(java.lang.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​(com.google.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​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateSessionResponse.Builder>
      • mergeUnknownFields

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