Class PropertyFilter.Builder (2.17.6)

public static final class PropertyFilter.Builder extends GeneratedMessageV3.Builder<PropertyFilter.Builder> implements PropertyFilterOrBuilder

A filter on a specific property.

Protobuf type google.datastore.v1.PropertyFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PropertyFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PropertyFilter.Builder
Overrides

build()

public PropertyFilter build()
Returns
TypeDescription
PropertyFilter

buildPartial()

public PropertyFilter buildPartial()
Returns
TypeDescription
PropertyFilter

clear()

public PropertyFilter.Builder clear()
Returns
TypeDescription
PropertyFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PropertyFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PropertyFilter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertyFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PropertyFilter.Builder
Overrides

clearOp()

public PropertyFilter.Builder clearOp()

The operator to filter by.

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

Returns
TypeDescription
PropertyFilter.Builder

This builder for chaining.

clearProperty()

public PropertyFilter.Builder clearProperty()

The property to filter by.

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

Returns
TypeDescription
PropertyFilter.Builder

clearValue()

public PropertyFilter.Builder clearValue()

The value to compare the property to.

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

Returns
TypeDescription
PropertyFilter.Builder

clone()

public PropertyFilter.Builder clone()
Returns
TypeDescription
PropertyFilter.Builder
Overrides

getDefaultInstanceForType()

public PropertyFilter getDefaultInstanceForType()
Returns
TypeDescription
PropertyFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getProperty()

public PropertyReference getProperty()

The property to filter by.

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

Returns
TypeDescription
PropertyReference

The property.

getPropertyBuilder()

public PropertyReference.Builder getPropertyBuilder()

The property to filter by.

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

Returns
TypeDescription
PropertyReference.Builder

getPropertyOrBuilder()

public PropertyReferenceOrBuilder getPropertyOrBuilder()

The property to filter by.

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

Returns
TypeDescription
PropertyReferenceOrBuilder

getValue()

public Value getValue()

The value to compare the property to.

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

Returns
TypeDescription
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

The value to compare the property to.

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

Returns
TypeDescription
Value.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PropertyFilter other)

public PropertyFilter.Builder mergeFrom(PropertyFilter other)
Parameter
NameDescription
otherPropertyFilter
Returns
TypeDescription
PropertyFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PropertyFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyFilter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PropertyFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PropertyFilter.Builder
Overrides

mergeProperty(PropertyReference value)

public PropertyFilter.Builder mergeProperty(PropertyReference value)

The property to filter by.

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

Parameter
NameDescription
valuePropertyReference
Returns
TypeDescription
PropertyFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PropertyFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PropertyFilter.Builder
Overrides

mergeValue(Value value)

public PropertyFilter.Builder mergeValue(Value value)

The value to compare the property to.

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

Parameter
NameDescription
valueValue
Returns
TypeDescription
PropertyFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PropertyFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PropertyFilter.Builder
Overrides

setOp(PropertyFilter.Operator value)

public PropertyFilter.Builder setOp(PropertyFilter.Operator value)

The operator to filter by.

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

Parameter
NameDescription
valuePropertyFilter.Operator

The op to set.

Returns
TypeDescription
PropertyFilter.Builder

This builder for chaining.

setOpValue(int value)

public PropertyFilter.Builder setOpValue(int value)

The operator to filter by.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for op to set.

Returns
TypeDescription
PropertyFilter.Builder

This builder for chaining.

setProperty(PropertyReference value)

public PropertyFilter.Builder setProperty(PropertyReference value)

The property to filter by.

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

Parameter
NameDescription
valuePropertyReference
Returns
TypeDescription
PropertyFilter.Builder

setProperty(PropertyReference.Builder builderForValue)

public PropertyFilter.Builder setProperty(PropertyReference.Builder builderForValue)

The property to filter by.

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

Parameter
NameDescription
builderForValuePropertyReference.Builder
Returns
TypeDescription
PropertyFilter.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PropertyFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PropertyFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PropertyFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PropertyFilter.Builder
Overrides

setValue(Value value)

public PropertyFilter.Builder setValue(Value value)

The value to compare the property to.

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

Parameter
NameDescription
valueValue
Returns
TypeDescription
PropertyFilter.Builder

setValue(Value.Builder builderForValue)

public PropertyFilter.Builder setValue(Value.Builder builderForValue)

The value to compare the property to.

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

Parameter
NameDescription
builderForValueValue.Builder
Returns
TypeDescription
PropertyFilter.Builder