Package com.google.firestore.v1
Interface StructuredQuery.OrderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StructuredQuery.Order,StructuredQuery.Order.Builder
- Enclosing class:
- StructuredQuery
public static interface StructuredQuery.OrderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasField
boolean hasField()The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;- Returns:
- Whether the field field is set.
-
getField
StructuredQuery.FieldReference getField()The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;- Returns:
- The field.
-
getFieldOrBuilder
StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1; -
getDirectionValue
int getDirectionValue()The direction to order by. Defaults to `ASCENDING`.
.google.firestore.v1.StructuredQuery.Direction direction = 2;- Returns:
- The enum numeric value on the wire for direction.
-
getDirection
StructuredQuery.Direction getDirection()The direction to order by. Defaults to `ASCENDING`.
.google.firestore.v1.StructuredQuery.Direction direction = 2;- Returns:
- The direction.
-