Interface Event.AdBreakTaskOrBuilder (0.56.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
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

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

.google.protobuf.Duration duration = 1;

Returns
Type Description
DurationOrBuilder

hasDuration()

public abstract boolean hasDuration()

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

.google.protobuf.Duration duration = 1;

Returns
Type Description
boolean

Whether the duration field is set.