Class Dimension.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Dimension.Builder>
com.google.cloud.databasecenter.v1beta.Dimension.Builder
All Implemented Interfaces:
DimensionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Dimension

public static final class Dimension.Builder extends com.google.protobuf.GeneratedMessage.Builder<Dimension.Builder> implements DimensionOrBuilder
 Dimension used to aggregate the fleet.
 
Protobuf type google.cloud.databasecenter.v1beta.Dimension
  • 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.Builder<Dimension.Builder>
    • clear

      public Dimension.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Dimension.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Dimension.Builder>
    • getDefaultInstanceForType

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

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

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

      public Dimension.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Dimension.Builder>
    • mergeFrom

      public Dimension.Builder mergeFrom(Dimension other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Dimension.Builder>
    • mergeFrom

      public Dimension.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Dimension.Builder>
      Throws:
      IOException
    • getDimensionCase

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

      public Dimension.Builder clearDimension()
    • 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.
    • setContainer

      public Dimension.Builder setContainer(String value)
       Specifies where the resource is created. For Google Cloud resources, it
       is the full name of the project.
       
      string container = 2;
      Parameters:
      value - The container to set.
      Returns:
      This builder for chaining.
    • clearContainer

      public Dimension.Builder clearContainer()
       Specifies where the resource is created. For Google Cloud resources, it
       is the full name of the project.
       
      string container = 2;
      Returns:
      This builder for chaining.
    • setContainerBytes

      public Dimension.Builder setContainerBytes(com.google.protobuf.ByteString value)
       Specifies where the resource is created. For Google Cloud resources, it
       is the full name of the project.
       
      string container = 2;
      Parameters:
      value - The bytes for container to set.
      Returns:
      This builder for chaining.
    • 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.
    • setProductTypeValue

      public Dimension.Builder setProductTypeValue(int value)
       Type to identify a product
       
      .google.cloud.databasecenter.v1beta.ProductType product_type = 3;
      Parameters:
      value - The enum numeric value on the wire for productType to set.
      Returns:
      This builder for chaining.
    • 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.
    • setProductType

      public Dimension.Builder setProductType(ProductType value)
       Type to identify a product
       
      .google.cloud.databasecenter.v1beta.ProductType product_type = 3;
      Parameters:
      value - The productType to set.
      Returns:
      This builder for chaining.
    • clearProductType

      public Dimension.Builder clearProductType()
       Type to identify a product
       
      .google.cloud.databasecenter.v1beta.ProductType product_type = 3;
      Returns:
      This builder for chaining.
    • 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.
    • setProductEngineValue

      public Dimension.Builder setProductEngineValue(int value)
       Engine refers to underlying database binary running in an instance.
       
      .google.cloud.databasecenter.v1beta.Engine product_engine = 4;
      Parameters:
      value - The enum numeric value on the wire for productEngine to set.
      Returns:
      This builder for chaining.
    • 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.
    • setProductEngine

      public Dimension.Builder setProductEngine(Engine value)
       Engine refers to underlying database binary running in an instance.
       
      .google.cloud.databasecenter.v1beta.Engine product_engine = 4;
      Parameters:
      value - The productEngine to set.
      Returns:
      This builder for chaining.
    • clearProductEngine

      public Dimension.Builder clearProductEngine()
       Engine refers to underlying database binary running in an instance.
       
      .google.cloud.databasecenter.v1beta.Engine product_engine = 4;
      Returns:
      This builder for chaining.
    • 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.
    • setProductVersion

      public Dimension.Builder setProductVersion(String value)
       Version of the underlying database engine
       
      string product_version = 5;
      Parameters:
      value - The productVersion to set.
      Returns:
      This builder for chaining.
    • clearProductVersion

      public Dimension.Builder clearProductVersion()
       Version of the underlying database engine
       
      string product_version = 5;
      Returns:
      This builder for chaining.
    • setProductVersionBytes

      public Dimension.Builder setProductVersionBytes(com.google.protobuf.ByteString value)
       Version of the underlying database engine
       
      string product_version = 5;
      Parameters:
      value - The bytes for productVersion to set.
      Returns:
      This builder for chaining.
    • 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.
    • setLocation

      public Dimension.Builder setLocation(String value)
       The location of the resources. It supports returning only regional
       locations in Google Cloud.
       
      string location = 6;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public Dimension.Builder clearLocation()
       The location of the resources. It supports returning only regional
       locations in Google Cloud.
       
      string location = 6;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public Dimension.Builder setLocationBytes(com.google.protobuf.ByteString value)
       The location of the resources. It supports returning only regional
       locations in Google Cloud.
       
      string location = 6;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.
    • 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.
    • setResourceType

      public Dimension.Builder setResourceType(String value)
       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;
      Parameters:
      value - The resourceType to set.
      Returns:
      This builder for chaining.
    • clearResourceType

      public Dimension.Builder clearResourceType()
       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:
      This builder for chaining.
    • setResourceTypeBytes

      public Dimension.Builder setResourceTypeBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for resourceType to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSubResourceTypeValue

      public Dimension.Builder setSubResourceTypeValue(int value)
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
      Parameters:
      value - The enum numeric value on the wire for subResourceType to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSubResourceType

      public Dimension.Builder setSubResourceType(SubResourceType value)
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
      Parameters:
      value - The subResourceType to set.
      Returns:
      This builder for chaining.
    • clearSubResourceType

      public Dimension.Builder clearSubResourceType()
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 8;
      Returns:
      This builder for chaining.
    • 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.
    • setResourceCategoryValue

      public Dimension.Builder setResourceCategoryValue(int value)
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
      Parameters:
      value - The enum numeric value on the wire for resourceCategory to set.
      Returns:
      This builder for chaining.
    • 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.
    • setResourceCategory

      public Dimension.Builder setResourceCategory(ResourceCategory value)
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
      Parameters:
      value - The resourceCategory to set.
      Returns:
      This builder for chaining.
    • clearResourceCategory

      public Dimension.Builder clearResourceCategory()
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 9;
      Returns:
      This builder for chaining.
    • 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.
    • setManagementTypeValue

      public Dimension.Builder setManagementTypeValue(int value)
       The management type of the resource.
       
      .google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
      Parameters:
      value - The enum numeric value on the wire for managementType to set.
      Returns:
      This builder for chaining.
    • 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.
    • setManagementType

      public Dimension.Builder setManagementType(ManagementType value)
       The management type of the resource.
       
      .google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
      Parameters:
      value - The managementType to set.
      Returns:
      This builder for chaining.
    • clearManagementType

      public Dimension.Builder clearManagementType()
       The management type of the resource.
       
      .google.cloud.databasecenter.v1beta.ManagementType management_type = 10;
      Returns:
      This builder for chaining.
    • 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.
    • setEditionValue

      public Dimension.Builder setEditionValue(int value)
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 11;
      Parameters:
      value - The enum numeric value on the wire for edition to set.
      Returns:
      This builder for chaining.
    • 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.
    • setEdition

      public Dimension.Builder setEdition(Edition value)
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 11;
      Parameters:
      value - The edition to set.
      Returns:
      This builder for chaining.
    • clearEdition

      public Dimension.Builder clearEdition()
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 11;
      Returns:
      This builder for chaining.
    • 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.
    • setTagKey

      public Dimension.Builder setTagKey(String value)
       Tag key of the resource.
       
      string tag_key = 12;
      Parameters:
      value - The tagKey to set.
      Returns:
      This builder for chaining.
    • clearTagKey

      public Dimension.Builder clearTagKey()
       Tag key of the resource.
       
      string tag_key = 12;
      Returns:
      This builder for chaining.
    • setTagKeyBytes

      public Dimension.Builder setTagKeyBytes(com.google.protobuf.ByteString value)
       Tag key of the resource.
       
      string tag_key = 12;
      Parameters:
      value - The bytes for tagKey to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTagValue

      public Dimension.Builder setTagValue(String value)
       Tag value of the resource.
       
      string tag_value = 13;
      Parameters:
      value - The tagValue to set.
      Returns:
      This builder for chaining.
    • clearTagValue

      public Dimension.Builder clearTagValue()
       Tag value of the resource.
       
      string tag_value = 13;
      Returns:
      This builder for chaining.
    • setTagValueBytes

      public Dimension.Builder setTagValueBytes(com.google.protobuf.ByteString value)
       Tag value of the resource.
       
      string tag_value = 13;
      Parameters:
      value - The bytes for tagValue to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTagSource

      public Dimension.Builder setTagSource(String value)
       Tag source of the resource.
       
      string tag_source = 14;
      Parameters:
      value - The tagSource to set.
      Returns:
      This builder for chaining.
    • clearTagSource

      public Dimension.Builder clearTagSource()
       Tag source of the resource.
       
      string tag_source = 14;
      Returns:
      This builder for chaining.
    • setTagSourceBytes

      public Dimension.Builder setTagSourceBytes(com.google.protobuf.ByteString value)
       Tag source of the resource.
       
      string tag_source = 14;
      Parameters:
      value - The bytes for tagSource to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTagInherited

      public Dimension.Builder setTagInherited(boolean value)
       Tag inheritance value of the resource.
       
      bool tag_inherited = 15;
      Parameters:
      value - The tagInherited to set.
      Returns:
      This builder for chaining.
    • clearTagInherited

      public Dimension.Builder clearTagInherited()
       Tag inheritance value of the resource.
       
      bool tag_inherited = 15;
      Returns:
      This builder for chaining.
    • 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.
    • setLabelKey

      public Dimension.Builder setLabelKey(String value)
       Label key of the resource.
       
      string label_key = 16;
      Parameters:
      value - The labelKey to set.
      Returns:
      This builder for chaining.
    • clearLabelKey

      public Dimension.Builder clearLabelKey()
       Label key of the resource.
       
      string label_key = 16;
      Returns:
      This builder for chaining.
    • setLabelKeyBytes

      public Dimension.Builder setLabelKeyBytes(com.google.protobuf.ByteString value)
       Label key of the resource.
       
      string label_key = 16;
      Parameters:
      value - The bytes for labelKey to set.
      Returns:
      This builder for chaining.
    • 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.
    • setLabelValue

      public Dimension.Builder setLabelValue(String value)
       Label value of the resource.
       
      string label_value = 17;
      Parameters:
      value - The labelValue to set.
      Returns:
      This builder for chaining.
    • clearLabelValue

      public Dimension.Builder clearLabelValue()
       Label value of the resource.
       
      string label_value = 17;
      Returns:
      This builder for chaining.
    • setLabelValueBytes

      public Dimension.Builder setLabelValueBytes(com.google.protobuf.ByteString value)
       Label value of the resource.
       
      string label_value = 17;
      Parameters:
      value - The bytes for labelValue to set.
      Returns:
      This builder for chaining.
    • 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.
    • setLabelSource

      public Dimension.Builder setLabelSource(String value)
       Label source of the resource.
       
      string label_source = 18;
      Parameters:
      value - The labelSource to set.
      Returns:
      This builder for chaining.
    • clearLabelSource

      public Dimension.Builder clearLabelSource()
       Label source of the resource.
       
      string label_source = 18;
      Returns:
      This builder for chaining.
    • setLabelSourceBytes

      public Dimension.Builder setLabelSourceBytes(com.google.protobuf.ByteString value)
       Label source of the resource.
       
      string label_source = 18;
      Parameters:
      value - The bytes for labelSource to set.
      Returns:
      This builder for chaining.
    • 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.
    • setHasMaintenanceSchedule

      public Dimension.Builder setHasMaintenanceSchedule(boolean value)
       Whether the resource has a maintenance schedule.
       
      bool has_maintenance_schedule = 19;
      Parameters:
      value - The hasMaintenanceSchedule to set.
      Returns:
      This builder for chaining.
    • clearHasMaintenanceSchedule

      public Dimension.Builder clearHasMaintenanceSchedule()
       Whether the resource has a maintenance schedule.
       
      bool has_maintenance_schedule = 19;
      Returns:
      This builder for chaining.
    • 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.
    • setHasDenyMaintenanceSchedules

      public Dimension.Builder setHasDenyMaintenanceSchedules(boolean value)
       Whether the resource has deny maintenance schedules.
       
      bool has_deny_maintenance_schedules = 20;
      Parameters:
      value - The hasDenyMaintenanceSchedules to set.
      Returns:
      This builder for chaining.
    • clearHasDenyMaintenanceSchedules

      public Dimension.Builder clearHasDenyMaintenanceSchedules()
       Whether the resource has deny maintenance schedules.
       
      bool has_deny_maintenance_schedules = 20;
      Returns:
      This builder for chaining.