Class LineItemTypeEnum.Builder (0.5.0)

public static final class LineItemTypeEnum.Builder extends GeneratedMessageV3.Builder<LineItemTypeEnum.Builder> implements LineItemTypeEnumOrBuilder

Wrapper message for LineItemType.

Protobuf type google.ads.admanager.v1.LineItemTypeEnum

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LineItemTypeEnum build()
Returns
Type Description
LineItemTypeEnum

buildPartial()

public LineItemTypeEnum buildPartial()
Returns
Type Description
LineItemTypeEnum

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LineItemTypeEnum getDefaultInstanceForType()
Returns
Type Description
LineItemTypeEnum

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(LineItemTypeEnum other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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