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 |
---|
Type | Description |
int | |
PAYMENT_CYCLE_FIELD_NUMBER
public static final int PAYMENT_CYCLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PAYMENT_PLAN_FIELD_NUMBER
public static final int PAYMENT_PLAN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESIZE_UNIT_COUNT_FIELD_NUMBER
public static final int RESIZE_UNIT_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static RenewalSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RenewalSettings.Builder newBuilder()
newBuilder(RenewalSettings prototype)
public static RenewalSettings.Builder newBuilder(RenewalSettings prototype)
public static RenewalSettings parseDelimitedFrom(InputStream input)
public static RenewalSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RenewalSettings parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RenewalSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RenewalSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RenewalSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RenewalSettings parseFrom(CodedInputStream input)
public static RenewalSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RenewalSettings parseFrom(InputStream input)
public static RenewalSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RenewalSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RenewalSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RenewalSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public RenewalSettings getDefaultInstanceForType()
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()
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;
getPaymentPlan()
public PaymentPlan getPaymentPlan()
Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 5;
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 |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RenewalSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RenewalSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RenewalSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides