public static final class Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder extends GeneratedMessage.Builder<Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder> implements Sku.SkuPrice.AiPlatformManagedModelUsageFeeOrBuilderDetails about a SKU pricing usage of an AI Platform Managed Model (MaaS).
Protobuf type
google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Sku.SkuPrice.AiPlatformManagedModelUsageFee.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee build()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee |
|
buildPartial()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee buildPartial()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee |
|
clear()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder clear()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
clearCombinedRequestInputTokensRange()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder clearCombinedRequestInputTokensRange()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.Builder |
|
clearLocation()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder clearLocation()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.AiPlatformManagedModelUsageFee.Builder |
|
clearPredictionMode()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder clearPredictionMode()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.Builder |
This builder for chaining. |
clearPriceStructure()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder clearPriceStructure()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
clearProvisionedThroughputOverage()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder clearProvisionedThroughputOverage()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.Builder |
|
clearTieredPrice()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder clearTieredPrice()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.AiPlatformManagedModelUsageFee.Builder |
|
clearUsageMetric()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder clearUsageMetric()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.Builder |
|
getCombinedRequestInputTokensRange()
public 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. |
getCombinedRequestInputTokensRangeBuilder()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder getCombinedRequestInputTokensRangeBuilder()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.Builder |
|
getCombinedRequestInputTokensRangeOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocation()
public 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. |
getLocationBuilder()
public Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder getLocationBuilder()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.Builder |
|
getLocationOrBuilder()
public 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 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 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 Sku.SkuPrice.AiPlatformManagedModelUsageFee.PriceStructureCase getPriceStructureCase()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.PriceStructureCase |
|
getProvisionedThroughputOverage()
public 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. |
getProvisionedThroughputOverageBuilder()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage.Builder getProvisionedThroughputOverageBuilder()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.Builder |
|
getProvisionedThroughputOverageOrBuilder()
public 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 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. |
getTieredPriceBuilder()
public Sku.SkuPrice.TieredPrice.Builder getTieredPriceBuilder()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.Builder |
|
getTieredPriceOrBuilder()
public 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 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. |
getUsageMetricBuilder()
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric.Builder getUsageMetricBuilder()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.Builder |
|
getUsageMetricOrBuilder()
public 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCombinedRequestInputTokensRange(Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder mergeCombinedRequestInputTokensRange(Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
mergeFrom(Sku.SkuPrice.AiPlatformManagedModelUsageFee other)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder mergeFrom(Sku.SkuPrice.AiPlatformManagedModelUsageFee other)| Parameter | |
|---|---|
| Name | Description |
other |
Sku.SkuPrice.AiPlatformManagedModelUsageFee |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
mergeLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder mergeLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
mergeProvisionedThroughputOverage(Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder mergeProvisionedThroughputOverage(Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
mergeTieredPrice(Sku.SkuPrice.TieredPrice value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder mergeTieredPrice(Sku.SkuPrice.TieredPrice value)Output only. Tiered pricing of the SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.TieredPrice |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
mergeUsageMetric(Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder mergeUsageMetric(Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setCombinedRequestInputTokensRange(Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setCombinedRequestInputTokensRange(Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setCombinedRequestInputTokensRange(Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder builderForValue)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setCombinedRequestInputTokensRange(Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange.Builder |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder builderForValue)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setPredictionMode(Sku.SkuPrice.AiPlatformManagedModelUsageFee.PredictionMode value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setPredictionMode(Sku.SkuPrice.AiPlatformManagedModelUsageFee.PredictionMode value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.PredictionModeThe predictionMode to set. |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
This builder for chaining. |
setPredictionModeValue(int value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setPredictionModeValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for predictionMode to set. |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
This builder for chaining. |
setProvisionedThroughputOverage(Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setProvisionedThroughputOverage(Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setProvisionedThroughputOverage(Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage.Builder builderForValue)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setProvisionedThroughputOverage(Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage.Builder |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setTieredPrice(Sku.SkuPrice.TieredPrice value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setTieredPrice(Sku.SkuPrice.TieredPrice value)Output only. Tiered pricing of the SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.TieredPrice |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setTieredPrice(Sku.SkuPrice.TieredPrice.Builder builderForValue)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setTieredPrice(Sku.SkuPrice.TieredPrice.Builder builderForValue)Output only. Tiered pricing of the SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Sku.SkuPrice.TieredPrice.Builder |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setUsageMetric(Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric value)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setUsageMetric(Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|
setUsageMetric(Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric.Builder builderForValue)
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder setUsageMetric(Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric.Builder |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder |
|