Class DaiSession.Finding.AdBreakFinding.Builder (0.58.0)

public static final class DaiSession.Finding.AdBreakFinding.Builder extends GeneratedMessage.Builder<DaiSession.Finding.AdBreakFinding.Builder> implements DaiSession.Finding.AdBreakFindingOrBuilder

A finding that occurred while serving ads for a session.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearBreakKey()

public DaiSession.Finding.AdBreakFinding.Builder clearBreakKey()

Output only. The ID that links to the relevant ad break.

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

Returns
Type Description
DaiSession.Finding.AdBreakFinding.Builder

This builder for chaining.

clearType()

public DaiSession.Finding.AdBreakFinding.Builder clearType()

Output only. The finding's type.

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

Returns
Type Description
DaiSession.Finding.AdBreakFinding.Builder

This builder for chaining.

getBreakKey()

public long getBreakKey()

Output only. The ID that links to the relevant ad break.

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

Returns
Type Description
long

The breakKey.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getType()

public AdBreakFindingTypeEnum.AdBreakFindingType getType()

Output only. The finding's type.

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

Returns
Type Description
AdBreakFindingTypeEnum.AdBreakFindingType

The type.

getTypeValue()

public int getTypeValue()

Output only. The finding's type.

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

Returns
Type Description
int

The enum numeric value on the wire for type.

hasBreakKey()

public boolean hasBreakKey()

Output only. The ID that links to the relevant ad break.

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

Returns
Type Description
boolean

Whether the breakKey field is set.

hasType()

public boolean hasType()

Output only. The finding's type.

optional .google.ads.admanager.v1.AdBreakFindingTypeEnum.AdBreakFindingType 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.AdBreakFinding other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBreakKey(long value)

public DaiSession.Finding.AdBreakFinding.Builder setBreakKey(long value)

Output only. The ID that links to the relevant ad break.

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

Parameter
Name Description
value long

The breakKey to set.

Returns
Type Description
DaiSession.Finding.AdBreakFinding.Builder

This builder for chaining.

setType(AdBreakFindingTypeEnum.AdBreakFindingType value)

public DaiSession.Finding.AdBreakFinding.Builder setType(AdBreakFindingTypeEnum.AdBreakFindingType value)

Output only. The finding's type.

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

Parameter
Name Description
value AdBreakFindingTypeEnum.AdBreakFindingType

The type to set.

Returns
Type Description
DaiSession.Finding.AdBreakFinding.Builder

This builder for chaining.

setTypeValue(int value)

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

Output only. The finding's type.

optional .google.ads.admanager.v1.AdBreakFindingTypeEnum.AdBreakFindingType 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.AdBreakFinding.Builder

This builder for chaining.