Class ProgressEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
- com.google.cloud.video.stitcher.v1.ProgressEvent.Builder
-
- All Implemented Interfaces:
ProgressEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ProgressEvent
public static final class ProgressEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder> implements ProgressEventOrBuilder
Indicates a time in which a list of events should be triggered during media playback.
Protobuf typegoogle.cloud.video.stitcher.v1.ProgressEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProgressEvent.Builder
addAllEvents(Iterable<? extends Event> values)
The list of progress tracking events for the ad break.ProgressEvent.Builder
addEvents(int index, Event value)
The list of progress tracking events for the ad break.ProgressEvent.Builder
addEvents(int index, Event.Builder builderForValue)
The list of progress tracking events for the ad break.ProgressEvent.Builder
addEvents(Event value)
The list of progress tracking events for the ad break.ProgressEvent.Builder
addEvents(Event.Builder builderForValue)
The list of progress tracking events for the ad break.Event.Builder
addEventsBuilder()
The list of progress tracking events for the ad break.Event.Builder
addEventsBuilder(int index)
The list of progress tracking events for the ad break.ProgressEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ProgressEvent
build()
ProgressEvent
buildPartial()
ProgressEvent.Builder
clear()
ProgressEvent.Builder
clearEvents()
The list of progress tracking events for the ad break.ProgressEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ProgressEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ProgressEvent.Builder
clearTimeOffset()
The time when the following tracking events occurs.ProgressEvent.Builder
clone()
ProgressEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Event
getEvents(int index)
The list of progress tracking events for the ad break.Event.Builder
getEventsBuilder(int index)
The list of progress tracking events for the ad break.List<Event.Builder>
getEventsBuilderList()
The list of progress tracking events for the ad break.int
getEventsCount()
The list of progress tracking events for the ad break.List<Event>
getEventsList()
The list of progress tracking events for the ad break.EventOrBuilder
getEventsOrBuilder(int index)
The list of progress tracking events for the ad break.List<? extends EventOrBuilder>
getEventsOrBuilderList()
The list of progress tracking events for the ad break.com.google.protobuf.Duration
getTimeOffset()
The time when the following tracking events occurs.com.google.protobuf.Duration.Builder
getTimeOffsetBuilder()
The time when the following tracking events occurs.com.google.protobuf.DurationOrBuilder
getTimeOffsetOrBuilder()
The time when the following tracking events occurs.boolean
hasTimeOffset()
The time when the following tracking events occurs.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ProgressEvent.Builder
mergeFrom(ProgressEvent other)
ProgressEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ProgressEvent.Builder
mergeFrom(com.google.protobuf.Message other)
ProgressEvent.Builder
mergeTimeOffset(com.google.protobuf.Duration value)
The time when the following tracking events occurs.ProgressEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ProgressEvent.Builder
removeEvents(int index)
The list of progress tracking events for the ad break.ProgressEvent.Builder
setEvents(int index, Event value)
The list of progress tracking events for the ad break.ProgressEvent.Builder
setEvents(int index, Event.Builder builderForValue)
The list of progress tracking events for the ad break.ProgressEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ProgressEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ProgressEvent.Builder
setTimeOffset(com.google.protobuf.Duration value)
The time when the following tracking events occurs.ProgressEvent.Builder
setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
The time when the following tracking events occurs.ProgressEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
clear
public ProgressEvent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
getDefaultInstanceForType
public ProgressEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProgressEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProgressEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProgressEvent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
setField
public ProgressEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
clearField
public ProgressEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
clearOneof
public ProgressEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
setRepeatedField
public ProgressEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
addRepeatedField
public ProgressEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
mergeFrom
public ProgressEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ProgressEvent.Builder>
-
mergeFrom
public ProgressEvent.Builder mergeFrom(ProgressEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
mergeFrom
public ProgressEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ProgressEvent.Builder>
- Throws:
IOException
-
hasTimeOffset
public boolean hasTimeOffset()
The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.
.google.protobuf.Duration time_offset = 1;
- Specified by:
hasTimeOffset
in interfaceProgressEventOrBuilder
- Returns:
- Whether the timeOffset field is set.
-
getTimeOffset
public com.google.protobuf.Duration getTimeOffset()
The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.
.google.protobuf.Duration time_offset = 1;
- Specified by:
getTimeOffset
in interfaceProgressEventOrBuilder
- Returns:
- The timeOffset.
-
setTimeOffset
public ProgressEvent.Builder setTimeOffset(com.google.protobuf.Duration value)
The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.
.google.protobuf.Duration time_offset = 1;
-
setTimeOffset
public ProgressEvent.Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.
.google.protobuf.Duration time_offset = 1;
-
mergeTimeOffset
public ProgressEvent.Builder mergeTimeOffset(com.google.protobuf.Duration value)
The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.
.google.protobuf.Duration time_offset = 1;
-
clearTimeOffset
public ProgressEvent.Builder clearTimeOffset()
The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.
.google.protobuf.Duration time_offset = 1;
-
getTimeOffsetBuilder
public com.google.protobuf.Duration.Builder getTimeOffsetBuilder()
The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.
.google.protobuf.Duration time_offset = 1;
-
getTimeOffsetOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder()
The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.
.google.protobuf.Duration time_offset = 1;
- Specified by:
getTimeOffsetOrBuilder
in interfaceProgressEventOrBuilder
-
getEventsList
public List<Event> getEventsList()
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
- Specified by:
getEventsList
in interfaceProgressEventOrBuilder
-
getEventsCount
public int getEventsCount()
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
- Specified by:
getEventsCount
in interfaceProgressEventOrBuilder
-
getEvents
public Event getEvents(int index)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
- Specified by:
getEvents
in interfaceProgressEventOrBuilder
-
setEvents
public ProgressEvent.Builder setEvents(int index, Event value)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
setEvents
public ProgressEvent.Builder setEvents(int index, Event.Builder builderForValue)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
addEvents
public ProgressEvent.Builder addEvents(Event value)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
addEvents
public ProgressEvent.Builder addEvents(int index, Event value)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
addEvents
public ProgressEvent.Builder addEvents(Event.Builder builderForValue)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
addEvents
public ProgressEvent.Builder addEvents(int index, Event.Builder builderForValue)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
addAllEvents
public ProgressEvent.Builder addAllEvents(Iterable<? extends Event> values)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
clearEvents
public ProgressEvent.Builder clearEvents()
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
removeEvents
public ProgressEvent.Builder removeEvents(int index)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
getEventsBuilder
public Event.Builder getEventsBuilder(int index)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
getEventsOrBuilder
public EventOrBuilder getEventsOrBuilder(int index)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
- Specified by:
getEventsOrBuilder
in interfaceProgressEventOrBuilder
-
getEventsOrBuilderList
public List<? extends EventOrBuilder> getEventsOrBuilderList()
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
- Specified by:
getEventsOrBuilderList
in interfaceProgressEventOrBuilder
-
addEventsBuilder
public Event.Builder addEventsBuilder()
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
addEventsBuilder
public Event.Builder addEventsBuilder(int index)
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
getEventsBuilderList
public List<Event.Builder> getEventsBuilderList()
The list of progress tracking events for the ad break. These can be of the following IAB types: `BREAK_START`, `BREAK_END`, `IMPRESSION`, `CREATIVE_VIEW`, `START`, `FIRST_QUARTILE`, `MIDPOINT`, `THIRD_QUARTILE`, `COMPLETE`, `PROGRESS`.
repeated .google.cloud.video.stitcher.v1.Event events = 2;
-
setUnknownFields
public final ProgressEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
mergeUnknownFields
public final ProgressEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
-
-