Class Meta.WatchResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
io.dingodb.meta.Meta.WatchResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.WatchResponseOrBuilder, Cloneable
Enclosing class:
Meta.WatchResponse

public static final class Meta.WatchResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder> implements Meta.WatchResponseOrBuilder
Protobuf type dingodb.pb.meta.WatchResponse
  • Method Summary

    Modifier and Type
    Method
    Description
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    addEvents(int index, Meta.MetaEvent value)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    addEvents(int index, Meta.MetaEvent.Builder builderForValue)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    addEventsBuilder(int index)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    canceled is set to true if the response is for a cancel watch request.
    cancel_reason indicates the reason for canceling the watcher.
    compact_revision is set to the minimum index if a watcher tries to watch at a compacted index.
    created is set to true if the response is for a create watch request.
    .dingodb.pb.error.Error error = 2;
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    .dingodb.pb.common.ResponseInfo response_info = 1;
    watch_id is the ID of the watcher that corresponds to the response.
     
    boolean
    canceled is set to true if the response is for a cancel watch request.
    cancel_reason indicates the reason for canceling the watcher.
    com.google.protobuf.ByteString
    cancel_reason indicates the reason for canceling the watcher.
    long
    compact_revision is set to the minimum index if a watcher tries to watch at a compacted index.
    boolean
    created is set to true if the response is for a create watch request.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    .dingodb.pb.error.Error error = 2;
    .dingodb.pb.error.Error error = 2;
    .dingodb.pb.error.Error error = 2;
    getEvents(int index)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    getEventsBuilder(int index)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    int
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    getEventsOrBuilder(int index)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    .dingodb.pb.common.ResponseInfo response_info = 1;
    .dingodb.pb.common.ResponseInfo response_info = 1;
    .dingodb.pb.common.ResponseInfo response_info = 1;
    long
    watch_id is the ID of the watcher that corresponds to the response.
    boolean
    .dingodb.pb.error.Error error = 2;
    boolean
    .dingodb.pb.common.ResponseInfo response_info = 1;
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    .dingodb.pb.error.Error error = 2;
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    .dingodb.pb.common.ResponseInfo response_info = 1;
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    removeEvents(int index)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    setCanceled(boolean value)
    canceled is set to true if the response is for a cancel watch request.
    cancel_reason indicates the reason for canceling the watcher.
    setCancelReasonBytes(com.google.protobuf.ByteString value)
    cancel_reason indicates the reason for canceling the watcher.
    setCompactRevision(long value)
    compact_revision is set to the minimum index if a watcher tries to watch at a compacted index.
    setCreated(boolean value)
    created is set to true if the response is for a create watch request.
    .dingodb.pb.error.Error error = 2;
    .dingodb.pb.error.Error error = 2;
    setEvents(int index, Meta.MetaEvent value)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    setEvents(int index, Meta.MetaEvent.Builder builderForValue)
    the events may be empty or more than one, the client should handle the events if the events is empty, this means the response may be a probe response client can ignore the response if the events is empty, and continue to progress watch until the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    .dingodb.pb.common.ResponseInfo response_info = 1;
    .dingodb.pb.common.ResponseInfo response_info = 1;
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setWatchId(long value)
    watch_id is the ID of the watcher that corresponds to the response.

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

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.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<Meta.WatchResponse.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<Meta.WatchResponse.Builder>
    • getDefaultInstanceForType

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

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

      public Meta.WatchResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Meta.WatchResponse.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public Meta.WatchResponse.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<Meta.WatchResponse.Builder>
      Throws:
      IOException
    • hasResponseInfo

      public boolean hasResponseInfo()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      hasResponseInfo in interface Meta.WatchResponseOrBuilder
      Returns:
      Whether the responseInfo field is set.
    • getResponseInfo

      public Common.ResponseInfo getResponseInfo()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      getResponseInfo in interface Meta.WatchResponseOrBuilder
      Returns:
      The responseInfo.
    • setResponseInfo

      public Meta.WatchResponse.Builder setResponseInfo(Common.ResponseInfo value)
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • setResponseInfo

      public Meta.WatchResponse.Builder setResponseInfo(Common.ResponseInfo.Builder builderForValue)
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • mergeResponseInfo

      public Meta.WatchResponse.Builder mergeResponseInfo(Common.ResponseInfo value)
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • clearResponseInfo

      public Meta.WatchResponse.Builder clearResponseInfo()
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • getResponseInfoBuilder

      public Common.ResponseInfo.Builder getResponseInfoBuilder()
      .dingodb.pb.common.ResponseInfo response_info = 1;
    • getResponseInfoOrBuilder

      public Common.ResponseInfoOrBuilder getResponseInfoOrBuilder()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      getResponseInfoOrBuilder in interface Meta.WatchResponseOrBuilder
    • hasError

      public boolean hasError()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      hasError in interface Meta.WatchResponseOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public ErrorOuterClass.Error getError()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getError in interface Meta.WatchResponseOrBuilder
      Returns:
      The error.
    • setError

      .dingodb.pb.error.Error error = 2;
    • setError

      public Meta.WatchResponse.Builder setError(ErrorOuterClass.Error.Builder builderForValue)
      .dingodb.pb.error.Error error = 2;
    • mergeError

      .dingodb.pb.error.Error error = 2;
    • clearError

      public Meta.WatchResponse.Builder clearError()
      .dingodb.pb.error.Error error = 2;
    • getErrorBuilder

      public ErrorOuterClass.Error.Builder getErrorBuilder()
      .dingodb.pb.error.Error error = 2;
    • getErrorOrBuilder

      public ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getErrorOrBuilder in interface Meta.WatchResponseOrBuilder
    • getWatchId

      public long getWatchId()
       watch_id is the ID of the watcher that corresponds to the response.
       
      int64 watch_id = 4;
      Specified by:
      getWatchId in interface Meta.WatchResponseOrBuilder
      Returns:
      The watchId.
    • setWatchId

      public Meta.WatchResponse.Builder setWatchId(long value)
       watch_id is the ID of the watcher that corresponds to the response.
       
      int64 watch_id = 4;
      Parameters:
      value - The watchId to set.
      Returns:
      This builder for chaining.
    • clearWatchId

      public Meta.WatchResponse.Builder clearWatchId()
       watch_id is the ID of the watcher that corresponds to the response.
       
      int64 watch_id = 4;
      Returns:
      This builder for chaining.
    • getCreated

      public boolean getCreated()
       created is set to true if the response is for a create watch request.
       The client should record the watch_id and expect to receive events for
       the created watcher from the same stream.
       All events sent to the created watcher will attach with the same watch_id.
       
      bool created = 5;
      Specified by:
      getCreated in interface Meta.WatchResponseOrBuilder
      Returns:
      The created.
    • setCreated

      public Meta.WatchResponse.Builder setCreated(boolean value)
       created is set to true if the response is for a create watch request.
       The client should record the watch_id and expect to receive events for
       the created watcher from the same stream.
       All events sent to the created watcher will attach with the same watch_id.
       
      bool created = 5;
      Parameters:
      value - The created to set.
      Returns:
      This builder for chaining.
    • clearCreated

      public Meta.WatchResponse.Builder clearCreated()
       created is set to true if the response is for a create watch request.
       The client should record the watch_id and expect to receive events for
       the created watcher from the same stream.
       All events sent to the created watcher will attach with the same watch_id.
       
      bool created = 5;
      Returns:
      This builder for chaining.
    • getCanceled

      public boolean getCanceled()
       canceled is set to true if the response is for a cancel watch request.
       No further events will be sent to the canceled watcher.
       
      bool canceled = 6;
      Specified by:
      getCanceled in interface Meta.WatchResponseOrBuilder
      Returns:
      The canceled.
    • setCanceled

      public Meta.WatchResponse.Builder setCanceled(boolean value)
       canceled is set to true if the response is for a cancel watch request.
       No further events will be sent to the canceled watcher.
       
      bool canceled = 6;
      Parameters:
      value - The canceled to set.
      Returns:
      This builder for chaining.
    • clearCanceled

      public Meta.WatchResponse.Builder clearCanceled()
       canceled is set to true if the response is for a cancel watch request.
       No further events will be sent to the canceled watcher.
       
      bool canceled = 6;
      Returns:
      This builder for chaining.
    • getCompactRevision

      public long getCompactRevision()
       compact_revision is set to the minimum index if a watcher tries to watch
       at a compacted index.
      
       This happens when creating a watcher at a compacted revision or the watcher cannot
       catch up with the progress of the key-value store.
      
       The client should treat the watcher as canceled and should not try to create any
       watcher with the same start_revision again.
       
      int64 compact_revision = 7;
      Specified by:
      getCompactRevision in interface Meta.WatchResponseOrBuilder
      Returns:
      The compactRevision.
    • setCompactRevision

      public Meta.WatchResponse.Builder setCompactRevision(long value)
       compact_revision is set to the minimum index if a watcher tries to watch
       at a compacted index.
      
       This happens when creating a watcher at a compacted revision or the watcher cannot
       catch up with the progress of the key-value store.
      
       The client should treat the watcher as canceled and should not try to create any
       watcher with the same start_revision again.
       
      int64 compact_revision = 7;
      Parameters:
      value - The compactRevision to set.
      Returns:
      This builder for chaining.
    • clearCompactRevision

      public Meta.WatchResponse.Builder clearCompactRevision()
       compact_revision is set to the minimum index if a watcher tries to watch
       at a compacted index.
      
       This happens when creating a watcher at a compacted revision or the watcher cannot
       catch up with the progress of the key-value store.
      
       The client should treat the watcher as canceled and should not try to create any
       watcher with the same start_revision again.
       
      int64 compact_revision = 7;
      Returns:
      This builder for chaining.
    • getCancelReason

      public String getCancelReason()
       cancel_reason indicates the reason for canceling the watcher.
       
      string cancel_reason = 8;
      Specified by:
      getCancelReason in interface Meta.WatchResponseOrBuilder
      Returns:
      The cancelReason.
    • getCancelReasonBytes

      public com.google.protobuf.ByteString getCancelReasonBytes()
       cancel_reason indicates the reason for canceling the watcher.
       
      string cancel_reason = 8;
      Specified by:
      getCancelReasonBytes in interface Meta.WatchResponseOrBuilder
      Returns:
      The bytes for cancelReason.
    • setCancelReason

      public Meta.WatchResponse.Builder setCancelReason(String value)
       cancel_reason indicates the reason for canceling the watcher.
       
      string cancel_reason = 8;
      Parameters:
      value - The cancelReason to set.
      Returns:
      This builder for chaining.
    • clearCancelReason

      public Meta.WatchResponse.Builder clearCancelReason()
       cancel_reason indicates the reason for canceling the watcher.
       
      string cancel_reason = 8;
      Returns:
      This builder for chaining.
    • setCancelReasonBytes

      public Meta.WatchResponse.Builder setCancelReasonBytes(com.google.protobuf.ByteString value)
       cancel_reason indicates the reason for canceling the watcher.
       
      string cancel_reason = 8;
      Parameters:
      value - The bytes for cancelReason to set.
      Returns:
      This builder for chaining.
    • getEventsList

      public List<Meta.MetaEvent> getEventsList()
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
      Specified by:
      getEventsList in interface Meta.WatchResponseOrBuilder
    • getEventsCount

      public int getEventsCount()
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
      Specified by:
      getEventsCount in interface Meta.WatchResponseOrBuilder
    • getEvents

      public Meta.MetaEvent getEvents(int index)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
      Specified by:
      getEvents in interface Meta.WatchResponseOrBuilder
    • setEvents

      public Meta.WatchResponse.Builder setEvents(int index, Meta.MetaEvent value)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • setEvents

      public Meta.WatchResponse.Builder setEvents(int index, Meta.MetaEvent.Builder builderForValue)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • addEvents

      public Meta.WatchResponse.Builder addEvents(Meta.MetaEvent value)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • addEvents

      public Meta.WatchResponse.Builder addEvents(int index, Meta.MetaEvent value)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • addEvents

      public Meta.WatchResponse.Builder addEvents(Meta.MetaEvent.Builder builderForValue)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • addEvents

      public Meta.WatchResponse.Builder addEvents(int index, Meta.MetaEvent.Builder builderForValue)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • addAllEvents

      public Meta.WatchResponse.Builder addAllEvents(Iterable<? extends Meta.MetaEvent> values)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • clearEvents

      public Meta.WatchResponse.Builder clearEvents()
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • removeEvents

      public Meta.WatchResponse.Builder removeEvents(int index)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • getEventsBuilder

      public Meta.MetaEvent.Builder getEventsBuilder(int index)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • getEventsOrBuilder

      public Meta.MetaEventOrBuilder getEventsOrBuilder(int index)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
      Specified by:
      getEventsOrBuilder in interface Meta.WatchResponseOrBuilder
    • getEventsOrBuilderList

      public List<? extends Meta.MetaEventOrBuilder> getEventsOrBuilderList()
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
      Specified by:
      getEventsOrBuilderList in interface Meta.WatchResponseOrBuilder
    • addEventsBuilder

      public Meta.MetaEvent.Builder addEventsBuilder()
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • addEventsBuilder

      public Meta.MetaEvent.Builder addEventsBuilder(int index)
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • getEventsBuilderList

      public List<Meta.MetaEvent.Builder> getEventsBuilderList()
       the events may be empty or more than one, the client should handle the events
       if the events is empty, this means the response may be a probe response
       client can ignore the response if the events is empty, and continue to progress watch until
       the watch_id is canceled ( EWATCH_NOT_EXIST will be returned if the watch_id is canceled)
       
      repeated .dingodb.pb.meta.MetaEvent events = 11;
    • setUnknownFields

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

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