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

    Modifier and Type
    Method
    Description
    The direction to order by.
    int
    The direction to order by.
    The field to order by.
    The field to order by.
    boolean
    The field to order by.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       The field to order by.
       
      .google.firestore.v1.StructuredQuery.FieldReference field = 1;
      Returns:
      The field.
    • 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

       The direction to order by. Defaults to `ASCENDING`.
       
      .google.firestore.v1.StructuredQuery.Direction direction = 2;
      Returns:
      The direction.