Class Sku.SkuPrice (0.1.0)

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

Static Fields

AI_PLATFORM_DEPLOYED_MODEL_USAGE_FEE_FIELD_NUMBER

public static final int AI_PLATFORM_DEPLOYED_MODEL_USAGE_FEE_FIELD_NUMBER
Field Value
Type Description
int

AI_PLATFORM_MANAGED_MODEL_USAGE_FEE_FIELD_NUMBER

public static final int AI_PLATFORM_MANAGED_MODEL_USAGE_FEE_FIELD_NUMBER
Field Value
Type Description
int

AI_PLATFORM_PROVISIONED_THROUGHPUT_FEE_FIELD_NUMBER

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()
Returns
Type Description
Sku.SkuPrice

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Sku.SkuPrice.Builder newBuilder()
Returns
Type Description
Sku.SkuPrice.Builder

newBuilder(Sku.SkuPrice prototype)

public static Sku.SkuPrice.Builder newBuilder(Sku.SkuPrice prototype)
Parameter
Name Description
prototype Sku.SkuPrice
Returns
Type Description
Sku.SkuPrice.Builder

parseDelimitedFrom(InputStream input)

public static Sku.SkuPrice parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Sku.SkuPrice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Sku.SkuPrice parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Sku.SkuPrice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Sku.SkuPrice parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Sku.SkuPrice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Sku.SkuPrice parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Sku.SkuPrice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Sku.SkuPrice parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Sku.SkuPrice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Sku.SkuPrice parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Sku.SkuPrice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Sku.SkuPrice
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Sku.SkuPrice> parser()
Returns
Type Description
Parser<SkuPrice>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAiPlatformDeployedModelUsageFee()

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];

Returns
Type Description
Sku.SkuPrice.AiPlatformDeployedModelUsageFee

The aiPlatformDeployedModelUsageFee.

getAiPlatformDeployedModelUsageFeeOrBuilder()

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];

Returns
Type Description
Sku.SkuPrice.AiPlatformDeployedModelUsageFeeOrBuilder

getAiPlatformManagedModelUsageFee()

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];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFee

The aiPlatformManagedModelUsageFee.

getAiPlatformManagedModelUsageFeeOrBuilder()

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];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelUsageFeeOrBuilder

getAiPlatformProvisionedThroughputFee()

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];

Returns
Type Description
Sku.SkuPrice.AiPlatformProvisionedThroughputFee

The aiPlatformProvisionedThroughputFee.

getAiPlatformProvisionedThroughputFeeOrBuilder()

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];

Returns
Type Description
Sku.SkuPrice.AiPlatformProvisionedThroughputFeeOrBuilder

getDefaultInstanceForType()

public Sku.SkuPrice getDefaultInstanceForType()
Returns
Type Description
Sku.SkuPrice

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];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
Sku.SkuPrice.FlatSubscriptionFee

The flatSubscriptionFee.

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];

Returns
Type Description
Sku.SkuPrice.FlatSubscriptionFeeOrBuilder

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];

Returns
Type Description
Sku.SkuPrice.ComputeEngineLicenseUsageFee

The gceLicenseUsageFee.

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];

Returns
Type Description
Sku.SkuPrice.ComputeEngineLicenseUsageFeeOrBuilder

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];

Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee

The gkePodUsageFee.

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];

Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFeeOrBuilder

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];

Returns
Type Description
Sku.SkuPrice.InactiveSkuPrice

The inactive.

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];

Returns
Type Description
Sku.SkuPrice.InactiveSkuPriceOrBuilder

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];

Returns
Type Description
Sku.SkuPrice.ManagedServiceMetricUsageFee

The managedServiceMetricUsageFee.

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];

Returns
Type Description
Sku.SkuPrice.ManagedServiceMetricUsageFeeOrBuilder

getParserForType()

public Parser<Sku.SkuPrice> getParserForType()
Returns
Type Description
Parser<SkuPrice>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkuTypeCase()

public Sku.SkuPrice.SkuTypeCase getSkuTypeCase()
Returns
Type Description
Sku.SkuPrice.SkuTypeCase

hasAiPlatformDeployedModelUsageFee()

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.

hasAiPlatformManagedModelUsageFee()

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.

hasAiPlatformProvisionedThroughputFee()

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Sku.SkuPrice.Builder newBuilderForType()
Returns
Type Description
Sku.SkuPrice.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Sku.SkuPrice.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Sku.SkuPrice.Builder
Overrides

toBuilder()

public Sku.SkuPrice.Builder toBuilder()
Returns
Type Description
Sku.SkuPrice.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException