public static final class StructuredQuery.CompositeFilter.Builder extends GeneratedMessageV3.Builder<StructuredQuery.CompositeFilter.Builder> implements StructuredQuery.CompositeFilterOrBuilder
A filter that merges multiple other filters using the given operator.
Protobuf type google.firestore.v1.StructuredQuery.CompositeFilter
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
addAllFilters(Iterable<? extends StructuredQuery.Filter> values)
public StructuredQuery.CompositeFilter.Builder addAllFilters(Iterable<? extends StructuredQuery.Filter> values)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.firestore.v1.StructuredQuery.Filter>
|
Returns
addFilters(StructuredQuery.Filter value)
public StructuredQuery.CompositeFilter.Builder addFilters(StructuredQuery.Filter value)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameter
Returns
addFilters(StructuredQuery.Filter.Builder builderForValue)
public StructuredQuery.CompositeFilter.Builder addFilters(StructuredQuery.Filter.Builder builderForValue)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameter
Returns
addFilters(int index, StructuredQuery.Filter value)
public StructuredQuery.CompositeFilter.Builder addFilters(int index, StructuredQuery.Filter value)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameters
Returns
addFilters(int index, StructuredQuery.Filter.Builder builderForValue)
public StructuredQuery.CompositeFilter.Builder addFilters(int index, StructuredQuery.Filter.Builder builderForValue)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameters
Returns
addFiltersBuilder()
public StructuredQuery.Filter.Builder addFiltersBuilder()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Returns
addFiltersBuilder(int index)
public StructuredQuery.Filter.Builder addFiltersBuilder(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.CompositeFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StructuredQuery.CompositeFilter build()
Returns
buildPartial()
public StructuredQuery.CompositeFilter buildPartial()
Returns
clear()
public StructuredQuery.CompositeFilter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public StructuredQuery.CompositeFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFilters()
public StructuredQuery.CompositeFilter.Builder clearFilters()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StructuredQuery.CompositeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOp()
public StructuredQuery.CompositeFilter.Builder clearOp()
The operator for combining multiple filters.
.google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;
Returns
clone()
public StructuredQuery.CompositeFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StructuredQuery.CompositeFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFilters(int index)
public StructuredQuery.Filter getFilters(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameter
Returns
getFiltersBuilder(int index)
public StructuredQuery.Filter.Builder getFiltersBuilder(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameter
Returns
getFiltersBuilderList()
public List<StructuredQuery.Filter.Builder> getFiltersBuilderList()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Returns
getFiltersCount()
public int getFiltersCount()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Returns
getFiltersList()
public List<StructuredQuery.Filter> getFiltersList()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Returns
getFiltersOrBuilder(int index)
public StructuredQuery.FilterOrBuilder getFiltersOrBuilder(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameter
Returns
getFiltersOrBuilderList()
public List<? extends StructuredQuery.FilterOrBuilder> getFiltersOrBuilderList()
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Returns
Type | Description |
List<? extends com.google.firestore.v1.StructuredQuery.FilterOrBuilder> | |
getOp()
public StructuredQuery.CompositeFilter.Operator getOp()
The operator for combining multiple filters.
.google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;
Returns
getOpValue()
The operator for combining multiple filters.
.google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for op.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StructuredQuery.CompositeFilter other)
public StructuredQuery.CompositeFilter.Builder mergeFrom(StructuredQuery.CompositeFilter other)
Parameter
Returns
public StructuredQuery.CompositeFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StructuredQuery.CompositeFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.CompositeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeFilters(int index)
public StructuredQuery.CompositeFilter.Builder removeFilters(int index)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.CompositeFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFilters(int index, StructuredQuery.Filter value)
public StructuredQuery.CompositeFilter.Builder setFilters(int index, StructuredQuery.Filter value)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameters
Returns
setFilters(int index, StructuredQuery.Filter.Builder builderForValue)
public StructuredQuery.CompositeFilter.Builder setFilters(int index, StructuredQuery.Filter.Builder builderForValue)
The list of filters to combine.
Requires:
- At least one filter is present.
repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
Parameters
Returns
setOp(StructuredQuery.CompositeFilter.Operator value)
public StructuredQuery.CompositeFilter.Builder setOp(StructuredQuery.CompositeFilter.Operator value)
The operator for combining multiple filters.
.google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;
Parameter
Returns
setOpValue(int value)
public StructuredQuery.CompositeFilter.Builder setOpValue(int value)
The operator for combining multiple filters.
.google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for op to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructuredQuery.CompositeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.CompositeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides