Class Dimension (0.6.0)

public final class Dimension extends GeneratedMessage implements DimensionOrBuilder

Dimension used to aggregate the fleet.

Protobuf type google.cloud.databasecenter.v1beta.Dimension

Implements

DimensionOrBuilder

Static Fields

CONTAINER_FIELD_NUMBER

public static final int CONTAINER_FIELD_NUMBER
Field Value
Type Description
int

EDITION_FIELD_NUMBER

public static final int EDITION_FIELD_NUMBER
Field Value
Type Description
int

HAS_DENY_MAINTENANCE_SCHEDULES_FIELD_NUMBER

public static final int HAS_DENY_MAINTENANCE_SCHEDULES_FIELD_NUMBER
Field Value
Type Description
int

HAS_MAINTENANCE_SCHEDULE_FIELD_NUMBER

public static final int HAS_MAINTENANCE_SCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

LABEL_KEY_FIELD_NUMBER

public static final int LABEL_KEY_FIELD_NUMBER
Field Value
Type Description
int

LABEL_SOURCE_FIELD_NUMBER

public static final int LABEL_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

LABEL_VALUE_FIELD_NUMBER

public static final int LABEL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

MANAGEMENT_TYPE_FIELD_NUMBER

public static final int MANAGEMENT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_ENGINE_FIELD_NUMBER

public static final int PRODUCT_ENGINE_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_TYPE_FIELD_NUMBER

public static final int PRODUCT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_VERSION_FIELD_NUMBER

public static final int PRODUCT_VERSION_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_CATEGORY_FIELD_NUMBER

public static final int RESOURCE_CATEGORY_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SUB_RESOURCE_TYPE_FIELD_NUMBER

public static final int SUB_RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

TAG_INHERITED_FIELD_NUMBER

public static final int TAG_INHERITED_FIELD_NUMBER
Field Value
Type Description
int

TAG_KEY_FIELD_NUMBER

public static final int TAG_KEY_FIELD_NUMBER
Field Value
Type Description
int

TAG_SOURCE_FIELD_NUMBER

public static final int TAG_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

TAG_VALUE_FIELD_NUMBER

public static final int TAG_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Dimension getDefaultInstance()
Returns
Type Description
Dimension

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Dimension.Builder newBuilder()
Returns
Type Description
Dimension.Builder

newBuilder(Dimension prototype)

public static Dimension.Builder newBuilder(Dimension prototype)
Parameter
Name Description
prototype Dimension
Returns
Type Description
Dimension.Builder

parseDelimitedFrom(InputStream input)

public static Dimension parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Dimension
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dimension parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Dimension parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Dimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Dimension parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Dimension parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Dimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Dimension parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Dimension parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Dimension
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Dimension parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Dimension parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Dimension
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Dimension parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Dimension parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Dimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Dimension parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dimension
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Dimension> parser()
Returns
Type Description
Parser<Dimension>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContainer()

public String getContainer()

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

string container = 2;

Returns
Type Description
String

The container.

getContainerBytes()

public ByteString getContainerBytes()

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

string container = 2;

Returns
Type Description
ByteString

The bytes for container.

getDefaultInstanceForType()

public Dimension getDefaultInstanceForType()
Returns
Type Description
Dimension

getDimensionCase()

public Dimension.DimensionCase getDimensionCase()
Returns
Type Description
Dimension.DimensionCase

getEdition()

public Edition getEdition()

The edition of the resource.

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

Returns
Type Description
Edition

The edition.

getEditionValue()

public int getEditionValue()

The edition of the resource.

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

Returns
Type Description
int

The enum numeric value on the wire for edition.

getHasDenyMaintenanceSchedules()

public boolean getHasDenyMaintenanceSchedules()

Whether the resource has deny maintenance schedules.

bool has_deny_maintenance_schedules = 20;

Returns
Type Description
boolean

The hasDenyMaintenanceSchedules.

getHasMaintenanceSchedule()

public boolean getHasMaintenanceSchedule()

Whether the resource has a maintenance schedule.

bool has_maintenance_schedule = 19;

Returns
Type Description
boolean

The hasMaintenanceSchedule.

getLabelKey()

public String getLabelKey()

Label key of the resource.

string label_key = 16;

Returns
Type Description
String

The labelKey.

getLabelKeyBytes()

public ByteString getLabelKeyBytes()

Label key of the resource.

string label_key = 16;

Returns
Type Description
ByteString

The bytes for labelKey.

getLabelSource()

public String getLabelSource()

Label source of the resource.

string label_source = 18;

Returns
Type Description
String

The labelSource.

getLabelSourceBytes()

public ByteString getLabelSourceBytes()

Label source of the resource.

string label_source = 18;

Returns
Type Description
ByteString

The bytes for labelSource.

getLabelValue()

public String getLabelValue()

Label value of the resource.

string label_value = 17;

Returns
Type Description
String

The labelValue.

getLabelValueBytes()

public ByteString getLabelValueBytes()

Label value of the resource.

string label_value = 17;

Returns
Type Description
ByteString

The bytes for labelValue.

getLocation()

public String getLocation()

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

string location = 6;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

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

string location = 6;

Returns
Type Description
ByteString

The bytes for location.

getManagementType()

public ManagementType getManagementType()

The management type of the resource.

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

Returns
Type Description
ManagementType

The managementType.

getManagementTypeValue()

public int getManagementTypeValue()

The management type of the resource.

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

Returns
Type Description
int

The enum numeric value on the wire for managementType.

getParserForType()

public Parser<Dimension> getParserForType()
Returns
Type Description
Parser<Dimension>
Overrides

getProductEngine()

public Engine getProductEngine()

Engine refers to underlying database binary running in an instance.

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

Returns
Type Description
Engine

The productEngine.

getProductEngineValue()

public int getProductEngineValue()

Engine refers to underlying database binary running in an instance.

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

Returns
Type Description
int

The enum numeric value on the wire for productEngine.

getProductType()

public ProductType getProductType()

Type to identify a product

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

Returns
Type Description
ProductType

The productType.

getProductTypeValue()

public int getProductTypeValue()

Type to identify a product

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

Returns
Type Description
int

The enum numeric value on the wire for productType.

getProductVersion()

public String getProductVersion()

Version of the underlying database engine

string product_version = 5;

Returns
Type Description
String

The productVersion.

getProductVersionBytes()

public ByteString getProductVersionBytes()

Version of the underlying database engine

string product_version = 5;

Returns
Type Description
ByteString

The bytes for productVersion.

getResourceCategory()

public ResourceCategory getResourceCategory()

The category of the resource.

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

Returns
Type Description
ResourceCategory

The resourceCategory.

getResourceCategoryValue()

public int getResourceCategoryValue()

The category of the resource.

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

Returns
Type Description
int

The enum numeric value on the wire for resourceCategory.

getResourceType()

public 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
String

The resourceType.

getResourceTypeBytes()

public 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
ByteString

The bytes for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubResourceType()

public SubResourceType getSubResourceType()

Subtype of the resource specified at creation time.

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

Returns
Type Description
SubResourceType

The subResourceType.

getSubResourceTypeValue()

public int getSubResourceTypeValue()

Subtype of the resource specified at creation time.

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

Returns
Type Description
int

The enum numeric value on the wire for subResourceType.

getTagInherited()

public boolean getTagInherited()

Tag inheritance value of the resource.

bool tag_inherited = 15;

Returns
Type Description
boolean

The tagInherited.

getTagKey()

public String getTagKey()

Tag key of the resource.

string tag_key = 12;

Returns
Type Description
String

The tagKey.

getTagKeyBytes()

public ByteString getTagKeyBytes()

Tag key of the resource.

string tag_key = 12;

Returns
Type Description
ByteString

The bytes for tagKey.

getTagSource()

public String getTagSource()

Tag source of the resource.

