Send feedback
Class ExistenceFilter.Builder (3.7.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.7.9 keyboard_arrow_down
public static final class ExistenceFilter . Builder extends GeneratedMessageV3 . Builder<ExistenceFilter . Builder > implements ExistenceFilterOrBuilder
A digest of all the documents that match a given target.
Protobuf type google.firestore.v1.ExistenceFilter
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExistenceFilter . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ExistenceFilter build ()
Returns
buildPartial()
public ExistenceFilter buildPartial ()
Returns
clear()
public ExistenceFilter . Builder clear ()
Returns
Overrides
clearCount()
public ExistenceFilter . Builder clearCount ()
The total count of documents that match 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;
Returns
clearField(Descriptors.FieldDescriptor field)
public ExistenceFilter . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExistenceFilter . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearTargetId()
public ExistenceFilter . Builder clearTargetId ()
The target ID to which this filter applies.
int32 target_id = 1;
Returns
clone()
public ExistenceFilter . Builder clone ()
Returns
Overrides
getCount()
The total count of documents that match 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;
Returns
Type Description int
The count.
getDefaultInstanceForType()
public ExistenceFilter getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getTargetId()
The target ID to which this filter applies.
int32 target_id = 1;
Returns
Type Description int
The targetId.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ExistenceFilter other)
public ExistenceFilter . Builder mergeFrom ( ExistenceFilter other )
Parameter
Returns
public ExistenceFilter . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExistenceFilter . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExistenceFilter . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setCount(int value)
public ExistenceFilter . Builder setCount ( int value )
The total count of documents that match 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;
Parameter
Name Description value
int
The count to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ExistenceFilter . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExistenceFilter . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setTargetId(int value)
public ExistenceFilter . Builder setTargetId ( int value )
The target ID to which this filter applies.
int32 target_id = 1;
Parameter
Name Description value
int
The targetId to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ExistenceFilter . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]