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 PriceTierOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PriceTier) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * First resource for which the tier price applies. 31 * </pre> 32 * 33 * <code>int32 first_resource = 1;</code> 34 * 35 * @return The firstResource. 36 */ getFirstResource()37 int getFirstResource(); 38 39 /** 40 * 41 * 42 * <pre> 43 * Last resource for which the tier price applies. 44 * </pre> 45 * 46 * <code>int32 last_resource = 2;</code> 47 * 48 * @return The lastResource. 49 */ getLastResource()50 int getLastResource(); 51 52 /** 53 * 54 * 55 * <pre> 56 * Price of the tier. 57 * </pre> 58 * 59 * <code>.google.cloud.channel.v1.Price price = 3;</code> 60 * 61 * @return Whether the price field is set. 62 */ hasPrice()63 boolean hasPrice(); 64 /** 65 * 66 * 67 * <pre> 68 * Price of the tier. 69 * </pre> 70 * 71 * <code>.google.cloud.channel.v1.Price price = 3;</code> 72 * 73 * @return The price. 74 */ getPrice()75 com.google.cloud.channel.v1.Price getPrice(); 76 /** 77 * 78 * 79 * <pre> 80 * Price of the tier. 81 * </pre> 82 * 83 * <code>.google.cloud.channel.v1.Price price = 3;</code> 84 */ getPriceOrBuilder()85 com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder(); 86 } 87