Class SizeTypeEnum.Builder (0.12.0)

public static final class SizeTypeEnum.Builder extends GeneratedMessageV3.Builder<SizeTypeEnum.Builder> implements SizeTypeEnumOrBuilder

Wrapper message for SizeType.

Protobuf type google.ads.admanager.v1.SizeTypeEnum

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SizeTypeEnum build()
Returns
Type Description
SizeTypeEnum

buildPartial()

public SizeTypeEnum buildPartial()
Returns
Type Description
SizeTypeEnum

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SizeTypeEnum getDefaultInstanceForType()
Returns
Type Description
SizeTypeEnum

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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