public static final class Rpc.WatchCreateRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder> implements Rpc.WatchCreateRequestOrBuilder
etcdserverpb.WatchCreateRequest| 限定符和类型 | 方法和说明 |
|---|---|
Rpc.WatchCreateRequest.Builder |
addAllFilters(Iterable<? extends Rpc.WatchCreateRequest.FilterType> values)
filters filter the events at server side before it sends back to the watcher.
|
Rpc.WatchCreateRequest.Builder |
addAllFiltersValue(Iterable<Integer> values)
filters filter the events at server side before it sends back to the watcher.
|
Rpc.WatchCreateRequest.Builder |
addFilters(Rpc.WatchCreateRequest.FilterType value)
filters filter the events at server side before it sends back to the watcher.
|
Rpc.WatchCreateRequest.Builder |
addFiltersValue(int value)
filters filter the events at server side before it sends back to the watcher.
|
Rpc.WatchCreateRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Rpc.WatchCreateRequest |
build() |
Rpc.WatchCreateRequest |
buildPartial() |
Rpc.WatchCreateRequest.Builder |
clear() |
Rpc.WatchCreateRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Rpc.WatchCreateRequest.Builder |
clearFilters()
filters filter the events at server side before it sends back to the watcher.
|
Rpc.WatchCreateRequest.Builder |
clearKey()
key is the key to register for watching.
|
Rpc.WatchCreateRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Rpc.WatchCreateRequest.Builder |
clearPrevKv()
If prev_kv is set, created watcher gets the previous KV before the event happens.
|
Rpc.WatchCreateRequest.Builder |
clearProgressNotify()
progress_notify is set so that the etcd server will periodically send a WatchResponse with
no events to the new watcher if there are no recent events.
|
Rpc.WatchCreateRequest.Builder |
clearRangeEnd()
range_end is the end of the range [key, range_end) to watch.
|
Rpc.WatchCreateRequest.Builder |
clearStartRevision()
start_revision is an optional revision to watch from (inclusive).
|
Rpc.WatchCreateRequest.Builder |
clone() |
Rpc.WatchCreateRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Rpc.WatchCreateRequest.FilterType |
getFilters(int index)
filters filter the events at server side before it sends back to the watcher.
|
int |
getFiltersCount()
filters filter the events at server side before it sends back to the watcher.
|
List<Rpc.WatchCreateRequest.FilterType> |
getFiltersList()
filters filter the events at server side before it sends back to the watcher.
|
int |
getFiltersValue(int index)
filters filter the events at server side before it sends back to the watcher.
|
List<Integer> |
getFiltersValueList()
filters filter the events at server side before it sends back to the watcher.
|
com.google.protobuf.ByteString |
getKey()
key is the key to register for watching.
|
boolean |
getPrevKv()
If prev_kv is set, created watcher gets the previous KV before the event happens.
|
boolean |
getProgressNotify()
progress_notify is set so that the etcd server will periodically send a WatchResponse with
no events to the new watcher if there are no recent events.
|
com.google.protobuf.ByteString |
getRangeEnd()
range_end is the end of the range [key, range_end) to watch.
|
long |
getStartRevision()
start_revision is an optional revision to watch from (inclusive).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Rpc.WatchCreateRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Rpc.WatchCreateRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Rpc.WatchCreateRequest.Builder |
mergeFrom(Rpc.WatchCreateRequest other) |
Rpc.WatchCreateRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Rpc.WatchCreateRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Rpc.WatchCreateRequest.Builder |
setFilters(int index,
Rpc.WatchCreateRequest.FilterType value)
filters filter the events at server side before it sends back to the watcher.
|
Rpc.WatchCreateRequest.Builder |
setFiltersValue(int index,
int value)
filters filter the events at server side before it sends back to the watcher.
|
Rpc.WatchCreateRequest.Builder |
setKey(com.google.protobuf.ByteString value)
key is the key to register for watching.
|
Rpc.WatchCreateRequest.Builder |
setPrevKv(boolean value)
If prev_kv is set, created watcher gets the previous KV before the event happens.
|
Rpc.WatchCreateRequest.Builder |
setProgressNotify(boolean value)
progress_notify is set so that the etcd server will periodically send a WatchResponse with
no events to the new watcher if there are no recent events.
|
Rpc.WatchCreateRequest.Builder |
setRangeEnd(com.google.protobuf.ByteString value)
range_end is the end of the range [key, range_end) to watch.
|
Rpc.WatchCreateRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Rpc.WatchCreateRequest.Builder |
setStartRevision(long value)
start_revision is an optional revision to watch from (inclusive).
|
Rpc.WatchCreateRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Rpc.WatchCreateRequest build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Rpc.WatchCreateRequest buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Rpc.WatchCreateRequest.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder mergeFrom(Rpc.WatchCreateRequest other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public Rpc.WatchCreateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Rpc.WatchCreateRequest.Builder>IOExceptionpublic com.google.protobuf.ByteString getKey()
key is the key to register for watching.
bytes key = 1;getKey 在接口中 Rpc.WatchCreateRequestOrBuilderpublic Rpc.WatchCreateRequest.Builder setKey(com.google.protobuf.ByteString value)
key is the key to register for watching.
bytes key = 1;public Rpc.WatchCreateRequest.Builder clearKey()
key is the key to register for watching.
bytes key = 1;public com.google.protobuf.ByteString getRangeEnd()
range_end is the end of the range [key, range_end) to watch. If range_end is not given, only the key argument is watched. If range_end is equal to '\0', all keys greater than or equal to the key argument are watched. If the range_end is one bit larger than the given key, then all keys with the prefix (the given key) will be watched.
bytes range_end = 2;getRangeEnd 在接口中 Rpc.WatchCreateRequestOrBuilderpublic Rpc.WatchCreateRequest.Builder setRangeEnd(com.google.protobuf.ByteString value)
range_end is the end of the range [key, range_end) to watch. If range_end is not given, only the key argument is watched. If range_end is equal to '\0', all keys greater than or equal to the key argument are watched. If the range_end is one bit larger than the given key, then all keys with the prefix (the given key) will be watched.
bytes range_end = 2;public Rpc.WatchCreateRequest.Builder clearRangeEnd()
range_end is the end of the range [key, range_end) to watch. If range_end is not given, only the key argument is watched. If range_end is equal to '\0', all keys greater than or equal to the key argument are watched. If the range_end is one bit larger than the given key, then all keys with the prefix (the given key) will be watched.
bytes range_end = 2;public long getStartRevision()
start_revision is an optional revision to watch from (inclusive). No start_revision is "now".
int64 start_revision = 3;public Rpc.WatchCreateRequest.Builder setStartRevision(long value)
start_revision is an optional revision to watch from (inclusive). No start_revision is "now".
int64 start_revision = 3;public Rpc.WatchCreateRequest.Builder clearStartRevision()
start_revision is an optional revision to watch from (inclusive). No start_revision is "now".
int64 start_revision = 3;public boolean getProgressNotify()
progress_notify is set so that the etcd server will periodically send a WatchResponse with no events to the new watcher if there are no recent events. It is useful when clients wish to recover a disconnected watcher starting from a recent known revision. The etcd server may decide how often it will send notifications based on current load.
bool progress_notify = 4;public Rpc.WatchCreateRequest.Builder setProgressNotify(boolean value)
progress_notify is set so that the etcd server will periodically send a WatchResponse with no events to the new watcher if there are no recent events. It is useful when clients wish to recover a disconnected watcher starting from a recent known revision. The etcd server may decide how often it will send notifications based on current load.
bool progress_notify = 4;public Rpc.WatchCreateRequest.Builder clearProgressNotify()
progress_notify is set so that the etcd server will periodically send a WatchResponse with no events to the new watcher if there are no recent events. It is useful when clients wish to recover a disconnected watcher starting from a recent known revision. The etcd server may decide how often it will send notifications based on current load.
bool progress_notify = 4;public List<Rpc.WatchCreateRequest.FilterType> getFiltersList()
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public int getFiltersCount()
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public Rpc.WatchCreateRequest.FilterType getFilters(int index)
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;getFilters 在接口中 Rpc.WatchCreateRequestOrBuilderpublic Rpc.WatchCreateRequest.Builder setFilters(int index, Rpc.WatchCreateRequest.FilterType value)
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public Rpc.WatchCreateRequest.Builder addFilters(Rpc.WatchCreateRequest.FilterType value)
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public Rpc.WatchCreateRequest.Builder addAllFilters(Iterable<? extends Rpc.WatchCreateRequest.FilterType> values)
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public Rpc.WatchCreateRequest.Builder clearFilters()
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public List<Integer> getFiltersValueList()
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public int getFiltersValue(int index)
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public Rpc.WatchCreateRequest.Builder setFiltersValue(int index, int value)
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public Rpc.WatchCreateRequest.Builder addFiltersValue(int value)
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public Rpc.WatchCreateRequest.Builder addAllFiltersValue(Iterable<Integer> values)
filters filter the events at server side before it sends back to the watcher.
repeated .etcdserverpb.WatchCreateRequest.FilterType filters = 5;public boolean getPrevKv()
If prev_kv is set, created watcher gets the previous KV before the event happens. If the previous KV is already compacted, nothing will be returned.
bool prev_kv = 6;getPrevKv 在接口中 Rpc.WatchCreateRequestOrBuilderpublic Rpc.WatchCreateRequest.Builder setPrevKv(boolean value)
If prev_kv is set, created watcher gets the previous KV before the event happens. If the previous KV is already compacted, nothing will be returned.
bool prev_kv = 6;public Rpc.WatchCreateRequest.Builder clearPrevKv()
If prev_kv is set, created watcher gets the previous KV before the event happens. If the previous KV is already compacted, nothing will be returned.
bool prev_kv = 6;public final Rpc.WatchCreateRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>public final Rpc.WatchCreateRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Rpc.WatchCreateRequest.Builder>Copyright © 2018. All rights reserved.