Interface PriceByResourceOrBuilder

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

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

      • getResourceTypeValue

        int getResourceTypeValue()
         Resource Type. Example: SEAT
         
        .google.cloud.channel.v1.ResourceType resource_type = 1;
        Returns:
        The enum numeric value on the wire for resourceType.
      • getResourceType

        ResourceType getResourceType()
         Resource Type. Example: SEAT
         
        .google.cloud.channel.v1.ResourceType resource_type = 1;
        Returns:
        The resourceType.
      • hasPrice

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

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

        PriceOrBuilder getPriceOrBuilder()
         Price of the Offer. Present if there are no price phases.
         
        .google.cloud.channel.v1.Price price = 2;
      • getPricePhasesList

        List<PricePhase> getPricePhasesList()
         Specifies the price by time range.
         
        repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
      • getPricePhases

        PricePhase getPricePhases​(int index)
         Specifies the price by time range.
         
        repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
      • getPricePhasesCount

        int getPricePhasesCount()
         Specifies the price by time range.
         
        repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
      • getPricePhasesOrBuilderList

        List<? extends PricePhaseOrBuilder> getPricePhasesOrBuilderList()
         Specifies the price by time range.
         
        repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
      • getPricePhasesOrBuilder

        PricePhaseOrBuilder getPricePhasesOrBuilder​(int index)
         Specifies the price by time range.
         
        repeated .google.cloud.channel.v1.PricePhase price_phases = 3;