Interface CostProjectionOrBuilder

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

    public interface CostProjectionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.type.Money getCost()
      An approximate projection on amount saved or amount incurred.
      com.google.type.MoneyOrBuilder getCostOrBuilder()
      An approximate projection on amount saved or amount incurred.
      com.google.protobuf.Duration getDuration()
      Duration for which this cost applies.
      com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
      Duration for which this cost applies.
      boolean hasCost()
      An approximate projection on amount saved or amount incurred.
      boolean hasDuration()
      Duration for which this cost applies.
      • 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 Detail

      • hasCost

        boolean hasCost()
         An approximate projection on amount saved or amount incurred. Negative cost
         units indicate cost savings and positive cost units indicate increase.
         See google.type.Money documentation for positive/negative units.
        
         A user's permissions may affect whether the cost is computed using list
         prices or custom contract prices.
         
        .google.type.Money cost = 1;
        Returns:
        Whether the cost field is set.
      • getCost

        com.google.type.Money getCost()
         An approximate projection on amount saved or amount incurred. Negative cost
         units indicate cost savings and positive cost units indicate increase.
         See google.type.Money documentation for positive/negative units.
        
         A user's permissions may affect whether the cost is computed using list
         prices or custom contract prices.
         
        .google.type.Money cost = 1;
        Returns:
        The cost.
      • getCostOrBuilder

        com.google.type.MoneyOrBuilder getCostOrBuilder()
         An approximate projection on amount saved or amount incurred. Negative cost
         units indicate cost savings and positive cost units indicate increase.
         See google.type.Money documentation for positive/negative units.
        
         A user's permissions may affect whether the cost is computed using list
         prices or custom contract prices.
         
        .google.type.Money cost = 1;
      • hasDuration

        boolean hasDuration()
         Duration for which this cost applies.
         
        .google.protobuf.Duration duration = 2;
        Returns:
        Whether the duration field is set.
      • getDuration

        com.google.protobuf.Duration getDuration()
         Duration for which this cost applies.
         
        .google.protobuf.Duration duration = 2;
        Returns:
        The duration.
      • getDurationOrBuilder

        com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
         Duration for which this cost applies.
         
        .google.protobuf.Duration duration = 2;