Interface RepricingConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RepricingConfig, RepricingConfig.Builder

    public interface RepricingConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasEntitlementGranularity

        boolean hasEntitlementGranularity()
         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;
        Returns:
        Whether the entitlementGranularity field is set.
      • getEntitlementGranularity

        RepricingConfig.EntitlementGranularity getEntitlementGranularity()
         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;
        Returns:
        The entitlementGranularity.
      • getEntitlementGranularityOrBuilder

        RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder()
         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;
      • hasChannelPartnerGranularity

        @Deprecated
        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][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
        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][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

        com.google.type.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

        com.google.type.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

        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;
      • 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

        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;