public static final class PricingExpression.TierRate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder> implements PricingExpression.TierRateOrBuilder
The price rate indicating starting usage and its corresponding price.Protobuf type
google.cloud.billing.v1.PricingExpression.TierRate| Modifier and Type | Method and Description |
|---|---|
PricingExpression.TierRate.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PricingExpression.TierRate |
build() |
PricingExpression.TierRate |
buildPartial() |
PricingExpression.TierRate.Builder |
clear() |
PricingExpression.TierRate.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PricingExpression.TierRate.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PricingExpression.TierRate.Builder |
clearStartUsageAmount()
Usage is priced at this rate only after this amount.
|
PricingExpression.TierRate.Builder |
clearUnitPrice()
The price per unit of usage.
|
PricingExpression.TierRate.Builder |
clone() |
PricingExpression.TierRate |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getStartUsageAmount()
Usage is priced at this rate only after this amount.
|
com.google.type.Money |
getUnitPrice()
The price per unit of usage.
|
com.google.type.Money.Builder |
getUnitPriceBuilder()
The price per unit of usage.
|
com.google.type.MoneyOrBuilder |
getUnitPriceOrBuilder()
The price per unit of usage.
|
boolean |
hasUnitPrice()
The price per unit of usage.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PricingExpression.TierRate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PricingExpression.TierRate.Builder |
mergeFrom(com.google.protobuf.Message other) |
PricingExpression.TierRate.Builder |
mergeFrom(PricingExpression.TierRate other) |
PricingExpression.TierRate.Builder |
mergeUnitPrice(com.google.type.Money value)
The price per unit of usage.
|
PricingExpression.TierRate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PricingExpression.TierRate.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PricingExpression.TierRate.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PricingExpression.TierRate.Builder |
setStartUsageAmount(double value)
Usage is priced at this rate only after this amount.
|
PricingExpression.TierRate.Builder |
setUnitPrice(com.google.type.Money.Builder builderForValue)
The price per unit of usage.
|
PricingExpression.TierRate.Builder |
setUnitPrice(com.google.type.Money value)
The price per unit of usage.
|
PricingExpression.TierRate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PricingExpression.TierRate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PricingExpression.TierRate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PricingExpression.TierRate.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder mergeFrom(PricingExpression.TierRate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public PricingExpression.TierRate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PricingExpression.TierRate.Builder>IOExceptionpublic double getStartUsageAmount()
Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units.
double start_usage_amount = 1;getStartUsageAmount in interface PricingExpression.TierRateOrBuilderpublic PricingExpression.TierRate.Builder setStartUsageAmount(double value)
Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units.
double start_usage_amount = 1;value - The startUsageAmount to set.public PricingExpression.TierRate.Builder clearStartUsageAmount()
Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units.
double start_usage_amount = 1;public boolean hasUnitPrice()
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;hasUnitPrice in interface PricingExpression.TierRateOrBuilderpublic com.google.type.Money getUnitPrice()
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;getUnitPrice in interface PricingExpression.TierRateOrBuilderpublic PricingExpression.TierRate.Builder setUnitPrice(com.google.type.Money value)
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;public PricingExpression.TierRate.Builder setUnitPrice(com.google.type.Money.Builder builderForValue)
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;public PricingExpression.TierRate.Builder mergeUnitPrice(com.google.type.Money value)
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;public PricingExpression.TierRate.Builder clearUnitPrice()
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;public com.google.type.Money.Builder getUnitPriceBuilder()
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;public com.google.type.MoneyOrBuilder getUnitPriceOrBuilder()
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;getUnitPriceOrBuilder in interface PricingExpression.TierRateOrBuilderpublic final PricingExpression.TierRate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>public final PricingExpression.TierRate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.TierRate.Builder>Copyright © 2025 Google LLC. All rights reserved.