Interface DatabaseResourceReferenceOrBuilder (3.48.0)

public interface DatabaseResourceReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract String getInstance()

Required. The instance where this resource is located. For example: Cloud SQL's 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's 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.