Class RepricingCondition.Builder (3.58.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RepricingCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RepricingCondition.Builder
Overrides

build()

public RepricingCondition build()
Returns
Type Description
RepricingCondition

buildPartial()

public RepricingCondition buildPartial()
Returns
Type Description
RepricingCondition

clear()

public RepricingCondition.Builder clear()
Returns
Type Description
RepricingCondition.Builder
Overrides

clearCondition()

public RepricingCondition.Builder clearCondition()
Returns
Type Description
RepricingCondition.Builder

clearField(Descriptors.FieldDescriptor field)

public RepricingCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RepricingCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RepricingCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RepricingCondition.Builder
Overrides

clearSkuGroupCondition()

public RepricingCondition.Builder clearSkuGroupCondition()

SKU Group condition for override.

.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;

Returns
Type Description
RepricingCondition.Builder

clone()

public RepricingCondition.Builder clone()
Returns
Type Description
RepricingCondition.Builder
Overrides

getConditionCase()

public RepricingCondition.ConditionCase getConditionCase()
Returns
Type Description
RepricingCondition.ConditionCase

getDefaultInstanceForType()

public RepricingCondition getDefaultInstanceForType()
Returns
Type Description
RepricingCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSkuGroupCondition()

public SkuGroupCondition getSkuGroupCondition()

SKU Group condition for override.

.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;

Returns
Type Description
SkuGroupCondition

The skuGroupCondition.

getSkuGroupConditionBuilder()

public SkuGroupCondition.Builder getSkuGroupConditionBuilder()

SKU Group condition for override.

.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;

Returns
Type Description
SkuGroupCondition.Builder

getSkuGroupConditionOrBuilder()

public SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder()

SKU Group condition for override.

.google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1;

Returns
Type Description
SkuGroupConditionOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RepricingCondition other)

public RepricingCondition.Builder mergeFrom(RepricingCondition other)
Parameter
Name Description
other RepricingCondition
Returns
Type Description
RepricingCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RepricingCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepricingCondition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RepricingCondition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RepricingCondition.Builder
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
Name Description
value SkuGroupCondition
Returns
Type Description
RepricingCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RepricingCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RepricingCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RepricingCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RepricingCondition.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RepricingCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RepricingCondition.Builder
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
Name Description
value SkuGroupCondition
Returns
Type Description
RepricingCondition.Builder

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
Name Description
builderForValue SkuGroupCondition.Builder
Returns
Type Description
RepricingCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RepricingCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RepricingCondition.Builder
Overrides