Class DaiSession.Finding.PodFinding.Builder (0.58.0)

public static final class DaiSession.Finding.PodFinding.Builder extends GeneratedMessage.Builder<DaiSession.Finding.PodFinding.Builder> implements DaiSession.Finding.PodFindingOrBuilder

A finding that occurred while decisioning an ad pod.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearPodKey()

public DaiSession.Finding.PodFinding.Builder clearPodKey()

Output only. ID that links to the relevant ad pod.

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

Returns
Type Description
DaiSession.Finding.PodFinding.Builder

This builder for chaining.

clearType()

public DaiSession.Finding.PodFinding.Builder clearType()

Output only. The finding's type.

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

Returns
Type Description
DaiSession.Finding.PodFinding.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPodKey()

public long getPodKey()

Output only. ID that links to the relevant ad pod.

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

Returns
Type Description
long

The podKey.

getType()

public PodFindingTypeEnum.PodFindingType getType()

Output only. The finding's type.

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

Returns
Type Description
PodFindingTypeEnum.PodFindingType

The type.

getTypeValue()

public int getTypeValue()

Output only. The finding's type.

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

Returns
Type Description
int

The enum numeric value on the wire for type.

hasPodKey()

public boolean hasPodKey()

Output only. ID that links to the relevant ad pod.

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

Returns
Type Description
boolean

Whether the podKey field is set.

hasType()

public boolean hasType()

Output only. The finding's type.

optional .google.ads.admanager.v1.PodFindingTypeEnum.PodFindingType 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.PodFinding other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPodKey(long value)

public DaiSession.Finding.PodFinding.Builder setPodKey(long value)

Output only. ID that links to the relevant ad pod.

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

Parameter
Name Description
value long

The podKey to set.

Returns
Type Description
DaiSession.Finding.PodFinding.Builder

This builder for chaining.

setType(PodFindingTypeEnum.PodFindingType value)

public DaiSession.Finding.PodFinding.Builder setType(PodFindingTypeEnum.PodFindingType value)

Output only. The finding's type.

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

Parameter
Name Description
value PodFindingTypeEnum.PodFindingType

The type to set.

Returns
Type Description
DaiSession.Finding.PodFinding.Builder

This builder for chaining.

setTypeValue(int value)

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

Output only. The finding's type.

optional .google.ads.admanager.v1.PodFindingTypeEnum.PodFindingType 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.PodFinding.Builder

This builder for chaining.