Class CustomTargetingKeyTypeEnum.Builder (0.7.0)

public static final class CustomTargetingKeyTypeEnum.Builder extends GeneratedMessageV3.Builder<CustomTargetingKeyTypeEnum.Builder> implements CustomTargetingKeyTypeEnumOrBuilder

Wrapper message for CustomTargetingKeyType

Protobuf type google.ads.admanager.v1.CustomTargetingKeyTypeEnum

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomTargetingKeyTypeEnum build()
Returns
Type Description
CustomTargetingKeyTypeEnum

buildPartial()

public CustomTargetingKeyTypeEnum buildPartial()
Returns
Type Description
CustomTargetingKeyTypeEnum

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CustomTargetingKeyTypeEnum getDefaultInstanceForType()
Returns
Type Description
CustomTargetingKeyTypeEnum

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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