Package com.google.cloud.channel.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetFirstPeriod()Defines first period for the phase.intgetLastPeriod()Defines first period for the phase.PeriodTypegetPeriodType()Defines the phase period type.intgetPeriodTypeValue()Defines the phase period type.PricegetPrice()Price of the phase.PriceOrBuildergetPriceOrBuilder()Price of the phase.PriceTiergetPriceTiers(int index)Price by the resource tiers.intgetPriceTiersCount()Price by the resource tiers.List<PriceTier>getPriceTiersList()Price by the resource tiers.PriceTierOrBuildergetPriceTiersOrBuilder(int index)Price by the resource tiers.List<? extends PriceTierOrBuilder>getPriceTiersOrBuilderList()Price by the resource tiers.booleanhasPrice()Price of the phase.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
-