public interface PriceByResourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPrice()
public abstract Price getPrice()Price of the Offer. Present if there are no price phases.
.google.cloud.channel.v1.Price price = 2;
| Type | Description |
| Price | The price. |
getPriceOrBuilder()
public abstract PriceOrBuilder getPriceOrBuilder()Price of the Offer. Present if there are no price phases.
.google.cloud.channel.v1.Price price = 2;
| Type | Description |
| PriceOrBuilder |
getPricePhases(int index)
public abstract PricePhase getPricePhases(int index)Specifies the price by time range.
repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
| Name | Description |
| index | int |
| Type | Description |
| PricePhase |
getPricePhasesCount()
public abstract int getPricePhasesCount()Specifies the price by time range.
repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
| Type | Description |
| int |
getPricePhasesList()
public abstract List<PricePhase> getPricePhasesList()Specifies the price by time range.
repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
| Type | Description |
| List<PricePhase> |
getPricePhasesOrBuilder(int index)
public abstract PricePhaseOrBuilder getPricePhasesOrBuilder(int index)Specifies the price by time range.
repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
| Name | Description |
| index | int |
| Type | Description |
| PricePhaseOrBuilder |
getPricePhasesOrBuilderList()
public abstract List<? extends PricePhaseOrBuilder> getPricePhasesOrBuilderList()Specifies the price by time range.
repeated .google.cloud.channel.v1.PricePhase price_phases = 3;
| Type | Description |
| List<? extends com.google.cloud.channel.v1.PricePhaseOrBuilder> |
getResourceType()
public abstract ResourceType getResourceType()Resource Type. Example: SEAT
.google.cloud.channel.v1.ResourceType resource_type = 1;
| Type | Description |
| ResourceType | The resourceType. |
getResourceTypeValue()
public abstract int getResourceTypeValue()Resource Type. Example: SEAT
.google.cloud.channel.v1.ResourceType resource_type = 1;
| Type | Description |
| int | The enum numeric value on the wire for resourceType. |
hasPrice()
public abstract boolean hasPrice()Price of the Offer. Present if there are no price phases.
.google.cloud.channel.v1.Price price = 2;
| Type | Description |
| boolean | Whether the price field is set. |