Interface Sku.SkuPrice.AiPlatformManagedModelUsageFeeOrBuilder (0.1.0)

public static interface Sku.SkuPrice.AiPlatformManagedModelUsageFeeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCombinedRequestInputTokensRange()

public abstract Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange getCombinedRequestInputTokensRange()

Output only. The range of aggregated input token values covered by the SKU. Unset if the SKU is not scoped to a particular range. A request is in scope for this SKU if its aggregated input token value falls within the range. The collection of SKUs in effect at any given time scoped to a particular aggregated input token value range will cover all possible values without overlap. Such a collection of SKUs form a "tiered" price structure over the possible value, with each SKU acting as a "tier".

NOTE: This is distinct from a SKU with tiered pricing.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange combined_request_input_tokens_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange

The combinedRequestInputTokensRange.

getCombinedRequestInputTokensRangeOrBuilder()

public abstract Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRangeOrBuilder getCombinedRequestInputTokensRangeOrBuilder()

Output only. The range of aggregated input token values covered by the SKU. Unset if the SKU is not scoped to a particular range. A request is in scope for this SKU if its aggregated input token value falls within the range. The collection of SKUs in effect at any given time scoped to a particular aggregated input token value range will cover all possible values without overlap. Such a collection of SKUs form a "tiered" price structure over the possible value, with each SKU acting as a "tier".

NOTE: This is distinct from a SKU with tiered pricing.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange combined_request_input_tokens_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRangeOrBuilder

getLocation()

public abstract Sku.SkuPrice.AiPlatformManagedModelEndpointLocation getLocation()

Output only. The model endpoint location where usage is priced by this SKU. If no location is specified, the SKU applies to usage in all locations.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation

The location.

getLocationOrBuilder()

public abstract Sku.SkuPrice.AiPlatformManagedModelEndpointLocationOrBuilder getLocationOrBuilder()

Output only. The model endpoint location where usage is priced by this SKU. If no location is specified, the SKU applies to usage in all locations.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelEndpointLocationOrBuilder

getPredictionMode()

public abstract Sku.SkuPrice.AiPlatformManagedModelUsageFee.PredictionMode getPredictionMode()

Output only. The prediction mode of requests that the SKU applies to.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.PredictionMode prediction_mode = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFee.PredictionMode

The predictionMode.

getPredictionModeValue()

public abstract int getPredictionModeValue()

Output only. The prediction mode of requests that the SKU applies to.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.PredictionMode prediction_mode = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for predictionMode.

getPriceStructureCase()

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

getProvisionedThroughputOverage()

public abstract Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage getProvisionedThroughputOverage()

Output only. Set when the SKU is a historical provisioned throughput overage SKU. Starting 2025-08-26 such SKUs have no effect, and usage in excess of provisioned throughput quota is now metered as standard usage. This field is set only in historical SKU timeline entries for overage SKUs belonging to partners that offered provisioned throughput for AI Platform managed model products prior to the unification of standard usage and provisioned throughput overage metering.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage provisioned_throughput_overage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage

The provisionedThroughputOverage.

getProvisionedThroughputOverageOrBuilder()

public abstract Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverageOrBuilder getProvisionedThroughputOverageOrBuilder()

Output only. Set when the SKU is a historical provisioned throughput overage SKU. Starting 2025-08-26 such SKUs have no effect, and usage in excess of provisioned throughput quota is now metered as standard usage. This field is set only in historical SKU timeline entries for overage SKUs belonging to partners that offered provisioned throughput for AI Platform managed model products prior to the unification of standard usage and provisioned throughput overage metering.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage provisioned_throughput_overage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverageOrBuilder

getTieredPrice()

public abstract Sku.SkuPrice.TieredPrice getTieredPrice()

Output only. Tiered pricing of the SKU.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.TieredPrice

The tieredPrice.

getTieredPriceOrBuilder()

public abstract Sku.SkuPrice.TieredPriceOrBuilder getTieredPriceOrBuilder()

Output only. Tiered pricing of the SKU.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.TieredPriceOrBuilder

getUsageMetric()

public abstract Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric getUsageMetric()

Output only. The usage metric that the SKU applies to.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric usage_metric = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric

The usageMetric.

getUsageMetricOrBuilder()

public abstract Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetricOrBuilder getUsageMetricOrBuilder()

Output only. The usage metric that the SKU applies to.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric usage_metric = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetricOrBuilder

hasCombinedRequestInputTokensRange()

public abstract boolean hasCombinedRequestInputTokensRange()

Output only. The range of aggregated input token values covered by the SKU. Unset if the SKU is not scoped to a particular range. A request is in scope for this SKU if its aggregated input token value falls within the range. The collection of SKUs in effect at any given time scoped to a particular aggregated input token value range will cover all possible values without overlap. Such a collection of SKUs form a "tiered" price structure over the possible value, with each SKU acting as a "tier".

NOTE: This is distinct from a SKU with tiered pricing.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange combined_request_input_tokens_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the combinedRequestInputTokensRange field is set.

hasLocation()

public abstract boolean hasLocation()

Output only. The model endpoint location where usage is priced by this SKU. If no location is specified, the SKU applies to usage in all locations.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the location field is set.

hasProvisionedThroughputOverage()

public abstract boolean hasProvisionedThroughputOverage()

Output only. Set when the SKU is a historical provisioned throughput overage SKU. Starting 2025-08-26 such SKUs have no effect, and usage in excess of provisioned throughput quota is now metered as standard usage. This field is set only in historical SKU timeline entries for overage SKUs belonging to partners that offered provisioned throughput for AI Platform managed model products prior to the unification of standard usage and provisioned throughput overage metering.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage provisioned_throughput_overage = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the provisionedThroughputOverage field is set.

hasTieredPrice()

public abstract boolean hasTieredPrice()

Output only. Tiered pricing of the SKU.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the tieredPrice field is set.

hasUsageMetric()

public abstract boolean hasUsageMetric()

Output only. The usage metric that the SKU applies to.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric usage_metric = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the usageMetric field is set.