public static final class ProgressEvent.Builder extends GeneratedMessage.Builder<ProgressEvent.Builder> implements ProgressEventOrBuilderIndicates a time in which a list of events should be triggered during media playback.
Protobuf type google.cloud.video.stitcher.v1.ProgressEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProgressEvent.BuilderImplements
ProgressEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
Event.Builder |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
Event |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Event.Builder |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Type | Description |
Event.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
build()
public ProgressEvent build()| Returns | |
|---|---|
| Type | Description |
ProgressEvent |
|
buildPartial()
public ProgressEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
ProgressEvent |
|
clear()
public ProgressEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
getDefaultInstanceForType()
public ProgressEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProgressEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Event |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Event.Builder |
|
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 | |
|---|---|
| Type | Description |
List<Builder> |
|
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 | |
|---|---|
| Type | Description |
int |
|
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 | |
|---|---|
| Type | Description |
List<Event> |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EventOrBuilder |
|
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 | |
|---|---|
| Type | Description |
Duration |
The timeOffset. |
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 | |
|---|---|
| Type | Description |
Builder |
|
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 | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProgressEvent other)
public ProgressEvent.Builder mergeFrom(ProgressEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
ProgressEvent |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProgressEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProgressEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
Event |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Event.Builder |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|
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 | |
|---|---|
| Type | Description |
ProgressEvent.Builder |
|