Class RunAggregationQueryResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
      • getDefaultInstanceForType

        public RunAggregationQueryResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RunAggregationQueryResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RunAggregationQueryResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>
      • mergeFrom

        public RunAggregationQueryResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunAggregationQueryResponse.Builder>
        Throws:
        IOException
      • hasBatch

        public boolean hasBatch()
         A batch of aggregation results. Always present.
         
        .google.datastore.v1.AggregationResultBatch batch = 1;
        Specified by:
        hasBatch in interface RunAggregationQueryResponseOrBuilder
        Returns:
        Whether the batch field is set.
      • getBatchBuilder

        public AggregationResultBatch.Builder getBatchBuilder()
         A batch of aggregation results. Always present.
         
        .google.datastore.v1.AggregationResultBatch batch = 1;
      • hasQuery

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

        public RunAggregationQueryResponse.Builder clearQuery()
         The parsed form of the `GqlQuery` from the request, if it was set.
         
        .google.datastore.v1.AggregationQuery query = 2;
      • getQueryBuilder

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

        public 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;
        Specified by:
        getTransaction in interface RunAggregationQueryResponseOrBuilder
        Returns:
        The transaction.
      • setTransaction

        public RunAggregationQueryResponse.Builder setTransaction​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The transaction to set.
        Returns:
        This builder for chaining.
      • clearTransaction

        public RunAggregationQueryResponse.Builder clearTransaction()
         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:
        This builder for chaining.
      • mergeUnknownFields

        public final RunAggregationQueryResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryResponse.Builder>