Class AuthReq.Builder

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

    public static final class AuthReq.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
    implements AuthReqOrBuilder
    Protobuf type mekadb_client.AuthReq
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AuthReq.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      AuthReq build()  
      AuthReq buildPartial()  
      AuthReq.Builder clear()  
      AuthReq.Builder clearDatabase()
      The database that the given user has access to and to which the returned AuthCtx will be bound
      AuthReq.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      AuthReq.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      AuthReq.Builder clearPassword()
      The password of the username provided
      AuthReq.Builder clearSchema()
      The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
      AuthReq.Builder clearUsername()
      The username of a user that exists for the given database
      AuthReq.Builder clone()  
      java.lang.String getDatabase()
      The database that the given user has access to and to which the returned AuthCtx will be bound
      com.google.protobuf.ByteString getDatabaseBytes()
      The database that the given user has access to and to which the returned AuthCtx will be bound
      AuthReq getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      java.lang.String getPassword()
      The password of the username provided
      com.google.protobuf.ByteString getPasswordBytes()
      The password of the username provided
      java.lang.String getSchema()
      The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
      com.google.protobuf.ByteString getSchemaBytes()
      The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
      java.lang.String getUsername()
      The username of a user that exists for the given database
      com.google.protobuf.ByteString getUsernameBytes()
      The username of a user that exists for the given database
      boolean hasSchema()
      The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      AuthReq.Builder mergeFrom​(AuthReq other)  
      AuthReq.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      AuthReq.Builder mergeFrom​(com.google.protobuf.Message other)  
      AuthReq.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      AuthReq.Builder setDatabase​(java.lang.String value)
      The database that the given user has access to and to which the returned AuthCtx will be bound
      AuthReq.Builder setDatabaseBytes​(com.google.protobuf.ByteString value)
      The database that the given user has access to and to which the returned AuthCtx will be bound
      AuthReq.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      AuthReq.Builder setPassword​(java.lang.String value)
      The password of the username provided
      AuthReq.Builder setPasswordBytes​(com.google.protobuf.ByteString value)
      The password of the username provided
      AuthReq.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)  
      AuthReq.Builder setSchema​(java.lang.String value)
      The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
      AuthReq.Builder setSchemaBytes​(com.google.protobuf.ByteString value)
      The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
      AuthReq.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      AuthReq.Builder setUsername​(java.lang.String value)
      The username of a user that exists for the given database
      AuthReq.Builder setUsernameBytes​(com.google.protobuf.ByteString value)
      The username of a user that exists for the given database
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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<AuthReq.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.String getUsername()
        The username of a user that exists for the given database
         
        string username = 1;
        Specified by:
        getUsername in interface AuthReqOrBuilder
        Returns:
        The username.
      • getUsernameBytes

        public com.google.protobuf.ByteString getUsernameBytes()
        The username of a user that exists for the given database
         
        string username = 1;
        Specified by:
        getUsernameBytes in interface AuthReqOrBuilder
        Returns:
        The bytes for username.
      • setUsername

        public AuthReq.Builder setUsername​(java.lang.String value)
        The username of a user that exists for the given database
         
        string username = 1;
        Parameters:
        value - The username to set.
        Returns:
        This builder for chaining.
      • clearUsername

        public AuthReq.Builder clearUsername()
        The username of a user that exists for the given database
         
        string username = 1;
        Returns:
        This builder for chaining.
      • setUsernameBytes

        public AuthReq.Builder setUsernameBytes​(com.google.protobuf.ByteString value)
        The username of a user that exists for the given database
         
        string username = 1;
        Parameters:
        value - The bytes for username to set.
        Returns:
        This builder for chaining.
      • getPassword

        public java.lang.String getPassword()
        The password of the username provided
         
        string password = 2;
        Specified by:
        getPassword in interface AuthReqOrBuilder
        Returns:
        The password.
      • getPasswordBytes

        public com.google.protobuf.ByteString getPasswordBytes()
        The password of the username provided
         
        string password = 2;
        Specified by:
        getPasswordBytes in interface AuthReqOrBuilder
        Returns:
        The bytes for password.
      • setPassword

        public AuthReq.Builder setPassword​(java.lang.String value)
        The password of the username provided
         
        string password = 2;
        Parameters:
        value - The password to set.
        Returns:
        This builder for chaining.
      • clearPassword

        public AuthReq.Builder clearPassword()
        The password of the username provided
         
        string password = 2;
        Returns:
        This builder for chaining.
      • setPasswordBytes

        public AuthReq.Builder setPasswordBytes​(com.google.protobuf.ByteString value)
        The password of the username provided
         
        string password = 2;
        Parameters:
        value - The bytes for password to set.
        Returns:
        This builder for chaining.
      • getDatabase

        public java.lang.String getDatabase()
        The database that the given user has access to and to which the returned AuthCtx will be bound
         
        string database = 3;
        Specified by:
        getDatabase in interface AuthReqOrBuilder
        Returns:
        The database.
      • getDatabaseBytes

        public com.google.protobuf.ByteString getDatabaseBytes()
        The database that the given user has access to and to which the returned AuthCtx will be bound
         
        string database = 3;
        Specified by:
        getDatabaseBytes in interface AuthReqOrBuilder
        Returns:
        The bytes for database.
      • setDatabase

        public AuthReq.Builder setDatabase​(java.lang.String value)
        The database that the given user has access to and to which the returned AuthCtx will be bound
         
        string database = 3;
        Parameters:
        value - The database to set.
        Returns:
        This builder for chaining.
      • clearDatabase

        public AuthReq.Builder clearDatabase()
        The database that the given user has access to and to which the returned AuthCtx will be bound
         
        string database = 3;
        Returns:
        This builder for chaining.
      • setDatabaseBytes

        public AuthReq.Builder setDatabaseBytes​(com.google.protobuf.ByteString value)
        The database that the given user has access to and to which the returned AuthCtx will be bound
         
        string database = 3;
        Parameters:
        value - The bytes for database to set.
        Returns:
        This builder for chaining.
      • hasSchema

        public boolean hasSchema()
        The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
         
        optional string schema = 4;
        Specified by:
        hasSchema in interface AuthReqOrBuilder
        Returns:
        Whether the schema field is set.
      • getSchema

        public java.lang.String getSchema()
        The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
         
        optional string schema = 4;
        Specified by:
        getSchema in interface AuthReqOrBuilder
        Returns:
        The schema.
      • getSchemaBytes

        public com.google.protobuf.ByteString getSchemaBytes()
        The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
         
        optional string schema = 4;
        Specified by:
        getSchemaBytes in interface AuthReqOrBuilder
        Returns:
        The bytes for schema.
      • setSchema

        public AuthReq.Builder setSchema​(java.lang.String value)
        The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
         
        optional string schema = 4;
        Parameters:
        value - The schema to set.
        Returns:
        This builder for chaining.
      • clearSchema

        public AuthReq.Builder clearSchema()
        The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
         
        optional string schema = 4;
        Returns:
        This builder for chaining.
      • setSchemaBytes

        public AuthReq.Builder setSchemaBytes​(com.google.protobuf.ByteString value)
        The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schema
         
        optional string schema = 4;
        Parameters:
        value - The bytes for schema to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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