Package io.dingodb.meta
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.meta.WatchNodeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Meta.WatchNodestatic final com.google.protobuf.Descriptors.DescriptorgetEventTypes(int index) repeated .dingodb.pb.meta.MetaEventType event_types = 7;intrepeated .dingodb.pb.meta.MetaEventType event_types = 7;repeated .dingodb.pb.meta.MetaEventType event_types = 7;intgetEventTypesValue(int index) repeated .dingodb.pb.meta.MetaEventType event_types = 7;repeated .dingodb.pb.meta.MetaEventType event_types = 7;longthe count that how many client is watching this watch_idlongthe last send timestamp in mscom.google.protobuf.Parser<Meta.WatchNode>getPendingEvents(int index) the pending events that coordinator want to push to this watch_idintthe pending events that coordinator want to push to this watch_idthe pending events that coordinator want to push to this watch_idgetPendingEventsOrBuilder(int index) the pending events that coordinator want to push to this watch_idList<? extends Meta.MetaEventOrBuilder>the pending events that coordinator want to push to this watch_idintlongthe start revision of this watch_id want to watchlongthe last revision than coordinator pushed back to this watch_idlongint64 watch_id = 3;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Meta.WatchNode.Builderstatic Meta.WatchNode.BuildernewBuilder(Meta.WatchNode prototype) protected Meta.WatchNode.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Meta.WatchNodeparseDelimitedFrom(InputStream input) static Meta.WatchNodeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.WatchNodeparseFrom(byte[] data) static Meta.WatchNodeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.WatchNodeparseFrom(com.google.protobuf.ByteString data) static Meta.WatchNodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.WatchNodeparseFrom(com.google.protobuf.CodedInputStream input) static Meta.WatchNodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.WatchNodeparseFrom(InputStream input) static Meta.WatchNodeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.WatchNodeparseFrom(ByteBuffer data) static Meta.WatchNodeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Meta.WatchNode>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getWatchId
public long getWatchId()int64 watch_id = 3;- Specified by:
getWatchIdin interfaceMeta.WatchNodeOrBuilder- Returns:
- The watchId.
-
getStartRevision
public long getStartRevision()the start revision of this watch_id want to watch
int64 start_revision = 4;- Specified by:
getStartRevisionin interfaceMeta.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:
getWatchedRevisionin interfaceMeta.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:
getIsWatchingin interfaceMeta.WatchNodeOrBuilder- Returns:
- The isWatching.
-
getEventTypesList
repeated .dingodb.pb.meta.MetaEventType event_types = 7;- Specified by:
getEventTypesListin interfaceMeta.WatchNodeOrBuilder- Returns:
- A list containing the eventTypes.
-
getEventTypesCount
public int getEventTypesCount()repeated .dingodb.pb.meta.MetaEventType event_types = 7;- Specified by:
getEventTypesCountin interfaceMeta.WatchNodeOrBuilder- Returns:
- The count of eventTypes.
-
getEventTypes
repeated .dingodb.pb.meta.MetaEventType event_types = 7;- Specified by:
getEventTypesin interfaceMeta.WatchNodeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventTypes at the given index.
-
getEventTypesValueList
repeated .dingodb.pb.meta.MetaEventType event_types = 7;- Specified by:
getEventTypesValueListin interfaceMeta.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:
getEventTypesValuein interfaceMeta.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
the pending events that coordinator want to push to this watch_id
repeated .dingodb.pb.meta.MetaEvent pending_events = 8;- Specified by:
getPendingEventsListin interfaceMeta.WatchNodeOrBuilder
-
getPendingEventsOrBuilderList
the pending events that coordinator want to push to this watch_id
repeated .dingodb.pb.meta.MetaEvent pending_events = 8;- Specified by:
getPendingEventsOrBuilderListin interfaceMeta.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:
getPendingEventsCountin interfaceMeta.WatchNodeOrBuilder
-
getPendingEvents
the pending events that coordinator want to push to this watch_id
repeated .dingodb.pb.meta.MetaEvent pending_events = 8;- Specified by:
getPendingEventsin interfaceMeta.WatchNodeOrBuilder
-
getPendingEventsOrBuilder
the pending events that coordinator want to push to this watch_id
repeated .dingodb.pb.meta.MetaEvent pending_events = 8;- Specified by:
getPendingEventsOrBuilderin interfaceMeta.WatchNodeOrBuilder
-
getLastSendTimestampMs
public long getLastSendTimestampMs()the last send timestamp in ms
int64 last_send_timestamp_ms = 9;- Specified by:
getLastSendTimestampMsin interfaceMeta.WatchNodeOrBuilder- Returns:
- The lastSendTimestampMs.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Meta.WatchNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Meta.WatchNode.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-