Interface StructuredQuery.OrderOrBuilder (3.4.2)

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
TypeDescription
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
TypeDescription
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
TypeDescription
StructuredQuery.FieldReference

The field.

getFieldOrBuilder()

public abstract StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()

The field to order by.

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

Returns
TypeDescription
StructuredQuery.FieldReferenceOrBuilder

hasField()

public abstract boolean hasField()

The field to order by.

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

Returns
TypeDescription
boolean

Whether the field field is set.