public static final class Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder extends GeneratedMessage.Builder<Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder> implements Sku.SkuPrice.AiPlatformProvisionedThroughputFeeOrBuilderDetails 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Sku.SkuPrice.AiPlatformProvisionedThroughputFee.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee build()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee |
|
buildPartial()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee buildPartial()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee |
|
clear()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder clear()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
clearGsuPricePerUnit()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder clearGsuPricePerUnit() 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 |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
clearLocation()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder clearLocation()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 |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
clearPriceStructure()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder clearPriceStructure()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
clearTerm()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder clearTerm()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
clearTermDurationMonths()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder clearTermDurationMonths()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 |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
This builder for chaining. |
clearUnit()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder clearUnit()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 |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGsuPricePerUnit()
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. |
getGsuPricePerUnitBuilder()
public Money.Builder getGsuPricePerUnitBuilder() 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.Builder |
|
getGsuPricePerUnitOrBuilder()
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 |
|
getLocation()
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];
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation |
The location. |
getLocationBuilder()
public Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder getLocationBuilder()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 |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder |
|
getLocationOrBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocationOrBuilder |
|
getPriceStructureCase()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.PriceStructureCase getPriceStructureCase()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.PriceStructureCase |
|
getTermCase()
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.TermCase getTermCase()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.TermCase |
|
getTermDurationMonths()
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. |
getUnit()
public String getUnit()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. |
getUnitBytes()
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. |
hasGsuPricePerUnit()
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. |
hasLocation()
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. |
hasTermDurationMonths()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Sku.SkuPrice.AiPlatformProvisionedThroughputFee other)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder mergeFrom(Sku.SkuPrice.AiPlatformProvisionedThroughputFee other)| Parameter | |
|---|---|
| Name | Description |
other |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
mergeGsuPricePerUnit(Money value)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder mergeGsuPricePerUnit(Money value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Money |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
mergeLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation value)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder mergeLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
setGsuPricePerUnit(Money value)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder setGsuPricePerUnit(Money value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Money |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
setGsuPricePerUnit(Money.Builder builderForValue)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder setGsuPricePerUnit(Money.Builder builderForValue) 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Money.Builder |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
setLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation value)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder setLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
setLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder builderForValue)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder setLocation(Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation.Builder |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
|
setTermDurationMonths(int value)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder setTermDurationMonths(int value)Output only. The duration of the provisioned throughput reservation in months.
int32 term_duration_months = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe termDurationMonths to set. |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
This builder for chaining. |
setUnit(String value)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder setUnit(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unit to set. |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
This builder for chaining. |
setUnitBytes(ByteString value)
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder setUnitBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for unit to set. |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.Builder |
This builder for chaining. |