public static final class RepricingCondition.Builder extends GeneratedMessageV3.Builder<RepricingCondition.Builder> implements RepricingConditionOrBuilder
Represents the various repricing conditions you can use for a conditional
override.
Protobuf type google.cloud.channel.v1.RepricingCondition
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 RepricingCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RepricingCondition build()
Returns
buildPartial()
public RepricingCondition buildPartial()
Returns
clear()
public RepricingCondition.Builder clear()
Returns
Overrides
clearCondition()
public RepricingCondition.Builder clearCondition()
Returns
clearField(Descriptors.FieldDescriptor field)
public RepricingCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RepricingCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSkuGroupCondition()
public RepricingCondition.Builder clearSkuGroupCondition()
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Returns
clone()
public RepricingCondition.Builder clone()
Returns
Overrides
getConditionCase()
public RepricingCondition.ConditionCase getConditionCase()
Returns
getDefaultInstanceForType()
public RepricingCondition getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSkuGroupCondition()
public SkuGroupCondition getSkuGroupCondition()
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Returns
getSkuGroupConditionBuilder()
public SkuGroupCondition.Builder getSkuGroupConditionBuilder()
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Returns
getSkuGroupConditionOrBuilder()
public SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder()
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Returns
hasSkuGroupCondition()
public boolean hasSkuGroupCondition()
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Returns
Type | Description |
boolean | Whether the skuGroupCondition field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RepricingCondition other)
public RepricingCondition.Builder mergeFrom(RepricingCondition other)
Parameter
Returns
public RepricingCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RepricingCondition.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSkuGroupCondition(SkuGroupCondition value)
public RepricingCondition.Builder mergeSkuGroupCondition(SkuGroupCondition value)
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepricingCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RepricingCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepricingCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSkuGroupCondition(SkuGroupCondition value)
public RepricingCondition.Builder setSkuGroupCondition(SkuGroupCondition value)
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Parameter
Returns
setSkuGroupCondition(SkuGroupCondition.Builder builderForValue)
public RepricingCondition.Builder setSkuGroupCondition(SkuGroupCondition.Builder builderForValue)
SKU Group condition for override.
.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RepricingCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides