Interface StructuredQuery.OrderOrBuilder (3.22.0)

public static interface StructuredQuery.OrderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDirection()

public abstract StructuredQuery.Direction getDirection()

The direction to order by. Defaults to ASCENDING.

.google.firestore.v1.StructuredQuery.Direction direction = 2;

Returns
Type Description
StructuredQuery.Direction

The direction.

getDirectionValue()

public abstract int getDirectionValue()

The direction to order by. Defaults to ASCENDING.

.google.firestore.v1.StructuredQuery.Direction direction = 2;

Returns
Type Description
int

The enum numeric value on the wire for direction.

getField()

public abstract StructuredQuery.FieldReference getField()

The field to order by.

.google.firestore.v1.StructuredQuery.FieldReference field = 1;

Returns
Type Description
StructuredQuery.FieldReference

The field.

getFieldOrBuilder()

public abstract StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()

The field to order by.

.google.firestore.v1.StructuredQuery.FieldReference field = 1;

Returns
Type Description
StructuredQuery.FieldReferenceOrBuilder

hasField()

public abstract boolean hasField()

The field to order by.

.google.firestore.v1.StructuredQuery.FieldReference field = 1;

Returns
Type Description
boolean

Whether the field field is set.