- 3.58.0 (latest)
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class RepricingConfig.Builder extends GeneratedMessageV3.Builder<RepricingConfig.Builder> implements RepricingConfigOrBuilder
Configuration for repricing a Google bill over a period of time.
Protobuf type google.cloud.channel.v1.RepricingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RepricingConfig.BuilderImplements
RepricingConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllConditionalOverrides(Iterable<? extends ConditionalOverride> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.channel.v1.ConditionalOverride> |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
addConditionalOverrides(ConditionalOverride value)
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;
Parameter | |
---|---|
Name | Description |
value |
ConditionalOverride |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
addConditionalOverrides(ConditionalOverride.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
ConditionalOverride.Builder |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
addConditionalOverrides(int index, ConditionalOverride value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ConditionalOverride |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
addConditionalOverrides(int index, ConditionalOverride.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ConditionalOverride.Builder |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
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;
Returns | |
---|---|
Type | Description |
ConditionalOverride.Builder |
addConditionalOverridesBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConditionalOverride.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RepricingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
build()
public RepricingConfig build()
Returns | |
---|---|
Type | Description |
RepricingConfig |
buildPartial()
public RepricingConfig buildPartial()
Returns | |
---|---|
Type | Description |
RepricingConfig |
clear()
public RepricingConfig.Builder clear()
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
clearAdjustment()
public RepricingConfig.Builder clearAdjustment()
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
clearChannelPartnerGranularity() (deprecated)
public RepricingConfig.Builder clearChannelPartnerGranularity()
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.Builder |
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;
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
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];
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
clearEntitlementGranularity()
public RepricingConfig.Builder clearEntitlementGranularity()
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.Builder |
clearField(Descriptors.FieldDescriptor field)
public RepricingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
clearGranularity()
public RepricingConfig.Builder clearGranularity()
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RepricingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
clearRebillingBasis()
public RepricingConfig.Builder clearRebillingBasis()
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 |
RepricingConfig.Builder |
This builder for chaining. |
clone()
public RepricingConfig.Builder clone()
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
getAdjustment()
public 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. |
getAdjustmentBuilder()
public RepricingAdjustment.Builder getAdjustmentBuilder()
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RepricingAdjustment.Builder |
getAdjustmentOrBuilder()
public 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 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. |
getChannelPartnerGranularityBuilder() (deprecated)
public RepricingConfig.ChannelPartnerGranularity.Builder getChannelPartnerGranularityBuilder()
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.Builder |
getChannelPartnerGranularityOrBuilder() (deprecated)
public 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 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 |
getConditionalOverridesBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConditionalOverride.Builder |
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
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;
Returns | |
---|---|
Type | Description |
List<ConditionalOverride> |
getConditionalOverridesOrBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConditionalOverrideOrBuilder |
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.channel.v1.ConditionalOverrideOrBuilder> |
getDefaultInstanceForType()
public RepricingConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RepricingConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEffectiveInvoiceMonth()
public 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. |
getEffectiveInvoiceMonthBuilder()
public 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];
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getEffectiveInvoiceMonthOrBuilder()
public 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 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. |
getEntitlementGranularityBuilder()
public RepricingConfig.EntitlementGranularity.Builder getEntitlementGranularityBuilder()
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.Builder |
getEntitlementGranularityOrBuilder()
public 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 RepricingConfig.GranularityCase getGranularityCase()
Returns | |
---|---|
Type | Description |
RepricingConfig.GranularityCase |
getRebillingBasis()
public 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAdjustment(RepricingAdjustment value)
public RepricingConfig.Builder mergeAdjustment(RepricingAdjustment value)
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
RepricingAdjustment |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
mergeChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity value) (deprecated)
public RepricingConfig.Builder mergeChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity value)
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];
Parameter | |
---|---|
Name | Description |
value |
RepricingConfig.ChannelPartnerGranularity |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
mergeEffectiveInvoiceMonth(Date value)
public RepricingConfig.Builder mergeEffectiveInvoiceMonth(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];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
mergeEntitlementGranularity(RepricingConfig.EntitlementGranularity value)
public RepricingConfig.Builder mergeEntitlementGranularity(RepricingConfig.EntitlementGranularity value)
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;
Parameter | |
---|---|
Name | Description |
value |
RepricingConfig.EntitlementGranularity |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
mergeFrom(RepricingConfig other)
public RepricingConfig.Builder mergeFrom(RepricingConfig other)
Parameter | |
---|---|
Name | Description |
other |
RepricingConfig |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RepricingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RepricingConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepricingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
removeConditionalOverrides(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setAdjustment(RepricingAdjustment value)
public RepricingConfig.Builder setAdjustment(RepricingAdjustment value)
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
RepricingAdjustment |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setAdjustment(RepricingAdjustment.Builder builderForValue)
public RepricingConfig.Builder setAdjustment(RepricingAdjustment.Builder builderForValue)
Required. Information about the adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
RepricingAdjustment.Builder |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity value) (deprecated)
public RepricingConfig.Builder setChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity value)
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];
Parameter | |
---|---|
Name | Description |
value |
RepricingConfig.ChannelPartnerGranularity |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity.Builder builderForValue) (deprecated)
public RepricingConfig.Builder setChannelPartnerGranularity(RepricingConfig.ChannelPartnerGranularity.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
RepricingConfig.ChannelPartnerGranularity.Builder |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setConditionalOverrides(int index, ConditionalOverride value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ConditionalOverride |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setConditionalOverrides(int index, ConditionalOverride.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ConditionalOverride.Builder |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setEffectiveInvoiceMonth(Date value)
public RepricingConfig.Builder setEffectiveInvoiceMonth(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];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setEffectiveInvoiceMonth(Date.Builder builderForValue)
public RepricingConfig.Builder setEffectiveInvoiceMonth(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setEntitlementGranularity(RepricingConfig.EntitlementGranularity value)
public RepricingConfig.Builder setEntitlementGranularity(RepricingConfig.EntitlementGranularity value)
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;
Parameter | |
---|---|
Name | Description |
value |
RepricingConfig.EntitlementGranularity |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setEntitlementGranularity(RepricingConfig.EntitlementGranularity.Builder builderForValue)
public RepricingConfig.Builder setEntitlementGranularity(RepricingConfig.EntitlementGranularity.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
RepricingConfig.EntitlementGranularity.Builder |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RepricingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setRebillingBasis(RebillingBasis value)
public RepricingConfig.Builder setRebillingBasis(RebillingBasis value)
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];
Parameter | |
---|---|
Name | Description |
value |
RebillingBasis The rebillingBasis to set. |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
This builder for chaining. |
setRebillingBasisValue(int value)
public RepricingConfig.Builder setRebillingBasisValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for rebillingBasis to set. |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepricingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RepricingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RepricingConfig.Builder |