public static final class Sku.SkuPrice.AiPlatformProvisionedThroughputFee extends GeneratedMessage implements Sku.SkuPrice.AiPlatformProvisionedThroughputFeeOrBuilder
Details about a SKU pricing reservation of AI Platform Provisioned
Throughput.
Customers may purchase provisioned throughput reservations for AI
Platform managed model products. This provides the customer with
provisioned throughput quota for a particular model and location. Model
usage below the provisioned throughput quota threshold is voided and is
not charged by the product's managed model usage fees.
Protobuf type
google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformProvisionedThroughputFee
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 GSU_PRICE_PER_UNIT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int LOCATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TERM_DURATION_MONTHS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int UNIT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder newBuilder()
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder newBuilder(Sku.SkuPrice.AiPlatformProvisionedThroughputFee prototype)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseDelimitedFrom(InputStream input)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(ByteString data)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(CodedInputStream input)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(InputStream input)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(ByteBuffer data)
public static Sku.SkuPrice.AiPlatformProvisionedThroughputFee parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Sku.SkuPrice.AiPlatformProvisionedThroughputFee> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee getDefaultInstanceForType()
public Money getGsuPricePerUnit()
The price per Generative AI Scale Unit
(GSU)
per unit.
A provisioned throughput reservation reserves a certain number of
GSUs, and the customer is billed for those GSUs on a continuous basis
for the duration of the reservation.
.google.type.Money gsu_price_per_unit = 4;
| Returns |
| Type |
Description |
com.google.type.Money |
The gsuPricePerUnit.
|
public MoneyOrBuilder getGsuPricePerUnitOrBuilder()
The price per Generative AI Scale Unit
(GSU)
per unit.
A provisioned throughput reservation reserves a certain number of
GSUs, and the customer is billed for those GSUs on a continuous basis
for the duration of the reservation.
.google.type.Money gsu_price_per_unit = 4;
| Returns |
| Type |
Description |
com.google.type.MoneyOrBuilder |
|
public Sku.SkuPrice.AiPlatformManagedModelEndpointLocation getLocation()
Output only. The location where provisioned throughput is priced by
this SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Sku.SkuPrice.AiPlatformManagedModelEndpointLocationOrBuilder getLocationOrBuilder()
Output only. The location where provisioned throughput is priced by
this SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Parser<Sku.SkuPrice.AiPlatformProvisionedThroughputFee> getParserForType()
Overrides
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.PriceStructureCase getPriceStructureCase()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.TermCase getTermCase()
public int getTermDurationMonths()
Output only. The duration of the provisioned throughput reservation
in months.
int32 term_duration_months = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The termDurationMonths.
|
Output only. The price unit of the SKU.
See https://ucum.org/ucum.html for the format of the price unit.
Since provisioned throughput reservations are billed by duration, this
will always be a time unit. The price unit of a provisioned throughput
SKU is not necessarily the same as the reservation term.
This field is unrelated to the Generative AI Scale Unit
(GSU).
Currently the unit is always months ('mo').
Additional time units may be supported in future.
The customary unit month ('mo') requires special handling to account
for the variable duration of months. A price may be denominated in
units of months, but the duration the reservation is active is measured
in metric time and customers are billed on that basis. The exact hourly
or per-second price can be calculated by dividing the monthly price
by the number of hours or seconds in the desired month. A reservation
active for N months is rarely billed exactly N times the monthly price.
This is intended and is not a billing error.
string unit = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The unit.
|
public ByteString getUnitBytes()
Output only. The price unit of the SKU.
See https://ucum.org/ucum.html for the format of the price unit.
Since provisioned throughput reservations are billed by duration, this
will always be a time unit. The price unit of a provisioned throughput
SKU is not necessarily the same as the reservation term.
This field is unrelated to the Generative AI Scale Unit
(GSU).
Currently the unit is always months ('mo').
Additional time units may be supported in future.
The customary unit month ('mo') requires special handling to account
for the variable duration of months. A price may be denominated in
units of months, but the duration the reservation is active is measured
in metric time and customers are billed on that basis. The exact hourly
or per-second price can be calculated by dividing the monthly price
by the number of hours or seconds in the desired month. A reservation
active for N months is rarely billed exactly N times the monthly price.
This is intended and is not a billing error.
string unit = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for unit.
|
public boolean hasGsuPricePerUnit()
The price per Generative AI Scale Unit
(GSU)
per unit.
A provisioned throughput reservation reserves a certain number of
GSUs, and the customer is billed for those GSUs on a continuous basis
for the duration of the reservation.
.google.type.Money gsu_price_per_unit = 4;
| Returns |
| Type |
Description |
boolean |
Whether the gsuPricePerUnit field is set.
|
public boolean hasLocation()
Output only. The location where provisioned throughput is priced by
this SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the location field is set.
|
public boolean hasTermDurationMonths()
Output only. The duration of the provisioned throughput reservation
in months.
int32 term_duration_months = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the termDurationMonths field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder newBuilderForType()
protected Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides