Interface PricingInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PricingInfo, PricingInfo.Builder

@Generated public interface PricingInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Aggregation Info.
    Aggregation Info.
    double
    Conversion rate used for currency conversion, from USD to the currency specified in the request.
    com.google.protobuf.Timestamp
    The timestamp from which this pricing was effective within the requested time range.
    com.google.protobuf.TimestampOrBuilder
    The timestamp from which this pricing was effective within the requested time range.
    Expresses the pricing formula.
    Expresses the pricing formula.
    An optional human readable summary of the pricing information, has a maximum length of 256 characters.
    com.google.protobuf.ByteString
    An optional human readable summary of the pricing information, has a maximum length of 256 characters.
    boolean
    Aggregation Info.
    boolean
    The timestamp from which this pricing was effective within the requested time range.
    boolean
    Expresses the pricing formula.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasEffectiveTime

      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:
      Whether the effectiveTime field is set.
    • getEffectiveTime

      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;
      Returns:
      The effectiveTime.
    • getEffectiveTimeOrBuilder

      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;
    • getSummary

      String getSummary()
       An optional human readable summary of the pricing information, has a
       maximum length of 256 characters.
       
      string summary = 2;
      Returns:
      The summary.
    • getSummaryBytes

      com.google.protobuf.ByteString getSummaryBytes()
       An optional human readable summary of the pricing information, has a
       maximum length of 256 characters.
       
      string summary = 2;
      Returns:
      The bytes for summary.
    • hasPricingExpression

      boolean hasPricingExpression()
       Expresses the pricing formula. See `PricingExpression` for an example.
       
      .google.cloud.billing.v1.PricingExpression pricing_expression = 3;
      Returns:
      Whether the pricingExpression field is set.
    • getPricingExpression

      PricingExpression getPricingExpression()
       Expresses the pricing formula. See `PricingExpression` for an example.
       
      .google.cloud.billing.v1.PricingExpression pricing_expression = 3;
      Returns:
      The pricingExpression.
    • getPricingExpressionOrBuilder

      PricingExpressionOrBuilder getPricingExpressionOrBuilder()
       Expresses the pricing formula. See `PricingExpression` for an example.
       
      .google.cloud.billing.v1.PricingExpression pricing_expression = 3;
    • hasAggregationInfo

      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:
      Whether the aggregationInfo field is set.
    • getAggregationInfo

      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:
      The aggregationInfo.
    • getAggregationInfoOrBuilder

      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;
    • getCurrencyConversionRate

      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:
      The currencyConversionRate.