Class RepricingCondition.Builder (3.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RepricingCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RepricingCondition.Builder
Overrides

build()

public RepricingCondition build()
Returns
TypeDescription
RepricingCondition

buildPartial()

public RepricingCondition buildPartial()
Returns
TypeDescription
RepricingCondition

clear()

public RepricingCondition.Builder clear()
Returns
TypeDescription
RepricingCondition.Builder
Overrides

clearCondition()

public RepricingCondition.Builder clearCondition()
Returns
TypeDescription
RepricingCondition.Builder

clearField(Descriptors.FieldDescriptor field)

public RepricingCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RepricingCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RepricingCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RepricingCondition.Builder
Overrides

clearSkuGroupCondition()

public RepricingCondition.Builder clearSkuGroupCondition()

SKU Group condition for override.

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

Returns
TypeDescription
RepricingCondition.Builder

clone()

public RepricingCondition.Builder clone()
Returns
TypeDescription
RepricingCondition.Builder
Overrides

getConditionCase()

public RepricingCondition.ConditionCase getConditionCase()
Returns
TypeDescription
RepricingCondition.ConditionCase

getDefaultInstanceForType()

public RepricingCondition getDefaultInstanceForType()
Returns
TypeDescription
RepricingCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSkuGroupCondition()

public SkuGroupCondition getSkuGroupCondition()

SKU Group condition for override.

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

Returns
TypeDescription
SkuGroupCondition

The skuGroupCondition.

getSkuGroupConditionBuilder()

public SkuGroupCondition.Builder getSkuGroupConditionBuilder()

SKU Group condition for override.

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

Returns
TypeDescription
SkuGroupCondition.Builder

getSkuGroupConditionOrBuilder()

public SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder()

SKU Group condition for override.

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

Returns
TypeDescription
SkuGroupConditionOrBuilder

hasSkuGroupCondition()

public boolean hasSkuGroupCondition()

SKU Group condition for override.

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

Returns
TypeDescription
boolean

Whether the skuGroupCondition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RepricingCondition other)

public RepricingCondition.Builder mergeFrom(RepricingCondition other)
Parameter
NameDescription
otherRepricingCondition
Returns
TypeDescription
RepricingCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RepricingCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepricingCondition.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RepricingCondition.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSkuGroupCondition
Returns
TypeDescription
RepricingCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RepricingCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RepricingCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RepricingCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RepricingCondition.Builder
Overrides

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

public RepricingCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSkuGroupCondition
Returns
TypeDescription
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
NameDescription
builderForValueSkuGroupCondition.Builder
Returns
TypeDescription
RepricingCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RepricingCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RepricingCondition.Builder
Overrides