Interface DatabaseResourceReferenceOrBuilder (3.57.0)

public interface DatabaseResourceReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabase()

public abstract String getDatabase()

Required. Name of a database within the instance.

string database = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Required. Name of a database within the instance.

string database = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for database.

getDatabaseResource()

public abstract String getDatabaseResource()

Required. Name of a database resource, for example, a table within the database.

string database_resource = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The databaseResource.

getDatabaseResourceBytes()

public abstract ByteString getDatabaseResourceBytes()

Required. Name of a database resource, for example, a table within the database.

string database_resource = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for databaseResource.

getInstance()

public abstract String getInstance()

Required. The instance where this resource is located. For example: Cloud SQL instance ID.

string instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Required. The instance where this resource is located. For example: Cloud SQL instance ID.

string instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instance.

getProjectId()

public abstract String getProjectId()

Required. If within a project-level config, then this must match the config's project ID.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. If within a project-level config, then this must match the config's project ID.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.