Class LineItemDiscountTypeEnum.Builder (0.2.0)

public static final class LineItemDiscountTypeEnum.Builder extends GeneratedMessageV3.Builder<LineItemDiscountTypeEnum.Builder> implements LineItemDiscountTypeEnumOrBuilder

Wrapper message for LineItemDiscountType.

Protobuf type google.ads.admanager.v1.LineItemDiscountTypeEnum

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LineItemDiscountTypeEnum build()
Returns
Type Description
LineItemDiscountTypeEnum

buildPartial()

public LineItemDiscountTypeEnum buildPartial()
Returns
Type Description
LineItemDiscountTypeEnum

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LineItemDiscountTypeEnum getDefaultInstanceForType()
Returns
Type Description
LineItemDiscountTypeEnum

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LineItemDiscountTypeEnum other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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