Class RepricingAdjustment.Builder (3.87.0)

public static final class RepricingAdjustment.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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