Interface PricePhaseOrBuilder

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

    public interface PricePhaseOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getPeriodTypeValue

        int getPeriodTypeValue()
         Defines the phase period type.
         
        .google.cloud.channel.v1.PeriodType period_type = 1;
        Returns:
        The enum numeric value on the wire for periodType.
      • getPeriodType

        PeriodType getPeriodType()
         Defines the phase period type.
         
        .google.cloud.channel.v1.PeriodType period_type = 1;
        Returns:
        The periodType.
      • getFirstPeriod

        int getFirstPeriod()
         Defines first period for the phase.
         
        int32 first_period = 2;
        Returns:
        The firstPeriod.
      • getLastPeriod

        int getLastPeriod()
         Defines first period for the phase.
         
        int32 last_period = 3;
        Returns:
        The lastPeriod.
      • hasPrice

        boolean hasPrice()
         Price of the phase. Present if there are no price tiers.
         
        .google.cloud.channel.v1.Price price = 4;
        Returns:
        Whether the price field is set.
      • getPrice

        Price getPrice()
         Price of the phase. Present if there are no price tiers.
         
        .google.cloud.channel.v1.Price price = 4;
        Returns:
        The price.
      • getPriceOrBuilder

        PriceOrBuilder getPriceOrBuilder()
         Price of the phase. Present if there are no price tiers.
         
        .google.cloud.channel.v1.Price price = 4;
      • getPriceTiersList

        List<PriceTier> getPriceTiersList()
         Price by the resource tiers.
         
        repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;
      • getPriceTiers

        PriceTier getPriceTiers​(int index)
         Price by the resource tiers.
         
        repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;
      • getPriceTiersCount

        int getPriceTiersCount()
         Price by the resource tiers.
         
        repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;
      • getPriceTiersOrBuilderList

        List<? extends PriceTierOrBuilder> getPriceTiersOrBuilderList()
         Price by the resource tiers.
         
        repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;
      • getPriceTiersOrBuilder

        PriceTierOrBuilder getPriceTiersOrBuilder​(int index)
         Price by the resource tiers.
         
        repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;