Interface PricePhaseOrBuilder (3.52.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
Type Description
int

The firstPeriod.

getLastPeriod()

public abstract int getLastPeriod()

Defines first period for the phase.

int32 last_period = 3;

Returns
Type Description
int

The lastPeriod.

getPeriodType()

public abstract PeriodType getPeriodType()

Defines the phase period type.

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

Returns
Type Description
PeriodType

The periodType.

getPeriodTypeValue()

public abstract int getPeriodTypeValue()

Defines the phase period type.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
PriceTier

getPriceTiersCount()

public abstract int getPriceTiersCount()

Price by the resource tiers.

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

Returns
Type Description
int

getPriceTiersList()

public abstract List<PriceTier> getPriceTiersList()

Price by the resource tiers.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
PriceTierOrBuilder

getPriceTiersOrBuilderList()

public abstract List<? extends PriceTierOrBuilder> getPriceTiersOrBuilderList()

Price by the resource tiers.

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

Returns
Type Description
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
Type Description
boolean

Whether the price field is set.