Class ProgressEvent (0.9.0)

public final class ProgressEvent extends GeneratedMessageV3 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 Fields

EVENTS_FIELD_NUMBER

public static final int EVENTS_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_OFFSET_FIELD_NUMBER

public static final int TIME_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProgressEvent getDefaultInstance()
Returns
TypeDescription
ProgressEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProgressEvent.Builder newBuilder()
Returns
TypeDescription
ProgressEvent.Builder

newBuilder(ProgressEvent prototype)

public static ProgressEvent.Builder newBuilder(ProgressEvent prototype)
Parameter
NameDescription
prototypeProgressEvent
Returns
TypeDescription
ProgressEvent.Builder

parseDelimitedFrom(InputStream input)

public static ProgressEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProgressEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProgressEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProgressEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProgressEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProgressEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProgressEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProgressEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProgressEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProgressEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProgressEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProgressEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProgressEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProgressEvent> parser()
Returns
TypeDescription
Parser<ProgressEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProgressEvent getDefaultInstanceForType()
Returns
TypeDescription
ProgressEvent

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

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>

getParserForType()

public Parser<ProgressEvent> getParserForType()
Returns
TypeDescription
Parser<ProgressEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProgressEvent.Builder newBuilderForType()
Returns
TypeDescription
ProgressEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProgressEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProgressEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProgressEvent.Builder toBuilder()
Returns
TypeDescription
ProgressEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException