Class CompositeFilter (2.19.2)

public final class CompositeFilter extends GeneratedMessageV3 implements CompositeFilterOrBuilder

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

Protobuf type google.datastore.v1.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 CompositeFilter getDefaultInstance()
Returns
Type Description
CompositeFilter

getDescriptor()

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

newBuilder()

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

newBuilder(CompositeFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<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 CompositeFilter getDefaultInstanceForType()
Returns
Type Description
CompositeFilter

getFilters(int index)

public Filter getFilters(int index)

The list of filters to combine.

Requires:

  • At least one filter is present.

repeated .google.datastore.v1.Filter filters = 2;

Parameter
Name Description
index int
Returns
Type Description
Filter

getFiltersCount()

public int getFiltersCount()

The list of filters to combine.

Requires:

  • At least one filter is present.

repeated .google.datastore.v1.Filter filters = 2;

Returns
Type Description
int

getFiltersList()

public List<Filter> getFiltersList()

The list of filters to combine.

Requires:

  • At least one filter is present.

repeated .google.datastore.v1.Filter filters = 2;

Returns
Type Description
List<Filter>

getFiltersOrBuilder(int index)

public FilterOrBuilder getFiltersOrBuilder(int index)

The list of filters to combine.

Requires:

  • At least one filter is present.

repeated .google.datastore.v1.Filter filters = 2;

Parameter
Name Description
index int
Returns
Type Description
FilterOrBuilder

getFiltersOrBuilderList()

public List<? extends FilterOrBuilder> getFiltersOrBuilderList()

The list of filters to combine.

Requires:

  • At least one filter is present.

repeated .google.datastore.v1.Filter filters = 2;

Returns
Type Description
List<? extends com.google.datastore.v1.FilterOrBuilder>

getOp()

public CompositeFilter.Operator getOp()

The operator for combining multiple filters.

.google.datastore.v1.CompositeFilter.Operator op = 1;

Returns
Type Description
CompositeFilter.Operator

The op.

getOpValue()

public int getOpValue()

The operator for combining multiple filters.

.google.datastore.v1.CompositeFilter.Operator op = 1;

Returns
Type Description
int

The enum numeric value on the wire for op.

getParserForType()

public Parser<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 CompositeFilter.Builder newBuilderForType()
Returns
Type Description
CompositeFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompositeFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
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 CompositeFilter.Builder toBuilder()
Returns
Type Description
CompositeFilter.Builder

writeTo(CodedOutputStream output)

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