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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PropertyFilter build()
buildPartial()
public PropertyFilter buildPartial()
clear()
public PropertyFilter.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PropertyFilter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOp()
public PropertyFilter.Builder clearOp()
The operator to filter by.
.google.datastore.v1.PropertyFilter.Operator op = 2;
clearProperty()
public PropertyFilter.Builder clearProperty()
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
clearValue()
public PropertyFilter.Builder clearValue()
The value to compare the property to.
.google.datastore.v1.Value value = 3;
clone()
public PropertyFilter.Builder clone()
Overrides
getDefaultInstanceForType()
public PropertyFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOp()
public PropertyFilter.Operator getOp()
The operator to filter by.
.google.datastore.v1.PropertyFilter.Operator op = 2;
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.
|
getProperty()
public PropertyReference getProperty()
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
getPropertyBuilder()
public PropertyReference.Builder getPropertyBuilder()
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
getValue()
The value to compare the property to.
.google.datastore.v1.Value value = 3;
Returns |
Type |
Description |
Value |
The value.
|
getValueBuilder()
public Value.Builder getValueBuilder()
The value to compare the property to.
.google.datastore.v1.Value value = 3;
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
The value to compare the property to.
.google.datastore.v1.Value value = 3;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PropertyFilter other)
public PropertyFilter.Builder mergeFrom(PropertyFilter other)
public PropertyFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PropertyFilter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeProperty(PropertyReference value)
public PropertyFilter.Builder mergeProperty(PropertyReference value)
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeValue(Value value)
public PropertyFilter.Builder mergeValue(Value value)
The value to compare the property to.
.google.datastore.v1.Value value = 3;
Parameter |
Name |
Description |
value |
Value
|
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOp(PropertyFilter.Operator value)
public PropertyFilter.Builder setOp(PropertyFilter.Operator value)
The operator to filter by.
.google.datastore.v1.PropertyFilter.Operator op = 2;
setOpValue(int value)
public PropertyFilter.Builder setOpValue(int value)
The operator to filter by.
.google.datastore.v1.PropertyFilter.Operator op = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for op to set.
|
setProperty(PropertyReference value)
public PropertyFilter.Builder setProperty(PropertyReference value)
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
setProperty(PropertyReference.Builder builderForValue)
public PropertyFilter.Builder setProperty(PropertyReference.Builder builderForValue)
The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(Value value)
public PropertyFilter.Builder setValue(Value value)
The value to compare the property to.
.google.datastore.v1.Value value = 3;
Parameter |
Name |
Description |
value |
Value
|
setValue(Value.Builder builderForValue)
public PropertyFilter.Builder setValue(Value.Builder builderForValue)
The value to compare the property to.
.google.datastore.v1.Value value = 3;