Package com.google.cloud.channel.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Price
getPrice()
Price of the Offer.PriceOrBuilder
getPriceOrBuilder()
Price of the Offer.PricePhase
getPricePhases(int index)
Specifies the price by time range.int
getPricePhasesCount()
Specifies the price by time range.List<PricePhase>
getPricePhasesList()
Specifies the price by time range.PricePhaseOrBuilder
getPricePhasesOrBuilder(int index)
Specifies the price by time range.List<? extends PricePhaseOrBuilder>
getPricePhasesOrBuilderList()
Specifies the price by time range.ResourceType
getResourceType()
Resource Type.int
getResourceTypeValue()
Resource Type.boolean
hasPrice()
Price of the Offer.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
-