Interface SkuInstanceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SkuInstance, SkuInstance.Builder

@Generated public interface SkuInstanceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Reference to the corresponding SKU in the Cloud Billing API.
    com.google.protobuf.ByteString
    Reference to the corresponding SKU in the Cloud Billing API.
    Reference to the corresponding SKU per vCPU in the Cloud Billing API.
    com.google.protobuf.ByteString
    Reference to the corresponding SKU per vCPU in the Cloud Billing API.
    Power supply type for this instance.
    int
    Power supply type for this instance.
    The [Unicode CLDR](https://cldr.unicode.org) region code where this instance is available.
    com.google.protobuf.ByteString
    The [Unicode CLDR](https://cldr.unicode.org) region code where this instance is available.
    int
    Subscription duration for the hardware in months.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getRegionCode

      String getRegionCode()
       The [Unicode CLDR](https://cldr.unicode.org) region code where this
       instance is available.
       
      string region_code = 1;
      Returns:
      The regionCode.
    • getRegionCodeBytes

      com.google.protobuf.ByteString getRegionCodeBytes()
       The [Unicode CLDR](https://cldr.unicode.org) region code where this
       instance is available.
       
      string region_code = 1;
      Returns:
      The bytes for regionCode.
    • getPowerSupplyValue

      int getPowerSupplyValue()
       Power supply type for this instance.
       
      .google.cloud.gdchardwaremanagement.v1alpha.PowerSupply power_supply = 2;
      Returns:
      The enum numeric value on the wire for powerSupply.
    • getPowerSupply

      PowerSupply getPowerSupply()
       Power supply type for this instance.
       
      .google.cloud.gdchardwaremanagement.v1alpha.PowerSupply power_supply = 2;
      Returns:
      The powerSupply.
    • getBillingSku

      String getBillingSku()
       Reference to the corresponding SKU in the Cloud Billing API.
       The estimated price information can be retrieved using that API.
       Format: `services/{service}/skus/{sku}`
       
      string billing_sku = 3;
      Returns:
      The billingSku.
    • getBillingSkuBytes

      com.google.protobuf.ByteString getBillingSkuBytes()
       Reference to the corresponding SKU in the Cloud Billing API.
       The estimated price information can be retrieved using that API.
       Format: `services/{service}/skus/{sku}`
       
      string billing_sku = 3;
      Returns:
      The bytes for billingSku.
    • getBillingSkuPerVcpu

      String getBillingSkuPerVcpu()
       Reference to the corresponding SKU per vCPU in the Cloud Billing API.
       The estimated price information can be retrieved using that API.
       Format: `services/{service}/skus/{sku}`
       
      string billing_sku_per_vcpu = 4;
      Returns:
      The billingSkuPerVcpu.
    • getBillingSkuPerVcpuBytes

      com.google.protobuf.ByteString getBillingSkuPerVcpuBytes()
       Reference to the corresponding SKU per vCPU in the Cloud Billing API.
       The estimated price information can be retrieved using that API.
       Format: `services/{service}/skus/{sku}`
       
      string billing_sku_per_vcpu = 4;
      Returns:
      The bytes for billingSkuPerVcpu.
    • getSubscriptionDurationMonths

      int getSubscriptionDurationMonths()
       Subscription duration for the hardware in months.
       
      int32 subscription_duration_months = 5;
      Returns:
      The subscriptionDurationMonths.