Interface Event.AdBreakTaskOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event.AdBreakTask,Event.AdBreakTask.Builder
- Enclosing class:
- Event
public static interface Event.AdBreakTaskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationDuration of an ad opportunity.com.google.protobuf.DurationOrBuilderDuration of an ad opportunity.booleanDuration of an ad opportunity.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDuration
boolean hasDuration()Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Duration of an ad opportunity. Must be greater than 0.
.google.protobuf.Duration duration = 1;
-