Class Event.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
com.google.cloud.video.stitcher.v1.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.GeneratedMessage.Builder<Event.Builder> implements EventOrBuilder
 Describes an event and a trigger URI.
 
Protobuf type google.cloud.video.stitcher.v1.Event
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The ID of the event.
    The offset in seconds if the event type is `PROGRESS`.
    Describes the event that occurred.
    The URI to trigger for this event.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The ID of the event.
    com.google.protobuf.ByteString
    The ID of the event.
    com.google.protobuf.Duration
    The offset in seconds if the event type is `PROGRESS`.
    com.google.protobuf.Duration.Builder
    The offset in seconds if the event type is `PROGRESS`.
    com.google.protobuf.DurationOrBuilder
    The offset in seconds if the event type is `PROGRESS`.
    Describes the event that occurred.
    int
    Describes the event that occurred.
    The URI to trigger for this event.
    com.google.protobuf.ByteString
    The URI to trigger for this event.
    boolean
    The offset in seconds if the event type is `PROGRESS`.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeOffset(com.google.protobuf.Duration value)
    The offset in seconds if the event type is `PROGRESS`.
    setId(String value)
    The ID of the event.
    setIdBytes(com.google.protobuf.ByteString value)
    The ID of the event.
    setOffset(com.google.protobuf.Duration value)
    The offset in seconds if the event type is `PROGRESS`.
    setOffset(com.google.protobuf.Duration.Builder builderForValue)
    The offset in seconds if the event type is `PROGRESS`.
    Describes the event that occurred.
    setTypeValue(int value)
    Describes the event that occurred.
    setUri(String value)
    The URI to trigger for this event.
    setUriBytes(com.google.protobuf.ByteString value)
    The URI to trigger for this event.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public Event.Builder mergeFrom(Event other)
    • isInitialized

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