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
PROPERTY_FIELD_NUMBER
public static final int PROPERTY_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PropertyFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PropertyFilter.Builder newBuilder()
Returns
newBuilder(PropertyFilter prototype)
public static PropertyFilter.Builder newBuilder(PropertyFilter prototype)
Parameter
Returns
public static PropertyFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PropertyFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PropertyFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PropertyFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PropertyFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PropertyFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PropertyFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PropertyFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PropertyFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PropertyFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PropertyFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PropertyFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PropertyFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PropertyFilter getDefaultInstanceForType()
Returns
getOp()
public PropertyFilter.Operator getOp()
The operator to filter by.
.google.datastore.v1.PropertyFilter.Operator op = 2;
Returns
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
Overrides
getProperty()
public PropertyReference getProperty()
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
Returns
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PropertyFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PropertyFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PropertyFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions