Class Event.Builder

  • All Implemented Interfaces:
    EventOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Event

    public static final class Event.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
    implements EventOrBuilder
     Describes an event and a trigger URI.
     
    Protobuf type google.cloud.video.stitcher.v1.Event
    • 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<Event.Builder>
      • clear

        public Event.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<Event.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<Event.Builder>
      • getDefaultInstanceForType

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

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

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

        public Event.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<Event.Builder>
      • setField

        public Event.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<Event.Builder>
      • clearField

        public Event.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<Event.Builder>
      • clearOneof

        public Event.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<Event.Builder>
      • setRepeatedField

        public Event.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<Event.Builder>
      • addRepeatedField

        public Event.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<Event.Builder>
      • mergeFrom

        public Event.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<Event.Builder>
      • isInitialized

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

        public Event.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<Event.Builder>
        Throws:
        IOException
      • getTypeValue

        public int getTypeValue()
         Describes the event that occurred.
         
        .google.cloud.video.stitcher.v1.Event.EventType type = 1;
        Specified by:
        getTypeValue in interface EventOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public Event.Builder setTypeValue​(int value)
         Describes the event that occurred.
         
        .google.cloud.video.stitcher.v1.Event.EventType type = 1;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • getType

        public Event.EventType getType()
         Describes the event that occurred.
         
        .google.cloud.video.stitcher.v1.Event.EventType type = 1;
        Specified by:
        getType in interface EventOrBuilder
        Returns:
        The type.
      • setType

        public Event.Builder setType​(Event.EventType value)
         Describes the event that occurred.
         
        .google.cloud.video.stitcher.v1.Event.EventType type = 1;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Event.Builder clearType()
         Describes the event that occurred.
         
        .google.cloud.video.stitcher.v1.Event.EventType type = 1;
        Returns:
        This builder for chaining.
      • getUri

        public String getUri()
         The URI to trigger for this event.
         
        string uri = 2;
        Specified by:
        getUri in interface EventOrBuilder
        Returns:
        The uri.
      • getUriBytes

        public com.google.protobuf.ByteString getUriBytes()
         The URI to trigger for this event.
         
        string uri = 2;
        Specified by:
        getUriBytes in interface EventOrBuilder
        Returns:
        The bytes for uri.
      • setUri

        public Event.Builder setUri​(String value)
         The URI to trigger for this event.
         
        string uri = 2;
        Parameters:
        value - The uri to set.
        Returns:
        This builder for chaining.
      • clearUri

        public Event.Builder clearUri()
         The URI to trigger for this event.
         
        string uri = 2;
        Returns:
        This builder for chaining.
      • setUriBytes

        public Event.Builder setUriBytes​(com.google.protobuf.ByteString value)
         The URI to trigger for this event.
         
        string uri = 2;
        Parameters:
        value - The bytes for uri to set.
        Returns:
        This builder for chaining.
      • getId

        public String getId()
         The ID of the event.
         
        string id = 3;
        Specified by:
        getId in interface EventOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         The ID of the event.
         
        string id = 3;
        Specified by:
        getIdBytes in interface EventOrBuilder
        Returns:
        The bytes for id.
      • setId

        public Event.Builder setId​(String value)
         The ID of the event.
         
        string id = 3;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Event.Builder clearId()
         The ID of the event.
         
        string id = 3;
        Returns:
        This builder for chaining.
      • setIdBytes

        public Event.Builder setIdBytes​(com.google.protobuf.ByteString value)
         The ID of the event.
         
        string id = 3;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • hasOffset

        public boolean hasOffset()
         The offset in seconds if the event type is `PROGRESS`.
         
        .google.protobuf.Duration offset = 4;
        Specified by:
        hasOffset in interface EventOrBuilder
        Returns:
        Whether the offset field is set.
      • getOffset

        public com.google.protobuf.Duration getOffset()
         The offset in seconds if the event type is `PROGRESS`.
         
        .google.protobuf.Duration offset = 4;
        Specified by:
        getOffset in interface EventOrBuilder
        Returns:
        The offset.
      • setOffset

        public Event.Builder setOffset​(com.google.protobuf.Duration value)
         The offset in seconds if the event type is `PROGRESS`.
         
        .google.protobuf.Duration offset = 4;
      • setOffset

        public Event.Builder setOffset​(com.google.protobuf.Duration.Builder builderForValue)
         The offset in seconds if the event type is `PROGRESS`.
         
        .google.protobuf.Duration offset = 4;
      • mergeOffset

        public Event.Builder mergeOffset​(com.google.protobuf.Duration value)
         The offset in seconds if the event type is `PROGRESS`.
         
        .google.protobuf.Duration offset = 4;
      • clearOffset

        public Event.Builder clearOffset()
         The offset in seconds if the event type is `PROGRESS`.
         
        .google.protobuf.Duration offset = 4;
      • getOffsetBuilder

        public com.google.protobuf.Duration.Builder getOffsetBuilder()
         The offset in seconds if the event type is `PROGRESS`.
         
        .google.protobuf.Duration offset = 4;
      • getOffsetOrBuilder

        public com.google.protobuf.DurationOrBuilder getOffsetOrBuilder()
         The offset in seconds if the event type is `PROGRESS`.
         
        .google.protobuf.Duration offset = 4;
        Specified by:
        getOffsetOrBuilder in interface EventOrBuilder
      • setUnknownFields

        public final Event.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<Event.Builder>
      • mergeUnknownFields

        public final Event.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<Event.Builder>