Package app.hypi.mekadb.client
Interface AuthReqOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthReq,AuthReq.Builder
public interface AuthReqOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 boundjava.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 schema-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUsername
java.lang.String getUsername()
The username of a user that exists for the given database
string username = 1;- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()
The username of a user that exists for the given database
string username = 1;- Returns:
- The bytes for username.
-
getPassword
java.lang.String getPassword()
The password of the username provided
string password = 2;- Returns:
- The password.
-
getPasswordBytes
com.google.protobuf.ByteString getPasswordBytes()
The password of the username provided
string password = 2;- Returns:
- The bytes for password.
-
getDatabase
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;- Returns:
- The database.
-
getDatabaseBytes
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;- Returns:
- The bytes for database.
-
hasSchema
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;- Returns:
- Whether the schema field is set.
-
getSchema
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;- Returns:
- The schema.
-
getSchemaBytes
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;- Returns:
- The bytes for schema.
-
-