Class RunAggregationQueryRequest.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<RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
      • getDefaultInstanceForType

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

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

        public RunAggregationQueryRequest 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<RunAggregationQueryRequest.Builder>
      • mergeFrom

        public RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
        Throws:
        IOException
      • getProjectId

        public String getProjectId()
         Required. The ID of the project against which to make the request.
         
        string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectId in interface RunAggregationQueryRequestOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         Required. The ID of the project against which to make the request.
         
        string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectIdBytes in interface RunAggregationQueryRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        public RunAggregationQueryRequest.Builder setProjectId​(String value)
         Required. The ID of the project against which to make the request.
         
        string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        public RunAggregationQueryRequest.Builder clearProjectId()
         Required. The ID of the project against which to make the request.
         
        string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        public RunAggregationQueryRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the project against which to make the request.
         
        string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getDatabaseId

        public String getDatabaseId()
         The ID of the database against which to make the request.
        
         '(default)' is not allowed; please use empty string '' to refer the default
         database.
         
        string database_id = 9;
        Specified by:
        getDatabaseId in interface RunAggregationQueryRequestOrBuilder
        Returns:
        The databaseId.
      • getDatabaseIdBytes

        public com.google.protobuf.ByteString getDatabaseIdBytes()
         The ID of the database against which to make the request.
        
         '(default)' is not allowed; please use empty string '' to refer the default
         database.
         
        string database_id = 9;
        Specified by:
        getDatabaseIdBytes in interface RunAggregationQueryRequestOrBuilder
        Returns:
        The bytes for databaseId.
      • setDatabaseId

        public RunAggregationQueryRequest.Builder setDatabaseId​(String value)
         The ID of the database against which to make the request.
        
         '(default)' is not allowed; please use empty string '' to refer the default
         database.
         
        string database_id = 9;
        Parameters:
        value - The databaseId to set.
        Returns:
        This builder for chaining.
      • clearDatabaseId

        public RunAggregationQueryRequest.Builder clearDatabaseId()
         The ID of the database against which to make the request.
        
         '(default)' is not allowed; please use empty string '' to refer the default
         database.
         
        string database_id = 9;
        Returns:
        This builder for chaining.
      • setDatabaseIdBytes

        public RunAggregationQueryRequest.Builder setDatabaseIdBytes​(com.google.protobuf.ByteString value)
         The ID of the database against which to make the request.
        
         '(default)' is not allowed; please use empty string '' to refer the default
         database.
         
        string database_id = 9;
        Parameters:
        value - The bytes for databaseId to set.
        Returns:
        This builder for chaining.
      • hasPartitionId

        public boolean hasPartitionId()
         Entities are partitioned into subsets, identified by a partition ID.
         Queries are scoped to a single partition.
         This partition ID is normalized with the standard default context
         partition ID.
         
        .google.datastore.v1.PartitionId partition_id = 2;
        Specified by:
        hasPartitionId in interface RunAggregationQueryRequestOrBuilder
        Returns:
        Whether the partitionId field is set.
      • getPartitionId

        public PartitionId getPartitionId()
         Entities are partitioned into subsets, identified by a partition ID.
         Queries are scoped to a single partition.
         This partition ID is normalized with the standard default context
         partition ID.
         
        .google.datastore.v1.PartitionId partition_id = 2;
        Specified by:
        getPartitionId in interface RunAggregationQueryRequestOrBuilder
        Returns:
        The partitionId.
      • setPartitionId

        public RunAggregationQueryRequest.Builder setPartitionId​(PartitionId value)
         Entities are partitioned into subsets, identified by a partition ID.
         Queries are scoped to a single partition.
         This partition ID is normalized with the standard default context
         partition ID.
         
        .google.datastore.v1.PartitionId partition_id = 2;
      • setPartitionId

        public RunAggregationQueryRequest.Builder setPartitionId​(PartitionId.Builder builderForValue)
         Entities are partitioned into subsets, identified by a partition ID.
         Queries are scoped to a single partition.
         This partition ID is normalized with the standard default context
         partition ID.
         
        .google.datastore.v1.PartitionId partition_id = 2;
      • mergePartitionId

        public RunAggregationQueryRequest.Builder mergePartitionId​(PartitionId value)
         Entities are partitioned into subsets, identified by a partition ID.
         Queries are scoped to a single partition.
         This partition ID is normalized with the standard default context
         partition ID.
         
        .google.datastore.v1.PartitionId partition_id = 2;
      • clearPartitionId

        public RunAggregationQueryRequest.Builder clearPartitionId()
         Entities are partitioned into subsets, identified by a partition ID.
         Queries are scoped to a single partition.
         This partition ID is normalized with the standard default context
         partition ID.
         
        .google.datastore.v1.PartitionId partition_id = 2;
      • getPartitionIdBuilder

        public PartitionId.Builder getPartitionIdBuilder()
         Entities are partitioned into subsets, identified by a partition ID.
         Queries are scoped to a single partition.
         This partition ID is normalized with the standard default context
         partition ID.
         
        .google.datastore.v1.PartitionId partition_id = 2;
      • getPartitionIdOrBuilder

        public PartitionIdOrBuilder getPartitionIdOrBuilder()
         Entities are partitioned into subsets, identified by a partition ID.
         Queries are scoped to a single partition.
         This partition ID is normalized with the standard default context
         partition ID.
         
        .google.datastore.v1.PartitionId partition_id = 2;
        Specified by:
        getPartitionIdOrBuilder in interface RunAggregationQueryRequestOrBuilder
      • hasReadOptions

        public boolean hasReadOptions()
         The options for this query.
         
        .google.datastore.v1.ReadOptions read_options = 1;
        Specified by:
        hasReadOptions in interface RunAggregationQueryRequestOrBuilder
        Returns:
        Whether the readOptions field is set.
      • getReadOptionsBuilder

        public ReadOptions.Builder getReadOptionsBuilder()
         The options for this query.
         
        .google.datastore.v1.ReadOptions read_options = 1;
      • hasAggregationQuery

        public boolean hasAggregationQuery()
         The query to run.
         
        .google.datastore.v1.AggregationQuery aggregation_query = 3;
        Specified by:
        hasAggregationQuery in interface RunAggregationQueryRequestOrBuilder
        Returns:
        Whether the aggregationQuery field is set.
      • clearAggregationQuery

        public RunAggregationQueryRequest.Builder clearAggregationQuery()
         The query to run.
         
        .google.datastore.v1.AggregationQuery aggregation_query = 3;
      • getAggregationQueryBuilder

        public AggregationQuery.Builder getAggregationQueryBuilder()
         The query to run.
         
        .google.datastore.v1.AggregationQuery aggregation_query = 3;
      • hasGqlQuery

        public boolean hasGqlQuery()
         The GQL query to run. This query must be an aggregation query.
         
        .google.datastore.v1.GqlQuery gql_query = 7;
        Specified by:
        hasGqlQuery in interface RunAggregationQueryRequestOrBuilder
        Returns:
        Whether the gqlQuery field is set.
      • clearGqlQuery

        public RunAggregationQueryRequest.Builder clearGqlQuery()
         The GQL query to run. This query must be an aggregation query.
         
        .google.datastore.v1.GqlQuery gql_query = 7;
      • getGqlQueryBuilder

        public GqlQuery.Builder getGqlQueryBuilder()
         The GQL query to run. This query must be an aggregation query.
         
        .google.datastore.v1.GqlQuery gql_query = 7;
      • setUnknownFields

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

        public final RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>