• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/channel/v1/offers.proto
18 
19 package com.google.cloud.channel.v1;
20 
21 public interface PricePhaseOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PricePhase)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Defines the phase period type.
31    * </pre>
32    *
33    * <code>.google.cloud.channel.v1.PeriodType period_type = 1;</code>
34    *
35    * @return The enum numeric value on the wire for periodType.
36    */
getPeriodTypeValue()37   int getPeriodTypeValue();
38   /**
39    *
40    *
41    * <pre>
42    * Defines the phase period type.
43    * </pre>
44    *
45    * <code>.google.cloud.channel.v1.PeriodType period_type = 1;</code>
46    *
47    * @return The periodType.
48    */
getPeriodType()49   com.google.cloud.channel.v1.PeriodType getPeriodType();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Defines first period for the phase.
56    * </pre>
57    *
58    * <code>int32 first_period = 2;</code>
59    *
60    * @return The firstPeriod.
61    */
getFirstPeriod()62   int getFirstPeriod();
63 
64   /**
65    *
66    *
67    * <pre>
68    * Defines first period for the phase.
69    * </pre>
70    *
71    * <code>int32 last_period = 3;</code>
72    *
73    * @return The lastPeriod.
74    */
getLastPeriod()75   int getLastPeriod();
76 
77   /**
78    *
79    *
80    * <pre>
81    * Price of the phase. Present if there are no price tiers.
82    * </pre>
83    *
84    * <code>.google.cloud.channel.v1.Price price = 4;</code>
85    *
86    * @return Whether the price field is set.
87    */
hasPrice()88   boolean hasPrice();
89   /**
90    *
91    *
92    * <pre>
93    * Price of the phase. Present if there are no price tiers.
94    * </pre>
95    *
96    * <code>.google.cloud.channel.v1.Price price = 4;</code>
97    *
98    * @return The price.
99    */
getPrice()100   com.google.cloud.channel.v1.Price getPrice();
101   /**
102    *
103    *
104    * <pre>
105    * Price of the phase. Present if there are no price tiers.
106    * </pre>
107    *
108    * <code>.google.cloud.channel.v1.Price price = 4;</code>
109    */
getPriceOrBuilder()110   com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder();
111 
112   /**
113    *
114    *
115    * <pre>
116    * Price by the resource tiers.
117    * </pre>
118    *
119    * <code>repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;</code>
120    */
getPriceTiersList()121   java.util.List<com.google.cloud.channel.v1.PriceTier> getPriceTiersList();
122   /**
123    *
124    *
125    * <pre>
126    * Price by the resource tiers.
127    * </pre>
128    *
129    * <code>repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;</code>
130    */
getPriceTiers(int index)131   com.google.cloud.channel.v1.PriceTier getPriceTiers(int index);
132   /**
133    *
134    *
135    * <pre>
136    * Price by the resource tiers.
137    * </pre>
138    *
139    * <code>repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;</code>
140    */
getPriceTiersCount()141   int getPriceTiersCount();
142   /**
143    *
144    *
145    * <pre>
146    * Price by the resource tiers.
147    * </pre>
148    *
149    * <code>repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;</code>
150    */
151   java.util.List<? extends com.google.cloud.channel.v1.PriceTierOrBuilder>
getPriceTiersOrBuilderList()152       getPriceTiersOrBuilderList();
153   /**
154    *
155    *
156    * <pre>
157    * Price by the resource tiers.
158    * </pre>
159    *
160    * <code>repeated .google.cloud.channel.v1.PriceTier price_tiers = 5;</code>
161    */
getPriceTiersOrBuilder(int index)162   com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int index);
163 }
164