public final class Filter extends GeneratedMessageV3 implements FilterOrBuilder
A holder for any type of filter.
Protobuf type google.datastore.v1.Filter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COMPOSITE_FILTER_FIELD_NUMBER
public static final int COMPOSITE_FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROPERTY_FILTER_FIELD_NUMBER
public static final int PROPERTY_FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Filter getDefaultInstance()
Returns |
Type |
Description |
Filter |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Filter.Builder newBuilder()
newBuilder(Filter prototype)
public static Filter.Builder newBuilder(Filter prototype)
Parameter |
Name |
Description |
prototype |
Filter
|
public static Filter parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Filter |
|
public static Filter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Filter |
|
parseFrom(byte[] data)
public static Filter parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Filter |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Filter |
|
parseFrom(ByteString data)
public static Filter parseFrom(ByteString data)
Returns |
Type |
Description |
Filter |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Filter |
|
public static Filter parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Filter |
|
public static Filter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Filter |
|
public static Filter parseFrom(InputStream input)
Returns |
Type |
Description |
Filter |
|
public static Filter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Filter |
|
parseFrom(ByteBuffer data)
public static Filter parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Filter |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Filter |
|
parser()
public static Parser<Filter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCompositeFilter()
public CompositeFilter getCompositeFilter()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
getCompositeFilterOrBuilder()
public CompositeFilterOrBuilder getCompositeFilterOrBuilder()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
getDefaultInstanceForType()
public Filter getDefaultInstanceForType()
Returns |
Type |
Description |
Filter |
|
getFilterTypeCase()
public Filter.FilterTypeCase getFilterTypeCase()
getParserForType()
public Parser<Filter> getParserForType()
Overrides
getPropertyFilter()
public PropertyFilter getPropertyFilter()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
getPropertyFilterOrBuilder()
public PropertyFilterOrBuilder getPropertyFilterOrBuilder()
A filter on a property.
.google.datastore.v1.PropertyFilter property_filter = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasCompositeFilter()
public boolean hasCompositeFilter()
A composite filter.
.google.datastore.v1.CompositeFilter composite_filter = 1;
Returns |
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;
Returns |
Type |
Description |
boolean |
Whether the propertyFilter field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Filter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Filter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Filter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides