public static final class PricingInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PricingInfo.Builder> implements PricingInfoOrBuilder
Represents the pricing information for a SKU at a single point of time.Protobuf type
google.cloud.billing.v1.PricingInfo| Modifier and Type | Method and Description |
|---|---|
PricingInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PricingInfo |
build() |
PricingInfo |
buildPartial() |
PricingInfo.Builder |
clear() |
PricingInfo.Builder |
clearAggregationInfo()
Aggregation Info.
|
PricingInfo.Builder |
clearCurrencyConversionRate()
Conversion rate used for currency conversion, from USD to the currency
specified in the request.
|
PricingInfo.Builder |
clearEffectiveTime()
The timestamp from which this pricing was effective within the requested
time range.
|
PricingInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PricingInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PricingInfo.Builder |
clearPricingExpression()
Expresses the pricing formula.
|
PricingInfo.Builder |
clearSummary()
An optional human readable summary of the pricing information, has a
maximum length of 256 characters.
|
PricingInfo.Builder |
clone() |
AggregationInfo |
getAggregationInfo()
Aggregation Info.
|
AggregationInfo.Builder |
getAggregationInfoBuilder()
Aggregation Info.
|
AggregationInfoOrBuilder |
getAggregationInfoOrBuilder()
Aggregation Info.
|
double |
getCurrencyConversionRate()
Conversion rate used for currency conversion, from USD to the currency
specified in the request.
|
PricingInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEffectiveTime()
The timestamp from which this pricing was effective within the requested
time range.
|
com.google.protobuf.Timestamp.Builder |
getEffectiveTimeBuilder()
The timestamp from which this pricing was effective within the requested
time range.
|
com.google.protobuf.TimestampOrBuilder |
getEffectiveTimeOrBuilder()
The timestamp from which this pricing was effective within the requested
time range.
|
PricingExpression |
getPricingExpression()
Expresses the pricing formula.
|
PricingExpression.Builder |
getPricingExpressionBuilder()
Expresses the pricing formula.
|
PricingExpressionOrBuilder |
getPricingExpressionOrBuilder()
Expresses the pricing formula.
|
String |
getSummary()
An optional human readable summary of the pricing information, has a
maximum length of 256 characters.
|
com.google.protobuf.ByteString |
getSummaryBytes()
An optional human readable summary of the pricing information, has a
maximum length of 256 characters.
|
boolean |
hasAggregationInfo()
Aggregation Info.
|
boolean |
hasEffectiveTime()
The timestamp from which this pricing was effective within the requested
time range.
|
boolean |
hasPricingExpression()
Expresses the pricing formula.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PricingInfo.Builder |
mergeAggregationInfo(AggregationInfo value)
Aggregation Info.
|
PricingInfo.Builder |
mergeEffectiveTime(com.google.protobuf.Timestamp value)
The timestamp from which this pricing was effective within the requested
time range.
|
PricingInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PricingInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
PricingInfo.Builder |
mergeFrom(PricingInfo other) |
PricingInfo.Builder |
mergePricingExpression(PricingExpression value)
Expresses the pricing formula.
|
PricingInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PricingInfo.Builder |
setAggregationInfo(AggregationInfo.Builder builderForValue)
Aggregation Info.
|
PricingInfo.Builder |
setAggregationInfo(AggregationInfo value)
Aggregation Info.
|
PricingInfo.Builder |
setCurrencyConversionRate(double value)
Conversion rate used for currency conversion, from USD to the currency
specified in the request.
|
PricingInfo.Builder |
setEffectiveTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp from which this pricing was effective within the requested
time range.
|
PricingInfo.Builder |
setEffectiveTime(com.google.protobuf.Timestamp value)
The timestamp from which this pricing was effective within the requested
time range.
|
PricingInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PricingInfo.Builder |
setPricingExpression(PricingExpression.Builder builderForValue)
Expresses the pricing formula.
|
PricingInfo.Builder |
setPricingExpression(PricingExpression value)
Expresses the pricing formula.
|
PricingInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PricingInfo.Builder |
setSummary(String value)
An optional human readable summary of the pricing information, has a
maximum length of 256 characters.
|
PricingInfo.Builder |
setSummaryBytes(com.google.protobuf.ByteString value)
An optional human readable summary of the pricing information, has a
maximum length of 256 characters.
|
PricingInfo.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<PricingInfo.Builder>public PricingInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PricingInfo.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<PricingInfo.Builder>public PricingInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PricingInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PricingInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PricingInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PricingInfo.Builder>public PricingInfo.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<PricingInfo.Builder>public PricingInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingInfo.Builder>public PricingInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PricingInfo.Builder>public PricingInfo.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<PricingInfo.Builder>public PricingInfo.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<PricingInfo.Builder>public PricingInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PricingInfo.Builder>public PricingInfo.Builder mergeFrom(PricingInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PricingInfo.Builder>public PricingInfo.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<PricingInfo.Builder>IOExceptionpublic boolean hasEffectiveTime()
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
.google.protobuf.Timestamp effective_time = 1;hasEffectiveTime in interface PricingInfoOrBuilderpublic com.google.protobuf.Timestamp getEffectiveTime()
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
.google.protobuf.Timestamp effective_time = 1;getEffectiveTime in interface PricingInfoOrBuilderpublic PricingInfo.Builder setEffectiveTime(com.google.protobuf.Timestamp value)
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
.google.protobuf.Timestamp effective_time = 1;public PricingInfo.Builder setEffectiveTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
.google.protobuf.Timestamp effective_time = 1;public PricingInfo.Builder mergeEffectiveTime(com.google.protobuf.Timestamp value)
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
.google.protobuf.Timestamp effective_time = 1;public PricingInfo.Builder clearEffectiveTime()
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
.google.protobuf.Timestamp effective_time = 1;public com.google.protobuf.Timestamp.Builder getEffectiveTimeBuilder()
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
.google.protobuf.Timestamp effective_time = 1;public com.google.protobuf.TimestampOrBuilder getEffectiveTimeOrBuilder()
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
.google.protobuf.Timestamp effective_time = 1;getEffectiveTimeOrBuilder in interface PricingInfoOrBuilderpublic String getSummary()
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
string summary = 2;getSummary in interface PricingInfoOrBuilderpublic com.google.protobuf.ByteString getSummaryBytes()
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
string summary = 2;getSummaryBytes in interface PricingInfoOrBuilderpublic PricingInfo.Builder setSummary(String value)
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
string summary = 2;value - The summary to set.public PricingInfo.Builder clearSummary()
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
string summary = 2;public PricingInfo.Builder setSummaryBytes(com.google.protobuf.ByteString value)
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
string summary = 2;value - The bytes for summary to set.public boolean hasPricingExpression()
Expresses the pricing formula. See `PricingExpression` for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;hasPricingExpression in interface PricingInfoOrBuilderpublic PricingExpression getPricingExpression()
Expresses the pricing formula. See `PricingExpression` for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;getPricingExpression in interface PricingInfoOrBuilderpublic PricingInfo.Builder setPricingExpression(PricingExpression value)
Expresses the pricing formula. See `PricingExpression` for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;public PricingInfo.Builder setPricingExpression(PricingExpression.Builder builderForValue)
Expresses the pricing formula. See `PricingExpression` for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;public PricingInfo.Builder mergePricingExpression(PricingExpression value)
Expresses the pricing formula. See `PricingExpression` for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;public PricingInfo.Builder clearPricingExpression()
Expresses the pricing formula. See `PricingExpression` for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;public PricingExpression.Builder getPricingExpressionBuilder()
Expresses the pricing formula. See `PricingExpression` for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;public PricingExpressionOrBuilder getPricingExpressionOrBuilder()
Expresses the pricing formula. See `PricingExpression` for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;getPricingExpressionOrBuilder in interface PricingInfoOrBuilderpublic boolean hasAggregationInfo()
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
.google.cloud.billing.v1.AggregationInfo aggregation_info = 4;hasAggregationInfo in interface PricingInfoOrBuilderpublic AggregationInfo getAggregationInfo()
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
.google.cloud.billing.v1.AggregationInfo aggregation_info = 4;getAggregationInfo in interface PricingInfoOrBuilderpublic PricingInfo.Builder setAggregationInfo(AggregationInfo value)
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
.google.cloud.billing.v1.AggregationInfo aggregation_info = 4;public PricingInfo.Builder setAggregationInfo(AggregationInfo.Builder builderForValue)
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
.google.cloud.billing.v1.AggregationInfo aggregation_info = 4;public PricingInfo.Builder mergeAggregationInfo(AggregationInfo value)
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
.google.cloud.billing.v1.AggregationInfo aggregation_info = 4;public PricingInfo.Builder clearAggregationInfo()
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
.google.cloud.billing.v1.AggregationInfo aggregation_info = 4;public AggregationInfo.Builder getAggregationInfoBuilder()
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
.google.cloud.billing.v1.AggregationInfo aggregation_info = 4;public AggregationInfoOrBuilder getAggregationInfoOrBuilder()
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
.google.cloud.billing.v1.AggregationInfo aggregation_info = 4;getAggregationInfoOrBuilder in interface PricingInfoOrBuilderpublic double getCurrencyConversionRate()
Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY
double currency_conversion_rate = 5;getCurrencyConversionRate in interface PricingInfoOrBuilderpublic PricingInfo.Builder setCurrencyConversionRate(double value)
Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY
double currency_conversion_rate = 5;value - The currencyConversionRate to set.public PricingInfo.Builder clearCurrencyConversionRate()
Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY
double currency_conversion_rate = 5;public final PricingInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PricingInfo.Builder>public final PricingInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PricingInfo.Builder>Copyright © 2024 Google LLC. All rights reserved.