Class 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.GeneratedMessageV3.Builder<RepricingConfig.Builder>
    implements RepricingConfigOrBuilder
     Configuration for repricing a Google bill over a period of time.
     
    Protobuf type google.cloud.channel.v1.RepricingConfig
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • clear

        public RepricingConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • getDefaultInstanceForType

        public RepricingConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RepricingConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RepricingConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RepricingConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • setField

        public RepricingConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • clearField

        public RepricingConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • clearOneof

        public RepricingConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • setRepeatedField

        public RepricingConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        int index,
                                                        Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • addRepeatedField

        public RepricingConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • mergeFrom

        public RepricingConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RepricingConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • mergeFrom

        public RepricingConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RepricingConfig.Builder>
        Throws:
        IOException
      • hasEntitlementGranularity

        public 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;
        Specified by:
        hasEntitlementGranularity in interface RepricingConfigOrBuilder
        Returns:
        Whether the entitlementGranularity field is set.
      • getEntitlementGranularity

        public 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;
        Specified by:
        getEntitlementGranularity in interface RepricingConfigOrBuilder
        Returns:
        The entitlementGranularity.
      • setEntitlementGranularity

        public RepricingConfig.Builder setEntitlementGranularity​(RepricingConfig.EntitlementGranularity value)
         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;
      • setEntitlementGranularity

        public RepricingConfig.Builder setEntitlementGranularity​(RepricingConfig.EntitlementGranularity.Builder builderForValue)
         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;
      • mergeEntitlementGranularity

        public RepricingConfig.Builder mergeEntitlementGranularity​(RepricingConfig.EntitlementGranularity value)
         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;
      • clearEntitlementGranularity

        public RepricingConfig.Builder clearEntitlementGranularity()
         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;
      • getEntitlementGranularityBuilder

        public RepricingConfig.EntitlementGranularity.Builder getEntitlementGranularityBuilder()
         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;
      • getEntitlementGranularityOrBuilder

        public 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;
        Specified by:
        getEntitlementGranularityOrBuilder in interface RepricingConfigOrBuilder
      • hasChannelPartnerGranularity

        @Deprecated
        public 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];
        Specified by:
        hasChannelPartnerGranularity in interface RepricingConfigOrBuilder
        Returns:
        Whether the channelPartnerGranularity field is set.
      • getChannelPartnerGranularity

        @Deprecated
        public 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];
        Specified by:
        getChannelPartnerGranularity in interface RepricingConfigOrBuilder
        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
        public RepricingConfig.Builder 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:
        getChannelPartnerGranularityOrBuilder in interface RepricingConfigOrBuilder
      • 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:
        hasEffectiveInvoiceMonth in interface RepricingConfigOrBuilder
        Returns:
        Whether the effectiveInvoiceMonth field is set.
      • getEffectiveInvoiceMonth

        public 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];
        Specified by:
        getEffectiveInvoiceMonth in interface RepricingConfigOrBuilder
        Returns:
        The effectiveInvoiceMonth.
      • setEffectiveInvoiceMonth

        public RepricingConfig.Builder setEffectiveInvoiceMonth​(com.google.type.Date value)
         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

        public RepricingConfig.Builder setEffectiveInvoiceMonth​(com.google.type.Date.Builder builderForValue)
         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

        public RepricingConfig.Builder mergeEffectiveInvoiceMonth​(com.google.type.Date value)
         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

        public RepricingConfig.Builder 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

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

        public 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];
        Specified by:
        getEffectiveInvoiceMonthOrBuilder in interface RepricingConfigOrBuilder
      • hasAdjustment

        public boolean hasAdjustment()
         Required. Information about the adjustment.
         
        .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAdjustment in interface RepricingConfigOrBuilder
        Returns:
        Whether the adjustment field is set.
      • getAdjustment

        public RepricingAdjustment getAdjustment()
         Required. Information about the adjustment.
         
        .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAdjustment in interface RepricingConfigOrBuilder
        Returns:
        The adjustment.
      • setAdjustment

        public RepricingConfig.Builder setAdjustment​(RepricingAdjustment value)
         Required. Information about the adjustment.
         
        .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
      • setAdjustment

        public RepricingConfig.Builder setAdjustment​(RepricingAdjustment.Builder builderForValue)
         Required. Information about the adjustment.
         
        .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeAdjustment

        public RepricingConfig.Builder mergeAdjustment​(RepricingAdjustment value)
         Required. Information about the adjustment.
         
        .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearAdjustment

        public RepricingConfig.Builder clearAdjustment()
         Required. Information about the adjustment.
         
        .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
      • getAdjustmentBuilder

        public RepricingAdjustment.Builder getAdjustmentBuilder()
         Required. Information about the adjustment.
         
        .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
      • 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:
        getRebillingBasisValue in interface RepricingConfigOrBuilder
        Returns:
        The enum numeric value on the wire for rebillingBasis.
      • setRebillingBasisValue

        public RepricingConfig.Builder setRebillingBasisValue​(int value)
         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

        public 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];
        Specified by:
        getRebillingBasis in interface RepricingConfigOrBuilder
        Returns:
        The rebillingBasis.
      • setRebillingBasis

        public RepricingConfig.Builder setRebillingBasis​(RebillingBasis value)
         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

        public RepricingConfig.Builder 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

        public 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;
        Specified by:
        getConditionalOverridesList in interface RepricingConfigOrBuilder
      • 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:
        getConditionalOverridesCount in interface RepricingConfigOrBuilder
      • getConditionalOverrides

        public 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;
        Specified by:
        getConditionalOverrides in interface RepricingConfigOrBuilder
      • setConditionalOverrides

        public RepricingConfig.Builder setConditionalOverrides​(int index,
                                                               ConditionalOverride value)
         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

        public RepricingConfig.Builder addConditionalOverrides​(ConditionalOverride value)
         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 value)
         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​(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

        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

        public RepricingConfig.Builder 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

        public RepricingConfig.Builder removeConditionalOverrides​(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;
      • getConditionalOverridesBuilder

        public ConditionalOverride.Builder getConditionalOverridesBuilder​(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;
      • getConditionalOverridesOrBuilder

        public 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;
        Specified by:
        getConditionalOverridesOrBuilder in interface RepricingConfigOrBuilder
      • getConditionalOverridesOrBuilderList

        public 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;
        Specified by:
        getConditionalOverridesOrBuilderList in interface RepricingConfigOrBuilder
      • addConditionalOverridesBuilder

        public ConditionalOverride.Builder 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

        public ConditionalOverride.Builder addConditionalOverridesBuilder​(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;
      • getConditionalOverridesBuilderList

        public List<ConditionalOverride.Builder> 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;
      • setUnknownFields

        public final RepricingConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>
      • mergeUnknownFields

        public final RepricingConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RepricingConfig.Builder>