Interface SubResourceOrBuilder (0.6.0)

public interface SubResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainer()

public abstract String getContainer()

Specifies where the resource is created. For GCP, it is the full name of the project.

string container = 4;

Returns
Type Description
String

The container.

getContainerBytes()

public abstract ByteString getContainerBytes()

Specifies where the resource is created. For GCP, it is the full name of the project.

string container = 4;

Returns
Type Description
ByteString

The bytes for container.

getFullResourceName()

public abstract String getFullResourceName()

Optional. Resource name associated with the sub resource where backup settings are configured. E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1" for Spanner where backup retention is configured on database within an instance OPTIONAL

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

Returns
Type Description
String

The fullResourceName.

getFullResourceNameBytes()

public abstract ByteString getFullResourceNameBytes()

Optional. Resource name associated with the sub resource where backup settings are configured. E.g."//spanner.googleapis.com/projects/project1/instances/inst1/databases/db1" for Spanner where backup retention is configured on database within an instance OPTIONAL

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

Returns
Type Description
ByteString

The bytes for fullResourceName.

getProduct()

public abstract Product getProduct()

Optional. Product information associated with the sub resource where backup retention settings are configured. e.g. <code><code> product: { type : PRODUCT_TYPE_SPANNER engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT } </code></code> for Spanner where backup is configured on database within an instance OPTIONAL

.google.cloud.databasecenter.v1beta.Product product = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Product

The product.

getProductOrBuilder()

public abstract ProductOrBuilder getProductOrBuilder()

Optional. Product information associated with the sub resource where backup retention settings are configured. e.g. <code><code> product: { type : PRODUCT_TYPE_SPANNER engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT } </code></code> for Spanner where backup is configured on database within an instance OPTIONAL

.google.cloud.databasecenter.v1beta.Product product = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductOrBuilder

getResourceType()

public abstract String getResourceType()

Optional. Resource type associated with the sub resource where backup settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner where backup retention is configured on database within an instance OPTIONAL

string resource_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public abstract ByteString getResourceTypeBytes()

Optional. Resource type associated with the sub resource where backup settings are configured. E.g. "spanner.googleapis.com/Database" for Spanner where backup retention is configured on database within an instance OPTIONAL

string resource_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for resourceType.

hasProduct()

public abstract boolean hasProduct()

Optional. Product information associated with the sub resource where backup retention settings are configured. e.g. <code><code> product: { type : PRODUCT_TYPE_SPANNER engine : ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT } </code></code> for Spanner where backup is configured on database within an instance OPTIONAL

.google.cloud.databasecenter.v1beta.Product product = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the product field is set.