Class PropertyFilter (2.19.2)

public final class PropertyFilter extends GeneratedMessageV3 implements PropertyFilterOrBuilder

A filter on a specific property.

Protobuf type google.datastore.v1.PropertyFilter

Static Fields

OP_FIELD_NUMBER

public static final int OP_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PropertyFilter getDefaultInstance()
Returns
Type Description
PropertyFilter

getDescriptor()

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

newBuilder()

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

newBuilder(PropertyFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PropertyFilter> parser()
Returns
Type Description
Parser<PropertyFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PropertyFilter getDefaultInstanceForType()
Returns
Type Description
PropertyFilter

getOp()

public PropertyFilter.Operator getOp()

The operator to filter by.

.google.datastore.v1.PropertyFilter.Operator op = 2;

Returns
Type Description
PropertyFilter.Operator

The op.

getOpValue()

public int getOpValue()

The operator to filter by.

.google.datastore.v1.PropertyFilter.Operator op = 2;

Returns
Type Description
int

The enum numeric value on the wire for op.

getParserForType()

public Parser<PropertyFilter> getParserForType()
Returns
Type Description
Parser<PropertyFilter>
Overrides

getProperty()

public PropertyReference getProperty()

The property to filter by.

.google.datastore.v1.PropertyReference property = 1;

Returns
Type Description
PropertyReference

The property.

getPropertyOrBuilder()

public PropertyReferenceOrBuilder getPropertyOrBuilder()

The property to filter by.

.google.datastore.v1.PropertyReference property = 1;

Returns
Type Description
PropertyReferenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public Value getValue()

The value to compare the property to.

.google.datastore.v1.Value value = 3;

Returns
Type Description
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

The value to compare the property to.

.google.datastore.v1.Value value = 3;

Returns
Type Description
ValueOrBuilder

hasProperty()

public boolean hasProperty()

The property to filter by.

.google.datastore.v1.PropertyReference property = 1;

Returns
Type Description
boolean

Whether the property field is set.

hasValue()

public boolean hasValue()

The value to compare the property to.

.google.datastore.v1.Value value = 3;

Returns
Type Description
boolean

Whether the value field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PropertyFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PropertyFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PropertyFilter.Builder toBuilder()
Returns
Type Description
PropertyFilter.Builder

writeTo(CodedOutputStream output)

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