# Interface DimensionOrBuilder (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 DimensionOrBuilder 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 = 2;`

| **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 = 2;`

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

### getDimensionCase()

    public abstract Dimension.DimensionCase getDimensionCase()

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

### getEdition()

    public abstract Edition getEdition()

The edition of the resource.

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

| **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 = 11;`

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

### getHasDenyMaintenanceSchedules()

    public abstract boolean getHasDenyMaintenanceSchedules()

Whether the resource has deny maintenance schedules.

`bool has_deny_maintenance_schedules = 20;`

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

### getHasMaintenanceSchedule()

    public abstract boolean getHasMaintenanceSchedule()

Whether the resource has a maintenance schedule.

`bool has_maintenance_schedule = 19;`

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

### getLabelKey()

    public abstract String getLabelKey()

Label key of the resource.

`string label_key = 16;`

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

### getLabelKeyBytes()

    public abstract ByteString getLabelKeyBytes()

Label key of the resource.

`string label_key = 16;`

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

### getLabelSource()

    public abstract String getLabelSource()

Label source of the resource.

`string label_source = 18;`

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

### getLabelSourceBytes()

    public abstract ByteString getLabelSourceBytes()

Label source of the resource.

`string label_source = 18;`

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

### getLabelValue()

    public abstract String getLabelValue()

Label value of the resource.

`string label_value = 17;`

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

### getLabelValueBytes()

    public abstract ByteString getLabelValueBytes()

Label value of the resource.

`string label_value = 17;`

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

### getLocation()

    public abstract String getLocation()

The location of the resources. It supports returning only regional
locations in Google Cloud.

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

`string location = 6;`

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

### getManagementType()

    public abstract ManagementType getManagementType()

The management type of the resource.

`.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;`

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

### getManagementTypeValue()

    public abstract int getManagementTypeValue()

The management type of the resource.

`.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;`

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

### getProductEngine()

    public abstract Engine getProductEngine()

Engine refers to underlying database binary running in an instance.

`.google.cloud.databasecenter.v1beta.Engine product_engine = 4;`

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

### getProductEngineValue()

    public abstract int getProductEngineValue()

Engine refers to underlying database binary running in an instance.

`.google.cloud.databasecenter.v1beta.Engine product_engine = 4;`

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

### getProductType()

    public abstract ProductType getProductType()

Type to identify a product

`.google.cloud.databasecenter.v1beta.ProductType product_type = 3;`

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

### getProductTypeValue()

    public abstract int getProductTypeValue()

Type to identify a product

`.google.cloud.databasecenter.v1beta.ProductType product_type = 3;`

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

### getProductVersion()

    public abstract String getProductVersion()

Version of the underlying database engine

`string product_version = 5;`

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

### getProductVersionBytes()

    public abstract ByteString getProductVersionBytes()

Version of the underlying database engine

`string product_version = 5;`

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

### getResourceCategory()

    public abstract ResourceCategory getResourceCategory()

The category of the resource.

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

| **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 = 9;`

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

### 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 = 7;`

| **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 = 7;`

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

### getSubResourceType()

    public abstract SubResourceType getSubResourceType()

Subtype of the resource specified at creation time.

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

| **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 = 8;`

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

### getTagInherited()

    public abstract boolean getTagInherited()

Tag inheritance value of the resource.

`bool tag_inherited = 15;`

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

### getTagKey()

    public abstract String getTagKey()

Tag key of the resource.

`string tag_key = 12;`

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

### getTagKeyBytes()

    public abstract ByteString getTagKeyBytes()

Tag key of the resource.

`string tag_key = 12;`

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

### getTagSource()

    public abstract String getTagSource()

Tag source of the resource.

`string tag_source = 14;`

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

### getTagSourceBytes()

    public abstract ByteString getTagSourceBytes()

Tag source of the resource.

`string tag_source = 14;`

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

### getTagValue()

    public abstract String getTagValue()

Tag value of the resource.

`string tag_value = 13;`

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

### getTagValueBytes()

    public abstract ByteString getTagValueBytes()

Tag value of the resource.

`string tag_value = 13;`

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

### hasContainer()

    public abstract boolean hasContainer()

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

`string container = 2;`

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

### hasEdition()

    public abstract boolean hasEdition()

The edition of the resource.

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

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

### hasHasDenyMaintenanceSchedules()

    public abstract boolean hasHasDenyMaintenanceSchedules()

Whether the resource has deny maintenance schedules.

`bool has_deny_maintenance_schedules = 20;`

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

### hasHasMaintenanceSchedule()

    public abstract boolean hasHasMaintenanceSchedule()

Whether the resource has a maintenance schedule.

`bool has_maintenance_schedule = 19;`

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

### hasLabelKey()

    public abstract boolean hasLabelKey()

Label key of the resource.

`string label_key = 16;`

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

### hasLabelSource()

    public abstract boolean hasLabelSource()

Label source of the resource.

`string label_source = 18;`

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

### hasLabelValue()

    public abstract boolean hasLabelValue()

Label value of the resource.

`string label_value = 17;`

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

### hasLocation()

    public abstract boolean hasLocation()

The location of the resources. It supports returning only regional
locations in Google Cloud.

`string location = 6;`

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

### hasManagementType()

    public abstract boolean hasManagementType()

The management type of the resource.

`.google.cloud.databasecenter.v1beta.ManagementType management_type = 10;`

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

### hasProductEngine()

    public abstract boolean hasProductEngine()

Engine refers to underlying database binary running in an instance.

`.google.cloud.databasecenter.v1beta.Engine product_engine = 4;`

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

### hasProductType()

    public abstract boolean hasProductType()

Type to identify a product

`.google.cloud.databasecenter.v1beta.ProductType product_type = 3;`

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

### hasProductVersion()

    public abstract boolean hasProductVersion()

Version of the underlying database engine

`string product_version = 5;`

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

### hasResourceCategory()

    public abstract boolean hasResourceCategory()

The category of the resource.

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

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

### hasResourceType()

    public abstract boolean hasResourceType()

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 = 7;`

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

### hasSubResourceType()

    public abstract boolean hasSubResourceType()

Subtype of the resource specified at creation time.

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

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

### hasTagInherited()

    public abstract boolean hasTagInherited()

Tag inheritance value of the resource.

`bool tag_inherited = 15;`

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

### hasTagKey()

    public abstract boolean hasTagKey()

Tag key of the resource.

`string tag_key = 12;`

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

### hasTagSource()

    public abstract boolean hasTagSource()

Tag source of the resource.

`string tag_source = 14;`

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

### hasTagValue()

    public abstract boolean hasTagValue()

Tag value of the resource.

`string tag_value = 13;`

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