public final class ExistenceFilter extends com.google.protobuf.GeneratedMessageV3 implements ExistenceFilterOrBuilder
A digest of all the documents that match a given target.Protobuf type
google.firestore.v1.ExistenceFilter| Modifier and Type | Class and Description |
|---|---|
static class |
ExistenceFilter.Builder
A digest of all the documents that match a given target.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT_FIELD_NUMBER |
static int |
TARGET_ID_FIELD_NUMBER |
static int |
UNCHANGED_NAMES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCount()
The total count of documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id].
|
static ExistenceFilter |
getDefaultInstance() |
ExistenceFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ExistenceFilter> |
getParserForType() |
int |
getSerializedSize() |
int |
getTargetId()
The target ID to which this filter applies.
|
BloomFilter |
getUnchangedNames()
A bloom filter that contains the UTF-8 byte encodings of the resource names
of the documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
`projects/{project_id}/databases/{database_id}/documents/{document_path}`
that have NOT changed since the query results indicated by the resume token
or timestamp given in `Target.resume_type`.
|
BloomFilterOrBuilder |
getUnchangedNamesOrBuilder()
A bloom filter that contains the UTF-8 byte encodings of the resource names
of the documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
`projects/{project_id}/databases/{database_id}/documents/{document_path}`
that have NOT changed since the query results indicated by the resume token
or timestamp given in `Target.resume_type`.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasUnchangedNames()
A bloom filter that contains the UTF-8 byte encodings of the resource names
of the documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
`projects/{project_id}/databases/{database_id}/documents/{document_path}`
that have NOT changed since the query results indicated by the resume token
or timestamp given in `Target.resume_type`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExistenceFilter.Builder |
newBuilder() |
static ExistenceFilter.Builder |
newBuilder(ExistenceFilter prototype) |
ExistenceFilter.Builder |
newBuilderForType() |
protected ExistenceFilter.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExistenceFilter |
parseDelimitedFrom(InputStream input) |
static ExistenceFilter |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExistenceFilter |
parseFrom(byte[] data) |
static ExistenceFilter |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExistenceFilter |
parseFrom(ByteBuffer data) |
static ExistenceFilter |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExistenceFilter |
parseFrom(com.google.protobuf.ByteString data) |
static ExistenceFilter |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExistenceFilter |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExistenceFilter |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExistenceFilter |
parseFrom(InputStream input) |
static ExistenceFilter |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExistenceFilter> |
parser() |
ExistenceFilter.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TARGET_ID_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public static final int UNCHANGED_NAMES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getTargetId()
The target ID to which this filter applies.
int32 target_id = 1;getTargetId in interface ExistenceFilterOrBuilderpublic int getCount()
The total count of documents that match [target_id][google.firestore.v1.ExistenceFilter.target_id]. If different from the count of documents in the client that match, the client must manually determine which documents no longer match the target.
int32 count = 2;getCount in interface ExistenceFilterOrBuilderpublic boolean hasUnchangedNames()
A bloom filter that contains the UTF-8 byte encodings of the resource names
of the documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
`projects/{project_id}/databases/{database_id}/documents/{document_path}`
that have NOT changed since the query results indicated by the resume token
or timestamp given in `Target.resume_type`.
This bloom filter may be omitted at the server's discretion, such as if it
is deemed that the client will not make use of it or if it is too
computationally expensive to calculate or transmit. Clients must gracefully
handle this field being absent by falling back to the logic used before
this field existed; that is, re-add the target without a resume token to
figure out which documents in the client's cache are out of sync.
.google.firestore.v1.BloomFilter unchanged_names = 3;hasUnchangedNames in interface ExistenceFilterOrBuilderpublic BloomFilter getUnchangedNames()
A bloom filter that contains the UTF-8 byte encodings of the resource names
of the documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
`projects/{project_id}/databases/{database_id}/documents/{document_path}`
that have NOT changed since the query results indicated by the resume token
or timestamp given in `Target.resume_type`.
This bloom filter may be omitted at the server's discretion, such as if it
is deemed that the client will not make use of it or if it is too
computationally expensive to calculate or transmit. Clients must gracefully
handle this field being absent by falling back to the logic used before
this field existed; that is, re-add the target without a resume token to
figure out which documents in the client's cache are out of sync.
.google.firestore.v1.BloomFilter unchanged_names = 3;getUnchangedNames in interface ExistenceFilterOrBuilderpublic BloomFilterOrBuilder getUnchangedNamesOrBuilder()
A bloom filter that contains the UTF-8 byte encodings of the resource names
of the documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
`projects/{project_id}/databases/{database_id}/documents/{document_path}`
that have NOT changed since the query results indicated by the resume token
or timestamp given in `Target.resume_type`.
This bloom filter may be omitted at the server's discretion, such as if it
is deemed that the client will not make use of it or if it is too
computationally expensive to calculate or transmit. Clients must gracefully
handle this field being absent by falling back to the logic used before
this field existed; that is, re-add the target without a resume token to
figure out which documents in the client's cache are out of sync.
.google.firestore.v1.BloomFilter unchanged_names = 3;getUnchangedNamesOrBuilder in interface ExistenceFilterOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ExistenceFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExistenceFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExistenceFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExistenceFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExistenceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExistenceFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExistenceFilter parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExistenceFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExistenceFilter parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExistenceFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExistenceFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExistenceFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExistenceFilter.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExistenceFilter.Builder newBuilder()
public static ExistenceFilter.Builder newBuilder(ExistenceFilter prototype)
public ExistenceFilter.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExistenceFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExistenceFilter getDefaultInstance()
public static com.google.protobuf.Parser<ExistenceFilter> parser()
public com.google.protobuf.Parser<ExistenceFilter> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExistenceFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.