public static final class Sku.SkuPrice extends GeneratedMessage implements Sku.SkuPriceOrBuilder
The price of the SKU, active during a particular time range.
Prices are in all cases in USD. Customers are billed in the currency of
their billing account, subject to the currency conversion rate in effect
at the time.
Protobuf type google.cloud.commerceproducer.v1beta.Sku.SkuPrice
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 AI_PLATFORM_DEPLOYED_MODEL_USAGE_FEE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int AI_PLATFORM_MANAGED_MODEL_USAGE_FEE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int AI_PLATFORM_PROVISIONED_THROUGHPUT_FEE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EFFECTIVE_TIME_FIELD_NUMBER
public static final int EFFECTIVE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FLAT_SUBSCRIPTION_FEE_FIELD_NUMBER
public static final int FLAT_SUBSCRIPTION_FEE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GCE_LICENSE_USAGE_FEE_FIELD_NUMBER
public static final int GCE_LICENSE_USAGE_FEE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GKE_POD_USAGE_FEE_FIELD_NUMBER
public static final int GKE_POD_USAGE_FEE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INACTIVE_FIELD_NUMBER
public static final int INACTIVE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MANAGED_SERVICE_METRIC_USAGE_FEE_FIELD_NUMBER
public static final int MANAGED_SERVICE_METRIC_USAGE_FEE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Sku.SkuPrice getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Sku.SkuPrice.Builder newBuilder()
newBuilder(Sku.SkuPrice prototype)
public static Sku.SkuPrice.Builder newBuilder(Sku.SkuPrice prototype)
public static Sku.SkuPrice parseDelimitedFrom(InputStream input)
public static Sku.SkuPrice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Sku.SkuPrice parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Sku.SkuPrice parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice parseFrom(CodedInputStream input)
public static Sku.SkuPrice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice parseFrom(InputStream input)
public static Sku.SkuPrice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Sku.SkuPrice parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Sku.SkuPrice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Sku.SkuPrice> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public Sku.SkuPrice.AiPlatformDeployedModelUsageFee getAiPlatformDeployedModelUsageFee()
Output only. The SKU prices usage of an AI model deployed on AI
Platform.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformDeployedModelUsageFee ai_platform_deployed_model_usage_fee = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Sku.SkuPrice.AiPlatformDeployedModelUsageFeeOrBuilder getAiPlatformDeployedModelUsageFeeOrBuilder()
Output only. The SKU prices usage of an AI model deployed on AI
Platform.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformDeployedModelUsageFee ai_platform_deployed_model_usage_fee = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Sku.SkuPrice.AiPlatformManagedModelUsageFee getAiPlatformManagedModelUsageFee()
Output only. The SKU prices usage of an AI Platform Managed Model
(MaaS).
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee ai_platform_managed_model_usage_fee = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Sku.SkuPrice.AiPlatformManagedModelUsageFeeOrBuilder getAiPlatformManagedModelUsageFeeOrBuilder()
Output only. The SKU prices usage of an AI Platform Managed Model
(MaaS).
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee ai_platform_managed_model_usage_fee = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Sku.SkuPrice.AiPlatformProvisionedThroughputFee getAiPlatformProvisionedThroughputFee()
Output only. The SKU prices reservation of AI Platform provisioned
throughput.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformProvisionedThroughputFee ai_platform_provisioned_throughput_fee = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Sku.SkuPrice.AiPlatformProvisionedThroughputFeeOrBuilder getAiPlatformProvisionedThroughputFeeOrBuilder()
Output only. The SKU prices reservation of AI Platform provisioned
throughput.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformProvisionedThroughputFee ai_platform_provisioned_throughput_fee = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Sku.SkuPrice getDefaultInstanceForType()
getEffectiveTime()
public Timestamp getEffectiveTime()
Output only. The start of the time interval during which this price is
effective.
.google.protobuf.Timestamp effective_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The effectiveTime.
|
getEffectiveTimeOrBuilder()
public TimestampOrBuilder getEffectiveTimeOrBuilder()
Output only. The start of the time interval during which this price is
effective.
.google.protobuf.Timestamp effective_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFlatSubscriptionFee()
public Sku.SkuPrice.FlatSubscriptionFee getFlatSubscriptionFee()
Output only. The SKU applies a flat subscription fee.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.FlatSubscriptionFee flat_subscription_fee = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFlatSubscriptionFeeOrBuilder()
public Sku.SkuPrice.FlatSubscriptionFeeOrBuilder getFlatSubscriptionFeeOrBuilder()
Output only. The SKU applies a flat subscription fee.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.FlatSubscriptionFee flat_subscription_fee = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGceLicenseUsageFee()
public Sku.SkuPrice.ComputeEngineLicenseUsageFee getGceLicenseUsageFee()
Output only. The SKU prices usage of a Compute Engine License via a
license fee applied to running instances that use the license.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ComputeEngineLicenseUsageFee gce_license_usage_fee = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGceLicenseUsageFeeOrBuilder()
public Sku.SkuPrice.ComputeEngineLicenseUsageFeeOrBuilder getGceLicenseUsageFeeOrBuilder()
Output only. The SKU prices usage of a Compute Engine License via a
license fee applied to running instances that use the license.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ComputeEngineLicenseUsageFee gce_license_usage_fee = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGkePodUsageFee()
public Sku.SkuPrice.KubernetesEnginePodUsageFee getGkePodUsageFee()
Output only. The SKU prices usage of software deployed on Kubernetes
Engine.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.KubernetesEnginePodUsageFee gke_pod_usage_fee = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGkePodUsageFeeOrBuilder()
public Sku.SkuPrice.KubernetesEnginePodUsageFeeOrBuilder getGkePodUsageFeeOrBuilder()
Output only. The SKU prices usage of software deployed on Kubernetes
Engine.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.KubernetesEnginePodUsageFee gke_pod_usage_fee = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getInactive()
public Sku.SkuPrice.InactiveSkuPrice getInactive()
Output only. The SKU has been disabled and has no price.
SKUs, once created and allowed to go into effect, are never deleted.
Disabled SKUs may accumulate over the lifetime of a product as the
product's pricing evolves, and are retained for historical reference.
A SKU in this state generally remains in this state indefinitely, but
may be reactivated if needed. Clients must not depend on inactive SKUs
remaining inactive.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.InactiveSkuPrice inactive = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getInactiveOrBuilder()
public Sku.SkuPrice.InactiveSkuPriceOrBuilder getInactiveOrBuilder()
Output only. The SKU has been disabled and has no price.
SKUs, once created and allowed to go into effect, are never deleted.
Disabled SKUs may accumulate over the lifetime of a product as the
product's pricing evolves, and are retained for historical reference.
A SKU in this state generally remains in this state indefinitely, but
may be reactivated if needed. Clients must not depend on inactive SKUs
remaining inactive.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.InactiveSkuPrice inactive = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getManagedServiceMetricUsageFee()
public Sku.SkuPrice.ManagedServiceMetricUsageFee getManagedServiceMetricUsageFee()
Output only. The SKU prices usage reported by the partner for a
partner-defined custom billing metric.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ManagedServiceMetricUsageFee managed_service_metric_usage_fee = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getManagedServiceMetricUsageFeeOrBuilder()
public Sku.SkuPrice.ManagedServiceMetricUsageFeeOrBuilder getManagedServiceMetricUsageFeeOrBuilder()
Output only. The SKU prices usage reported by the partner for a
partner-defined custom billing metric.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ManagedServiceMetricUsageFee managed_service_metric_usage_fee = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<Sku.SkuPrice> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSkuTypeCase()
public Sku.SkuPrice.SkuTypeCase getSkuTypeCase()
public boolean hasAiPlatformDeployedModelUsageFee()
Output only. The SKU prices usage of an AI model deployed on AI
Platform.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformDeployedModelUsageFee ai_platform_deployed_model_usage_fee = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the aiPlatformDeployedModelUsageFee field is set.
|
public boolean hasAiPlatformManagedModelUsageFee()
Output only. The SKU prices usage of an AI Platform Managed Model
(MaaS).
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee ai_platform_managed_model_usage_fee = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the aiPlatformManagedModelUsageFee field is set.
|
public boolean hasAiPlatformProvisionedThroughputFee()
Output only. The SKU prices reservation of AI Platform provisioned
throughput.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformProvisionedThroughputFee ai_platform_provisioned_throughput_fee = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the aiPlatformProvisionedThroughputFee field is set.
|
hasEffectiveTime()
public boolean hasEffectiveTime()
Output only. The start of the time interval during which this price is
effective.
.google.protobuf.Timestamp effective_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the effectiveTime field is set.
|
hasFlatSubscriptionFee()
public boolean hasFlatSubscriptionFee()
Output only. The SKU applies a flat subscription fee.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.FlatSubscriptionFee flat_subscription_fee = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the flatSubscriptionFee field is set.
|
hasGceLicenseUsageFee()
public boolean hasGceLicenseUsageFee()
Output only. The SKU prices usage of a Compute Engine License via a
license fee applied to running instances that use the license.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ComputeEngineLicenseUsageFee gce_license_usage_fee = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the gceLicenseUsageFee field is set.
|
hasGkePodUsageFee()
public boolean hasGkePodUsageFee()
Output only. The SKU prices usage of software deployed on Kubernetes
Engine.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.KubernetesEnginePodUsageFee gke_pod_usage_fee = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the gkePodUsageFee field is set.
|
hasInactive()
public boolean hasInactive()
Output only. The SKU has been disabled and has no price.
SKUs, once created and allowed to go into effect, are never deleted.
Disabled SKUs may accumulate over the lifetime of a product as the
product's pricing evolves, and are retained for historical reference.
A SKU in this state generally remains in this state indefinitely, but
may be reactivated if needed. Clients must not depend on inactive SKUs
remaining inactive.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.InactiveSkuPrice inactive = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the inactive field is set.
|
hasManagedServiceMetricUsageFee()
public boolean hasManagedServiceMetricUsageFee()
Output only. The SKU prices usage reported by the partner for a
partner-defined custom billing metric.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ManagedServiceMetricUsageFee managed_service_metric_usage_fee = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the managedServiceMetricUsageFee field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Sku.SkuPrice.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Sku.SkuPrice.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Sku.SkuPrice.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides