- 3.58.0 (latest)
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class RenewalSettings.Builder extends GeneratedMessageV3.Builder<RenewalSettings.Builder> implements RenewalSettingsOrBuilder
Renewal settings for renewable Offers.
Protobuf type google.cloud.channel.v1.RenewalSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RenewalSettings.BuilderImplements
RenewalSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RenewalSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
build()
public RenewalSettings build()
Returns | |
---|---|
Type | Description |
RenewalSettings |
buildPartial()
public RenewalSettings buildPartial()
Returns | |
---|---|
Type | Description |
RenewalSettings |
clear()
public RenewalSettings.Builder clear()
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
clearEnableRenewal()
public RenewalSettings.Builder clearEnableRenewal()
If false, the plan will be completed at the end date.
bool enable_renewal = 1;
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RenewalSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RenewalSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
clearPaymentCycle()
public RenewalSettings.Builder clearPaymentCycle()
Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 6;
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
clearPaymentPlan()
public RenewalSettings.Builder clearPaymentPlan()
Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 5;
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder | This builder for chaining. |
clearResizeUnitCount()
public RenewalSettings.Builder clearResizeUnitCount()
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 |
RenewalSettings.Builder | This builder for chaining. |
clone()
public RenewalSettings.Builder clone()
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
getDefaultInstanceForType()
public RenewalSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RenewalSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
getPaymentCycleBuilder()
public Period.Builder getPaymentCycleBuilder()
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.Builder |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RenewalSettings other)
public RenewalSettings.Builder mergeFrom(RenewalSettings other)
Parameter | |
---|---|
Name | Description |
other | RenewalSettings |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RenewalSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RenewalSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
mergePaymentCycle(Period value)
public RenewalSettings.Builder mergePaymentCycle(Period value)
Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 6;
Parameter | |
---|---|
Name | Description |
value | Period |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RenewalSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
setEnableRenewal(boolean value)
public RenewalSettings.Builder setEnableRenewal(boolean value)
If false, the plan will be completed at the end date.
bool enable_renewal = 1;
Parameter | |
---|---|
Name | Description |
value | boolean The enableRenewal to set. |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RenewalSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
setPaymentCycle(Period value)
public RenewalSettings.Builder setPaymentCycle(Period value)
Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 6;
Parameter | |
---|---|
Name | Description |
value | Period |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
setPaymentCycle(Period.Builder builderForValue)
public RenewalSettings.Builder setPaymentCycle(Period.Builder builderForValue)
Describes how frequently the reseller will be billed, such as once per month.
.google.cloud.channel.v1.Period payment_cycle = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | Period.Builder |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
setPaymentPlan(PaymentPlan value)
public RenewalSettings.Builder setPaymentPlan(PaymentPlan value)
Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 5;
Parameter | |
---|---|
Name | Description |
value | PaymentPlan The paymentPlan to set. |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder | This builder for chaining. |
setPaymentPlanValue(int value)
public RenewalSettings.Builder setPaymentPlanValue(int value)
Describes how a reseller will be billed.
.google.cloud.channel.v1.PaymentPlan payment_plan = 5;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for paymentPlan to set. |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RenewalSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |
setResizeUnitCount(boolean value)
public RenewalSettings.Builder setResizeUnitCount(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value | boolean The resizeUnitCount to set. |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RenewalSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RenewalSettings.Builder |