Interface HardwareConfigOrBuilder (0.7.0)

public interface HardwareConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPowerSupply()

public abstract PowerSupply getPowerSupply()

Required. Power supply type for this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.PowerSupply power_supply = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PowerSupply

The powerSupply.

getPowerSupplyValue()

public abstract int getPowerSupplyValue()

Required. Power supply type for this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.PowerSupply power_supply = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for powerSupply.

getSku()

public abstract 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. 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
Type Description
String

The sku.

getSkuBytes()

public abstract 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. 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
Type Description
ByteString

The bytes for sku.

getSubscriptionDurationMonths()

public abstract int getSubscriptionDurationMonths()

Optional. Subscription duration for the hardware in months.

int32 subscription_duration_months = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The subscriptionDurationMonths.