Class EventUpdate.Builder

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

public static final class EventUpdate.Builder extends com.google.protobuf.GeneratedMessage.Builder<EventUpdate.Builder> implements EventUpdateOrBuilder
 The event update message.
 
Protobuf type google.cloud.visionai.v1.EventUpdate
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The name of the event.
    The offset of the message that will be used to acknowledge of the message receiving.
    The name of the series.
    The name of the stream that the event is attached to.
    The timestamp when the Event update happens.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The name of the event.
    com.google.protobuf.ByteString
    The name of the event.
    long
    The offset of the message that will be used to acknowledge of the message receiving.
    The name of the series.
    com.google.protobuf.ByteString
    The name of the series.
    The name of the stream that the event is attached to.
    com.google.protobuf.ByteString
    The name of the stream that the event is attached to.
    com.google.protobuf.Timestamp
    The timestamp when the Event update happens.
    com.google.protobuf.Timestamp.Builder
    The timestamp when the Event update happens.
    com.google.protobuf.TimestampOrBuilder
    The timestamp when the Event update happens.
    boolean
    The timestamp when the Event update happens.
    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)
     
    mergeUpdateTime(com.google.protobuf.Timestamp value)
    The timestamp when the Event update happens.
    The name of the event.
    setEventBytes(com.google.protobuf.ByteString value)
    The name of the event.
    setOffset(long value)
    The offset of the message that will be used to acknowledge of the message receiving.
    The name of the series.
    setSeriesBytes(com.google.protobuf.ByteString value)
    The name of the series.
    The name of the stream that the event is attached to.
    setStreamBytes(com.google.protobuf.ByteString value)
    The name of the stream that the event is attached to.
    setUpdateTime(com.google.protobuf.Timestamp value)
    The timestamp when the Event update happens.
    setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
    The timestamp when the Event update happens.

    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<EventUpdate.Builder>
    • clear

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

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

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

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

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

      public EventUpdate.Builder mergeFrom(EventUpdate other)
    • isInitialized

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

      public EventUpdate.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<EventUpdate.Builder>
      Throws:
      IOException
    • getStream

      public String getStream()
       The name of the stream that the event is attached to.
       
      string stream = 1;
      Specified by:
      getStream in interface EventUpdateOrBuilder
      Returns:
      The stream.
    • getStreamBytes

      public com.google.protobuf.ByteString getStreamBytes()
       The name of the stream that the event is attached to.
       
      string stream = 1;
      Specified by:
      getStreamBytes in interface EventUpdateOrBuilder
      Returns:
      The bytes for stream.
    • setStream

      public EventUpdate.Builder setStream(String value)
       The name of the stream that the event is attached to.
       
      string stream = 1;
      Parameters:
      value - The stream to set.
      Returns:
      This builder for chaining.
    • clearStream

      public EventUpdate.Builder clearStream()
       The name of the stream that the event is attached to.
       
      string stream = 1;
      Returns:
      This builder for chaining.
    • setStreamBytes

      public EventUpdate.Builder setStreamBytes(com.google.protobuf.ByteString value)
       The name of the stream that the event is attached to.
       
      string stream = 1;
      Parameters:
      value - The bytes for stream to set.
      Returns:
      This builder for chaining.
    • getEvent

      public String getEvent()
       The name of the event.
       
      string event = 2;
      Specified by:
      getEvent in interface EventUpdateOrBuilder
      Returns:
      The event.
    • getEventBytes

      public com.google.protobuf.ByteString getEventBytes()
       The name of the event.
       
      string event = 2;
      Specified by:
      getEventBytes in interface EventUpdateOrBuilder
      Returns:
      The bytes for event.
    • setEvent

      public EventUpdate.Builder setEvent(String value)
       The name of the event.
       
      string event = 2;
      Parameters:
      value - The event to set.
      Returns:
      This builder for chaining.
    • clearEvent

      public EventUpdate.Builder clearEvent()
       The name of the event.
       
      string event = 2;
      Returns:
      This builder for chaining.
    • setEventBytes

      public EventUpdate.Builder setEventBytes(com.google.protobuf.ByteString value)
       The name of the event.
       
      string event = 2;
      Parameters:
      value - The bytes for event to set.
      Returns:
      This builder for chaining.
    • getSeries

      public String getSeries()
       The name of the series.
       
      string series = 3;
      Specified by:
      getSeries in interface EventUpdateOrBuilder
      Returns:
      The series.
    • getSeriesBytes

      public com.google.protobuf.ByteString getSeriesBytes()
       The name of the series.
       
      string series = 3;
      Specified by:
      getSeriesBytes in interface EventUpdateOrBuilder
      Returns:
      The bytes for series.
    • setSeries

      public EventUpdate.Builder setSeries(String value)
       The name of the series.
       
      string series = 3;
      Parameters:
      value - The series to set.
      Returns:
      This builder for chaining.
    • clearSeries

      public EventUpdate.Builder clearSeries()
       The name of the series.
       
      string series = 3;
      Returns:
      This builder for chaining.
    • setSeriesBytes

      public EventUpdate.Builder setSeriesBytes(com.google.protobuf.ByteString value)
       The name of the series.
       
      string series = 3;
      Parameters:
      value - The bytes for series to set.
      Returns:
      This builder for chaining.
    • hasUpdateTime

      public boolean hasUpdateTime()
       The timestamp when the Event update happens.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      hasUpdateTime in interface EventUpdateOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       The timestamp when the Event update happens.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      getUpdateTime in interface EventUpdateOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public EventUpdate.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       The timestamp when the Event update happens.
       
      .google.protobuf.Timestamp update_time = 4;
    • setUpdateTime

      public EventUpdate.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The timestamp when the Event update happens.
       
      .google.protobuf.Timestamp update_time = 4;
    • mergeUpdateTime

      public EventUpdate.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       The timestamp when the Event update happens.
       
      .google.protobuf.Timestamp update_time = 4;
    • clearUpdateTime

      public EventUpdate.Builder clearUpdateTime()
       The timestamp when the Event update happens.
       
      .google.protobuf.Timestamp update_time = 4;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       The timestamp when the Event update happens.
       
      .google.protobuf.Timestamp update_time = 4;
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       The timestamp when the Event update happens.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      getUpdateTimeOrBuilder in interface EventUpdateOrBuilder
    • getOffset

      public long getOffset()
       The offset of the message that will be used to acknowledge of the message
       receiving.
       
      int64 offset = 5;
      Specified by:
      getOffset in interface EventUpdateOrBuilder
      Returns:
      The offset.
    • setOffset

      public EventUpdate.Builder setOffset(long value)
       The offset of the message that will be used to acknowledge of the message
       receiving.
       
      int64 offset = 5;
      Parameters:
      value - The offset to set.
      Returns:
      This builder for chaining.
    • clearOffset

      public EventUpdate.Builder clearOffset()
       The offset of the message that will be used to acknowledge of the message
       receiving.
       
      int64 offset = 5;
      Returns:
      This builder for chaining.