Class ProgressEvent.Builder (0.43.0)

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

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProgressEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProgressEvent.Builder
Overrides

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
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
Type Description
ProgressEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public ProgressEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProgressEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProgressEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ProgressEvent.Builder
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
Type Description
ProgressEvent.Builder

clone()

public ProgressEvent.Builder clone()
Returns
Type Description
ProgressEvent.Builder
Overrides

getDefaultInstanceForType()

public ProgressEvent getDefaultInstanceForType()
Returns
Type Description
ProgressEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ProgressEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ProgressEvent.Builder
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
Name Description
value Duration
Returns
Type Description
ProgressEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProgressEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProgressEvent.Builder
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
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

setField(Descriptors.FieldDescriptor field, Object value)

public ProgressEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProgressEvent.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProgressEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProgressEvent.Builder
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
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

setUnknownFields(UnknownFieldSet unknownFields)

public final ProgressEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProgressEvent.Builder
Overrides