Class Meta.WatchNode

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.meta.Meta.WatchNode
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.WatchNodeOrBuilder, Serializable
Enclosing class:
Meta

public static final class Meta.WatchNode extends com.google.protobuf.GeneratedMessageV3 implements Meta.WatchNodeOrBuilder
Protobuf type dingodb.pb.meta.WatchNode
See Also:
  • Field Details

    • WATCH_ID_FIELD_NUMBER

      public static final int WATCH_ID_FIELD_NUMBER
      See Also:
    • START_REVISION_FIELD_NUMBER

      public static final int START_REVISION_FIELD_NUMBER
      See Also:
    • WATCHED_REVISION_FIELD_NUMBER

      public static final int WATCHED_REVISION_FIELD_NUMBER
      See Also:
    • IS_WATCHING_FIELD_NUMBER

      public static final int IS_WATCHING_FIELD_NUMBER
      See Also:
    • EVENT_TYPES_FIELD_NUMBER

      public static final int EVENT_TYPES_FIELD_NUMBER
      See Also:
    • PENDING_EVENTS_FIELD_NUMBER

      public static final int PENDING_EVENTS_FIELD_NUMBER
      See Also:
    • LAST_SEND_TIMESTAMP_MS_FIELD_NUMBER

      public static final int LAST_SEND_TIMESTAMP_MS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getWatchId

      public long getWatchId()
      int64 watch_id = 3;
      Specified by:
      getWatchId in interface Meta.WatchNodeOrBuilder
      Returns:
      The watchId.
    • getStartRevision

      public long getStartRevision()
       the start revision of this watch_id want to watch
       
      int64 start_revision = 4;
      Specified by:
      getStartRevision in interface Meta.WatchNodeOrBuilder
      Returns:
      The startRevision.
    • getWatchedRevision

      public long getWatchedRevision()
       the last revision than coordinator pushed back to this watch_id
       
      int64 watched_revision = 5;
      Specified by:
      getWatchedRevision in interface Meta.WatchNodeOrBuilder
      Returns:
      The watchedRevision.
    • getIsWatching

      public long getIsWatching()
       the count that how many client is watching this watch_id
       
      int64 is_watching = 6;
      Specified by:
      getIsWatching in interface Meta.WatchNodeOrBuilder
      Returns:
      The isWatching.
    • getEventTypesList

      public List<Meta.MetaEventType> getEventTypesList()
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Specified by:
      getEventTypesList in interface Meta.WatchNodeOrBuilder
      Returns:
      A list containing the eventTypes.
    • getEventTypesCount

      public int getEventTypesCount()
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Specified by:
      getEventTypesCount in interface Meta.WatchNodeOrBuilder
      Returns:
      The count of eventTypes.
    • getEventTypes

      public Meta.MetaEventType getEventTypes(int index)
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Specified by:
      getEventTypes in interface Meta.WatchNodeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The eventTypes at the given index.
    • getEventTypesValueList

      public List<Integer> getEventTypesValueList()
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Specified by:
      getEventTypesValueList in interface Meta.WatchNodeOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for eventTypes.
    • getEventTypesValue

      public int getEventTypesValue(int index)
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Specified by:
      getEventTypesValue in interface Meta.WatchNodeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of eventTypes at the given index.
    • getPendingEventsList

      public List<Meta.MetaEvent> getPendingEventsList()
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
      Specified by:
      getPendingEventsList in interface Meta.WatchNodeOrBuilder
    • getPendingEventsOrBuilderList

      public List<? extends Meta.MetaEventOrBuilder> getPendingEventsOrBuilderList()
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
      Specified by:
      getPendingEventsOrBuilderList in interface Meta.WatchNodeOrBuilder
    • getPendingEventsCount

      public int getPendingEventsCount()
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
      Specified by:
      getPendingEventsCount in interface Meta.WatchNodeOrBuilder
    • getPendingEvents

      public Meta.MetaEvent getPendingEvents(int index)
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
      Specified by:
      getPendingEvents in interface Meta.WatchNodeOrBuilder
    • getPendingEventsOrBuilder

      public Meta.MetaEventOrBuilder getPendingEventsOrBuilder(int index)
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
      Specified by:
      getPendingEventsOrBuilder in interface Meta.WatchNodeOrBuilder
    • getLastSendTimestampMs

      public long getLastSendTimestampMs()
       the last send timestamp in ms
       
      int64 last_send_timestamp_ms = 9;
      Specified by:
      getLastSendTimestampMs in interface Meta.WatchNodeOrBuilder
      Returns:
      The lastSendTimestampMs.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Meta.WatchNode parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.WatchNode parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.WatchNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.WatchNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.WatchNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.WatchNode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.WatchNode parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Meta.WatchNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Meta.WatchNode parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Meta.WatchNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Meta.WatchNode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Meta.WatchNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Meta.WatchNode.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Meta.WatchNode.Builder newBuilder()
    • newBuilder

      public static Meta.WatchNode.Builder newBuilder(Meta.WatchNode prototype)
    • toBuilder

      public Meta.WatchNode.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Meta.WatchNode.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Meta.WatchNode getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Meta.WatchNode> parser()
    • getParserForType

      public com.google.protobuf.Parser<Meta.WatchNode> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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