Interface Event.AdBreakTaskOrBuilder (0.41.0)

public static interface Event.AdBreakTaskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

public abstract Duration getDuration()

Duration of an ad opportunity. Must be greater than 0.

.google.protobuf.Duration duration = 1;

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Duration of an ad opportunity. Must be greater than 0.

.google.protobuf.Duration duration = 1;

Returns
TypeDescription
DurationOrBuilder

hasDuration()

public abstract boolean hasDuration()

Duration of an ad opportunity. Must be greater than 0.

.google.protobuf.Duration duration = 1;

Returns
TypeDescription
boolean

Whether the duration field is set.