Class UnitTypeEnum.Builder (0.6.0)

public static final class UnitTypeEnum.Builder extends GeneratedMessageV3.Builder<UnitTypeEnum.Builder> implements UnitTypeEnumOrBuilder

Wrapper message for UnitType.

Protobuf type google.ads.admanager.v1.UnitTypeEnum

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UnitTypeEnum build()
Returns
Type Description
UnitTypeEnum

buildPartial()

public UnitTypeEnum buildPartial()
Returns
Type Description
UnitTypeEnum

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UnitTypeEnum getDefaultInstanceForType()
Returns
Type Description
UnitTypeEnum

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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