Class RenewalSettings (3.48.0)

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()
Returns
Type Description
RenewalSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RenewalSettings.Builder newBuilder()
Returns
Type Description
RenewalSettings.Builder

newBuilder(RenewalSettings prototype)

public static RenewalSettings.Builder newBuilder(RenewalSettings prototype)
Parameter
Name Description
prototype RenewalSettings
Returns
Type Description
RenewalSettings.Builder

parseDelimitedFrom(InputStream input)

public static RenewalSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RenewalSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenewalSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenewalSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RenewalSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RenewalSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RenewalSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenewalSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RenewalSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RenewalSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RenewalSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenewalSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RenewalSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RenewalSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RenewalSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenewalSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RenewalSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RenewalSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenewalSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenewalSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RenewalSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RenewalSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RenewalSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenewalSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RenewalSettings> parser()
Returns
Type Description
Parser<RenewalSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RenewalSettings getDefaultInstanceForType()
Returns
Type Description
RenewalSettings

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
Type Description
Parser<RenewalSettings>
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
Type Description
PeriodOrBuilder

getPaymentPlan()

public PaymentPlan getPaymentPlan()

Describes how a reseller will be billed.

.google.cloud.channel.v1.PaymentPlan payment_plan = 5;

Returns
Type Description
PaymentPlan

The paymentPlan.

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

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RenewalSettings.Builder newBuilderForType()
Returns
Type Description
RenewalSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RenewalSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RenewalSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RenewalSettings.Builder toBuilder()
Returns
Type Description
RenewalSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException