Interface RunAggregationQueryResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RunAggregationQueryResponse, RunAggregationQueryResponse.Builder

public interface RunAggregationQueryResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasBatch

      boolean hasBatch()
       A batch of aggregation results. Always present.
       
      .google.datastore.v1.AggregationResultBatch batch = 1;
      Returns:
      Whether the batch field is set.
    • 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.
    • hasExplainMetrics

      boolean hasExplainMetrics()
       Query explain metrics. This is only present when the
       [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
       is provided, and it is sent only once with the last response in the stream.
       
      .google.datastore.v1.ExplainMetrics explain_metrics = 9;
      Returns:
      Whether the explainMetrics field is set.
    • getExplainMetrics

      ExplainMetrics getExplainMetrics()
       Query explain metrics. This is only present when the
       [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
       is provided, and it is sent only once with the last response in the stream.
       
      .google.datastore.v1.ExplainMetrics explain_metrics = 9;
      Returns:
      The explainMetrics.
    • getExplainMetricsOrBuilder

      ExplainMetricsOrBuilder getExplainMetricsOrBuilder()
       Query explain metrics. This is only present when the
       [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
       is provided, and it is sent only once with the last response in the stream.
       
      .google.datastore.v1.ExplainMetrics explain_metrics = 9;