public static final class PropertyFilter.Builder extends GeneratedMessage.Builder<PropertyFilter.Builder> implements PropertyFilterOrBuilderA filter on a specific property.
Protobuf type google.datastore.v1.PropertyFilter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PropertyFilter.BuilderImplements
PropertyFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PropertyFilter build()| Returns | |
|---|---|
| Type | Description |
PropertyFilter |
|
buildPartial()
public PropertyFilter buildPartial()| Returns | |
|---|---|
| Type | Description |
PropertyFilter |
|
clear()
public PropertyFilter.Builder clear()| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
clearOp()
public PropertyFilter.Builder clearOp()The operator to filter by.
.google.datastore.v1.PropertyFilter.Operator op = 2;
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
This builder for chaining. |
clearProperty()
public PropertyFilter.Builder clearProperty()The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
clearValue()
public PropertyFilter.Builder clearValue()The value to compare the property to.
.google.datastore.v1.Value value = 3;
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
getDefaultInstanceForType()
public PropertyFilter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PropertyFilter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getProperty()
public PropertyReference getProperty()The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyReference |
The property. |
getPropertyBuilder()
public PropertyReference.Builder getPropertyBuilder()The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyReference.Builder |
|
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyReferenceOrBuilder |
|
getValue()
public Value 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;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PropertyFilter other)
public PropertyFilter.Builder mergeFrom(PropertyFilter other)| Parameter | |
|---|---|
| Name | Description |
other |
PropertyFilter |
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PropertyFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PropertyFilter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
mergeProperty(PropertyReference value)
public PropertyFilter.Builder mergeProperty(PropertyReference value)The property to filter by.
.google.datastore.v1.PropertyReference property = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PropertyReference |
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
setOp(PropertyFilter.Operator value)
public PropertyFilter.Builder setOp(PropertyFilter.Operator value)The operator to filter by.
.google.datastore.v1.PropertyFilter.Operator op = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PropertyFilter.OperatorThe op to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for op to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
PropertyReference |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
PropertyReference.Builder |
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Value.Builder |
| Returns | |
|---|---|
| Type | Description |
PropertyFilter.Builder |
|