java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Sku.Builder>
com.google.cloud.gdchardwaremanagement.v1alpha.Sku.Builder
All Implemented Interfaces:
SkuOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Sku

public static final class Sku.Builder extends com.google.protobuf.GeneratedMessage.Builder<Sku.Builder> implements SkuOrBuilder
 A stock keeping unit (SKU) of GDC hardware.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Sku
  • 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<Sku.Builder>
    • clear

      public Sku.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<Sku.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<Sku.Builder>
    • getDefaultInstanceForType

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

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

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

      public Sku.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<Sku.Builder>
    • mergeFrom

      public Sku.Builder mergeFrom(Sku other)
    • isInitialized

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

      public Sku.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<Sku.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Name of this SKU.
       Format: `projects/{project}/locations/{location}/skus/{sku}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface SkuOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of this SKU.
       Format: `projects/{project}/locations/{location}/skus/{sku}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface SkuOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Sku.Builder setName(String value)
       Identifier. Name of this SKU.
       Format: `projects/{project}/locations/{location}/skus/{sku}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Sku.Builder clearName()
       Identifier. Name of this SKU.
       Format: `projects/{project}/locations/{location}/skus/{sku}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Sku.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Name of this SKU.
       Format: `projects/{project}/locations/{location}/skus/{sku}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Output only. Display name of this SKU.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface SkuOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Output only. Display name of this SKU.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayNameBytes in interface SkuOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Sku.Builder setDisplayName(String value)
       Output only. Display name of this SKU.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Sku.Builder clearDisplayName()
       Output only. Display name of this SKU.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Sku.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. Display name of this SKU.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when this SKU was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface SkuOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when this SKU was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface SkuOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Sku.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this SKU was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Sku.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when this SKU was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Sku.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this SKU was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Sku.Builder clearCreateTime()
       Output only. Time when this SKU was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time when this SKU was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when this SKU was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface SkuOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when this SKU was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface SkuOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when this SKU was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface SkuOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Sku.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this SKU was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Sku.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when this SKU was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Sku.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this SKU was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Sku.Builder clearUpdateTime()
       Output only. Time when this SKU was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Time when this SKU was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when this SKU was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface SkuOrBuilder
    • hasConfig

      public boolean hasConfig()
       Output only. Configuration for this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasConfig in interface SkuOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public SkuConfig getConfig()
       Output only. Configuration for this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConfig in interface SkuOrBuilder
      Returns:
      The config.
    • setConfig

      public Sku.Builder setConfig(SkuConfig value)
       Output only. Configuration for this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setConfig

      public Sku.Builder setConfig(SkuConfig.Builder builderForValue)
       Output only. Configuration for this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeConfig

      public Sku.Builder mergeConfig(SkuConfig value)
       Output only. Configuration for this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearConfig

      public Sku.Builder clearConfig()
       Output only. Configuration for this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConfigBuilder

      public SkuConfig.Builder getConfigBuilder()
       Output only. Configuration for this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getConfigOrBuilder

      public SkuConfigOrBuilder getConfigOrBuilder()
       Output only. Configuration for this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.SkuConfig config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConfigOrBuilder in interface SkuOrBuilder
    • getInstancesList

      public List<SkuInstance> getInstancesList()
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstancesList in interface SkuOrBuilder
    • getInstancesCount

      public int getInstancesCount()
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstancesCount in interface SkuOrBuilder
    • getInstances

      public SkuInstance getInstances(int index)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstances in interface SkuOrBuilder
    • setInstances

      public Sku.Builder setInstances(int index, SkuInstance value)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setInstances

      public Sku.Builder setInstances(int index, SkuInstance.Builder builderForValue)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInstances

      public Sku.Builder addInstances(SkuInstance value)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInstances

      public Sku.Builder addInstances(int index, SkuInstance value)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInstances

      public Sku.Builder addInstances(SkuInstance.Builder builderForValue)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInstances

      public Sku.Builder addInstances(int index, SkuInstance.Builder builderForValue)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllInstances

      public Sku.Builder addAllInstances(Iterable<? extends SkuInstance> values)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearInstances

      public Sku.Builder clearInstances()
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeInstances

      public Sku.Builder removeInstances(int index)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInstancesBuilder

      public SkuInstance.Builder getInstancesBuilder(int index)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInstancesOrBuilder

      public SkuInstanceOrBuilder getInstancesOrBuilder(int index)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstancesOrBuilder in interface SkuOrBuilder
    • getInstancesOrBuilderList

      public List<? extends SkuInstanceOrBuilder> getInstancesOrBuilderList()
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstancesOrBuilderList in interface SkuOrBuilder
    • addInstancesBuilder

      public SkuInstance.Builder addInstancesBuilder()
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInstancesBuilder

      public SkuInstance.Builder addInstancesBuilder(int index)
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInstancesBuilderList

      public List<SkuInstance.Builder> getInstancesBuilderList()
       Output only. Available instances of this SKU. This field should be used for
       checking availability of a SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.SkuInstance instances = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDescription

      public String getDescription()
       Output only. Description of this SKU.
       
      string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescription in interface SkuOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Output only. Description of this SKU.
       
      string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescriptionBytes in interface SkuOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Sku.Builder setDescription(String value)
       Output only. Description of this SKU.
       
      string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Sku.Builder clearDescription()
       Output only. Description of this SKU.
       
      string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Sku.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. Description of this SKU.
       
      string description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getRevisionId

      public String getRevisionId()
       Output only. The SKU revision ID.
       A new revision is created whenever `config` is updated. The format is an
       8-character hexadecimal string.
       
      string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionId in interface SkuOrBuilder
      Returns:
      The revisionId.
    • getRevisionIdBytes

      public com.google.protobuf.ByteString getRevisionIdBytes()
       Output only. The SKU revision ID.
       A new revision is created whenever `config` is updated. The format is an
       8-character hexadecimal string.
       
      string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionIdBytes in interface SkuOrBuilder
      Returns:
      The bytes for revisionId.
    • setRevisionId

      public Sku.Builder setRevisionId(String value)
       Output only. The SKU revision ID.
       A new revision is created whenever `config` is updated. The format is an
       8-character hexadecimal string.
       
      string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The revisionId to set.
      Returns:
      This builder for chaining.
    • clearRevisionId

      public Sku.Builder clearRevisionId()
       Output only. The SKU revision ID.
       A new revision is created whenever `config` is updated. The format is an
       8-character hexadecimal string.
       
      string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setRevisionIdBytes

      public Sku.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
       Output only. The SKU revision ID.
       A new revision is created whenever `config` is updated. The format is an
       8-character hexadecimal string.
       
      string revision_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for revisionId to set.
      Returns:
      This builder for chaining.
    • getIsActive

      public boolean getIsActive()
       Output only. Flag to indicate whether or not this revision is active. Only
       an active revision can be used in a new Order.
       
      bool is_active = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIsActive in interface SkuOrBuilder
      Returns:
      The isActive.
    • setIsActive

      public Sku.Builder setIsActive(boolean value)
       Output only. Flag to indicate whether or not this revision is active. Only
       an active revision can be used in a new Order.
       
      bool is_active = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The isActive to set.
      Returns:
      This builder for chaining.
    • clearIsActive

      public Sku.Builder clearIsActive()
       Output only. Flag to indicate whether or not this revision is active. Only
       an active revision can be used in a new Order.
       
      bool is_active = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       Output only. Type of this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeValue in interface SkuOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Sku.Builder setTypeValue(int value)
       Output only. Type of this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public Sku.Type getType()
       Output only. Type of this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface SkuOrBuilder
      Returns:
      The type.
    • setType

      public Sku.Builder setType(Sku.Type value)
       Output only. Type of this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Sku.Builder clearType()
       Output only. Type of this SKU.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Sku.Type type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getVcpuCount

      public int getVcpuCount()
       Output only. The vCPU count associated with this SKU.
       
      int32 vcpu_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVcpuCount in interface SkuOrBuilder
      Returns:
      The vcpuCount.
    • setVcpuCount

      public Sku.Builder setVcpuCount(int value)
       Output only. The vCPU count associated with this SKU.
       
      int32 vcpu_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The vcpuCount to set.
      Returns:
      This builder for chaining.
    • clearVcpuCount

      public Sku.Builder clearVcpuCount()
       Output only. The vCPU count associated with this SKU.
       
      int32 vcpu_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getHardwareCountRangesList

      public List<Sku.Range> getHardwareCountRangesList()
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHardwareCountRangesList in interface SkuOrBuilder
    • getHardwareCountRangesCount

      public int getHardwareCountRangesCount()
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHardwareCountRangesCount in interface SkuOrBuilder
    • getHardwareCountRanges

      public Sku.Range getHardwareCountRanges(int index)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHardwareCountRanges in interface SkuOrBuilder
    • setHardwareCountRanges

      public Sku.Builder setHardwareCountRanges(int index, Sku.Range value)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setHardwareCountRanges

      public Sku.Builder setHardwareCountRanges(int index, Sku.Range.Builder builderForValue)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addHardwareCountRanges

      public Sku.Builder addHardwareCountRanges(Sku.Range value)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addHardwareCountRanges

      public Sku.Builder addHardwareCountRanges(int index, Sku.Range value)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addHardwareCountRanges

      public Sku.Builder addHardwareCountRanges(Sku.Range.Builder builderForValue)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addHardwareCountRanges

      public Sku.Builder addHardwareCountRanges(int index, Sku.Range.Builder builderForValue)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllHardwareCountRanges

      public Sku.Builder addAllHardwareCountRanges(Iterable<? extends Sku.Range> values)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearHardwareCountRanges

      public Sku.Builder clearHardwareCountRanges()
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeHardwareCountRanges

      public Sku.Builder removeHardwareCountRanges(int index)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getHardwareCountRangesBuilder

      public Sku.Range.Builder getHardwareCountRangesBuilder(int index)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getHardwareCountRangesOrBuilder

      public Sku.RangeOrBuilder getHardwareCountRangesOrBuilder(int index)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHardwareCountRangesOrBuilder in interface SkuOrBuilder
    • getHardwareCountRangesOrBuilderList

      public List<? extends Sku.RangeOrBuilder> getHardwareCountRangesOrBuilderList()
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHardwareCountRangesOrBuilderList in interface SkuOrBuilder
    • addHardwareCountRangesBuilder

      public Sku.Range.Builder addHardwareCountRangesBuilder()
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addHardwareCountRangesBuilder

      public Sku.Range.Builder addHardwareCountRangesBuilder(int index)
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getHardwareCountRangesBuilderList

      public List<Sku.Range.Builder> getHardwareCountRangesBuilderList()
       Output only. The inclusive ranges of hardware counts that are allowed in a
       zone using this SKU.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku.Range hardware_count_ranges = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];