Class StructuredQuery.CompositeFilter (3.7.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
TypeDescription
int

OP_FIELD_NUMBER

public static final int OP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StructuredQuery.CompositeFilter getDefaultInstance()
Returns
TypeDescription
StructuredQuery.CompositeFilter

getDescriptor()

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

newBuilder()

public static StructuredQuery.CompositeFilter.Builder newBuilder()
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

newBuilder(StructuredQuery.CompositeFilter prototype)

public static StructuredQuery.CompositeFilter.Builder newBuilder(StructuredQuery.CompositeFilter prototype)
Parameter
NameDescription
prototypeStructuredQuery.CompositeFilter
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

parseDelimitedFrom(InputStream input)

public static StructuredQuery.CompositeFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StructuredQuery.CompositeFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StructuredQuery.CompositeFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StructuredQuery.CompositeFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StructuredQuery.CompositeFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StructuredQuery.CompositeFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StructuredQuery.CompositeFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructuredQuery.CompositeFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StructuredQuery.CompositeFilter getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StructuredQuery.CompositeFilter.Builder newBuilderForType()
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StructuredQuery.CompositeFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StructuredQuery.CompositeFilter.Builder toBuilder()
Returns
TypeDescription
StructuredQuery.CompositeFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException