Interface UserOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    User, User.Builder

    public interface UserOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        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:
        The name.
      • getNameBytes

        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];
        Returns:
        The bytes for name.
      • getPassword

        String getPassword()
         Input only. Password for the user.
         
        string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        The password.
      • getPasswordBytes

        com.google.protobuf.ByteString getPasswordBytes()
         Input only. Password for the user.
         
        string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        The bytes for password.
      • getDatabaseRolesList

        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:
        A list containing the databaseRoles.
      • getDatabaseRolesCount

        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:
        The count of databaseRoles.
      • getDatabaseRoles

        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];
        Parameters:
        index - The index of the element to return.
        Returns:
        The databaseRoles at the given index.
      • getDatabaseRolesBytes

        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];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the databaseRoles at the given index.
      • getUserTypeValue

        int getUserTypeValue()
         Optional. Type of this user.
         
        .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The enum numeric value on the wire for userType.
      • getUserType

        User.UserType getUserType()
         Optional. Type of this user.
         
        .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The userType.