Interface RepricingConfigOrBuilder (3.50.0)

public interface RepricingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdjustment()

public abstract RepricingAdjustment getAdjustment()

Required. Information about the adjustment.

.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RepricingAdjustment

The adjustment.

getAdjustmentOrBuilder()

public abstract RepricingAdjustmentOrBuilder getAdjustmentOrBuilder()

Required. Information about the adjustment.

.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RepricingAdjustmentOrBuilder

getChannelPartnerGranularity() (deprecated)

public abstract RepricingConfig.ChannelPartnerGranularity getChannelPartnerGranularity()

Deprecated. google.cloud.channel.v1.RepricingConfig.channel_partner_granularity is deprecated. See google/cloud/channel/v1/repricing.proto;l=139

Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead.

.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true];

Returns
Type Description
RepricingConfig.ChannelPartnerGranularity

The channelPartnerGranularity.

getChannelPartnerGranularityOrBuilder() (deprecated)

public abstract RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder()

Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead.

.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true];

Returns
Type Description
RepricingConfig.ChannelPartnerGranularityOrBuilder

getConditionalOverrides(int index)

public abstract ConditionalOverride getConditionalOverrides(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ConditionalOverride

getConditionalOverridesCount()

public abstract 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;

Returns
Type Description
int

getConditionalOverridesList()

public abstract List<ConditionalOverride> 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;

Returns
Type Description
List<ConditionalOverride>

getConditionalOverridesOrBuilder(int index)

public abstract ConditionalOverrideOrBuilder getConditionalOverridesOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ConditionalOverrideOrBuilder

getConditionalOverridesOrBuilderList()

public abstract List<? extends ConditionalOverrideOrBuilder> 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;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.ConditionalOverrideOrBuilder>

getEffectiveInvoiceMonth()

public abstract Date 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];

Returns
Type Description
com.google.type.Date

The effectiveInvoiceMonth.

getEffectiveInvoiceMonthOrBuilder()

public abstract DateOrBuilder 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];

Returns
Type Description
com.google.type.DateOrBuilder

getEntitlementGranularity()

public abstract RepricingConfig.EntitlementGranularity getEntitlementGranularity()

Applies the repricing configuration at the entitlement level.

Note: If a ChannelPartnerRepricingConfig using RepricingConfig.EntitlementGranularity becomes effective, then no existing or future RepricingConfig.ChannelPartnerGranularity will apply to the RepricingConfig.EntitlementGranularity.entitlement. This is the recommended value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4;

Returns
Type Description
RepricingConfig.EntitlementGranularity

The entitlementGranularity.

getEntitlementGranularityOrBuilder()

public abstract RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder()

Applies the repricing configuration at the entitlement level.

Note: If a ChannelPartnerRepricingConfig using RepricingConfig.EntitlementGranularity becomes effective, then no existing or future RepricingConfig.ChannelPartnerGranularity will apply to the RepricingConfig.EntitlementGranularity.entitlement. This is the recommended value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4;

Returns
Type Description
RepricingConfig.EntitlementGranularityOrBuilder

getGranularityCase()

public abstract RepricingConfig.GranularityCase getGranularityCase()
Returns
Type Description
RepricingConfig.GranularityCase

getRebillingBasis()

public abstract RebillingBasis getRebillingBasis()

Required. The 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
Type Description
RebillingBasis

The rebillingBasis.

getRebillingBasisValue()

public abstract int getRebillingBasisValue()

Required. The 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
Type Description
int

The enum numeric value on the wire for rebillingBasis.

hasAdjustment()

public abstract boolean hasAdjustment()

Required. Information about the adjustment.

.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the adjustment field is set.

hasChannelPartnerGranularity() (deprecated)

public abstract boolean hasChannelPartnerGranularity()

Deprecated. google.cloud.channel.v1.RepricingConfig.channel_partner_granularity is deprecated. See google/cloud/channel/v1/repricing.proto;l=139

Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead.

.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5 [deprecated = true];

Returns
Type Description
boolean

Whether the channelPartnerGranularity field is set.

hasEffectiveInvoiceMonth()

public abstract 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];

Returns
Type Description
boolean

Whether the effectiveInvoiceMonth field is set.

hasEntitlementGranularity()

public abstract boolean hasEntitlementGranularity()

Applies the repricing configuration at the entitlement level.

Note: If a ChannelPartnerRepricingConfig using RepricingConfig.EntitlementGranularity becomes effective, then no existing or future RepricingConfig.ChannelPartnerGranularity will apply to the RepricingConfig.EntitlementGranularity.entitlement. This is the recommended value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig.

.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4;

Returns
Type Description
boolean

Whether the entitlementGranularity field is set.