Interface RunAggregationQueryResponseOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AggregationResultBatch getBatch()
      A batch of aggregation results.
      AggregationResultBatchOrBuilder getBatchOrBuilder()
      A batch of aggregation results.
      AggregationQuery getQuery()
      The parsed form of the `GqlQuery` from the request, if it was set.
      AggregationQueryOrBuilder getQueryOrBuilder()
      The parsed form of the `GqlQuery` from the request, if it was set.
      com.google.protobuf.ByteString getTransaction()
      The identifier of the transaction that was started as part of this RunAggregationQuery request.
      boolean hasBatch()
      A batch of aggregation results.
      boolean hasQuery()
      The parsed form of the `GqlQuery` from the request, if it was set.
      • 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 Detail

      • hasBatch

        boolean hasBatch()
         A batch of aggregation results. Always present.
         
        .google.datastore.v1.AggregationResultBatch batch = 1;
        Returns:
        Whether the batch field is set.
      • getBatch

        AggregationResultBatch getBatch()
         A batch of aggregation results. Always present.
         
        .google.datastore.v1.AggregationResultBatch batch = 1;
        Returns:
        The batch.
      • getBatchOrBuilder

        AggregationResultBatchOrBuilder getBatchOrBuilder()
         A batch of aggregation results. Always present.
         
        .google.datastore.v1.AggregationResultBatch batch = 1;
      • hasQuery

        boolean hasQuery()
         The parsed form of the `GqlQuery` from the request, if it was set.
         
        .google.datastore.v1.AggregationQuery query = 2;
        Returns:
        Whether the query field is set.
      • getQuery

        AggregationQuery getQuery()
         The parsed form of the `GqlQuery` from the request, if it was set.
         
        .google.datastore.v1.AggregationQuery query = 2;
        Returns:
        The query.
      • getQueryOrBuilder

        AggregationQueryOrBuilder getQueryOrBuilder()
         The parsed form of the `GqlQuery` from the request, if it was set.
         
        .google.datastore.v1.AggregationQuery query = 2;
      • getTransaction

        com.google.protobuf.ByteString getTransaction()
         The identifier of the transaction that was started as part of this
         RunAggregationQuery request.
        
         Set only when
         [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction]
         was set in
         [RunAggregationQueryRequest.read_options][google.datastore.v1.RunAggregationQueryRequest.read_options].
         
        bytes transaction = 5;
        Returns:
        The transaction.