Class CompanyTypeEnum.Builder (0.5.0)

public static final class CompanyTypeEnum.Builder extends GeneratedMessageV3.Builder<CompanyTypeEnum.Builder> implements CompanyTypeEnumOrBuilder

Wrapper message for CompanyType

Protobuf type google.ads.admanager.v1.CompanyTypeEnum

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompanyTypeEnum build()
Returns
Type Description
CompanyTypeEnum

buildPartial()

public CompanyTypeEnum buildPartial()
Returns
Type Description
CompanyTypeEnum

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CompanyTypeEnum getDefaultInstanceForType()
Returns
Type Description
CompanyTypeEnum

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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