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 PlanOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Plan) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Describes how a reseller will be billed. 31 * </pre> 32 * 33 * <code>.google.cloud.channel.v1.PaymentPlan payment_plan = 1;</code> 34 * 35 * @return The enum numeric value on the wire for paymentPlan. 36 */ getPaymentPlanValue()37 int getPaymentPlanValue(); 38 /** 39 * 40 * 41 * <pre> 42 * Describes how a reseller will be billed. 43 * </pre> 44 * 45 * <code>.google.cloud.channel.v1.PaymentPlan payment_plan = 1;</code> 46 * 47 * @return The paymentPlan. 48 */ getPaymentPlan()49 com.google.cloud.channel.v1.PaymentPlan getPaymentPlan(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Specifies when the payment needs to happen. 56 * </pre> 57 * 58 * <code>.google.cloud.channel.v1.PaymentType payment_type = 2;</code> 59 * 60 * @return The enum numeric value on the wire for paymentType. 61 */ getPaymentTypeValue()62 int getPaymentTypeValue(); 63 /** 64 * 65 * 66 * <pre> 67 * Specifies when the payment needs to happen. 68 * </pre> 69 * 70 * <code>.google.cloud.channel.v1.PaymentType payment_type = 2;</code> 71 * 72 * @return The paymentType. 73 */ getPaymentType()74 com.google.cloud.channel.v1.PaymentType getPaymentType(); 75 76 /** 77 * 78 * 79 * <pre> 80 * Describes how frequently the reseller will be billed, such as 81 * once per month. 82 * </pre> 83 * 84 * <code>.google.cloud.channel.v1.Period payment_cycle = 3;</code> 85 * 86 * @return Whether the paymentCycle field is set. 87 */ hasPaymentCycle()88 boolean hasPaymentCycle(); 89 /** 90 * 91 * 92 * <pre> 93 * Describes how frequently the reseller will be billed, such as 94 * once per month. 95 * </pre> 96 * 97 * <code>.google.cloud.channel.v1.Period payment_cycle = 3;</code> 98 * 99 * @return The paymentCycle. 100 */ getPaymentCycle()101 com.google.cloud.channel.v1.Period getPaymentCycle(); 102 /** 103 * 104 * 105 * <pre> 106 * Describes how frequently the reseller will be billed, such as 107 * once per month. 108 * </pre> 109 * 110 * <code>.google.cloud.channel.v1.Period payment_cycle = 3;</code> 111 */ getPaymentCycleOrBuilder()112 com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder(); 113 114 /** 115 * 116 * 117 * <pre> 118 * Present for Offers with a trial period. 119 * For trial-only Offers, a paid service needs to start before the trial 120 * period ends for continued service. 121 * For Regular Offers with a trial period, the regular pricing goes into 122 * effect when trial period ends, or if paid service is started before the end 123 * of the trial period. 124 * </pre> 125 * 126 * <code>.google.cloud.channel.v1.Period trial_period = 4;</code> 127 * 128 * @return Whether the trialPeriod field is set. 129 */ hasTrialPeriod()130 boolean hasTrialPeriod(); 131 /** 132 * 133 * 134 * <pre> 135 * Present for Offers with a trial period. 136 * For trial-only Offers, a paid service needs to start before the trial 137 * period ends for continued service. 138 * For Regular Offers with a trial period, the regular pricing goes into 139 * effect when trial period ends, or if paid service is started before the end 140 * of the trial period. 141 * </pre> 142 * 143 * <code>.google.cloud.channel.v1.Period trial_period = 4;</code> 144 * 145 * @return The trialPeriod. 146 */ getTrialPeriod()147 com.google.cloud.channel.v1.Period getTrialPeriod(); 148 /** 149 * 150 * 151 * <pre> 152 * Present for Offers with a trial period. 153 * For trial-only Offers, a paid service needs to start before the trial 154 * period ends for continued service. 155 * For Regular Offers with a trial period, the regular pricing goes into 156 * effect when trial period ends, or if paid service is started before the end 157 * of the trial period. 158 * </pre> 159 * 160 * <code>.google.cloud.channel.v1.Period trial_period = 4;</code> 161 */ getTrialPeriodOrBuilder()162 com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder(); 163 164 /** 165 * 166 * 167 * <pre> 168 * Reseller Billing account to charge after an offer transaction. 169 * Only present for Google Cloud Platform offers. 170 * </pre> 171 * 172 * <code>string billing_account = 5;</code> 173 * 174 * @return The billingAccount. 175 */ getBillingAccount()176 java.lang.String getBillingAccount(); 177 /** 178 * 179 * 180 * <pre> 181 * Reseller Billing account to charge after an offer transaction. 182 * Only present for Google Cloud Platform offers. 183 * </pre> 184 * 185 * <code>string billing_account = 5;</code> 186 * 187 * @return The bytes for billingAccount. 188 */ getBillingAccountBytes()189 com.google.protobuf.ByteString getBillingAccountBytes(); 190 } 191