Interface DatabaseOrBuilder (0.40.0)

public interface DatabaseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCharset()

public abstract String getCharset()

Optional. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.

string charset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The charset.

getCharsetBytes()

public abstract ByteString getCharsetBytes()

Optional. Charset for the database. This field can contain any PostgreSQL supported charset name. Example values include "UTF8", "SQL_ASCII", etc.

string charset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for charset.

getCollation()

public abstract String getCollation()

Optional. Collation for the database. Name of the custom or native collation for postgres. Example values include "C", "POSIX", etc

string collation = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The collation.

getCollationBytes()

public abstract ByteString getCollationBytes()

Optional. Collation for the database. Name of the custom or native collation for postgres. Example values include "C", "POSIX", etc

string collation = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for collation.

getName()

public abstract String getName()

Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}.

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

Returns
Type Description
ByteString

The bytes for name.