public final class RenewalSettings extends GeneratedMessageV3 implements RenewalSettingsOrBuilder
Renewal settings for renewable Offers.
Protobuf type google.cloud.channel.v1.RenewalSettings
Static Fields
ENABLE_RENEWAL_FIELD_NUMBER
public static final int ENABLE_RENEWAL_FIELD_NUMBER
Field Value
PAYMENT_CYCLE_FIELD_NUMBER
public static final int PAYMENT_CYCLE_FIELD_NUMBER
Field Value
PAYMENT_PLAN_FIELD_NUMBER
public static final int PAYMENT_PLAN_FIELD_NUMBER
Field Value
RESIZE_UNIT_COUNT_FIELD_NUMBER
public static final int RESIZE_UNIT_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RenewalSettings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RenewalSettings.Builder newBuilder()
Returns
newBuilder(RenewalSettings prototype)
public static RenewalSettings.Builder newBuilder(RenewalSettings prototype)
Parameter
Returns
public static RenewalSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RenewalSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RenewalSettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RenewalSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RenewalSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RenewalSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RenewalSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RenewalSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RenewalSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RenewalSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RenewalSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RenewalSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RenewalSettings> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public RenewalSettings getDefaultInstanceForType()
Returns
getEnableRenewal()
public boolean getEnableRenewal()
If false, the plan will be completed at the end date.
bool enable_renewal = 1;
Returns
Type | Description |
boolean | The enableRenewal.
|
getParserForType()
public Parser<RenewalSettings> getParserForType()
Returns
Overrides
getPaymentCycle()
public Period getPaymentCycle()
Describes how frequently the reseller will be billed, such as
once per month.
.google.cloud.channel.v1.Period payment_cycle = 6;
Returns
Type | Description |
Period | The paymentCycle.
|
getPaymentCycleOrBuilder()
public PeriodOrBuilder getPaymentCycleOrBuilder()
Describes how frequently the reseller will be billed, such as
once per month.
.google.cloud.channel.v1.Period payment_cycle = 6;
Returns
getPaymentPlan()
public PaymentPlan getPaymentPlan()
Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 5;
Returns
getPaymentPlanValue()
public int getPaymentPlanValue()
Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 5;
Returns
Type | Description |
int | The enum numeric value on the wire for paymentPlan.
|
getResizeUnitCount()
public boolean getResizeUnitCount()
If true and enable_renewal = true, the unit (for example seats or licenses)
will be set to the number of active units at renewal time.
bool resize_unit_count = 2;
Returns
Type | Description |
boolean | The resizeUnitCount.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasPaymentCycle()
public boolean hasPaymentCycle()
Describes how frequently the reseller will be billed, such as
once per month.
.google.cloud.channel.v1.Period payment_cycle = 6;
Returns
Type | Description |
boolean | Whether the paymentCycle field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RenewalSettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RenewalSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RenewalSettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions