Package io.dingodb.meta
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 TypeMethodDescriptionaddAllEvents(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)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)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)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)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) build()clear()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.clone()booleancanceled 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.ByteStringcancel_reason indicates the reason for canceling the watcher.longcompact_revision is set to the minimum index if a watcher tries to watch at a compacted index.booleancreated is set to true if the response is for a create watch request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError().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)intthe 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)List<? extends Meta.MetaEventOrBuilder>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;longwatch_id is the ID of the watcher that corresponds to the response.booleanhasError().dingodb.pb.error.Error error = 2;boolean.dingodb.pb.common.ResponseInfo response_info = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeError(ErrorOuterClass.Error value) .dingodb.pb.error.Error error = 2;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Meta.WatchResponse 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.setCancelReason(String value) 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.setError(ErrorOuterClass.Error value) .dingodb.pb.error.Error error = 2;setError(ErrorOuterClass.Error.Builder builderForValue) .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)setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .dingodb.pb.common.ResponseInfo response_info = 1;setResponseInfo(Common.ResponseInfo.Builder builderForValue) .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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
setField
public Meta.WatchResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
addRepeatedField
public Meta.WatchResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Meta.WatchResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Meta.WatchResponse.Builder>- Throws:
IOException
-
hasResponseInfo
public boolean hasResponseInfo().dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
hasResponseInfoin interfaceMeta.WatchResponseOrBuilder- Returns:
- Whether the responseInfo field is set.
-
getResponseInfo
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
getResponseInfoin interfaceMeta.WatchResponseOrBuilder- Returns:
- The responseInfo.
-
setResponseInfo
.dingodb.pb.common.ResponseInfo response_info = 1; -
setResponseInfo
.dingodb.pb.common.ResponseInfo response_info = 1; -
mergeResponseInfo
.dingodb.pb.common.ResponseInfo response_info = 1; -
clearResponseInfo
.dingodb.pb.common.ResponseInfo response_info = 1; -
getResponseInfoBuilder
.dingodb.pb.common.ResponseInfo response_info = 1; -
getResponseInfoOrBuilder
.dingodb.pb.common.ResponseInfo response_info = 1;- Specified by:
getResponseInfoOrBuilderin interfaceMeta.WatchResponseOrBuilder
-
hasError
public boolean hasError().dingodb.pb.error.Error error = 2;- Specified by:
hasErrorin interfaceMeta.WatchResponseOrBuilder- Returns:
- Whether the error field is set.
-
getError
.dingodb.pb.error.Error error = 2;- Specified by:
getErrorin interfaceMeta.WatchResponseOrBuilder- Returns:
- The error.
-
setError
.dingodb.pb.error.Error error = 2; -
setError
.dingodb.pb.error.Error error = 2; -
mergeError
.dingodb.pb.error.Error error = 2; -
clearError
.dingodb.pb.error.Error error = 2; -
getErrorBuilder
.dingodb.pb.error.Error error = 2; -
getErrorOrBuilder
.dingodb.pb.error.Error error = 2;- Specified by:
getErrorOrBuilderin interfaceMeta.WatchResponseOrBuilder
-
getWatchId
public long getWatchId()watch_id is the ID of the watcher that corresponds to the response.
int64 watch_id = 4;- Specified by:
getWatchIdin interfaceMeta.WatchResponseOrBuilder- Returns:
- The watchId.
-
setWatchId
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
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:
getCreatedin interfaceMeta.WatchResponseOrBuilder- Returns:
- The created.
-
setCreated
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
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:
getCanceledin interfaceMeta.WatchResponseOrBuilder- Returns:
- The canceled.
-
setCanceled
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
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:
getCompactRevisionin interfaceMeta.WatchResponseOrBuilder- Returns:
- The compactRevision.
-
setCompactRevision
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
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
cancel_reason indicates the reason for canceling the watcher.
string cancel_reason = 8;- Specified by:
getCancelReasonin interfaceMeta.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:
getCancelReasonBytesin interfaceMeta.WatchResponseOrBuilder- Returns:
- The bytes for cancelReason.
-
setCancelReason
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
cancel_reason indicates the reason for canceling the watcher.
string cancel_reason = 8;- Returns:
- This builder for chaining.
-
setCancelReasonBytes
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
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:
getEventsListin interfaceMeta.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:
getEventsCountin interfaceMeta.WatchResponseOrBuilder
-
getEvents
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:
getEventsin interfaceMeta.WatchResponseOrBuilder
-
setEvents
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
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
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
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
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
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
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
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
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
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
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:
getEventsOrBuilderin interfaceMeta.WatchResponseOrBuilder
-
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:
getEventsOrBuilderListin interfaceMeta.WatchResponseOrBuilder
-
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-
mergeUnknownFields
public final Meta.WatchResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Meta.WatchResponse.Builder>
-