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()
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.CompositeFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StructuredQuery.CompositeFilter build()
buildPartial()
public StructuredQuery.CompositeFilter buildPartial()
clear()
public StructuredQuery.CompositeFilter.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StructuredQuery.CompositeFilter.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public StructuredQuery.CompositeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOp()
public StructuredQuery.CompositeFilter.Builder clearOp()
The operator for combining multiple filters.
.google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;
clone()
public StructuredQuery.CompositeFilter.Builder clone()
Overrides
getDefaultInstanceForType()
public StructuredQuery.CompositeFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StructuredQuery.CompositeFilter other)
public StructuredQuery.CompositeFilter.Builder mergeFrom(StructuredQuery.CompositeFilter other)
public StructuredQuery.CompositeFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StructuredQuery.CompositeFilter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.CompositeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.CompositeFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructuredQuery.CompositeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.CompositeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides