# Interface DatabaseResourceOrBuilder (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 DatabaseResourceOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAffiliations(int index)

    public abstract Affiliation getAffiliations(int index)

Optional. Affiliation details of the resource.

`
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Affiliation` |   |

### getAffiliationsCount()

    public abstract int getAffiliationsCount()

Optional. Affiliation details of the resource.

`
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getAffiliationsList()

    public abstract List<Affiliation> getAffiliationsList()

Optional. Affiliation details of the resource.

`
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Affiliation>` |   |

### getAffiliationsOrBuilder(int index)

    public abstract AffiliationOrBuilder getAffiliationsOrBuilder(int index)

Optional. Affiliation details of the resource.

`
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.AffiliationOrBuilder` |   |

### getAffiliationsOrBuilderList()

    public abstract List<? extends AffiliationOrBuilder> getAffiliationsOrBuilderList()

Optional. Affiliation details of the resource.

`
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.databasecenter.v1beta.AffiliationOrBuilder>` |   |

### getBackupdrConfig()

    public abstract BackupDRConfig getBackupdrConfig()

Optional. Backup and disaster recovery details for the resource.

`
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.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.BackupDRConfig` | The backupdrConfig. |

### getBackupdrConfigOrBuilder()

    public abstract BackupDRConfigOrBuilder getBackupdrConfigOrBuilder()

Optional. Backup and disaster recovery details for the resource.

`
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.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.BackupDRConfigOrBuilder` |   |

### getChildResources(int index)

    public abstract DatabaseResource getChildResources(int index)

List of children associated with a database group.

`repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.DatabaseResource` |   |

### getChildResourcesCount()

    public abstract int getChildResourcesCount()

List of children associated with a database group.

`repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getChildResourcesList()

    public abstract List<DatabaseResource> getChildResourcesList()

List of children associated with a database group.

`repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.DatabaseResource>` |   |

### getChildResourcesOrBuilder(int index)

    public abstract DatabaseResourceOrBuilder getChildResourcesOrBuilder(int index)

List of children associated with a database group.

`repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.DatabaseResourceOrBuilder` |   |

### getChildResourcesOrBuilderList()

    public abstract List<? extends DatabaseResourceOrBuilder> getChildResourcesOrBuilderList()

List of children associated with a database group.

`repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.databasecenter.v1beta.DatabaseResourceOrBuilder>` |   |

### 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. |

### getEdition()

    public abstract Edition getEdition()

The edition of the resource.

`.google.cloud.databasecenter.v1beta.Edition edition = 18;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Edition` | The edition. |

### getEditionValue()

    public abstract int getEditionValue()

The edition of the resource.

`.google.cloud.databasecenter.v1beta.Edition edition = 18;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for edition. |

### getFullResourceName()

    public abstract String getFullResourceName()

The full resource name, based on CAIS resource name format
<https://cloud.google.com/asset-inventory/docs/resource-name-format>

Example:

`//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`
`//cloudsql.googleapis.com/projects/project-number/instances/postgres-1`
`//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1`
`//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1`
`//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`

`string full_resource_name = 3;`

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

### getFullResourceNameBytes()

    public abstract ByteString getFullResourceNameBytes()

The full resource name, based on CAIS resource name format
<https://cloud.google.com/asset-inventory/docs/resource-name-format>

Example:

`//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`
`//cloudsql.googleapis.com/projects/project-number/instances/postgres-1`
`//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1`
`//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1`
`//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`

`string full_resource_name = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for fullResourceName. |

### getLabels(int index)

    public abstract Label getLabels(int index)

Labels applied on the resource. The requirements for labels assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/labels-overview#requirements>

`repeated .google.cloud.databasecenter.v1beta.Label labels = 7;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Label` |   |

### getLabelsCount()

    public abstract int getLabelsCount()

Labels applied on the resource. The requirements for labels assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/labels-overview#requirements>

`repeated .google.cloud.databasecenter.v1beta.Label labels = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getLabelsList()

    public abstract List<Label> getLabelsList()

Labels applied on the resource. The requirements for labels assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/labels-overview#requirements>

`repeated .google.cloud.databasecenter.v1beta.Label labels = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Label>` |   |

### getLabelsOrBuilder(int index)

    public abstract LabelOrBuilder getLabelsOrBuilder(int index)

Labels applied on the resource. The requirements for labels assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/labels-overview#requirements>

`repeated .google.cloud.databasecenter.v1beta.Label labels = 7;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.LabelOrBuilder` |   |

### getLabelsOrBuilderList()

    public abstract List<? extends LabelOrBuilder> getLabelsOrBuilderList()

Labels applied on the resource. The requirements for labels assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/labels-overview#requirements>

`repeated .google.cloud.databasecenter.v1beta.Label labels = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.databasecenter.v1beta.LabelOrBuilder>` |   |

### getLocation()

    public abstract String getLocation()

The location of the resources. It supports returning only regional
locations in Google Cloud. These are of the form: "us-central1",
"us-east1", etc. See <https://cloud.google.com/about/locations> for a list of
such regions.

`string location = 6;`

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

### getLocationBytes()

    public abstract ByteString getLocationBytes()

The location of the resources. It supports returning only regional
locations in Google Cloud. These are of the form: "us-central1",
"us-east1", etc. See <https://cloud.google.com/about/locations> for a list of
such regions.

`string location = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for location. |

### getMachineConfig()

    public abstract MachineConfig getMachineConfig()

Machine configuration like CPU, memory, etc for the resource.

`.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.MachineConfig` | The machineConfig. |

### getMachineConfigOrBuilder()

    public abstract MachineConfigOrBuilder getMachineConfigOrBuilder()

Machine configuration like CPU, memory, etc for the resource.

`.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.MachineConfigOrBuilder` |   |

### getMaintenanceInfo()

    public abstract MaintenanceInfo getMaintenanceInfo()

Optional. The maintenance information of the resource.

`
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.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.MaintenanceInfo` | The maintenanceInfo. |

### getMaintenanceInfoOrBuilder()

    public abstract MaintenanceInfoOrBuilder getMaintenanceInfoOrBuilder()

Optional. The maintenance information of the resource.

`
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.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.MaintenanceInfoOrBuilder` |   |

### getMetrics()

    public abstract Metrics getMetrics()

Observable metrics for the resource e.g. CPU utilization, memory
utilization, etc.

`.google.cloud.databasecenter.v1beta.Metrics metrics = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Metrics` | The metrics. |

### getMetricsOrBuilder()

    public abstract MetricsOrBuilder getMetricsOrBuilder()

Observable metrics for the resource e.g. CPU utilization, memory
utilization, etc.

`.google.cloud.databasecenter.v1beta.Metrics metrics = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.MetricsOrBuilder` |   |

### getProduct()

    public abstract Product getProduct()

The product this resource represents.

`.google.cloud.databasecenter.v1beta.Product product = 5;`

| **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()

The product this resource represents.

`.google.cloud.databasecenter.v1beta.Product product = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.ProductOrBuilder` |   |

### getResourceCategory()

    public abstract ResourceCategory getResourceCategory()

The category of the resource.

`.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.ResourceCategory` | The resourceCategory. |

### getResourceCategoryValue()

    public abstract int getResourceCategoryValue()

The category of the resource.

`.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for resourceCategory. |

### getResourceName()

    public abstract String getResourceName()

The name of the resource(The last part of the full resource name).
Example:
For full resource name -
`//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`,
resource name - `mysql-1`
For full resource name -
`//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` ,
resource name - `postgres-1`
Note: In some cases, there might be more than one resource with the same
resource name.

`string resource_name = 15;`

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

### getResourceNameBytes()

    public abstract ByteString getResourceNameBytes()

The name of the resource(The last part of the full resource name).
Example:
For full resource name -
`//cloudsql.googleapis.com/projects/project-number/instances/mysql-1`,
resource name - `mysql-1`
For full resource name -
`//cloudsql.googleapis.com/projects/project-number/instances/postgres-1` ,
resource name - `postgres-1`
Note: In some cases, there might be more than one resource with the same
resource name.

`string resource_name = 15;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for resourceName. |

### getResourceType()

    public abstract String getResourceType()

The type of resource defined according to the pattern:
{Service Name}/{Type}. Ex:
sqladmin.googleapis.com/Instance
alloydb.googleapis.com/Cluster
alloydb.googleapis.com/Instance
spanner.googleapis.com/Instance

`string resource_type = 8;`

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

### getResourceTypeBytes()

    public abstract ByteString getResourceTypeBytes()

The type of resource defined according to the pattern:
{Service Name}/{Type}. Ex:
sqladmin.googleapis.com/Instance
alloydb.googleapis.com/Cluster
alloydb.googleapis.com/Instance
spanner.googleapis.com/Instance

`string resource_type = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for resourceType. |

### getSignalGroups(int index)

    public abstract SignalGroup getSignalGroups(int index)

The list of signal groups and count of issues related to the resource.
Only those signals which have been requested would be included.

`repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.SignalGroup` |   |

### getSignalGroupsCount()

    public abstract int getSignalGroupsCount()

The list of signal groups and count of issues related to the resource.
Only those signals which have been requested would be included.

`repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getSignalGroupsList()

    public abstract List<SignalGroup> getSignalGroupsList()

The list of signal groups and count of issues related to the resource.
Only those signals which have been requested would be included.

`repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.SignalGroup>` |   |

### getSignalGroupsOrBuilder(int index)

    public abstract SignalGroupOrBuilder getSignalGroupsOrBuilder(int index)

The list of signal groups and count of issues related to the resource.
Only those signals which have been requested would be included.

`repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.SignalGroupOrBuilder` |   |

### getSignalGroupsOrBuilderList()

    public abstract List<? extends SignalGroupOrBuilder> getSignalGroupsOrBuilderList()

The list of signal groups and count of issues related to the resource.
Only those signals which have been requested would be included.

`repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.databasecenter.v1beta.SignalGroupOrBuilder>` |   |

### getSubResourceType()

    public abstract SubResourceType getSubResourceType()

Subtype of the resource specified at creation time.

`.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.SubResourceType` | The subResourceType. |

### getSubResourceTypeValue()

    public abstract int getSubResourceTypeValue()

Subtype of the resource specified at creation time.

`.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for subResourceType. |

### getTags(int index)

    public abstract Tag getTags(int index)

Tags applied on the resource. The requirements for tags assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/tags/tags-overview>

`repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Tag` |   |

### getTagsCount()

    public abstract int getTagsCount()

Tags applied on the resource. The requirements for tags assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/tags/tags-overview>

`repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getTagsList()

    public abstract List<Tag> getTagsList()

Tags applied on the resource. The requirements for tags assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/tags/tags-overview>

`repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.Tag>` |   |

### getTagsOrBuilder(int index)

    public abstract TagOrBuilder getTagsOrBuilder(int index)

Tags applied on the resource. The requirements for tags assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/tags/tags-overview>

`repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.TagOrBuilder` |   |

### getTagsOrBuilderList()

    public abstract List<? extends TagOrBuilder> getTagsOrBuilderList()

Tags applied on the resource. The requirements for tags assigned to
Google Cloud resources may be found at
<https://cloud.google.com/resource-manager/docs/tags/tags-overview>

`repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.databasecenter.v1beta.TagOrBuilder>` |   |

### hasBackupdrConfig()

    public abstract boolean hasBackupdrConfig()

Optional. Backup and disaster recovery details for the resource.

`
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the backupdrConfig field is set. |

### hasMachineConfig()

    public abstract boolean hasMachineConfig()

Machine configuration like CPU, memory, etc for the resource.

`.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the machineConfig field is set. |

### hasMaintenanceInfo()

    public abstract boolean hasMaintenanceInfo()

Optional. The maintenance information of the resource.

`
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the maintenanceInfo field is set. |

### hasMetrics()

    public abstract boolean hasMetrics()

Observable metrics for the resource e.g. CPU utilization, memory
utilization, etc.

`.google.cloud.databasecenter.v1beta.Metrics metrics = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the metrics field is set. |

### hasProduct()

    public abstract boolean hasProduct()

The product this resource represents.

`.google.cloud.databasecenter.v1beta.Product product = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the product field is set. |