public static final class Sku.SkuPrice.AiPlatformManagedModelUsageFee extends GeneratedMessage implements Sku.SkuPrice.AiPlatformManagedModelUsageFeeOrBuilder
Details about a SKU pricing usage of an AI Platform Managed Model
(MaaS).
Protobuf type
google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int COMBINED_REQUEST_INPUT_TOKENS_RANGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int LOCATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PREDICTION_MODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PROVISIONED_THROUGHPUT_OVERAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TIERED_PRICE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int USAGE_METRIC_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder newBuilder()
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder newBuilder(Sku.SkuPrice.AiPlatformManagedModelUsageFee prototype)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseDelimitedFrom(InputStream input)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(ByteString data)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(CodedInputStream input)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(InputStream input)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(ByteBuffer data)
public static Sku.SkuPrice.AiPlatformManagedModelUsageFee parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Sku.SkuPrice.AiPlatformManagedModelUsageFee> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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];
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];
public Sku.SkuPrice.AiPlatformManagedModelUsageFee getDefaultInstanceForType()
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];
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];
public Parser<Sku.SkuPrice.AiPlatformManagedModelUsageFee> getParserForType()
Overrides
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];
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.
|
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.PriceStructureCase getPriceStructureCase()
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];
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];
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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];
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];
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];
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];
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.
|
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.
|
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.
|
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.
|
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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder newBuilderForType()
protected Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Sku.SkuPrice.AiPlatformManagedModelUsageFee.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides