public static final class ProgressEvent.Builder extends GeneratedMessageV3.Builder<ProgressEvent.Builder> implements ProgressEventOrBuilder
Indicates a time in which a list of events should be triggered
during media playback.
Protobuf type google.cloud.video.stitcher.v1.ProgressEvent
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllEvents(Iterable<? extends Event> values)
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;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.video.stitcher.v1.Event>
|
Returns
addEvents(Event value)
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;
Parameter
Name | Description |
value | Event
|
Returns
addEvents(Event.Builder builderForValue)
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;
Parameter
Returns
addEvents(int index, Event value)
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;
Parameters
Returns
addEvents(int index, Event.Builder builderForValue)
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;
Parameters
Returns
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;
Returns
addEventsBuilder(int index)
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;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProgressEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ProgressEvent build()
Returns
buildPartial()
public ProgressEvent buildPartial()
Returns
clear()
public ProgressEvent.Builder clear()
Returns
Overrides
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public ProgressEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProgressEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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;
Returns
clone()
public ProgressEvent.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ProgressEvent getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEvents(int index)
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;
Parameter
Returns
getEventsBuilder(int index)
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;
Parameter
Returns
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;
Returns
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;
Returns
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;
Returns
getEventsOrBuilder(int index)
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.cloud.video.stitcher.v1.EventOrBuilder> | |
getTimeOffset()
public 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;
Returns
getTimeOffsetBuilder()
public 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;
Returns
getTimeOffsetOrBuilder()
public 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;
Returns
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;
Returns
Type | Description |
boolean | Whether the timeOffset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ProgressEvent other)
public ProgressEvent.Builder mergeFrom(ProgressEvent other)
Parameter
Returns
public ProgressEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProgressEvent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeTimeOffset(Duration value)
public ProgressEvent.Builder mergeTimeOffset(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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProgressEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEvents(int index)
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;
Parameter
Returns
setEvents(int index, Event value)
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;
Parameters
Returns
setEvents(int index, Event.Builder builderForValue)
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ProgressEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProgressEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTimeOffset(Duration value)
public ProgressEvent.Builder setTimeOffset(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;
Parameter
Returns
setTimeOffset(Duration.Builder builderForValue)
public ProgressEvent.Builder setTimeOffset(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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ProgressEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides