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
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 RepricingAdjustment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RepricingAdjustment build()
Returns
buildPartial()
public RepricingAdjustment buildPartial()
Returns
clear()
public RepricingAdjustment.Builder clear()
Returns
Overrides
clearAdjustment()
public RepricingAdjustment.Builder clearAdjustment()
Returns
clearField(Descriptors.FieldDescriptor field)
public RepricingAdjustment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RepricingAdjustment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPercentageAdjustment()
public RepricingAdjustment.Builder clearPercentageAdjustment()
Flat markup or markdown on an entire bill.
.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;
Returns
clone()
public RepricingAdjustment.Builder clone()
Returns
Overrides
getAdjustmentCase()
public RepricingAdjustment.AdjustmentCase getAdjustmentCase()
Returns
getDefaultInstanceForType()
public RepricingAdjustment getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPercentageAdjustment()
public PercentageAdjustment getPercentageAdjustment()
Flat markup or markdown on an entire bill.
.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;
Returns
getPercentageAdjustmentBuilder()
public PercentageAdjustment.Builder getPercentageAdjustmentBuilder()
Flat markup or markdown on an entire bill.
.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;
Returns
getPercentageAdjustmentOrBuilder()
public PercentageAdjustmentOrBuilder getPercentageAdjustmentOrBuilder()
Flat markup or markdown on an entire bill.
.google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RepricingAdjustment other)
public RepricingAdjustment.Builder mergeFrom(RepricingAdjustment other)
Parameter
Returns
public RepricingAdjustment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RepricingAdjustment.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepricingAdjustment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RepricingAdjustment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepricingAdjustment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RepricingAdjustment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides