Package com.google.cloud.channel.v1
Interface PriceTierOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PriceTier
,PriceTier.Builder
public interface PriceTierOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getFirstResource()
First resource for which the tier price applies.int
getLastResource()
Last resource for which the tier price applies.Price
getPrice()
Price of the tier.PriceOrBuilder
getPriceOrBuilder()
Price of the tier.boolean
hasPrice()
Price of the tier.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFirstResource
int getFirstResource()
First resource for which the tier price applies.
int32 first_resource = 1;
- Returns:
- The firstResource.
-
getLastResource
int getLastResource()
Last resource for which the tier price applies.
int32 last_resource = 2;
- Returns:
- The lastResource.
-
hasPrice
boolean hasPrice()
Price of the tier.
.google.cloud.channel.v1.Price price = 3;
- Returns:
- Whether the price field is set.
-
getPrice
Price getPrice()
Price of the tier.
.google.cloud.channel.v1.Price price = 3;
- Returns:
- The price.
-
getPriceOrBuilder
PriceOrBuilder getPriceOrBuilder()
Price of the tier.
.google.cloud.channel.v1.Price price = 3;
-
-