public static final class ConditionalOverride.Builder extends GeneratedMessage.Builder<ConditionalOverride.Builder> implements ConditionalOverrideOrBuilderSpecifies the override to conditionally apply.
Protobuf type google.cloud.channel.v1.ConditionalOverride
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConditionalOverride.BuilderImplements
ConditionalOverrideOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ConditionalOverride build()| Returns | |
|---|---|
| Type | Description |
ConditionalOverride |
|
buildPartial()
public ConditionalOverride buildPartial()| Returns | |
|---|---|
| Type | Description |
ConditionalOverride |
|
clear()
public ConditionalOverride.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
clearAdjustment()
public ConditionalOverride.Builder clearAdjustment()Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
clearRebillingBasis()
public ConditionalOverride.Builder clearRebillingBasis()Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
This builder for chaining. |
clearRepricingCondition()
public ConditionalOverride.Builder clearRepricingCondition()Required. Specifies the condition which, if met, will apply the override.
.google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
getAdjustment()
public RepricingAdjustment getAdjustment()Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RepricingAdjustment |
The adjustment. |
getAdjustmentBuilder()
public RepricingAdjustment.Builder getAdjustmentBuilder()Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RepricingAdjustment.Builder |
|
getAdjustmentOrBuilder()
public RepricingAdjustmentOrBuilder getAdjustmentOrBuilder()Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RepricingAdjustmentOrBuilder |
|
getDefaultInstanceForType()
public ConditionalOverride getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConditionalOverride |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRebillingBasis()
public RebillingBasis getRebillingBasis()Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RebillingBasis |
The rebillingBasis. |
getRebillingBasisValue()
public int getRebillingBasisValue()Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for rebillingBasis. |
getRepricingCondition()
public RepricingCondition getRepricingCondition()Required. Specifies the condition which, if met, will apply the override.
.google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RepricingCondition |
The repricingCondition. |
getRepricingConditionBuilder()
public RepricingCondition.Builder getRepricingConditionBuilder()Required. Specifies the condition which, if met, will apply the override.
.google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RepricingCondition.Builder |
|
getRepricingConditionOrBuilder()
public RepricingConditionOrBuilder getRepricingConditionOrBuilder()Required. Specifies the condition which, if met, will apply the override.
.google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RepricingConditionOrBuilder |
|
hasAdjustment()
public boolean hasAdjustment()Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adjustment field is set. |
hasRepricingCondition()
public boolean hasRepricingCondition()Required. Specifies the condition which, if met, will apply the override.
.google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the repricingCondition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdjustment(RepricingAdjustment value)
public ConditionalOverride.Builder mergeAdjustment(RepricingAdjustment value)Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RepricingAdjustment |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
mergeFrom(ConditionalOverride other)
public ConditionalOverride.Builder mergeFrom(ConditionalOverride other)| Parameter | |
|---|---|
| Name | Description |
other |
ConditionalOverride |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConditionalOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConditionalOverride.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
mergeRepricingCondition(RepricingCondition value)
public ConditionalOverride.Builder mergeRepricingCondition(RepricingCondition value)Required. Specifies the condition which, if met, will apply the override.
.google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RepricingCondition |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
setAdjustment(RepricingAdjustment value)
public ConditionalOverride.Builder setAdjustment(RepricingAdjustment value)Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RepricingAdjustment |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
setAdjustment(RepricingAdjustment.Builder builderForValue)
public ConditionalOverride.Builder setAdjustment(RepricingAdjustment.Builder builderForValue)Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RepricingAdjustment.Builder |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
setRebillingBasis(RebillingBasis value)
public ConditionalOverride.Builder setRebillingBasis(RebillingBasis value)Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RebillingBasisThe rebillingBasis to set. |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
This builder for chaining. |
setRebillingBasisValue(int value)
public ConditionalOverride.Builder setRebillingBasisValue(int value)Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.
.google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for rebillingBasis to set. |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
This builder for chaining. |
setRepricingCondition(RepricingCondition value)
public ConditionalOverride.Builder setRepricingCondition(RepricingCondition value)Required. Specifies the condition which, if met, will apply the override.
.google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RepricingCondition |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|
setRepricingCondition(RepricingCondition.Builder builderForValue)
public ConditionalOverride.Builder setRepricingCondition(RepricingCondition.Builder builderForValue)Required. Specifies the condition which, if met, will apply the override.
.google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RepricingCondition.Builder |
| Returns | |
|---|---|
| Type | Description |
ConditionalOverride.Builder |
|