Class ProgressEvent.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProgressEvent.Builder>
com.google.cloud.video.stitcher.v1.ProgressEvent.Builder
All Implemented Interfaces:
ProgressEventOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ProgressEvent

public static final class ProgressEvent.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ProgressEvent.Builder>
    • clear

      public ProgressEvent.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ProgressEvent.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ProgressEvent.Builder>
    • getDefaultInstanceForType

      public ProgressEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ProgressEvent build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ProgressEvent buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ProgressEvent.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProgressEvent.Builder>
    • mergeFrom

      public ProgressEvent.Builder mergeFrom(ProgressEvent other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ProgressEvent.Builder>
    • mergeFrom

      public ProgressEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProgressEvent.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      hasTimeOffset in interface ProgressEventOrBuilder
      Returns:
      Whether the timeOffset field is set.
    • getTimeOffset

      public com.google.protobuf.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;
      Specified by:
      getTimeOffset in interface ProgressEventOrBuilder
      Returns:
      The timeOffset.
    • setTimeOffset

      public ProgressEvent.Builder setTimeOffset(com.google.protobuf.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;
    • setTimeOffset

      public ProgressEvent.Builder setTimeOffset(com.google.protobuf.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;
    • mergeTimeOffset

      public ProgressEvent.Builder mergeTimeOffset(com.google.protobuf.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;
    • 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;
    • getTimeOffsetBuilder

      public com.google.protobuf.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;
    • getTimeOffsetOrBuilder

      public com.google.protobuf.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;
      Specified by:
      getTimeOffsetOrBuilder in interface ProgressEventOrBuilder
    • 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;
      Specified by:
      getEventsList in interface ProgressEventOrBuilder
    • 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;
      Specified by:
      getEventsCount in interface ProgressEventOrBuilder
    • getEvents

      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;
      Specified by:
      getEvents in interface ProgressEventOrBuilder
    • setEvents

      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;
    • setEvents

      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;
    • addEvents

      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;
    • addEvents

      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;
    • addEvents

      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;
    • addEvents

      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;
    • addAllEvents

      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;
    • 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;
    • removeEvents

      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;
    • getEventsBuilder

      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;
    • getEventsOrBuilder

      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;
      Specified by:
      getEventsOrBuilder in interface ProgressEventOrBuilder
    • 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;
      Specified by:
      getEventsOrBuilderList in interface ProgressEventOrBuilder
    • 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;
    • addEventsBuilder

      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;
    • 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;