string tag_source = 14;

Returns
Type Description
String

The tagSource.

getTagSourceBytes()

public ByteString getTagSourceBytes()

Tag source of the resource.

string tag_source = 14;

Returns
Type Description
ByteString

The bytes for tagSource.

getTagValue()

public String getTagValue()

Tag value of the resource.

string tag_value = 13;

Returns
Type Description
String

The tagValue.

getTagValueBytes()

public ByteString getTagValueBytes()

Tag value of the resource.

string tag_value = 13;

Returns
Type Description
ByteString

The bytes for tagValue.

hasContainer()

public boolean hasContainer()

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

string container = 2;

Returns
Type Description
boolean

Whether the container field is set.

hasEdition()

public boolean hasEdition()

The edition of the resource.

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

Returns
Type Description
boolean

Whether the edition field is set.

hasHasDenyMaintenanceSchedules()

public boolean hasHasDenyMaintenanceSchedules()

Whether the resource has deny maintenance schedules.

bool has_deny_maintenance_schedules = 20;

Returns
Type Description
boolean

Whether the hasDenyMaintenanceSchedules field is set.

hasHasMaintenanceSchedule()

public boolean hasHasMaintenanceSchedule()

Whether the resource has a maintenance schedule.

bool has_maintenance_schedule = 19;

Returns
Type Description
boolean

Whether the hasMaintenanceSchedule field is set.

hasLabelKey()

public boolean hasLabelKey()

Label key of the resource.

string label_key = 16;

Returns
Type Description
boolean

Whether the labelKey field is set.

hasLabelSource()

public boolean hasLabelSource()

Label source of the resource.

string label_source = 18;

Returns
Type Description
boolean

Whether the labelSource field is set.

hasLabelValue()

public boolean hasLabelValue()

Label value of the resource.

string label_value = 17;

Returns
Type Description
boolean

Whether the labelValue field is set.

hasLocation()

public boolean hasLocation()

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

string location = 6;

Returns
Type Description
boolean

Whether the location field is set.

hasManagementType()

public boolean hasManagementType()

The management type of the resource.

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

Returns
Type Description
boolean

Whether the managementType field is set.

hasProductEngine()

public boolean hasProductEngine()

Engine refers to underlying database binary running in an instance.

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

Returns
Type Description
boolean

Whether the productEngine field is set.

hasProductType()

public boolean hasProductType()

Type to identify a product

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

Returns
Type Description
boolean

Whether the productType field is set.

hasProductVersion()

public boolean hasProductVersion()

Version of the underlying database engine

string product_version = 5;

Returns
Type Description
boolean

Whether the productVersion field is set.

hasResourceCategory()

public boolean hasResourceCategory()

The category of the resource.

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

Returns
Type Description
boolean

Whether the resourceCategory field is set.

hasResourceType()

public 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
boolean

Whether the resourceType field is set.

hasSubResourceType()

public boolean hasSubResourceType()

Subtype of the resource specified at creation time.

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

Returns
Type Description
boolean

Whether the subResourceType field is set.

hasTagInherited()

public boolean hasTagInherited()

Tag inheritance value of the resource.

bool tag_inherited = 15;

Returns
Type Description
boolean

Whether the tagInherited field is set.

hasTagKey()

public boolean hasTagKey()

Tag key of the resource.

string tag_key = 12;

Returns
Type Description
boolean

Whether the tagKey field is set.

hasTagSource()

public boolean hasTagSource()

Tag source of the resource.

string tag_source = 14;

Returns
Type Description
boolean

Whether the tagSource field is set.

hasTagValue()

public boolean hasTagValue()

Tag value of the resource.

string tag_value = 13;

Returns
Type Description
boolean

Whether the tagValue field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Dimension.Builder newBuilderForType()
Returns
Type Description
Dimension.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Dimension.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Dimension.Builder
Overrides

toBuilder()

public Dimension.Builder toBuilder()
Returns
Type Description
Dimension.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException