Package com.google.cloud.channel.v1
Interface RepricingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RepricingConfig,RepricingConfig.Builder
@Generated
public interface RepricingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Deprecated.google.cloud.channel.v1.RepricingConfig.channel_partner_granularity is deprecated.Deprecated.getConditionalOverrides(int index) 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.Required.Required.Required.Required.Required.intRequired.booleanRequired.booleanDeprecated.google.cloud.channel.v1.RepricingConfig.channel_partner_granularity is deprecated.booleanRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEntitlementGranularity
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];- Returns:
- Whether the entitlementGranularity field is set.
-
getEntitlementGranularity
RepricingConfig.EntitlementGranularity 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];- Returns:
- The entitlementGranularity.
-
getEntitlementGranularityOrBuilder
RepricingConfig.EntitlementGranularityOrBuilder 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]; -
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];- 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];- Returns:
- The channelPartnerGranularity.
-
getChannelPartnerGranularityOrBuilder
@Deprecated 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]; -
hasEffectiveInvoiceMonth
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:
- Whether the effectiveInvoiceMonth field is set.
-
getEffectiveInvoiceMonth
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:
- The effectiveInvoiceMonth.
-
getEffectiveInvoiceMonthOrBuilder
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]; -
hasAdjustment
boolean hasAdjustment()Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the adjustment field is set.
-
getAdjustment
RepricingAdjustment getAdjustment()Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The adjustment.
-
getAdjustmentOrBuilder
RepricingAdjustmentOrBuilder getAdjustmentOrBuilder()Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; -
getRebillingBasisValue
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];- Returns:
- The enum numeric value on the wire for rebillingBasis.
-
getRebillingBasis
RebillingBasis 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];- Returns:
- The rebillingBasis.
-
getConditionalOverridesList
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; -
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; -
getConditionalOverridesCount
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; -
getConditionalOverridesOrBuilderList
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; -
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; -
getGranularityCase
RepricingConfig.GranularityCase getGranularityCase()
-