Interface UserOrBuilder (0.29.0)

public interface UserOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabaseRoles(int index)

public abstract String getDatabaseRoles(int index)

Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.

repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The databaseRoles at the given index.

getDatabaseRolesBytes(int index)

public abstract ByteString getDatabaseRolesBytes(int index)

Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.

repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the databaseRoles at the given index.

getDatabaseRolesCount()

public abstract int getDatabaseRolesCount()

Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.

repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of databaseRoles.

getDatabaseRolesList()

public abstract List<String> getDatabaseRolesList()

Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.

repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the databaseRoles.

getName()

public abstract String getName()

Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPassword()

public abstract String getPassword()

Input only. Password for the user.

string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The password.

getPasswordBytes()

public abstract ByteString getPasswordBytes()

Input only. Password for the user.

string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for password.

getUserType()

public abstract User.UserType getUserType()

Optional. Type of this user.

.google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
User.UserType

The userType.

getUserTypeValue()

public abstract int getUserTypeValue()

Optional. Type of this user.

.google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for userType.