Module Expr Str Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad TupleLoad TupleLoad TupleLoad TupleLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad For TupleStore NameStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Slice decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad Assign NameStore Str Raise Call NameLoad NameLoad NameLoad If BoolOpAnd CompareEq NameLoad Str UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Slice decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Slice ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Slice decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Slice decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword BoolOpAnd NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr While NameLoad body For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Break Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore Call AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr Str body Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign AttributeStore Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list
N/A N/A Create / interact with gcloud datastore queries. N/A base64 gcloud._helpers _ensure_tuple_or_list gcloud.datastore._generated query_pb2 _query_pb2 gcloud.datastore helpers gcloud.datastore.key Key Query N/A object N/A N/A A Query against the Cloud Datastore.

    This class serves as an abstraction for creating a query over data
    stored in the Cloud Datastore.

    :type client: :class:`gcloud.datastore.client.Client`
    :param client: The client used to connect to datastore.

    :type kind: string
    :param kind: The kind to query.

    :type project: string
    :param project: The project associated with the query.  If not passed,
                    uses the client's value.

    :type namespace: string or None
    :param namespace: The namespace to which to restrict results.  If not
                      passed, uses the client's value.

    :type ancestor: :class:`gcloud.datastore.key.Key` or None
    :param ancestor: key of the ancestor to which this query's results are
                     restricted.

    :type filters: sequence of (property_name, operator, value) tuples
    :param filters: property filters applied by this query.

    :type projection: sequence of string
    :param projection:  fields returned as part of query results.

    :type order: sequence of string
    :param order:  field names used to order query results. Prepend '-'
                   to a field name to sort it in descending order.

    :type distinct_on: sequence of string
    :param distinct_on: field names used to group query results.

    :raises: ValueError if ``project`` is not passed and no implicit
             default is set.
     N/A OPERATORS N/A <= >= < > = N/A N/A _query_pb2 PropertyFilter LESS_THAN_OR_EQUAL N/A N/A _query_pb2 PropertyFilter GREATER_THAN_OR_EQUAL N/A N/A _query_pb2 PropertyFilter LESS_THAN N/A N/A _query_pb2 PropertyFilter GREATER_THAN N/A N/A _query_pb2 PropertyFilter EQUAL N/A Mapping of operator strings and their protobuf equivalents. __init__ N/A N/A self client kind project namespace ancestor filters projection order distinct_on N/A None None None None N/A N/A N/A N/A N/A N/A N/A self _client client N/A N/A self _kind kind N/A N/A self _project N/A project N/A client project N/A N/A self _namespace N/A namespace N/A client namespace N/A N/A self _ancestor ancestor N/A N/A self _filters N/A N/A N/A property_name operator value filters N/A N/A N/A N/A self add_filter property_name operator value N/A N/A self _projection N/A _ensure_tuple_or_list projection projection N/A N/A self _order N/A _ensure_tuple_or_list order order N/A N/A self _distinct_on N/A _ensure_tuple_or_list distinct_on distinct_on N/A project N/A N/A self N/A N/A N/A Get the project for this Query.

        :rtype: str
         N/A N/A N/A self _project N/A N/A self _client project N/A property namespace N/A N/A self N/A N/A N/A This query's namespace

        :rtype: string or None
        :returns: the namespace assigned to this query
         N/A N/A N/A self _namespace N/A N/A self _client namespace N/A property namespace N/A N/A self value N/A N/A N/A Update the query's namespace.

        :type value: string
         N/A N/A N/A isinstance value str N/A N/A N/A ValueError Namespace must be a string N/A N/A self _namespace value N/A N/A namespace setter kind N/A N/A self N/A N/A N/A Get the Kind of the Query.

        :rtype: string
         N/A N/A self _kind N/A property kind N/A N/A self value N/A N/A N/A Update the Kind of the Query.

        :type value: string
        :param value: updated kind for the query.

        .. note::

           The protobuf specification allows for ``kind`` to be repeated,
           but the current implementation returns an error if more than
           one value is passed.  If the back-end changes in the future to
           allow multiple values, this method will be updated to allow passing
           either a string or a sequence of strings.
         N/A N/A N/A isinstance value str N/A N/A N/A TypeError Kind must be a string N/A N/A self _kind value N/A N/A kind setter ancestor N/A N/A self N/A N/A N/A The ancestor key for the query.

        :rtype: Key or None
         N/A N/A self _ancestor N/A property ancestor N/A N/A self value N/A N/A N/A Set the ancestor for the query

        :type value: Key
        :param value: the new ancestor key
         N/A N/A N/A isinstance value Key N/A N/A N/A TypeError Ancestor must be a Key N/A N/A self _ancestor value N/A N/A ancestor setter ancestor N/A N/A self N/A N/A N/A Remove the ancestor for the query. N/A N/A self _ancestor None N/A N/A ancestor deleter filters N/A N/A self N/A N/A N/A Filters set on the query.

        :rtype: sequence of (property_name, operator, value) tuples.
         N/A N/A N/A self _filters N/A N/A property add_filter N/A N/A self property_name operator value N/A N/A N/A Filter the query based on a property name, operator and a value.

        Expressions take the form of::

          .add_filter('<property>', '<operator>', <value>)

        where property is a property stored on the entity in the datastore
        and operator is one of ``OPERATORS``
        (ie, ``=``, ``<``, ``<=``, ``>``, ``>=``)::

          >>> from gcloud import datastore
          >>> client = datastore.Client()
          >>> query = client.query(kind='Person')
          >>> query.add_filter('name', '=', 'James')
          >>> query.add_filter('age', '>', 50)

        :type property_name: string
        :param property_name: A property name.

        :type operator: string
        :param operator: One of ``=``, ``<``, ``<=``, ``>``, ``>=``.

        :type value: :class:`int`, :class:`str`, :class:`bool`,
                     :class:`float`, :class:`NoneType`,
                     :class:`datetime.datetime`,
                     :class:`gcloud.datastore.key.Key`
        :param value: The value to filter on.

        :raises: :class:`ValueError` if ``operation`` is not one of the
                 specified values, or if a filter names ``'__key__'`` but
                 passes an invalid value (a key is required).
         N/A N/A N/A N/A N/A self OPERATORS get operator None N/A N/A error_message N/A Invalid expression: "%s" N/A operator N/A choices_message Please use one of: =, <, <=, >, >=. N/A N/A ValueError error_message choices_message N/A N/A N/A property_name __key__ N/A N/A isinstance value Key N/A N/A N/A ValueError N/A Invalid key: "%s" value N/A N/A N/A N/A self _filters append N/A property_name operator value N/A projection N/A N/A self N/A N/A N/A Fields names returned by the query.

        :rtype: sequence of string
        :returns: Names of fields in query results.
         N/A N/A N/A self _projection N/A N/A property projection N/A N/A self projection N/A N/A N/A Set the fields returned the query.

        :type projection: string or sequence of strings
        :param projection: Each value is a string giving the name of a
                           property to be included in the projection query.
         N/A N/A isinstance projection str N/A N/A projection N/A projection N/A N/A N/A self _projection N/A projection N/A N/A projection setter keys_only N/A N/A self N/A N/A N/A Set the projection to include only keys. N/A N/A N/A self _projection N/A N/A __key__ N/A key_filter N/A N/A self key operator N/A = N/A N/A Filter on a key.

        :type key: :class:`gcloud.datastore.key.Key`
        :param key: The key to filter on.

        :type operator: string
        :param operator: (Optional) One of ``=``, ``<``, ``<=``, ``>``, ``>=``.
                         Defaults to ``=``.
         N/A N/A N/A self add_filter __key__ operator key N/A order N/A N/A self N/A N/A N/A Names of fields used to sort query results.

        :rtype: sequence of string
         N/A N/A N/A self _order N/A N/A property order N/A N/A self value N/A N/A N/A Set the fields used to sort query results.

        Sort fields will be applied in the order specified.

        :type value: string or sequence of strings
        :param value: Each value is a string giving the name of the
                      property on which to sort, optionally preceded by a
                      hyphen (-) to specify descending order.
                      Omitting the hyphen implies ascending order.
         N/A N/A isinstance value str N/A N/A value N/A value N/A N/A N/A self _order N/A value N/A N/A order setter distinct_on N/A N/A self N/A N/A N/A Names of fields used to group query results.

        :rtype: sequence of string
         N/A N/A N/A self _distinct_on N/A N/A property distinct_on N/A N/A self value N/A N/A N/A Set fields used to group query results.

        :type value: string or sequence of strings
        :param value: Each value is a string giving the name of a
                      property to use to group results together.
         N/A N/A isinstance value str N/A N/A value N/A value N/A N/A N/A self _distinct_on N/A value N/A N/A distinct_on setter fetch N/A N/A self limit offset start_cursor end_cursor client N/A None 0 None None None N/A N/A Execute the Query; return an iterator for the matching entities.

        For example::

          >>> from gcloud import datastore
          >>> client = datastore.Client()
          >>> query = client.query(kind='Person')
          >>> query.add_filter('name', '=', 'Sally')
          >>> list(query.fetch())
          [<Entity object>, <Entity object>, ...]
          >>> list(query.fetch(1))
          [<Entity object>]

        :type limit: integer or None
        :param limit: An optional limit passed through to the iterator.

        :type offset: integer
        :param offset: An optional offset passed through to the iterator.

        :type start_cursor: bytes
        :param start_cursor: An optional cursor passed through to the iterator.

        :type end_cursor: bytes
        :param end_cursor: An optional cursor passed through to the iterator.

        :type client: :class:`gcloud.datastore.client.Client`
        :param client: client used to connect to datastore.
                       If not supplied, uses the query's value.

        :rtype: :class:`Iterator`
        :raises: ValueError if ``connection`` is not passed and no implicit
                 default has been set.
         N/A N/A client None N/A N/A client N/A self _client N/A N/A Iterator self client limit offset start_cursor end_cursor N/A N/A Iterator N/A object N/A N/A Represent the state of a given execution of a Query.

    :type query: :class:`gcloud.datastore.query.Query`
    :param query: Query object holding permanent configuration (i.e.
                  things that don't change on with each page in
                  a results set).

    :type client: :class:`gcloud.datastore.client.Client`
    :param client: The client used to make a request.

    :type limit: integer
    :param limit: (Optional) Limit the number of results returned.

    :type offset: integer
    :param offset: (Optional) Defaults to 0. Offset used to begin
                   a query.

    :type start_cursor: bytes
    :param start_cursor: (Optional) Cursor to begin paging through
                         query results.

    :type end_cursor: bytes
    :param end_cursor: (Optional) Cursor to end paging through
                       query results.
     N/A _NOT_FINISHED N/A N/A _query_pb2 QueryResultBatch NOT_FINISHED N/A _FINISHED N/A N/A N/A _query_pb2 QueryResultBatch NO_MORE_RESULTS N/A N/A _query_pb2 QueryResultBatch MORE_RESULTS_AFTER_LIMIT __init__ N/A N/A self query client limit offset start_cursor end_cursor N/A None 0 None None N/A N/A N/A self _query query N/A N/A self _client client N/A N/A self _limit limit N/A N/A self _offset offset N/A N/A self _start_cursor start_cursor N/A N/A self _end_cursor end_cursor N/A N/A self _page N/A self _more_results None N/A next_page N/A N/A self N/A N/A N/A Fetch a single "page" of query results.

        Low-level API for fine control:  the more convenient API is
        to iterate on the current Iterator.

        :rtype: tuple, (entities, more_results, cursor)
         N/A pb N/A _pb_from_query N/A self _query N/A start_cursor N/A self _start_cursor N/A N/A start_cursor None N/A N/A N/A pb start_cursor N/A N/A base64 urlsafe_b64decode start_cursor N/A end_cursor N/A self _end_cursor N/A N/A end_cursor None N/A N/A N/A pb end_cursor N/A N/A base64 urlsafe_b64decode end_cursor N/A N/A N/A self _limit None N/A N/A N/A N/A pb limit value N/A self _limit N/A N/A pb offset N/A self _offset N/A transaction N/A N/A self _client current_transaction N/A query_results N/A N/A N/A N/A self _client connection run_query query_pb pb project N/A N/A self _query project namespace N/A N/A self _query namespace transaction_id N/A transaction N/A transaction id N/A N/A entity_pbs cursor_as_bytes more_results_enum N/A query_results N/A 3 N/A N/A cursor_as_bytes N/A N/A N/A self _start_cursor None N/A N/A N/A self _start_cursor N/A N/A base64 urlsafe_b64encode cursor_as_bytes N/A N/A self _end_cursor None N/A N/A more_results_enum N/A self _NOT_FINISHED N/A N/A N/A self _more_results True N/A N/A N/A more_results_enum N/A self _FINISHED N/A N/A N/A self _more_results False N/A N/A N/A ValueError Unexpected value returned for `more_results`. N/A N/A self _page N/A N/A N/A helpers entity_from_protobuf entity N/A entity entity_pbs N/A N/A N/A self _page N/A self _more_results N/A self _start_cursor N/A __iter__ N/A N/A self N/A N/A N/A Generator yielding all results matching our query.

        :rtype: sequence of :class:`gcloud.datastore.entity.Entity`
         N/A N/A N/A self next_page N/A True N/A N/A entity N/A self _page N/A N/A N/A entity N/A N/A N/A self _more_results N/A N/A N/A N/A N/A self next_page N/A N/A _pb_from_query N/A N/A query N/A N/A N/A Convert a Query instance to the corresponding protobuf.

    :type query: :class:`Query`
    :param query: The source query.

    :rtype: :class:`gcloud.datastore._generated.query_pb2.Query`
    :returns: A protobuf that can be sent to the protobuf API.  N.b. that
              it does not contain "in-flight" fields for ongoing query
              executions (cursors, offset, limit).
     N/A pb N/A N/A _query_pb2 Query N/A projection_name N/A query projection N/A N/A N/A N/A N/A N/A N/A pb projection add property name projection_name N/A N/A query kind N/A N/A N/A N/A N/A N/A pb kind add name N/A query kind N/A composite_filter N/A N/A pb filter composite_filter N/A N/A composite_filter op N/A N/A _query_pb2 CompositeFilter AND N/A N/A query ancestor N/A N/A ancestor_pb N/A N/A N/A query ancestor to_protobuf N/A ancestor_filter N/A N/A N/A N/A composite_filter filters add property_filter N/A N/A N/A ancestor_filter property name __key__ N/A N/A ancestor_filter op N/A N/A _query_pb2 PropertyFilter HAS_ANCESTOR N/A N/A N/A N/A N/A ancestor_filter value key_value CopyFrom ancestor_pb N/A N/A property_name operator value N/A query filters N/A N/A pb_op_enum N/A N/A N/A query OPERATORS get operator N/A property_filter N/A N/A N/A N/A composite_filter filters add property_filter N/A N/A N/A property_filter property name property_name N/A N/A property_filter op pb_op_enum N/A N/A property_name __key__ N/A N/A key_pb N/A N/A value to_protobuf N/A N/A N/A N/A N/A property_filter value key_value CopyFrom key_pb N/A N/A N/A N/A helpers _set_protobuf_value N/A property_filter value value N/A N/A N/A composite_filter filters N/A N/A N/A N/A pb ClearField filter N/A prop N/A query order N/A N/A property_order N/A N/A N/A pb order add N/A N/A N/A prop startswith - N/A N/A N/A N/A property_order property name N/A prop N/A 1 N/A N/A property_order direction N/A property_order DESCENDING N/A N/A N/A N/A property_order property name prop N/A N/A property_order direction N/A property_order ASCENDING N/A distinct_on_name N/A query distinct_on N/A N/A N/A N/A N/A N/A pb distinct_on add name distinct_on_name N/A pb N/A