# Interface SubResourceOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface SubResourceOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getContainer()

    public abstract String getContainer()

Specifies where the resource is created. For Google Cloud resources, it is
the full name of the project.

`string container = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The container. |

### getContainerBytes()

    public abstract ByteString getContainerBytes()

Specifies where the resource is created. For Google Cloud resources, it is
the full name of the project.

`string container = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the product field is set. |