Class ProgressEvent.Builder (0.1.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.video.stitcher.v1.Event>
Returns
TypeDescription
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
NameDescription
valueEvent
Returns
TypeDescription
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
NameDescription
builderForValueEvent.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Event.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProgressEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProgressEvent.Builder
Overrides

build()

public ProgressEvent build()
Returns
TypeDescription
ProgressEvent

buildPartial()

public ProgressEvent buildPartial()
Returns
TypeDescription
ProgressEvent

clear()

public ProgressEvent.Builder clear()
Returns
TypeDescription
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
TypeDescription
ProgressEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public ProgressEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProgressEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProgressEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ProgressEvent.Builder

clone()

public ProgressEvent.Builder clone()
Returns
TypeDescription
ProgressEvent.Builder
Overrides

getDefaultInstanceForType()

public ProgressEvent getDefaultInstanceForType()
Returns
TypeDescription
ProgressEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProgressEvent other)

public ProgressEvent.Builder mergeFrom(ProgressEvent other)
Parameter
NameDescription
otherProgressEvent
Returns
TypeDescription
ProgressEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProgressEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProgressEvent.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProgressEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
ProgressEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProgressEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
ProgressEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ProgressEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProgressEvent.Builder
Overrides

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

public ProgressEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ProgressEvent.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ProgressEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProgressEvent.Builder
Overrides