Class LineItemCostTypeEnum.Builder (0.8.0)

public static final class LineItemCostTypeEnum.Builder extends GeneratedMessageV3.Builder<LineItemCostTypeEnum.Builder> implements LineItemCostTypeEnumOrBuilder

Wrapper message for LineItemCostType.

Protobuf type google.ads.admanager.v1.LineItemCostTypeEnum

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LineItemCostTypeEnum build()
Returns
Type Description
LineItemCostTypeEnum

buildPartial()

public LineItemCostTypeEnum buildPartial()
Returns
Type Description
LineItemCostTypeEnum

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LineItemCostTypeEnum getDefaultInstanceForType()
Returns
Type Description
LineItemCostTypeEnum

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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