public static final class RunQueryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder> implements RunQueryRequestOrBuilder
The request for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].Protobuf type
google.datastore.v1.RunQueryRequest
Modifier and Type | Method and Description |
---|---|
RunQueryRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunQueryRequest |
build() |
RunQueryRequest |
buildPartial() |
RunQueryRequest.Builder |
clear() |
RunQueryRequest.Builder |
clearDatabaseId()
The ID of the database against which to make the request.
|
RunQueryRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunQueryRequest.Builder |
clearGqlQuery()
The GQL query to run.
|
RunQueryRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunQueryRequest.Builder |
clearPartitionId()
Entities are partitioned into subsets, identified by a partition ID.
|
RunQueryRequest.Builder |
clearProjectId()
Required.
|
RunQueryRequest.Builder |
clearQuery()
The query to run.
|
RunQueryRequest.Builder |
clearQueryType() |
RunQueryRequest.Builder |
clearReadOptions()
The options for this query.
|
RunQueryRequest.Builder |
clone() |
String |
getDatabaseId()
The ID of the database against which to make the request.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
The ID of the database against which to make the request.
|
RunQueryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GqlQuery |
getGqlQuery()
The GQL query to run.
|
GqlQuery.Builder |
getGqlQueryBuilder()
The GQL query to run.
|
GqlQueryOrBuilder |
getGqlQueryOrBuilder()
The GQL query to run.
|
PartitionId |
getPartitionId()
Entities are partitioned into subsets, identified by a partition ID.
|
PartitionId.Builder |
getPartitionIdBuilder()
Entities are partitioned into subsets, identified by a partition ID.
|
PartitionIdOrBuilder |
getPartitionIdOrBuilder()
Entities are partitioned into subsets, identified by a partition ID.
|
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
Query |
getQuery()
The query to run.
|
Query.Builder |
getQueryBuilder()
The query to run.
|
QueryOrBuilder |
getQueryOrBuilder()
The query to run.
|
RunQueryRequest.QueryTypeCase |
getQueryTypeCase() |
ReadOptions |
getReadOptions()
The options for this query.
|
ReadOptions.Builder |
getReadOptionsBuilder()
The options for this query.
|
ReadOptionsOrBuilder |
getReadOptionsOrBuilder()
The options for this query.
|
boolean |
hasGqlQuery()
The GQL query to run.
|
boolean |
hasPartitionId()
Entities are partitioned into subsets, identified by a partition ID.
|
boolean |
hasQuery()
The query to run.
|
boolean |
hasReadOptions()
The options for this query.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunQueryRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunQueryRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunQueryRequest.Builder |
mergeFrom(RunQueryRequest other) |
RunQueryRequest.Builder |
mergeGqlQuery(GqlQuery value)
The GQL query to run.
|
RunQueryRequest.Builder |
mergePartitionId(PartitionId value)
Entities are partitioned into subsets, identified by a partition ID.
|
RunQueryRequest.Builder |
mergeQuery(Query value)
The query to run.
|
RunQueryRequest.Builder |
mergeReadOptions(ReadOptions value)
The options for this query.
|
RunQueryRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunQueryRequest.Builder |
setDatabaseId(String value)
The ID of the database against which to make the request.
|
RunQueryRequest.Builder |
setDatabaseIdBytes(com.google.protobuf.ByteString value)
The ID of the database against which to make the request.
|
RunQueryRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunQueryRequest.Builder |
setGqlQuery(GqlQuery.Builder builderForValue)
The GQL query to run.
|
RunQueryRequest.Builder |
setGqlQuery(GqlQuery value)
The GQL query to run.
|
RunQueryRequest.Builder |
setPartitionId(PartitionId.Builder builderForValue)
Entities are partitioned into subsets, identified by a partition ID.
|
RunQueryRequest.Builder |
setPartitionId(PartitionId value)
Entities are partitioned into subsets, identified by a partition ID.
|
RunQueryRequest.Builder |
setProjectId(String value)
Required.
|
RunQueryRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
RunQueryRequest.Builder |
setQuery(Query.Builder builderForValue)
The query to run.
|
RunQueryRequest.Builder |
setQuery(Query value)
The query to run.
|
RunQueryRequest.Builder |
setReadOptions(ReadOptions.Builder builderForValue)
The options for this query.
|
RunQueryRequest.Builder |
setReadOptions(ReadOptions value)
The options for this query.
|
RunQueryRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunQueryRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RunQueryRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RunQueryRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RunQueryRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder mergeFrom(RunQueryRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunQueryRequest.Builder>
IOException
public RunQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder clearQueryType()
public String getProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
getProjectId
in interface RunQueryRequestOrBuilder
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];
getProjectIdBytes
in interface RunQueryRequestOrBuilder
public RunQueryRequest.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];
value
- The projectId to set.public RunQueryRequest.Builder clearProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
public RunQueryRequest.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];
value
- The bytes for projectId to set.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;
getDatabaseId
in interface RunQueryRequestOrBuilder
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;
getDatabaseIdBytes
in interface RunQueryRequestOrBuilder
public RunQueryRequest.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;
value
- The databaseId to set.public RunQueryRequest.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;
public RunQueryRequest.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;
value
- The bytes for databaseId to set.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;
hasPartitionId
in interface RunQueryRequestOrBuilder
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;
getPartitionId
in interface RunQueryRequestOrBuilder
public RunQueryRequest.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;
public RunQueryRequest.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;
public RunQueryRequest.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;
public RunQueryRequest.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;
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;
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;
getPartitionIdOrBuilder
in interface RunQueryRequestOrBuilder
public boolean hasReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
hasReadOptions
in interface RunQueryRequestOrBuilder
public ReadOptions getReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
getReadOptions
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder setReadOptions(ReadOptions value)
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
public RunQueryRequest.Builder setReadOptions(ReadOptions.Builder builderForValue)
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
public RunQueryRequest.Builder mergeReadOptions(ReadOptions value)
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
public RunQueryRequest.Builder clearReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
public ReadOptions.Builder getReadOptionsBuilder()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
public ReadOptionsOrBuilder getReadOptionsOrBuilder()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
getReadOptionsOrBuilder
in interface RunQueryRequestOrBuilder
public boolean hasQuery()
The query to run.
.google.datastore.v1.Query query = 3;
hasQuery
in interface RunQueryRequestOrBuilder
public Query getQuery()
The query to run.
.google.datastore.v1.Query query = 3;
getQuery
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder setQuery(Query value)
The query to run.
.google.datastore.v1.Query query = 3;
public RunQueryRequest.Builder setQuery(Query.Builder builderForValue)
The query to run.
.google.datastore.v1.Query query = 3;
public RunQueryRequest.Builder mergeQuery(Query value)
The query to run.
.google.datastore.v1.Query query = 3;
public RunQueryRequest.Builder clearQuery()
The query to run.
.google.datastore.v1.Query query = 3;
public Query.Builder getQueryBuilder()
The query to run.
.google.datastore.v1.Query query = 3;
public QueryOrBuilder getQueryOrBuilder()
The query to run.
.google.datastore.v1.Query query = 3;
getQueryOrBuilder
in interface RunQueryRequestOrBuilder
public boolean hasGqlQuery()
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
hasGqlQuery
in interface RunQueryRequestOrBuilder
public GqlQuery getGqlQuery()
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
getGqlQuery
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder setGqlQuery(GqlQuery value)
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
public RunQueryRequest.Builder setGqlQuery(GqlQuery.Builder builderForValue)
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
public RunQueryRequest.Builder mergeGqlQuery(GqlQuery value)
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
public RunQueryRequest.Builder clearGqlQuery()
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
public GqlQuery.Builder getGqlQueryBuilder()
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
public GqlQueryOrBuilder getGqlQueryOrBuilder()
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
getGqlQueryOrBuilder
in interface RunQueryRequestOrBuilder
public final RunQueryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public final RunQueryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.