Class DaiSession.Finding.CreativeFinding.Builder (0.58.0)

public static final class DaiSession.Finding.CreativeFinding.Builder extends GeneratedMessage.Builder<DaiSession.Finding.CreativeFinding.Builder> implements DaiSession.Finding.CreativeFindingOrBuilder

A finding that occurred while looking up creative information.

Protobuf type google.ads.admanager.v1.DaiSession.Finding.CreativeFinding

Static Methods

getDescriptor()

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

Methods

build()

public DaiSession.Finding.CreativeFinding build()
Returns
Type Description
DaiSession.Finding.CreativeFinding

buildPartial()

public DaiSession.Finding.CreativeFinding buildPartial()
Returns
Type Description
DaiSession.Finding.CreativeFinding

clear()

public DaiSession.Finding.CreativeFinding.Builder clear()
Returns
Type Description
DaiSession.Finding.CreativeFinding.Builder
Overrides

clearCreativeKey()

public DaiSession.Finding.CreativeFinding.Builder clearCreativeKey()

Output only. The ID that links to the relevant creative.

optional int64 creative_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.Finding.CreativeFinding.Builder

This builder for chaining.

clearType()

public DaiSession.Finding.CreativeFinding.Builder clearType()

Output only. The finding's type.

optional .google.ads.admanager.v1.CreativeFindingTypeEnum.CreativeFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.Finding.CreativeFinding.Builder

This builder for chaining.

getCreativeKey()

public long getCreativeKey()

Output only. The ID that links to the relevant creative.

optional int64 creative_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The creativeKey.

getDefaultInstanceForType()

public DaiSession.Finding.CreativeFinding getDefaultInstanceForType()
Returns
Type Description
DaiSession.Finding.CreativeFinding

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getType()

public CreativeFindingTypeEnum.CreativeFindingType getType()

Output only. The finding's type.

optional .google.ads.admanager.v1.CreativeFindingTypeEnum.CreativeFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreativeFindingTypeEnum.CreativeFindingType

The type.

getTypeValue()

public int getTypeValue()

Output only. The finding's type.

optional .google.ads.admanager.v1.CreativeFindingTypeEnum.CreativeFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasCreativeKey()

public boolean hasCreativeKey()

Output only. The ID that links to the relevant creative.

optional int64 creative_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the creativeKey field is set.

hasType()

public boolean hasType()

Output only. The finding's type.

optional .google.ads.admanager.v1.CreativeFindingTypeEnum.CreativeFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DaiSession.Finding.CreativeFinding other)

public DaiSession.Finding.CreativeFinding.Builder mergeFrom(DaiSession.Finding.CreativeFinding other)
Parameter
Name Description
other DaiSession.Finding.CreativeFinding
Returns
Type Description
DaiSession.Finding.CreativeFinding.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DaiSession.Finding.CreativeFinding.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DaiSession.Finding.CreativeFinding.Builder
Overrides

setCreativeKey(long value)

public DaiSession.Finding.CreativeFinding.Builder setCreativeKey(long value)

Output only. The ID that links to the relevant creative.

optional int64 creative_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The creativeKey to set.

Returns
Type Description
DaiSession.Finding.CreativeFinding.Builder

This builder for chaining.

setType(CreativeFindingTypeEnum.CreativeFindingType value)

public DaiSession.Finding.CreativeFinding.Builder setType(CreativeFindingTypeEnum.CreativeFindingType value)

Output only. The finding's type.

optional .google.ads.admanager.v1.CreativeFindingTypeEnum.CreativeFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CreativeFindingTypeEnum.CreativeFindingType

The type to set.

Returns
Type Description
DaiSession.Finding.CreativeFinding.Builder

This builder for chaining.

setTypeValue(int value)

public DaiSession.Finding.CreativeFinding.Builder setTypeValue(int value)

Output only. The finding's type.

optional .google.ads.admanager.v1.CreativeFindingTypeEnum.CreativeFindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
DaiSession.Finding.CreativeFinding.Builder

This builder for chaining.