Interface PricePhaseOrBuilder (3.6.0)

public interface PricePhaseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFirstPeriod()

public abstract int getFirstPeriod()

Defines first period for the phase.

int32 first_period = 2;

Returns
TypeDescription
int

The firstPeriod.

getLastPeriod()

public abstract int getLastPeriod()

Defines first period for the phase.

int32 last_period = 3;

Returns
TypeDescription
int

The lastPeriod.

getPeriodType()

public abstract PeriodType getPeriodType()

Defines the phase period type.

.google.cloud.channel.v1.PeriodType period_type = 1;

Returns
TypeDescription
PeriodType

The periodType.

getPeriodTypeValue()

public abstract int getPeriodTypeValue()

Defines the phase period type.

.google.cloud.channel.v1.PeriodType period_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for periodType.

getPrice()

public abstract Price getPrice()

Price of the phase. Present if there are no price tiers.

.google.cloud.channel.v1.Price price = 4;

Returns
TypeDescription
Price

The price.

getPriceOrBuilder()

public abstract PriceOrBuilder getPriceOrBuilder()

Price of the phase. Present if there are no price tiers.

.google.cloud.channel.v1.Price price = 4;

Returns
TypeDescription
PriceOrBuilder

getPriceTiers(int index)

public abstract PriceTier getPriceTiers(int index)

Price by the resource tiers.

repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
PriceTier

getPriceTiersCount()

public abstract int getPriceTiersCount()

Price by the resource tiers.

repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;

Returns
TypeDescription
int

getPriceTiersList()

public abstract List<PriceTier> getPriceTiersList()

Price by the resource tiers.

repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;

Returns
TypeDescription
List<PriceTier>

getPriceTiersOrBuilder(int index)

public abstract PriceTierOrBuilder getPriceTiersOrBuilder(int index)

Price by the resource tiers.

repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
PriceTierOrBuilder

getPriceTiersOrBuilderList()

public abstract List<? extends PriceTierOrBuilder> getPriceTiersOrBuilderList()

Price by the resource tiers.

repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;

Returns
TypeDescription
List<? extends com.google.cloud.channel.v1.PriceTierOrBuilder>

hasPrice()

public abstract boolean hasPrice()

Price of the phase. Present if there are no price tiers.

.google.cloud.channel.v1.Price price = 4;

Returns
TypeDescription
boolean

Whether the price field is set.