Class PropertyFilter (2.17.6)

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

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PropertyFilter getDefaultInstance()
Returns
TypeDescription
PropertyFilter

getDescriptor()

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

newBuilder()

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

newBuilder(PropertyFilter prototype)

public static PropertyFilter.Builder newBuilder(PropertyFilter prototype)
Parameter
NameDescription
prototypePropertyFilter
Returns
TypeDescription
PropertyFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PropertyFilter getDefaultInstanceForType()
Returns
TypeDescription
PropertyFilter

getOp()

public PropertyFilter.Operator getOp()

The operator to filter by.

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

Returns
TypeDescription
PropertyFilter.Operator

The op.

getOpValue()

public int getOpValue()

The operator to filter by.

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

Returns
TypeDescription
int

The enum numeric value on the wire for op.

getParserForType()

public Parser<PropertyFilter> getParserForType()
Returns
TypeDescription
Parser<PropertyFilter>
Overrides

getProperty()

public PropertyReference getProperty()

The property to filter by.

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

Returns
TypeDescription
PropertyReference

The property.

getPropertyOrBuilder()

public PropertyReferenceOrBuilder getPropertyOrBuilder()

The property to filter by.

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

Returns
TypeDescription
PropertyReferenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getValue()

public Value getValue()

The value to compare the property to.

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

Returns
TypeDescription
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

The value to compare the property to.

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

Returns
TypeDescription
ValueOrBuilder

hasProperty()

public boolean hasProperty()

The property to filter by.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the value field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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