Class StructuredQuery.CompositeFilter.Builder (3.9.2)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.firestore.v1.StructuredQuery.Filter>
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

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
NameDescription
valueStructuredQuery.Filter
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

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
NameDescription
builderForValueStructuredQuery.Filter.Builder
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

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
NameDescription
indexint
valueStructuredQuery.Filter
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

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
NameDescription
indexint
builderForValueStructuredQuery.Filter.Builder
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

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
TypeDescription
StructuredQuery.Filter.Builder

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
NameDescription
indexint
Returns
TypeDescription
StructuredQuery.Filter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StructuredQuery.CompositeFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides

build()

public StructuredQuery.CompositeFilter build()
Returns
TypeDescription
StructuredQuery.CompositeFilter

buildPartial()

public StructuredQuery.CompositeFilter buildPartial()
Returns
TypeDescription
StructuredQuery.CompositeFilter

clear()

public StructuredQuery.CompositeFilter.Builder clear()
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StructuredQuery.CompositeFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
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
TypeDescription
StructuredQuery.CompositeFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StructuredQuery.CompositeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides

clearOp()

public StructuredQuery.CompositeFilter.Builder clearOp()

The operator for combining multiple filters.

.google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;

Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

This builder for chaining.

clone()

public StructuredQuery.CompositeFilter.Builder clone()
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides

getDefaultInstanceForType()

public StructuredQuery.CompositeFilter getDefaultInstanceForType()
Returns
TypeDescription
StructuredQuery.CompositeFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
NameDescription
indexint
Returns
TypeDescription
StructuredQuery.Filter

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
NameDescription
indexint
Returns
TypeDescription
StructuredQuery.Filter.Builder

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
TypeDescription
List<Builder>

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
TypeDescription
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;

Returns
TypeDescription
List<Filter>

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
NameDescription
indexint
Returns
TypeDescription
StructuredQuery.FilterOrBuilder

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
TypeDescription
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
TypeDescription
StructuredQuery.CompositeFilter.Operator

The op.

getOpValue()

public int getOpValue()

The operator for combining multiple filters.

.google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for op.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StructuredQuery.CompositeFilter other)

public StructuredQuery.CompositeFilter.Builder mergeFrom(StructuredQuery.CompositeFilter other)
Parameter
NameDescription
otherStructuredQuery.CompositeFilter
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StructuredQuery.CompositeFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StructuredQuery.CompositeFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StructuredQuery.CompositeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
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
NameDescription
indexint
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StructuredQuery.CompositeFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
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
NameDescription
indexint
valueStructuredQuery.Filter
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

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
NameDescription
indexint
builderForValueStructuredQuery.Filter.Builder
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

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
NameDescription
valueStructuredQuery.CompositeFilter.Operator

The op to set.

Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

This builder for chaining.

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
NameDescription
valueint

The enum numeric value on the wire for op to set.

Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StructuredQuery.CompositeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StructuredQuery.CompositeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides