public interface UserOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDatabaseRoles(int index)
Optional.
|
com.google.protobuf.ByteString |
getDatabaseRolesBytes(int index)
Optional.
|
int |
getDatabaseRolesCount()
Optional.
|
List<String> |
getDatabaseRolesList()
Optional.
|
boolean |
getKeepExtraRoles()
Input only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getPassword()
Input only.
|
com.google.protobuf.ByteString |
getPasswordBytes()
Input only.
|
User.UserType |
getUserType()
Optional.
|
int |
getUserTypeValue()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];com.google.protobuf.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];String getPassword()
Input only. Password for the user.
string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];com.google.protobuf.ByteString getPasswordBytes()
Input only. Password for the user.
string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];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];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];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];index - The index of the element to return.com.google.protobuf.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];index - The index of the value to return.int getUserTypeValue()
Optional. Type of this user.
.google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL];
User.UserType getUserType()
Optional. Type of this user.
.google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL];
boolean getKeepExtraRoles()
Input only. If the user already exists and it has additional roles, keep them granted.
bool keep_extra_roles = 6 [(.google.api.field_behavior) = INPUT_ONLY];Copyright © 2025 Google LLC. All rights reserved.