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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CompositeFilterImplements
CompositeFilterOrBuilderStatic Fields
FILTERS_FIELD_NUMBER
public static final int FILTERS_FIELD_NUMBER
Type | Description |
int |
OP_FIELD_NUMBER
public static final int OP_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CompositeFilter getDefaultInstance()
Type | Description |
CompositeFilter |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CompositeFilter.Builder newBuilder()
Type | Description |
CompositeFilter.Builder |
newBuilder(CompositeFilter prototype)
public static CompositeFilter.Builder newBuilder(CompositeFilter prototype)
Name | Description |
prototype | CompositeFilter |
Type | Description |
CompositeFilter.Builder |
parseDelimitedFrom(InputStream input)
public static CompositeFilter parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CompositeFilter |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompositeFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CompositeFilter |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CompositeFilter parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CompositeFilter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompositeFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CompositeFilter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CompositeFilter parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CompositeFilter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompositeFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CompositeFilter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CompositeFilter parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CompositeFilter |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompositeFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CompositeFilter |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CompositeFilter parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CompositeFilter |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompositeFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CompositeFilter |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CompositeFilter parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CompositeFilter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompositeFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CompositeFilter |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CompositeFilter> parser()
Type | Description |
Parser<CompositeFilter> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CompositeFilter getDefaultInstanceForType()
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;
Name | Description |
index | int |
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;
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;
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;
Name | Description |
index | int |
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;
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;
Type | Description |
CompositeFilter.Operator | The op. |
getOpValue()
public int getOpValue()
The operator for combining multiple filters.
.google.datastore.v1.CompositeFilter.Operator op = 1;
Type | Description |
int | The enum numeric value on the wire for op. |
getParserForType()
public Parser<CompositeFilter> getParserForType()
Type | Description |
Parser<CompositeFilter> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CompositeFilter.Builder newBuilderForType()
Type | Description |
CompositeFilter.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CompositeFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CompositeFilter.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CompositeFilter.Builder toBuilder()
Type | Description |
CompositeFilter.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |