Class RepricingAdjustment.Builder (3.51.0)

public static final class RepricingAdjustment.Builder extends GeneratedMessageV3.Builder<RepricingAdjustment.Builder> implements RepricingAdjustmentOrBuilder

A type that represents the various adjustments you can apply to a bill.

Protobuf type google.cloud.channel.v1.RepricingAdjustment

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RepricingAdjustment build()
Returns
Type Description
RepricingAdjustment

buildPartial()

public RepricingAdjustment buildPartial()
Returns
Type Description
RepricingAdjustment

clear()

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

clearAdjustment()

public RepricingAdjustment.Builder clearAdjustment()
Returns
Type Description
RepricingAdjustment.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPercentageAdjustment()

public RepricingAdjustment.Builder clearPercentageAdjustment()

Flat markup or markdown on an entire bill.

.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;

Returns
Type Description
RepricingAdjustment.Builder

clone()

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

getAdjustmentCase()

public RepricingAdjustment.AdjustmentCase getAdjustmentCase()
Returns
Type Description
RepricingAdjustment.AdjustmentCase

getDefaultInstanceForType()

public RepricingAdjustment getDefaultInstanceForType()
Returns
Type Description
RepricingAdjustment

getDescriptorForType()

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

getPercentageAdjustment()

public PercentageAdjustment getPercentageAdjustment()

Flat markup or markdown on an entire bill.

.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;

Returns
Type Description
PercentageAdjustment

The percentageAdjustment.

getPercentageAdjustmentBuilder()

public PercentageAdjustment.Builder getPercentageAdjustmentBuilder()

Flat markup or markdown on an entire bill.

.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;

Returns
Type Description
PercentageAdjustment.Builder

getPercentageAdjustmentOrBuilder()

public PercentageAdjustmentOrBuilder getPercentageAdjustmentOrBuilder()

Flat markup or markdown on an entire bill.

.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;

Returns
Type Description
PercentageAdjustmentOrBuilder

hasPercentageAdjustment()

public boolean hasPercentageAdjustment()

Flat markup or markdown on an entire bill.

.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;

Returns
Type Description
boolean

Whether the percentageAdjustment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RepricingAdjustment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RepricingAdjustment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RepricingAdjustment.Builder
Overrides

mergePercentageAdjustment(PercentageAdjustment value)

public RepricingAdjustment.Builder mergePercentageAdjustment(PercentageAdjustment value)

Flat markup or markdown on an entire bill.

.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;

Parameter
Name Description
value PercentageAdjustment
Returns
Type Description
RepricingAdjustment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPercentageAdjustment(PercentageAdjustment value)

public RepricingAdjustment.Builder setPercentageAdjustment(PercentageAdjustment value)

Flat markup or markdown on an entire bill.

.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;

Parameter
Name Description
value PercentageAdjustment
Returns
Type Description
RepricingAdjustment.Builder

setPercentageAdjustment(PercentageAdjustment.Builder builderForValue)

public RepricingAdjustment.Builder setPercentageAdjustment(PercentageAdjustment.Builder builderForValue)

Flat markup or markdown on an entire bill.

.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;

Parameter
Name Description
builderForValue PercentageAdjustment.Builder
Returns
Type Description
RepricingAdjustment.Builder

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

public RepricingAdjustment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RepricingAdjustment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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