Class StructuredQuery.CompositeFilter (3.27.2)

public static final class StructuredQuery.CompositeFilter extends GeneratedMessageV3 implements StructuredQuery.CompositeFilterOrBuilder

A filter that merges multiple other filters using the given operator.

Protobuf type google.firestore.v1.StructuredQuery.CompositeFilter

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StructuredQuery.CompositeFilter

Static Fields

FILTERS_FIELD_NUMBER

public static final int FILTERS_FIELD_NUMBER
Field Value
Type Description
int

OP_FIELD_NUMBER

public static final int OP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StructuredQuery.CompositeFilter getDefaultInstance()
Returns
Type Description
StructuredQuery.CompositeFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StructuredQuery.CompositeFilter.Builder newBuilder()
Returns
Type Description
StructuredQuery.CompositeFilter.Builder

newBuilder(StructuredQuery.CompositeFilter prototype)

public static StructuredQuery.CompositeFilter.Builder newBuilder(StructuredQuery.CompositeFilter prototype)
Parameter
Name Description
prototype StructuredQuery.CompositeFilter
Returns
Type Description
StructuredQuery.CompositeFilter.Builder

parseDelimitedFrom(InputStream input)

public static StructuredQuery.CompositeFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StructuredQuery.CompositeFilter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StructuredQuery.CompositeFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StructuredQuery.CompositeFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StructuredQuery.CompositeFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StructuredQuery.CompositeFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredQuery.CompositeFilter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StructuredQuery.CompositeFilter> parser()
Returns
Type Description
Parser<CompositeFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StructuredQuery.CompositeFilter getDefaultInstanceForType()
Returns
Type Description
StructuredQuery.CompositeFilter

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
Returns
Type Description
StructuredQuery.Filter

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;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
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
Type Description
StructuredQuery.CompositeFilter.Operator

The op.

getOpValue()

public int 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.

getParserForType()

public Parser<StructuredQuery.CompositeFilter> getParserForType()
Returns
Type Description
Parser<CompositeFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StructuredQuery.CompositeFilter.Builder newBuilderForType()
Returns
Type Description
StructuredQuery.CompositeFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StructuredQuery.CompositeFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StructuredQuery.CompositeFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StructuredQuery.CompositeFilter.Builder toBuilder()
Returns
Type Description
StructuredQuery.CompositeFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException