Send feedback
Class StructuredQuery.Filter.Builder (3.4.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.4.1 keyboard_arrow_down
public static final class StructuredQuery . Filter . Builder extends GeneratedMessageV3 . Builder<StructuredQuery . Filter . Builder > implements StructuredQuery . FilterOrBuilder
A filter.
Protobuf type google.firestore.v1.StructuredQuery.Filter
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery . Filter . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public StructuredQuery . Filter build ()
Returns
buildPartial()
public StructuredQuery . Filter buildPartial ()
Returns
clear()
public StructuredQuery . Filter . Builder clear ()
Returns
Overrides
clearCompositeFilter()
public StructuredQuery . Filter . Builder clearCompositeFilter ()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public StructuredQuery . Filter . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearFieldFilter()
public StructuredQuery . Filter . Builder clearFieldFilter ()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Returns
clearFilterType()
public StructuredQuery . Filter . Builder clearFilterType ()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StructuredQuery . Filter . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUnaryFilter()
public StructuredQuery . Filter . Builder clearUnaryFilter ()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Returns
clone()
public StructuredQuery . Filter . Builder clone ()
Returns
Overrides
getCompositeFilter()
public StructuredQuery . CompositeFilter getCompositeFilter ()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Returns
getCompositeFilterBuilder()
public StructuredQuery . CompositeFilter . Builder getCompositeFilterBuilder ()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Returns
getCompositeFilterOrBuilder()
public StructuredQuery . CompositeFilterOrBuilder getCompositeFilterOrBuilder ()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Returns
getDefaultInstanceForType()
public StructuredQuery . Filter getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getFieldFilter()
public StructuredQuery . FieldFilter getFieldFilter ()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Returns
getFieldFilterBuilder()
public StructuredQuery . FieldFilter . Builder getFieldFilterBuilder ()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Returns
getFieldFilterOrBuilder()
public StructuredQuery . FieldFilterOrBuilder getFieldFilterOrBuilder ()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Returns
getFilterTypeCase()
public StructuredQuery . Filter . FilterTypeCase getFilterTypeCase ()
Returns
getUnaryFilter()
public StructuredQuery . UnaryFilter getUnaryFilter ()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Returns
getUnaryFilterBuilder()
public StructuredQuery . UnaryFilter . Builder getUnaryFilterBuilder ()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Returns
getUnaryFilterOrBuilder()
public StructuredQuery . UnaryFilterOrBuilder getUnaryFilterOrBuilder ()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Returns
hasCompositeFilter()
public boolean hasCompositeFilter ()
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Returns
Type Description boolean Whether the compositeFilter field is set.
hasFieldFilter()
public boolean hasFieldFilter ()
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Returns
Type Description boolean Whether the fieldFilter field is set.
hasUnaryFilter()
public boolean hasUnaryFilter ()
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Returns
Type Description boolean Whether the unaryFilter field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeCompositeFilter(StructuredQuery.CompositeFilter value)
public StructuredQuery . Filter . Builder mergeCompositeFilter ( StructuredQuery . CompositeFilter value )
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Parameter
Returns
mergeFieldFilter(StructuredQuery.FieldFilter value)
public StructuredQuery . Filter . Builder mergeFieldFilter ( StructuredQuery . FieldFilter value )
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Parameter
Returns
mergeFrom(StructuredQuery.Filter other)
public StructuredQuery . Filter . Builder mergeFrom ( StructuredQuery . Filter other )
Parameter
Returns
public StructuredQuery . Filter . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StructuredQuery . Filter . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnaryFilter(StructuredQuery.UnaryFilter value)
public StructuredQuery . Filter . Builder mergeUnaryFilter ( StructuredQuery . UnaryFilter value )
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery . Filter . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setCompositeFilter(StructuredQuery.CompositeFilter value)
public StructuredQuery . Filter . Builder setCompositeFilter ( StructuredQuery . CompositeFilter value )
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Parameter
Returns
setCompositeFilter(StructuredQuery.CompositeFilter.Builder builderForValue)
public StructuredQuery . Filter . Builder setCompositeFilter ( StructuredQuery . CompositeFilter . Builder builderForValue )
A composite filter.
.google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery . Filter . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setFieldFilter(StructuredQuery.FieldFilter value)
public StructuredQuery . Filter . Builder setFieldFilter ( StructuredQuery . FieldFilter value )
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Parameter
Returns
setFieldFilter(StructuredQuery.FieldFilter.Builder builderForValue)
public StructuredQuery . Filter . Builder setFieldFilter ( StructuredQuery . FieldFilter . Builder builderForValue )
A filter on a document field.
.google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructuredQuery . Filter . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnaryFilter(StructuredQuery.UnaryFilter value)
public StructuredQuery . Filter . Builder setUnaryFilter ( StructuredQuery . UnaryFilter value )
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Parameter
Returns
setUnaryFilter(StructuredQuery.UnaryFilter.Builder builderForValue)
public StructuredQuery . Filter . Builder setUnaryFilter ( StructuredQuery . UnaryFilter . Builder builderForValue )
A filter that takes exactly one argument.
.google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery . Filter . 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."],[],[]]