Interface PricingInfoOrBuilder (2.1.12)

public interface PricingInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getPricingExpression()

public abstract PricingExpression getPricingExpression()

Expresses the pricing formula. See PricingExpression for an example.

.google.cloud.billing.v1.PricingExpression pricing_expression = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the pricingExpression field is set.