public static final class PropertyOrder.Builder extends GeneratedMessage.Builder<PropertyOrder.Builder> implements PropertyOrderOrBuilderThe desired order for a specific property.
Protobuf type google.datastore.v1.PropertyOrder
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PropertyOrder.BuilderImplements
PropertyOrderOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PropertyOrder build()| Returns | |
|---|---|
| Type | Description |
PropertyOrder |
|
buildPartial()
public PropertyOrder buildPartial()| Returns | |
|---|---|
| Type | Description |
PropertyOrder |
|
clear()
public PropertyOrder.Builder clear()| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
|
clearDirection()
public PropertyOrder.Builder clearDirection() The direction to order by. Defaults to ASCENDING.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
This builder for chaining. |
clearProperty()
public PropertyOrder.Builder clearProperty()The property to order by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
|
getDefaultInstanceForType()
public PropertyOrder getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PropertyOrder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDirection()
public PropertyOrder.Direction getDirection() The direction to order by. Defaults to ASCENDING.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Direction |
The direction. |
getDirectionValue()
public int getDirectionValue() The direction to order by. Defaults to ASCENDING.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for direction. |
getProperty()
public PropertyReference getProperty()The property to order by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyReference |
The property. |
getPropertyBuilder()
public PropertyReference.Builder getPropertyBuilder()The property to order by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyReference.Builder |
|
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()The property to order by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
PropertyReferenceOrBuilder |
|
hasProperty()
public boolean hasProperty()The property to order by.
.google.datastore.v1.PropertyReference property = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the property field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PropertyOrder other)
public PropertyOrder.Builder mergeFrom(PropertyOrder other)| Parameter | |
|---|---|
| Name | Description |
other |
PropertyOrder |
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PropertyOrder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PropertyOrder.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
|
mergeProperty(PropertyReference value)
public PropertyOrder.Builder mergeProperty(PropertyReference value)The property to order by.
.google.datastore.v1.PropertyReference property = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PropertyReference |
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
|
setDirection(PropertyOrder.Direction value)
public PropertyOrder.Builder setDirection(PropertyOrder.Direction value) The direction to order by. Defaults to ASCENDING.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PropertyOrder.DirectionThe direction to set. |
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
This builder for chaining. |
setDirectionValue(int value)
public PropertyOrder.Builder setDirectionValue(int value) The direction to order by. Defaults to ASCENDING.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for direction to set. |
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
This builder for chaining. |
setProperty(PropertyReference value)
public PropertyOrder.Builder setProperty(PropertyReference value)The property to order by.
.google.datastore.v1.PropertyReference property = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PropertyReference |
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
|
setProperty(PropertyReference.Builder builderForValue)
public PropertyOrder.Builder setProperty(PropertyReference.Builder builderForValue)The property to order by.
.google.datastore.v1.PropertyReference property = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PropertyReference.Builder |
| Returns | |
|---|---|
| Type | Description |
PropertyOrder.Builder |
|