- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.5
- 2.2.1
- 2.1.12
public interface PricingInfoOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAggregationInfo()
public abstract 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;
Returns | |
---|---|
Type | Description |
AggregationInfo | The aggregationInfo. |
getAggregationInfoOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
AggregationInfoOrBuilder |
getCurrencyConversionRate()
public abstract 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;
Returns | |
---|---|
Type | Description |
double | The currencyConversionRate. |
getEffectiveTime()
public abstract 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;
Returns | |
---|---|
Type | Description |
Timestamp | The effectiveTime. |
getEffectiveTimeOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getPricingExpression()
public abstract PricingExpression getPricingExpression()
Expresses the pricing formula. See PricingExpression
for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;
Returns | |
---|---|
Type | Description |
PricingExpression | The pricingExpression. |
getPricingExpressionOrBuilder()
public abstract PricingExpressionOrBuilder getPricingExpressionOrBuilder()
Expresses the pricing formula. See PricingExpression
for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;
Returns | |
---|---|
Type | Description |
PricingExpressionOrBuilder |
getSummary()
public abstract String getSummary()
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
string summary = 2;
Returns | |
---|---|
Type | Description |
String | The summary. |
getSummaryBytes()
public abstract ByteString getSummaryBytes()
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
string summary = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for summary. |
hasAggregationInfo()
public abstract 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the aggregationInfo field is set. |
hasEffectiveTime()
public abstract 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the effectiveTime field is set. |
hasPricingExpression()
public abstract boolean hasPricingExpression()
Expresses the pricing formula. See PricingExpression
for an example.
.google.cloud.billing.v1.PricingExpression pricing_expression = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the pricingExpression field is set. |