Class 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.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
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ProgressEvent.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
      • setField

        public ProgressEvent.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
      • clearField

        public ProgressEvent.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
      • clearOneof

        public ProgressEvent.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
      • setRepeatedField

        public ProgressEvent.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      int index,
                                                      Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
      • addRepeatedField

        public ProgressEvent.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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;
      • setUnknownFields

        public final ProgressEvent.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>
      • mergeUnknownFields

        public final ProgressEvent.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProgressEvent.Builder>