public static final class Rpc.WatchCreateRequest extends com.google.protobuf.GeneratedMessageV3 implements Rpc.WatchCreateRequestOrBuilder
etcdserverpb.WatchCreateRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
Rpc.WatchCreateRequest.Builder
Protobuf type
etcdserverpb.WatchCreateRequest |
static class |
Rpc.WatchCreateRequest.FilterType
Protobuf enum
etcdserverpb.WatchCreateRequest.FilterType |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
FILTERS_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
PREV_KV_FIELD_NUMBER |
static int |
PROGRESS_NOTIFY_FIELD_NUMBER |
static int |
RANGE_END_FIELD_NUMBER |
static int |
START_REVISION_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static Rpc.WatchCreateRequest |
getDefaultInstance() |
Rpc.WatchCreateRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Rpc.WatchCreateRequest> |
getParserForType() |
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.
|
int |
getSerializedSize() |
long |
getStartRevision()
start_revision is an optional revision to watch from (inclusive).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Rpc.WatchCreateRequest.Builder |
newBuilder() |
static Rpc.WatchCreateRequest.Builder |
newBuilder(Rpc.WatchCreateRequest prototype) |
Rpc.WatchCreateRequest.Builder |
newBuilderForType() |
protected Rpc.WatchCreateRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Rpc.WatchCreateRequest |
parseDelimitedFrom(InputStream input) |
static Rpc.WatchCreateRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.WatchCreateRequest |
parseFrom(byte[] data) |
static Rpc.WatchCreateRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.WatchCreateRequest |
parseFrom(ByteBuffer data) |
static Rpc.WatchCreateRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.WatchCreateRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Rpc.WatchCreateRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.WatchCreateRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Rpc.WatchCreateRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.WatchCreateRequest |
parseFrom(InputStream input) |
static Rpc.WatchCreateRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Rpc.WatchCreateRequest> |
parser() |
Rpc.WatchCreateRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int KEY_FIELD_NUMBER
public static final int RANGE_END_FIELD_NUMBER
public static final int START_REVISION_FIELD_NUMBER
public static final int PROGRESS_NOTIFY_FIELD_NUMBER
public static final int FILTERS_FIELD_NUMBER
public static final int PREV_KV_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ByteString getKey()
key is the key to register for watching.
bytes key = 1;getKey 在接口中 Rpc.WatchCreateRequestOrBuilderpublic 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 long getStartRevision()
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 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 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 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 final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Rpc.WatchCreateRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.WatchCreateRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.WatchCreateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.WatchCreateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.WatchCreateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.WatchCreateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.WatchCreateRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Rpc.WatchCreateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.WatchCreateRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Rpc.WatchCreateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.WatchCreateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Rpc.WatchCreateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Rpc.WatchCreateRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Rpc.WatchCreateRequest.Builder newBuilder()
public static Rpc.WatchCreateRequest.Builder newBuilder(Rpc.WatchCreateRequest prototype)
public Rpc.WatchCreateRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Rpc.WatchCreateRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Rpc.WatchCreateRequest getDefaultInstance()
public static com.google.protobuf.Parser<Rpc.WatchCreateRequest> parser()
public com.google.protobuf.Parser<Rpc.WatchCreateRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Rpc.WatchCreateRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.