Class CompositeFilter (2.14.0)

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

OP_FIELD_NUMBER

public static final int OP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CompositeFilter getDefaultInstance()
Returns
TypeDescription
CompositeFilter

getDescriptor()

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

newBuilder()

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

newBuilder(CompositeFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

The op.

getOpValue()

public int getOpValue()

The operator for combining multiple filters.

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

Returns
TypeDescription
int

The enum numeric value on the wire for op.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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