Package com.google.cloud.channel.v1
Class RepricingConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RepricingConfig.Builder>
com.google.cloud.channel.v1.RepricingConfig.Builder
- All Implemented Interfaces:
RepricingConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RepricingConfig
public static final class RepricingConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RepricingConfig.Builder>
implements RepricingConfigOrBuilder
Configuration for repricing a Google bill over a period of time.Protobuf type
google.cloud.channel.v1.RepricingConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllConditionalOverrides(Iterable<? extends ConditionalOverride> values) The conditional overrides to apply for this configuration.addConditionalOverrides(int index, ConditionalOverride value) The conditional overrides to apply for this configuration.addConditionalOverrides(int index, ConditionalOverride.Builder builderForValue) The conditional overrides to apply for this configuration.The conditional overrides to apply for this configuration.addConditionalOverrides(ConditionalOverride.Builder builderForValue) The conditional overrides to apply for this configuration.The conditional overrides to apply for this configuration.addConditionalOverridesBuilder(int index) The conditional overrides to apply for this configuration.build()clear()Required.Deprecated.The conditional overrides to apply for this configuration.Required.Required.Required.Required.Required.Required.Deprecated.google.cloud.channel.v1.RepricingConfig.channel_partner_granularity is deprecated.Deprecated.Deprecated.getConditionalOverrides(int index) The conditional overrides to apply for this configuration.getConditionalOverridesBuilder(int index) The conditional overrides to apply for this configuration.The conditional overrides to apply for this configuration.intThe conditional overrides to apply for this configuration.The conditional overrides to apply for this configuration.getConditionalOverridesOrBuilder(int index) The conditional overrides to apply for this configuration.List<? extends ConditionalOverrideOrBuilder>The conditional overrides to apply for this configuration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.Required.Required.Required.Required.Required.Required.intRequired.booleanRequired.booleanDeprecated.google.cloud.channel.v1.RepricingConfig.channel_partner_granularity is deprecated.booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanRequired.Deprecated.mergeEffectiveInvoiceMonth(Date value) Required.Required.mergeFrom(RepricingConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeConditionalOverrides(int index) The conditional overrides to apply for this configuration.setAdjustment(RepricingAdjustment value) Required.setAdjustment(RepricingAdjustment.Builder builderForValue) Required.Deprecated.Deprecated.setConditionalOverrides(int index, ConditionalOverride value) The conditional overrides to apply for this configuration.setConditionalOverrides(int index, ConditionalOverride.Builder builderForValue) The conditional overrides to apply for this configuration.setEffectiveInvoiceMonth(Date value) Required.setEffectiveInvoiceMonth(Date.Builder builderForValue) Required.Required.setEntitlementGranularity(RepricingConfig.EntitlementGranularity.Builder builderForValue) Required.setRebillingBasis(RebillingBasis value) Required.setRebillingBasisValue(int value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RepricingConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RepricingConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RepricingConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RepricingConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RepricingConfig.Builder>
-
mergeFrom
public RepricingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RepricingConfig.Builder>- Throws:
IOException
-
getGranularityCase
- Specified by:
getGranularityCasein interfaceRepricingConfigOrBuilder
-
clearGranularity
-
hasEntitlementGranularity
public boolean hasEntitlementGranularity()Required. Applies the repricing configuration at the entitlement level. Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasEntitlementGranularityin interfaceRepricingConfigOrBuilder- Returns:
- Whether the entitlementGranularity field is set.
-
getEntitlementGranularity
Required. Applies the repricing configuration at the entitlement level. Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEntitlementGranularityin interfaceRepricingConfigOrBuilder- Returns:
- The entitlementGranularity.
-
setEntitlementGranularity
public RepricingConfig.Builder setEntitlementGranularity(RepricingConfig.EntitlementGranularity value) Required. Applies the repricing configuration at the entitlement level. Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4 [(.google.api.field_behavior) = REQUIRED]; -
setEntitlementGranularity
public RepricingConfig.Builder setEntitlementGranularity(RepricingConfig.EntitlementGranularity.Builder builderForValue) Required. Applies the repricing configuration at the entitlement level. Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4 [(.google.api.field_behavior) = REQUIRED]; -
mergeEntitlementGranularity
public RepricingConfig.Builder mergeEntitlementGranularity(RepricingConfig.EntitlementGranularity value) Required. Applies the repricing configuration at the entitlement level. Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearEntitlementGranularity
Required. Applies the repricing configuration at the entitlement level. Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4 [(.google.api.field_behavior) = REQUIRED]; -
getEntitlementGranularityBuilder
Required. Applies the repricing configuration at the entitlement level. Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4 [(.google.api.field_behavior) = REQUIRED]; -
getEntitlementGranularityOrBuilder
Required. Applies the repricing configuration at the entitlement level. Note: If a [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] using [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] becomes effective, then no existing or future [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] will apply to the [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. This is the recommended value for both [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] and [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEntitlementGranularityOrBuilderin interfaceRepricingConfigOrBuilder
-
hasChannelPartnerGranularity
Deprecated.google.cloud.channel.v1.RepricingConfig.channel_partner_granularity is deprecated. See google/cloud/channel/v1/repricing.proto;l=140Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.
.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true];- Specified by:
hasChannelPartnerGranularityin interfaceRepricingConfigOrBuilder- Returns:
- Whether the channelPartnerGranularity field is set.
-
getChannelPartnerGranularity
Deprecated.google.cloud.channel.v1.RepricingConfig.channel_partner_granularity is deprecated. See google/cloud/channel/v1/repricing.proto;l=140Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.
.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true];- Specified by:
getChannelPartnerGranularityin interfaceRepricingConfigOrBuilder- Returns:
- The channelPartnerGranularity.
-
setChannelPartnerGranularity
@Deprecated public RepricingConfig.Builder setChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity value) Deprecated.Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.
.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true]; -
setChannelPartnerGranularity
@Deprecated public RepricingConfig.Builder setChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity.Builder builderForValue) Deprecated.Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.
.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true]; -
mergeChannelPartnerGranularity
@Deprecated public RepricingConfig.Builder mergeChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity value) Deprecated.Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.
.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true]; -
clearChannelPartnerGranularity
Deprecated.Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.
.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true]; -
getChannelPartnerGranularityBuilder
@Deprecated public RepricingConfig.ChannelPartnerGranularity.Builder getChannelPartnerGranularityBuilder()Deprecated.Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.
.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true]; -
getChannelPartnerGranularityOrBuilder
@Deprecated public RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder()Deprecated.Applies the repricing configuration at the channel partner level. Only [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] supports this value. Deprecated: This is no longer supported. Use [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] instead.
.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true];- Specified by:
getChannelPartnerGranularityOrBuilderin interfaceRepricingConfigOrBuilder
-
hasEffectiveInvoiceMonth
public boolean hasEffectiveInvoiceMonth()Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasEffectiveInvoiceMonthin interfaceRepricingConfigOrBuilder- Returns:
- Whether the effectiveInvoiceMonth field is set.
-
getEffectiveInvoiceMonth
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEffectiveInvoiceMonthin interfaceRepricingConfigOrBuilder- Returns:
- The effectiveInvoiceMonth.
-
setEffectiveInvoiceMonth
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; -
setEffectiveInvoiceMonth
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeEffectiveInvoiceMonth
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearEffectiveInvoiceMonth
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; -
getEffectiveInvoiceMonthBuilder
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; -
getEffectiveInvoiceMonthOrBuilder
Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.
.google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEffectiveInvoiceMonthOrBuilderin interfaceRepricingConfigOrBuilder
-
hasAdjustment
public boolean hasAdjustment()Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasAdjustmentin interfaceRepricingConfigOrBuilder- Returns:
- Whether the adjustment field is set.
-
getAdjustment
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdjustmentin interfaceRepricingConfigOrBuilder- Returns:
- The adjustment.
-
setAdjustment
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; -
setAdjustment
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; -
mergeAdjustment
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearAdjustment
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; -
getAdjustmentBuilder
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; -
getAdjustmentOrBuilder
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdjustmentOrBuilderin interfaceRepricingConfigOrBuilder
-
getRebillingBasisValue
public int getRebillingBasisValue()Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost based on repricing costs you will apply.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRebillingBasisValuein interfaceRepricingConfigOrBuilder- Returns:
- The enum numeric value on the wire for rebillingBasis.
-
setRebillingBasisValue
Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost based on repricing costs you will apply.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for rebillingBasis to set.- Returns:
- This builder for chaining.
-
getRebillingBasis
Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost based on repricing costs you will apply.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getRebillingBasisin interfaceRepricingConfigOrBuilder- Returns:
- The rebillingBasis.
-
setRebillingBasis
Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost based on repricing costs you will apply.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The rebillingBasis to set.- Returns:
- This builder for chaining.
-
clearRebillingBasis
Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost based on repricing costs you will apply.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getConditionalOverridesList
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;- Specified by:
getConditionalOverridesListin interfaceRepricingConfigOrBuilder
-
getConditionalOverridesCount
public int getConditionalOverridesCount()The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;- Specified by:
getConditionalOverridesCountin interfaceRepricingConfigOrBuilder
-
getConditionalOverrides
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;- Specified by:
getConditionalOverridesin interfaceRepricingConfigOrBuilder
-
setConditionalOverrides
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
setConditionalOverrides
public RepricingConfig.Builder setConditionalOverrides(int index, ConditionalOverride.Builder builderForValue) The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
addConditionalOverrides
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
addConditionalOverrides
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
addConditionalOverrides
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
addConditionalOverrides
public RepricingConfig.Builder addConditionalOverrides(int index, ConditionalOverride.Builder builderForValue) The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
addAllConditionalOverrides
public RepricingConfig.Builder addAllConditionalOverrides(Iterable<? extends ConditionalOverride> values) The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
clearConditionalOverrides
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
removeConditionalOverrides
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
getConditionalOverridesBuilder
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
getConditionalOverridesOrBuilder
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;- Specified by:
getConditionalOverridesOrBuilderin interfaceRepricingConfigOrBuilder
-
getConditionalOverridesOrBuilderList
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;- Specified by:
getConditionalOverridesOrBuilderListin interfaceRepricingConfigOrBuilder
-
addConditionalOverridesBuilder
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
addConditionalOverridesBuilder
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; -
getConditionalOverridesBuilderList
The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.
repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
-