Class DeclarationTypeEnum.Builder (0.7.0)

public static final class DeclarationTypeEnum.Builder extends GeneratedMessageV3.Builder<DeclarationTypeEnum.Builder> implements DeclarationTypeEnumOrBuilder

Wrapper message for DeclarationTypeEnum.

Protobuf type google.ads.admanager.v1.DeclarationTypeEnum

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeclarationTypeEnum build()
Returns
Type Description
DeclarationTypeEnum

buildPartial()

public DeclarationTypeEnum buildPartial()
Returns
Type Description
DeclarationTypeEnum

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeclarationTypeEnum getDefaultInstanceForType()
Returns
Type Description
DeclarationTypeEnum

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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