Interface HardwareConfigOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    int
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    int
    Optional.

    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

    • getSku

      String getSku()
       Required. Reference to the SKU for this hardware. This can point to a
       specific SKU revision in the form of `resource_name@revision_id` as defined
       in [AIP-162](https://google.aip.dev/162). If no revision_id is specified,
       it refers to the latest revision.
       
      string sku = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The sku.
    • getSkuBytes

      com.google.protobuf.ByteString getSkuBytes()
       Required. Reference to the SKU for this hardware. This can point to a
       specific SKU revision in the form of `resource_name@revision_id` as defined
       in [AIP-162](https://google.aip.dev/162). If no revision_id is specified,
       it refers to the latest revision.
       
      string sku = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for sku.
    • getPowerSupplyValue

      int getPowerSupplyValue()
       Required. Power supply type for this hardware.
       
      .google.cloud.gdchardwaremanagement.v1alpha.PowerSupply power_supply = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for powerSupply.
    • getPowerSupply

      PowerSupply getPowerSupply()
       Required. Power supply type for this hardware.
       
      .google.cloud.gdchardwaremanagement.v1alpha.PowerSupply power_supply = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The powerSupply.
    • getSubscriptionDurationMonths

      int getSubscriptionDurationMonths()
       Optional. Subscription duration for the hardware in months.
       
      int32 subscription_duration_months = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The subscriptionDurationMonths.