public static final class Sku.SkuPrice.AiPlatformDeployedModelUsageFee extends GeneratedMessage implements Sku.SkuPrice.AiPlatformDeployedModelUsageFeeOrBuilder
Details about a SKU pricing usage of an AI Platform Self Deployed
Model.
Protobuf type
google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformDeployedModelUsageFee
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 ACCELERATOR_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PRICE_PER_UNIT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int UNIT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int USAGE_CALCULATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee.Builder newBuilder()
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee.Builder newBuilder(Sku.SkuPrice.AiPlatformDeployedModelUsageFee prototype)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseDelimitedFrom(InputStream input)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(ByteString data)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(CodedInputStream input)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(InputStream input)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(ByteBuffer data)
public static Sku.SkuPrice.AiPlatformDeployedModelUsageFee parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Sku.SkuPrice.AiPlatformDeployedModelUsageFee> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getAcceleratorType()
Output only. The SKU applies to a specific accelerator type.
Contains the name of the matching AI Platform AcceleratorType.
The corresponding linear scaling value is the dimensionless
accelerator_count.
string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The acceleratorType.
|
public ByteString getAcceleratorTypeBytes()
Output only. The SKU applies to a specific accelerator type.
Contains the name of the matching AI Platform AcceleratorType.
The corresponding linear scaling value is the dimensionless
accelerator_count.
string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for acceleratorType.
|
public Sku.SkuPrice.AiPlatformDeployedModelUsageFee getDefaultInstanceForType()
public Sku.SkuPrice.AiPlatformDeployedModelUsageFee.HardwareResourceCase getHardwareResourceCase()
public Parser<Sku.SkuPrice.AiPlatformDeployedModelUsageFee> getParserForType()
Overrides
public Money getPricePerUnit()
Output only. The price per unit of usage.
The customer's usage charge is computed by measuring the customer's
consumption denominated in price units and multiplying by this price.
.google.type.Money price_per_unit = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.type.Money |
The pricePerUnit.
|
public MoneyOrBuilder getPricePerUnitOrBuilder()
Output only. The price per unit of usage.
The customer's usage charge is computed by measuring the customer's
consumption denominated in price units and multiplying by this price.
.google.type.Money price_per_unit = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.type.MoneyOrBuilder |
|
public Sku.SkuPrice.AiPlatformDeployedModelUsageFee.PriceStructureCase getPriceStructureCase()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
Output only. The price unit of the SKU.
See https://ucum.org/ucum.html for the format of the price unit.
Currently the unit is always hours ('h'). This may change in future.
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.
Currently the unit is always hours ('h'). This may change in future.
string unit = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for unit.
|
public Sku.SkuPrice.AiPlatformDeployedModelUsageFee.UsageCalculation getUsageCalculation()
Output only. Determines how the customer's usage is calculated.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformDeployedModelUsageFee.UsageCalculation usage_calculation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getUsageCalculationValue()
Output only. Determines how the customer's usage is calculated.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformDeployedModelUsageFee.UsageCalculation usage_calculation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for usageCalculation.
|
public boolean hasAcceleratorType()
Output only. The SKU applies to a specific accelerator type.
Contains the name of the matching AI Platform AcceleratorType.
The corresponding linear scaling value is the dimensionless
accelerator_count.
string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the acceleratorType field is set.
|
public boolean hasPricePerUnit()
Output only. The price per unit of usage.
The customer's usage charge is computed by measuring the customer's
consumption denominated in price units and multiplying by this price.
.google.type.Money price_per_unit = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the pricePerUnit field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Sku.SkuPrice.AiPlatformDeployedModelUsageFee.Builder newBuilderForType()
protected Sku.SkuPrice.AiPlatformDeployedModelUsageFee.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Sku.SkuPrice.AiPlatformDeployedModelUsageFee.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides