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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConditionalOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConditionalOverride build()
buildPartial()
public ConditionalOverride buildPartial()
clear()
public ConditionalOverride.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public ConditionalOverride.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConditionalOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public ConditionalOverride.Builder clone()
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];
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];
getAdjustmentOrBuilder()
public RepricingAdjustmentOrBuilder getAdjustmentOrBuilder()
Required. Information about the applied override's adjustment.
.google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public ConditionalOverride getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(ConditionalOverride other)
public ConditionalOverride.Builder mergeFrom(ConditionalOverride other)
public ConditionalOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConditionalOverride.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConditionalOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public ConditionalOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConditionalOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final ConditionalOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides