Package com.google.cloud.channel.v1
Interface PlanOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Plan,Plan.Builder
@Generated
public interface PlanOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionReseller Billing account to charge after an offer transaction.com.google.protobuf.ByteStringReseller Billing account to charge after an offer transaction.Describes how frequently the reseller will be billed, such as once per month.Describes how frequently the reseller will be billed, such as once per month.Describes how a reseller will be billed.intDescribes how a reseller will be billed.Specifies when the payment needs to happen.intSpecifies when the payment needs to happen.Present for Offers with a trial period.Present for Offers with a trial period.booleanDescribes how frequently the reseller will be billed, such as once per month.booleanPresent for Offers with a trial period.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPaymentPlanValue
int getPaymentPlanValue()Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 1;- Returns:
- The enum numeric value on the wire for paymentPlan.
-
getPaymentPlan
PaymentPlan getPaymentPlan()Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 1;- Returns:
- The paymentPlan.
-
getPaymentTypeValue
int getPaymentTypeValue()Specifies when the payment needs to happen.
.google.cloud.channel.v1.PaymentType payment_type = 2;- Returns:
- The enum numeric value on the wire for paymentType.
-
getPaymentType
PaymentType getPaymentType()Specifies when the payment needs to happen.
.google.cloud.channel.v1.PaymentType payment_type = 2;- Returns:
- The paymentType.
-
hasPaymentCycle
boolean hasPaymentCycle()Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 3;- Returns:
- Whether the paymentCycle field is set.
-
getPaymentCycle
Period getPaymentCycle()Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 3;- Returns:
- The paymentCycle.
-
getPaymentCycleOrBuilder
PeriodOrBuilder getPaymentCycleOrBuilder()Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 3; -
hasTrialPeriod
boolean hasTrialPeriod()Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.
.google.cloud.channel.v1.Period trial_period = 4;- Returns:
- Whether the trialPeriod field is set.
-
getTrialPeriod
Period getTrialPeriod()Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.
.google.cloud.channel.v1.Period trial_period = 4;- Returns:
- The trialPeriod.
-
getTrialPeriodOrBuilder
PeriodOrBuilder getTrialPeriodOrBuilder()Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.
.google.cloud.channel.v1.Period trial_period = 4; -
getBillingAccount
String getBillingAccount()Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers.
string billing_account = 5;- Returns:
- The billingAccount.
-
getBillingAccountBytes
com.google.protobuf.ByteString getBillingAccountBytes()Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers.
string billing_account = 5;- Returns:
- The bytes for billingAccount.
-