Package app.hypi.mekadb.client
Class AuthReq.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
- app.hypi.mekadb.client.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 typemekadb_client.AuthReq
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthReq.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AuthReqbuild()AuthReqbuildPartial()AuthReq.Builderclear()AuthReq.BuilderclearDatabase()The database that the given user has access to and to which the returned AuthCtx will be boundAuthReq.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AuthReq.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AuthReq.BuilderclearPassword()The password of the username providedAuthReq.BuilderclearSchema()The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schemaAuthReq.BuilderclearUsername()The username of a user that exists for the given databaseAuthReq.Builderclone()java.lang.StringgetDatabase()The database that the given user has access to and to which the returned AuthCtx will be boundcom.google.protobuf.ByteStringgetDatabaseBytes()The database that the given user has access to and to which the returned AuthCtx will be boundAuthReqgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetPassword()The password of the username providedcom.google.protobuf.ByteStringgetPasswordBytes()The password of the username providedjava.lang.StringgetSchema()The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schemacom.google.protobuf.ByteStringgetSchemaBytes()The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schemajava.lang.StringgetUsername()The username of a user that exists for the given databasecom.google.protobuf.ByteStringgetUsernameBytes()The username of a user that exists for the given databasebooleanhasSchema()The schema that the given user has access and to which the returned context will be bound, the tables queried must exist in this schemaprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AuthReq.BuildermergeFrom(AuthReq other)AuthReq.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AuthReq.BuildermergeFrom(com.google.protobuf.Message other)AuthReq.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AuthReq.BuildersetDatabase(java.lang.String value)The database that the given user has access to and to which the returned AuthCtx will be boundAuthReq.BuildersetDatabaseBytes(com.google.protobuf.ByteString value)The database that the given user has access to and to which the returned AuthCtx will be boundAuthReq.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AuthReq.BuildersetPassword(java.lang.String value)The password of the username providedAuthReq.BuildersetPasswordBytes(com.google.protobuf.ByteString value)The password of the username providedAuthReq.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AuthReq.BuildersetSchema(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 schemaAuthReq.BuildersetSchemaBytes(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 schemaAuthReq.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AuthReq.BuildersetUsername(java.lang.String value)The username of a user that exists for the given databaseAuthReq.BuildersetUsernameBytes(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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
clear
public AuthReq.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
getDefaultInstanceForType
public AuthReq getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AuthReq build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AuthReq buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AuthReq.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
setField
public AuthReq.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
clearField
public AuthReq.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
clearOneof
public AuthReq.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
addRepeatedField
public AuthReq.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
mergeFrom
public AuthReq.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthReq.Builder>
-
mergeFrom
public AuthReq.Builder mergeFrom(AuthReq other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getUsernamein interfaceAuthReqOrBuilder- 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:
getUsernameBytesin interfaceAuthReqOrBuilder- 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:
getPasswordin interfaceAuthReqOrBuilder- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()
The password of the username provided
string password = 2;- Specified by:
getPasswordBytesin interfaceAuthReqOrBuilder- 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:
getDatabasein interfaceAuthReqOrBuilder- 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:
getDatabaseBytesin interfaceAuthReqOrBuilder- 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:
hasSchemain interfaceAuthReqOrBuilder- 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:
getSchemain interfaceAuthReqOrBuilder- 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:
getSchemaBytesin interfaceAuthReqOrBuilder- 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
mergeUnknownFields
public final AuthReq.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthReq.Builder>
-
-