Interface Sku.SkuPrice.AiPlatformDeployedModelUsageFeeOrBuilder (0.1.0)

public static interface Sku.SkuPrice.AiPlatformDeployedModelUsageFeeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorType()

public abstract String getAcceleratorType()

Output only. The SKU applies to a specific accelerator type. Contains the name of the matching AI Platform AcceleratorType. The corresponding linear scaling value is the dimensionless accelerator_count.

string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The acceleratorType.

getAcceleratorTypeBytes()

public abstract ByteString getAcceleratorTypeBytes()

Output only. The SKU applies to a specific accelerator type. Contains the name of the matching AI Platform AcceleratorType. The corresponding linear scaling value is the dimensionless accelerator_count.

string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for acceleratorType.

getHardwareResourceCase()

public abstract Sku.SkuPrice.AiPlatformDeployedModelUsageFee.HardwareResourceCase getHardwareResourceCase()
Returns
Type Description
Sku.SkuPrice.AiPlatformDeployedModelUsageFee.HardwareResourceCase

getPricePerUnit()

public abstract Money getPricePerUnit()

Output only. The price per unit of usage. The customer's usage charge is computed by measuring the customer's consumption denominated in price units and multiplying by this price.

.google.type.Money price_per_unit = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Money

The pricePerUnit.

getPricePerUnitOrBuilder()

public abstract MoneyOrBuilder getPricePerUnitOrBuilder()

Output only. The price per unit of usage. The customer's usage charge is computed by measuring the customer's consumption denominated in price units and multiplying by this price.

.google.type.Money price_per_unit = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.MoneyOrBuilder

getPriceStructureCase()

public abstract Sku.SkuPrice.AiPlatformDeployedModelUsageFee.PriceStructureCase getPriceStructureCase()
Returns
Type Description
Sku.SkuPrice.AiPlatformDeployedModelUsageFee.PriceStructureCase

getUnit()

public abstract String getUnit()

Output only. The price unit of the SKU. See https://ucum.org/ucum.html for the format of the price unit. Currently the unit is always hours ('h'). This may change in future.

string unit = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The unit.

getUnitBytes()

public abstract ByteString getUnitBytes()

Output only. The price unit of the SKU. See https://ucum.org/ucum.html for the format of the price unit. Currently the unit is always hours ('h'). This may change in future.

string unit = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for unit.

getUsageCalculation()

public abstract Sku.SkuPrice.AiPlatformDeployedModelUsageFee.UsageCalculation getUsageCalculation()

Output only. Determines how the customer's usage is calculated.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformDeployedModelUsageFee.UsageCalculation usage_calculation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformDeployedModelUsageFee.UsageCalculation

The usageCalculation.

getUsageCalculationValue()

public abstract int getUsageCalculationValue()

Output only. Determines how the customer's usage is calculated.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformDeployedModelUsageFee.UsageCalculation usage_calculation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for usageCalculation.

hasAcceleratorType()

public abstract boolean hasAcceleratorType()

Output only. The SKU applies to a specific accelerator type. Contains the name of the matching AI Platform AcceleratorType. The corresponding linear scaling value is the dimensionless accelerator_count.

string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the acceleratorType field is set.

hasPricePerUnit()

public abstract boolean hasPricePerUnit()

Output only. The price per unit of usage. The customer's usage charge is computed by measuring the customer's consumption denominated in price units and multiplying by this price.

.google.type.Money price_per_unit = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the pricePerUnit field is set.