Class Dimension

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.databasecenter.v1beta.Dimension
All Implemented Interfaces:
DimensionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Dimension extends com.google.protobuf.GeneratedMessage implements DimensionOrBuilder
 Dimension used to aggregate the fleet.
 
Protobuf type google.cloud.databasecenter.v1beta.Dimension
See Also:
  • Field Details

    • CONTAINER_FIELD_NUMBER

      public static final int CONTAINER_FIELD_NUMBER
      See Also:
    • PRODUCT_TYPE_FIELD_NUMBER

      public static final int PRODUCT_TYPE_FIELD_NUMBER
      See Also:
    • PRODUCT_ENGINE_FIELD_NUMBER

      public static final int PRODUCT_ENGINE_FIELD_NUMBER
      See Also:
    • PRODUCT_VERSION_FIELD_NUMBER

      public static final int PRODUCT_VERSION_FIELD_NUMBER
      See Also:
    • LOCATION_FIELD_NUMBER

      public static final int LOCATION_FIELD_NUMBER
      See Also:
    • RESOURCE_TYPE_FIELD_NUMBER

      public static final int RESOURCE_TYPE_FIELD_NUMBER
      See Also:
    • SUB_RESOURCE_TYPE_FIELD_NUMBER

      public static final int SUB_RESOURCE_TYPE_FIELD_NUMBER
      See Also:
    • RESOURCE_CATEGORY_FIELD_NUMBER

      public static final int RESOURCE_CATEGORY_FIELD_NUMBER
      See Also:
    • MANAGEMENT_TYPE_FIELD_NUMBER

      public static final int MANAGEMENT_TYPE_FIELD_NUMBER
      See Also:
    • EDITION_FIELD_NUMBER

      public static final int EDITION_FIELD_NUMBER
      See Also:
    • TAG_KEY_FIELD_NUMBER

      public static final int TAG_KEY_FIELD_NUMBER
      See Also:
    • TAG_VALUE_FIELD_NUMBER

      public static final int TAG_VALUE_FIELD_NUMBER
      See Also:
    • TAG_SOURCE_FIELD_NUMBER

      public static final int TAG_SOURCE_FIELD_NUMBER
      See Also:
    • TAG_INHERITED_FIELD_NUMBER

      public static final int TAG_INHERITED_FIELD_NUMBER
      See Also:
    • LABEL_KEY_FIELD_NUMBER

      public static final int LABEL_KEY_FIELD_NUMBER
      See Also:
    • LABEL_VALUE_FIELD_NUMBER

      public static final int LABEL_VALUE_FIELD_NUMBER
      See Also:
    • LABEL_SOURCE_FIELD_NUMBER

      public static final int LABEL_SOURCE_FIELD_NUMBER
      See Also:
    • HAS_MAINTENANCE_SCHEDULE_FIELD_NUMBER

      public static final int HAS_MAINTENANCE_SCHEDULE_FIELD_NUMBER
      See Also:
    • HAS_DENY_MAINTENANCE_SCHEDULES_FIELD_NUMBER

      public static final int HAS_DENY_MAINTENANCE_SCHEDULES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDimensionCase

      public Dimension.DimensionCase getDimensionCase()
      Specified by:
      getDimensionCase in interface DimensionOrBuilder
    • hasContainer

      public boolean hasContainer()
       Specifies where the resource is created. For Google Cloud resources, it
       is the full name of the project.
       
      string container = 2;
      Specified by:
      hasContainer in interface DimensionOrBuilder
      Returns:
      Whether the container field is set.
    • getContainer

      public String getContainer()
       Specifies where the resource is created. For Google Cloud resources, it
       is the full name of the project.
       
      string container = 2;
      Specified by:
      getContainer in interface DimensionOrBuilder
      Returns:
      The container.
    • getContainerBytes

      public com.google.protobuf.ByteString getContainerBytes()
       Specifies where the resource is created. For Google Cloud resources, it
       is the full name of the project.
       
      string container = 2;
      Specified by:
      getContainerBytes in interface DimensionOrBuilder
      Returns:
      The bytes for container.
    • hasProductType

      public boolean hasProductType()
       Type to identify a product
       
      .google.cloud.databasecenter.v1beta.ProductType product_type = 3;
      Specified by:
      hasProductType in interface DimensionOrBuilder
      Returns:
      Whether the productType field is set.
    • getProductTypeValue

      public int getProductTypeValue()
       Type to identify a product
       
      .google.cloud.databasecenter.v1beta.ProductType product_type = 3;
      Specified by:
      getProductTypeValue in interface DimensionOrBuilder
      Returns:
      The enum numeric value on the wire for productType.
    • getProductType

      public ProductType getProductType()
       Type to identify a product
       
      .google.cloud.databasecenter.v1beta.ProductType product_type = 3;
      Specified by:
      getProductType in interface DimensionOrBuilder
      Returns:
      The productType.
    • hasProductEngine

      public boolean hasProductEngine()
       Engine refers to underlying database binary running in an instance.
       
      .google.cloud.databasecenter.v1beta.Engine product_engine = 4;
      Specified by:
      hasProductEngine in interface DimensionOrBuilder
      Returns:
      Whether the productEngine field is set.
    • getProductEngineValue

      public int getProductEngineValue()
       Engine refers to underlying database binary running in an instance.
       
      .google.cloud.databasecenter.v1beta.Engine product_engine = 4;
      Specified by:
      getProductEngineValue in interface DimensionOrBuilder
      Returns:
      The enum numeric value on the wire for productEngine.
    • getProductEngine

      public Engine getProductEngine()
       Engine refers to underlying database binary running in an instance.
       
      .google.cloud.databasecenter.v1beta.Engine product_engine = 4;
      Specified by:
      getProductEngine in interface DimensionOrBuilder
      Returns:
      The productEngine.
    • hasProductVersion

      public boolean hasProductVersion()
       Version of the underlying database engine
       
      string product_version = 5;
      Specified by:
      hasProductVersion in interface DimensionOrBuilder
      Returns:
      Whether the productVersion field is set.
    • getProductVersion

      public String getProductVersion()
       Version of the underlying database engine
       
      string product_version = 5;
      Specified by:
      getProductVersion in interface DimensionOrBuilder
      Returns:
      The productVersion.
    • getProductVersionBytes

      public com.google.protobuf.ByteString getProductVersionBytes()
       Version of the underlying database engine
       
      string product_version = 5;
      Specified by:
      getProductVersionBytes in interface DimensionOrBuilder
      Returns:
      The bytes for productVersion.
    • hasLocation

      public boolean hasLocation()
       The location of the resources. It supports returning only regional
       locations in Google Cloud.
       
      string location = 6;
      Specified by:
      hasLocation in interface DimensionOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public String getLocation()
       The location of the resources. It supports returning only regional
       locations in Google Cloud.
       
      string location = 6;
      Specified by:
      getLocation in interface DimensionOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       The location of the resources. It supports returning only regional
       locations in Google Cloud.
       
      string location = 6;
      Specified by:
      getLocationBytes in interface DimensionOrBuilder
      Returns:
      The bytes for location.
    • 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;
      Specified by:
      hasResourceType in interface DimensionOrBuilder
      Returns:
      Whether the resourceType field is set.
    • 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;
      Specified by:
      getResourceType in interface DimensionOrBuilder
      Returns:
      The resourceType.
    • getResourceTypeBytes

      public com.google.protobuf.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;
      Specified by:
      getResourceTypeBytes in interface DimensionOrBuilder
      Returns:
      The bytes for resourceType.
    • hasSubResourceType

      public boolean hasSubResourceType()
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
      Specified by:
      hasSubResourceType in interface DimensionOrBuilder
      Returns:
      Whether the subResourceType field is set.
    • getSubResourceTypeValue

      public int getSubResourceTypeValue()
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
      Specified by:
      getSubResourceTypeValue in interface DimensionOrBuilder
      Returns:
      The enum numeric value on the wire for subResourceType.
    • getSubResourceType

      public SubResourceType getSubResourceType()
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
      Specified by:
      getSubResourceType in interface DimensionOrBuilder
      Returns:
      The subResourceType.
    • hasResourceCategory

      public boolean hasResourceCategory()
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
      Specified by:
      hasResourceCategory in interface DimensionOrBuilder
      Returns:
      Whether the resourceCategory field is set.
    • getResourceCategoryValue

      public int getResourceCategoryValue()
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
      Specified by:
      getResourceCategoryValue in interface DimensionOrBuilder
      Returns:
      The enum numeric value on the wire for resourceCategory.
    • getResourceCategory

      public ResourceCategory getResourceCategory()
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
      Specified by:
      getResourceCategory in interface DimensionOrBuilder
      Returns:
      The resourceCategory.
    • hasManagementType

      public boolean hasManagementType()
       The management type of the resource.
       
      .google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
      Specified by:
      hasManagementType in interface DimensionOrBuilder
      Returns:
      Whether the managementType field is set.
    • getManagementTypeValue

      public int getManagementTypeValue()
       The management type of the resource.
       
      .google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
      Specified by:
      getManagementTypeValue in interface DimensionOrBuilder
      Returns:
      The enum numeric value on the wire for managementType.
    • getManagementType

      public ManagementType getManagementType()
       The management type of the resource.
       
      .google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
      Specified by:
      getManagementType in interface DimensionOrBuilder
      Returns:
      The managementType.
    • hasEdition

      public boolean hasEdition()
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 11;
      Specified by:
      hasEdition in interface DimensionOrBuilder
      Returns:
      Whether the edition field is set.
    • getEditionValue

      public int getEditionValue()
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 11;
      Specified by:
      getEditionValue in interface DimensionOrBuilder
      Returns:
      The enum numeric value on the wire for edition.
    • getEdition

      public Edition getEdition()
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 11;
      Specified by:
      getEdition in interface DimensionOrBuilder
      Returns:
      The edition.
    • hasTagKey

      public boolean hasTagKey()
       Tag key of the resource.
       
      string tag_key = 12;
      Specified by:
      hasTagKey in interface DimensionOrBuilder
      Returns:
      Whether the tagKey field is set.
    • getTagKey

      public String getTagKey()
       Tag key of the resource.
       
      string tag_key = 12;
      Specified by:
      getTagKey in interface DimensionOrBuilder
      Returns:
      The tagKey.
    • getTagKeyBytes

      public com.google.protobuf.ByteString getTagKeyBytes()
       Tag key of the resource.
       
      string tag_key = 12;
      Specified by:
      getTagKeyBytes in interface DimensionOrBuilder
      Returns:
      The bytes for tagKey.
    • hasTagValue

      public boolean hasTagValue()
       Tag value of the resource.
       
      string tag_value = 13;
      Specified by:
      hasTagValue in interface DimensionOrBuilder
      Returns:
      Whether the tagValue field is set.
    • getTagValue

      public String getTagValue()
       Tag value of the resource.
       
      string tag_value = 13;
      Specified by:
      getTagValue in interface DimensionOrBuilder
      Returns:
      The tagValue.
    • getTagValueBytes

      public com.google.protobuf.ByteString getTagValueBytes()
       Tag value of the resource.
       
      string tag_value = 13;
      Specified by:
      getTagValueBytes in interface DimensionOrBuilder
      Returns:
      The bytes for tagValue.
    • hasTagSource

      public boolean hasTagSource()
       Tag source of the resource.
       
      string tag_source = 14;
      Specified by:
      hasTagSource in interface DimensionOrBuilder
      Returns:
      Whether the tagSource field is set.
    • getTagSource

      public String getTagSource()
       Tag source of the resource.
       
      string tag_source = 14;
      Specified by:
      getTagSource in interface DimensionOrBuilder
      Returns:
      The tagSource.
    • getTagSourceBytes

      public com.google.protobuf.ByteString getTagSourceBytes()
       Tag source of the resource.
       
      string tag_source = 14;
      Specified by:
      getTagSourceBytes in interface DimensionOrBuilder
      Returns:
      The bytes for tagSource.
    • hasTagInherited

      public boolean hasTagInherited()
       Tag inheritance value of the resource.
       
      bool tag_inherited = 15;
      Specified by:
      hasTagInherited in interface DimensionOrBuilder
      Returns:
      Whether the tagInherited field is set.
    • getTagInherited

      public boolean getTagInherited()
       Tag inheritance value of the resource.
       
      bool tag_inherited = 15;
      Specified by:
      getTagInherited in interface DimensionOrBuilder
      Returns:
      The tagInherited.
    • hasLabelKey

      public boolean hasLabelKey()
       Label key of the resource.
       
      string label_key = 16;
      Specified by:
      hasLabelKey in interface DimensionOrBuilder
      Returns:
      Whether the labelKey field is set.
    • getLabelKey

      public String getLabelKey()
       Label key of the resource.
       
      string label_key = 16;
      Specified by:
      getLabelKey in interface DimensionOrBuilder
      Returns:
      The labelKey.
    • getLabelKeyBytes

      public com.google.protobuf.ByteString getLabelKeyBytes()
       Label key of the resource.
       
      string label_key = 16;
      Specified by:
      getLabelKeyBytes in interface DimensionOrBuilder
      Returns:
      The bytes for labelKey.
    • hasLabelValue

      public boolean hasLabelValue()
       Label value of the resource.
       
      string label_value = 17;
      Specified by:
      hasLabelValue in interface DimensionOrBuilder
      Returns:
      Whether the labelValue field is set.
    • getLabelValue

      public String getLabelValue()
       Label value of the resource.
       
      string label_value = 17;
      Specified by:
      getLabelValue in interface DimensionOrBuilder
      Returns:
      The labelValue.
    • getLabelValueBytes

      public com.google.protobuf.ByteString getLabelValueBytes()
       Label value of the resource.
       
      string label_value = 17;
      Specified by:
      getLabelValueBytes in interface DimensionOrBuilder
      Returns:
      The bytes for labelValue.
    • hasLabelSource

      public boolean hasLabelSource()
       Label source of the resource.
       
      string label_source = 18;
      Specified by:
      hasLabelSource in interface DimensionOrBuilder
      Returns:
      Whether the labelSource field is set.
    • getLabelSource

      public String getLabelSource()
       Label source of the resource.
       
      string label_source = 18;
      Specified by:
      getLabelSource in interface DimensionOrBuilder
      Returns:
      The labelSource.
    • getLabelSourceBytes

      public com.google.protobuf.ByteString getLabelSourceBytes()
       Label source of the resource.
       
      string label_source = 18;
      Specified by:
      getLabelSourceBytes in interface DimensionOrBuilder
      Returns:
      The bytes for labelSource.
    • hasHasMaintenanceSchedule

      public boolean hasHasMaintenanceSchedule()
       Whether the resource has a maintenance schedule.
       
      bool has_maintenance_schedule = 19;
      Specified by:
      hasHasMaintenanceSchedule in interface DimensionOrBuilder
      Returns:
      Whether the hasMaintenanceSchedule field is set.
    • getHasMaintenanceSchedule

      public boolean getHasMaintenanceSchedule()
       Whether the resource has a maintenance schedule.
       
      bool has_maintenance_schedule = 19;
      Specified by:
      getHasMaintenanceSchedule in interface DimensionOrBuilder
      Returns:
      The hasMaintenanceSchedule.
    • hasHasDenyMaintenanceSchedules

      public boolean hasHasDenyMaintenanceSchedules()
       Whether the resource has deny maintenance schedules.
       
      bool has_deny_maintenance_schedules = 20;
      Specified by:
      hasHasDenyMaintenanceSchedules in interface DimensionOrBuilder
      Returns:
      Whether the hasDenyMaintenanceSchedules field is set.
    • getHasDenyMaintenanceSchedules

      public boolean getHasDenyMaintenanceSchedules()
       Whether the resource has deny maintenance schedules.
       
      bool has_deny_maintenance_schedules = 20;
      Specified by:
      getHasDenyMaintenanceSchedules in interface DimensionOrBuilder
      Returns:
      The hasDenyMaintenanceSchedules.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Dimension parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Dimension parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Dimension parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Dimension parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Dimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Dimension parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Dimension parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Dimension parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Dimension parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Dimension parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Dimension parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Dimension parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Dimension.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Dimension.Builder newBuilder()
    • newBuilder

      public static Dimension.Builder newBuilder(Dimension prototype)
    • toBuilder

      public Dimension.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Dimension.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Dimension getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Dimension> parser()
    • getParserForType

      public com.google.protobuf.Parser<Dimension> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Dimension getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder