Send feedback
Class StructuredQuery.FieldFilter.Builder (3.13.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.13.1 keyboard_arrow_down
public static final class StructuredQuery . FieldFilter . Builder extends GeneratedMessageV3 . Builder<StructuredQuery . FieldFilter . Builder > implements StructuredQuery . FieldFilterOrBuilder
A filter on a specific field.
Protobuf type google.firestore.v1.StructuredQuery.FieldFilter
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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery . FieldFilter . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public StructuredQuery . FieldFilter build ()
buildPartial()
public StructuredQuery . FieldFilter buildPartial ()
clear()
public StructuredQuery . FieldFilter . Builder clear ()
Overrides
clearField()
public StructuredQuery . FieldFilter . Builder clearField ()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
clearField(Descriptors.FieldDescriptor field)
public StructuredQuery . FieldFilter . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StructuredQuery . FieldFilter . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearOp()
public StructuredQuery . FieldFilter . Builder clearOp ()
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
clearValue()
public StructuredQuery . FieldFilter . Builder clearValue ()
The value to compare to.
.google.firestore.v1.Value value = 3;
clone()
public StructuredQuery . FieldFilter . Builder clone ()
Overrides
getDefaultInstanceForType()
public StructuredQuery . FieldFilter getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getField()
public StructuredQuery . FieldReference getField ()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
getFieldBuilder()
public StructuredQuery . FieldReference . Builder getFieldBuilder ()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
getFieldOrBuilder()
public StructuredQuery . FieldReferenceOrBuilder getFieldOrBuilder ()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
getOp()
public StructuredQuery . FieldFilter . Operator getOp ()
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
getOpValue()
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
Returns Type Description int
The enum numeric value on the wire for op.
getValue()
The value to compare to.
.google.firestore.v1.Value value = 3;
Returns Type Description Value
The value.
getValueBuilder()
public Value . Builder getValueBuilder ()
The value to compare to.
.google.firestore.v1.Value value = 3;
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder ()
The value to compare to.
.google.firestore.v1.Value value = 3;
hasField()
public boolean hasField ()
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Returns Type Description boolean
Whether the field field is set.
hasValue()
public boolean hasValue ()
The value to compare to.
.google.firestore.v1.Value value = 3;
Returns Type Description boolean
Whether the value field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeField(StructuredQuery.FieldReference value)
public StructuredQuery . FieldFilter . Builder mergeField ( StructuredQuery . FieldReference value )
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
mergeFrom(StructuredQuery.FieldFilter other)
public StructuredQuery . FieldFilter . Builder mergeFrom ( StructuredQuery . FieldFilter other )
public StructuredQuery . FieldFilter . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public StructuredQuery . FieldFilter . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery . FieldFilter . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
mergeValue(Value value)
public StructuredQuery . FieldFilter . Builder mergeValue ( Value value )
The value to compare to.
.google.firestore.v1.Value value = 3;
Parameter Name Description value
Value
setField(StructuredQuery.FieldReference value)
public StructuredQuery . FieldFilter . Builder setField ( StructuredQuery . FieldReference value )
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
setField(StructuredQuery.FieldReference.Builder builderForValue)
public StructuredQuery . FieldFilter . Builder setField ( StructuredQuery . FieldReference . Builder builderForValue )
The field to filter by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery . FieldFilter . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setOp(StructuredQuery.FieldFilter.Operator value)
public StructuredQuery . FieldFilter . Builder setOp ( StructuredQuery . FieldFilter . Operator value )
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
setOpValue(int value)
public StructuredQuery . FieldFilter . Builder setOpValue ( int value )
The operator to filter by.
.google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
Parameter Name Description value
int
The enum numeric value on the wire for op to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructuredQuery . FieldFilter . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery . FieldFilter . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setValue(Value value)
public StructuredQuery . FieldFilter . Builder setValue ( Value value )
The value to compare to.
.google.firestore.v1.Value value = 3;
Parameter Name Description value
Value
setValue(Value.Builder builderForValue)
public StructuredQuery . FieldFilter . Builder setValue ( Value . Builder builderForValue )
The value to compare to.
.google.firestore.v1.Value value = 3;
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."],[],[]]