public static final class ExistenceFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder> implements ExistenceFilterOrBuilder
A digest of all the documents that match a given target.Protobuf type
google.firestore.v1.ExistenceFilter| Modifier and Type | Method and Description |
|---|---|
ExistenceFilter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExistenceFilter |
build() |
ExistenceFilter |
buildPartial() |
ExistenceFilter.Builder |
clear() |
ExistenceFilter.Builder |
clearCount()
The total count of documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id].
|
ExistenceFilter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExistenceFilter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExistenceFilter.Builder |
clearTargetId()
The target ID to which this filter applies.
|
ExistenceFilter.Builder |
clearUnchangedNames()
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`.
|
ExistenceFilter.Builder |
clone() |
int |
getCount()
The total count of documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id].
|
ExistenceFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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`.
|
BloomFilter.Builder |
getUnchangedNamesBuilder()
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`.
|
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() |
ExistenceFilter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExistenceFilter.Builder |
mergeFrom(ExistenceFilter other) |
ExistenceFilter.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExistenceFilter.Builder |
mergeUnchangedNames(BloomFilter value)
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`.
|
ExistenceFilter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExistenceFilter.Builder |
setCount(int value)
The total count of documents that match
[target_id][google.firestore.v1.ExistenceFilter.target_id].
|
ExistenceFilter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExistenceFilter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExistenceFilter.Builder |
setTargetId(int value)
The target ID to which this filter applies.
|
ExistenceFilter.Builder |
setUnchangedNames(BloomFilter.Builder builderForValue)
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`.
|
ExistenceFilter.Builder |
setUnchangedNames(BloomFilter value)
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`.
|
ExistenceFilter.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExistenceFilter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExistenceFilter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExistenceFilter.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder mergeFrom(ExistenceFilter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public ExistenceFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExistenceFilter.Builder>IOExceptionpublic int getTargetId()
The target ID to which this filter applies.
int32 target_id = 1;getTargetId in interface ExistenceFilterOrBuilderpublic ExistenceFilter.Builder setTargetId(int value)
The target ID to which this filter applies.
int32 target_id = 1;value - The targetId to set.public ExistenceFilter.Builder clearTargetId()
The target ID to which this filter applies.
int32 target_id = 1;public 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 ExistenceFilter.Builder setCount(int value)
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;value - The count to set.public ExistenceFilter.Builder clearCount()
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;public 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 ExistenceFilter.Builder setUnchangedNames(BloomFilter value)
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;public ExistenceFilter.Builder setUnchangedNames(BloomFilter.Builder builderForValue)
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;public ExistenceFilter.Builder mergeUnchangedNames(BloomFilter value)
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;public ExistenceFilter.Builder clearUnchangedNames()
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;public BloomFilter.Builder getUnchangedNamesBuilder()
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;public 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 ExistenceFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>public final ExistenceFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExistenceFilter.Builder>Copyright © 2023 Google LLC. All rights reserved.