Interface StructuredQuery.CollectionSelectorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StructuredQuery.CollectionSelector, StructuredQuery.CollectionSelector.Builder
Enclosing class:
StructuredQuery

public static interface StructuredQuery.CollectionSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    When false, selects only collections that are immediate children of the `parent` specified in the containing `RunQueryRequest`.
    The collection ID.
    com.google.protobuf.ByteString
    The collection ID.

    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

    • getCollectionId

      String getCollectionId()
       The collection ID.
       When set, selects only collections with this ID.
       
      string collection_id = 2;
      Returns:
      The collectionId.
    • getCollectionIdBytes

      com.google.protobuf.ByteString getCollectionIdBytes()
       The collection ID.
       When set, selects only collections with this ID.
       
      string collection_id = 2;
      Returns:
      The bytes for collectionId.
    • getAllDescendants

      boolean getAllDescendants()
       When false, selects only collections that are immediate children of
       the `parent` specified in the containing `RunQueryRequest`.
       When true, selects all descendant collections.
       
      bool all_descendants = 3;
      Returns:
      The allDescendants.