public static final class ConditionalOverride.Builder extends GeneratedMessageV3.Builder<ConditionalOverride.Builder> implements ConditionalOverrideOrBuilder
Specifies the override to conditionally apply.
Protobuf type google.cloud.channel.v1.ConditionalOverride
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConditionalOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConditionalOverride build()
Returns
buildPartial()
public ConditionalOverride buildPartial()
Returns
clear()
public ConditionalOverride.Builder clear()
Returns
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public ConditionalOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConditionalOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
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
clone()
public ConditionalOverride.Builder clone()
Returns
Overrides
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
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
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
getDefaultInstanceForType()
public ConditionalOverride getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
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
Returns
mergeFrom(ConditionalOverride other)
public ConditionalOverride.Builder mergeFrom(ConditionalOverride other)
Parameter
Returns
public ConditionalOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConditionalOverride.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConditionalOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ConditionalOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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 | int
The enum numeric value on the wire for rebillingBasis to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConditionalOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ConditionalOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides