public final class Filter extends GeneratedMessageV3 implements FilterOrBuilder
A holder for any type of filter.
Protobuf type google.datastore.v1.Filter
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FilterImplements
FilterOrBuilderStatic Fields
COMPOSITE_FILTER_FIELD_NUMBER
public static final int COMPOSITE_FILTER_FIELD_NUMBER
Type | Description |
int |
PROPERTY_FILTER_FIELD_NUMBER
public static final int PROPERTY_FILTER_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Filter getDefaultInstance()
Type | Description |
Filter |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Filter.Builder newBuilder()
Type | Description |
Filter.Builder |
newBuilder(Filter prototype)
public static Filter.Builder newBuilder(Filter prototype)
Name | Description |
prototype | Filter |
Type | Description |
Filter.Builder |
parseDelimitedFrom(InputStream input)
public static Filter parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Filter |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Filter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Filter |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Filter parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Filter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Filter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Filter parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Filter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Filter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Filter parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Filter |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Filter |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Filter parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Filter |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Filter |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Filter parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Filter |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Filter |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Filter> parser()
Type | Description |
Parser<Filter> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCompositeFilter()
public CompositeFilter getCompositeFilter()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Type | Description |
CompositeFilter | The compositeFilter. |
getCompositeFilterOrBuilder()
public CompositeFilterOrBuilder getCompositeFilterOrBuilder()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Type | Description |
CompositeFilterOrBuilder |
getDefaultInstanceForType()
public Filter getDefaultInstanceForType()
Type | Description |
Filter |
getFilterTypeCase()
public Filter.FilterTypeCase getFilterTypeCase()
Type | Description |
Filter.FilterTypeCase |
getParserForType()
public Parser<Filter> getParserForType()
Type | Description |
Parser<Filter> |
getPropertyFilter()
public PropertyFilter getPropertyFilter()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Type | Description |
PropertyFilter | The propertyFilter. |
getPropertyFilterOrBuilder()
public PropertyFilterOrBuilder getPropertyFilterOrBuilder()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Type | Description |
PropertyFilterOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasCompositeFilter()
public boolean hasCompositeFilter()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Type | Description |
boolean | Whether the compositeFilter field is set. |
hasPropertyFilter()
public boolean hasPropertyFilter()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
Type | Description |
boolean | Whether the propertyFilter field is set. |
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 Filter.Builder newBuilderForType()
Type | Description |
Filter.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Filter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Filter.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Filter.Builder toBuilder()
Type | Description |
Filter.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |