Uses of Class
io.dingodb.meta.Meta.WatchResponse.Builder
Packages that use Meta.WatchResponse.Builder
-
Uses of Meta.WatchResponse.Builder in io.dingodb.meta
Methods in io.dingodb.meta that return Meta.WatchResponse.BuilderModifier and TypeMethodDescriptionMeta.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)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)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)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)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)Meta.WatchResponse.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Meta.WatchResponse.Builder.clear()Meta.WatchResponse.Builder.clearCanceled()canceled is set to true if the response is for a cancel watch request.Meta.WatchResponse.Builder.clearCancelReason()cancel_reason indicates the reason for canceling the watcher.Meta.WatchResponse.Builder.clearCompactRevision()compact_revision is set to the minimum index if a watcher tries to watch at a compacted index.Meta.WatchResponse.Builder.clearCreated()created is set to true if the response is for a create watch request.Meta.WatchResponse.Builder.clearError().dingodb.pb.error.Error error = 2;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)Meta.WatchResponse.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Meta.WatchResponse.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Meta.WatchResponse.Builder.clearResponseInfo().dingodb.pb.common.ResponseInfo response_info = 1;Meta.WatchResponse.Builder.clearWatchId()watch_id is the ID of the watcher that corresponds to the response.Meta.WatchResponse.Builder.clone()Meta.WatchResponse.Builder.mergeError(ErrorOuterClass.Error value) .dingodb.pb.error.Error error = 2;Meta.WatchResponse.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Meta.WatchResponse.Builder.mergeFrom(com.google.protobuf.Message other) Meta.WatchResponse.Builder.mergeFrom(Meta.WatchResponse other) Meta.WatchResponse.Builder.mergeResponseInfo(Common.ResponseInfo value) .dingodb.pb.common.ResponseInfo response_info = 1;Meta.WatchResponse.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) static Meta.WatchResponse.BuilderMeta.WatchResponse.newBuilder()static Meta.WatchResponse.BuilderMeta.WatchResponse.newBuilder(Meta.WatchResponse prototype) Meta.WatchResponse.newBuilderForType()protected Meta.WatchResponse.BuilderMeta.WatchResponse.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) 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)Meta.WatchResponse.Builder.setCanceled(boolean value) canceled is set to true if the response is for a cancel watch request.Meta.WatchResponse.Builder.setCancelReason(String value) cancel_reason indicates the reason for canceling the watcher.Meta.WatchResponse.Builder.setCancelReasonBytes(com.google.protobuf.ByteString value) cancel_reason indicates the reason for canceling the watcher.Meta.WatchResponse.Builder.setCompactRevision(long value) compact_revision is set to the minimum index if a watcher tries to watch at a compacted index.Meta.WatchResponse.Builder.setCreated(boolean value) created is set to true if the response is for a create watch request.Meta.WatchResponse.Builder.setError(ErrorOuterClass.Error value) .dingodb.pb.error.Error error = 2;Meta.WatchResponse.Builder.setError(ErrorOuterClass.Error.Builder builderForValue) .dingodb.pb.error.Error error = 2;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)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)Meta.WatchResponse.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Meta.WatchResponse.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Meta.WatchResponse.Builder.setResponseInfo(Common.ResponseInfo value) .dingodb.pb.common.ResponseInfo response_info = 1;Meta.WatchResponse.Builder.setResponseInfo(Common.ResponseInfo.Builder builderForValue) .dingodb.pb.common.ResponseInfo response_info = 1;Meta.WatchResponse.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Meta.WatchResponse.Builder.setWatchId(long value) watch_id is the ID of the watcher that corresponds to the response.Meta.WatchResponse.toBuilder()