publicfinalclass RunQueryRequestextendsGeneratedMessageV3implementsRunQueryRequestOrBuilder
The request for Datastore.RunQuery.
Protobuf type google.datastore.v1.RunQueryRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DATABASE_ID_FIELD_NUMBER
publicstaticfinalintDATABASE_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
EXPLAIN_OPTIONS_FIELD_NUMBER
publicstaticfinalintEXPLAIN_OPTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
GQL_QUERY_FIELD_NUMBER
publicstaticfinalintGQL_QUERY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PARTITION_ID_FIELD_NUMBER
publicstaticfinalintPARTITION_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PROJECT_ID_FIELD_NUMBER
publicstaticfinalintPROJECT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PROPERTY_MASK_FIELD_NUMBER
publicstaticfinalintPROPERTY_MASK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
QUERY_FIELD_NUMBER
publicstaticfinalintQUERY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
READ_OPTIONS_FIELD_NUMBER
publicstaticfinalintREAD_OPTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticRunQueryRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticRunQueryRequest.BuildernewBuilder()
newBuilder(RunQueryRequest prototype)
publicstaticRunQueryRequest.BuildernewBuilder(RunQueryRequestprototype)
publicstaticRunQueryRequestparseDelimitedFrom(InputStreaminput)
publicstaticRunQueryRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticRunQueryRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticRunQueryRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticRunQueryRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticRunQueryRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticRunQueryRequestparseFrom(CodedInputStreaminput)
publicstaticRunQueryRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticRunQueryRequestparseFrom(InputStreaminput)
publicstaticRunQueryRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticRunQueryRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticRunQueryRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<RunQueryRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDatabaseId()
publicStringgetDatabaseId()
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 |
| Type |
Description |
String |
The databaseId.
|
getDatabaseIdBytes()
publicByteStringgetDatabaseIdBytes()
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 |
| Type |
Description |
ByteString |
The bytes for databaseId.
|
getDefaultInstanceForType()
publicRunQueryRequestgetDefaultInstanceForType()
getExplainOptions()
publicExplainOptionsgetExplainOptions()
Optional. Explain options for the query. If set, additional query
statistics will be returned. If not, only query results will be returned.
.google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL];
getExplainOptionsOrBuilder()
publicExplainOptionsOrBuildergetExplainOptionsOrBuilder()
Optional. Explain options for the query. If set, additional query
statistics will be returned. If not, only query results will be returned.
.google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL];
getGqlQuery()
publicGqlQuerygetGqlQuery()
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
| Returns |
| Type |
Description |
GqlQuery |
The gqlQuery.
|
getGqlQueryOrBuilder()
publicGqlQueryOrBuildergetGqlQueryOrBuilder()
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
getParserForType()
publicParser<RunQueryRequest>getParserForType()
Overrides
getPartitionId()
publicPartitionIdgetPartitionId()
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()
publicPartitionIdOrBuildergetPartitionIdOrBuilder()
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;
getProjectId()
publicStringgetProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The projectId.
|
getProjectIdBytes()
publicByteStringgetProjectIdBytes()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for projectId.
|
getPropertyMask()
publicPropertyMaskgetPropertyMask()
The properties to return.
This field must not be set for a projection query.
See
LookupRequest.property_mask.
.google.datastore.v1.PropertyMask property_mask = 10;
getPropertyMaskOrBuilder()
publicPropertyMaskOrBuildergetPropertyMaskOrBuilder()
The properties to return.
This field must not be set for a projection query.
See
LookupRequest.property_mask.
.google.datastore.v1.PropertyMask property_mask = 10;
getQuery()
The query to run.
.google.datastore.v1.Query query = 3;
| Returns |
| Type |
Description |
Query |
The query.
|
getQueryOrBuilder()
publicQueryOrBuildergetQueryOrBuilder()
The query to run.
.google.datastore.v1.Query query = 3;
getQueryTypeCase()
publicRunQueryRequest.QueryTypeCasegetQueryTypeCase()
getReadOptions()
publicReadOptionsgetReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
getReadOptionsOrBuilder()
publicReadOptionsOrBuildergetReadOptionsOrBuilder()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasExplainOptions()
publicbooleanhasExplainOptions()
Optional. Explain options for the query. If set, additional query
statistics will be returned. If not, only query results will be returned.
.google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the explainOptions field is set.
|
hasGqlQuery()
publicbooleanhasGqlQuery()
The GQL query to run. This query must be a non-aggregation query.
.google.datastore.v1.GqlQuery gql_query = 7;
| Returns |
| Type |
Description |
boolean |
Whether the gqlQuery field is set.
|
hasPartitionId()
publicbooleanhasPartitionId()
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;
| Returns |
| Type |
Description |
boolean |
Whether the partitionId field is set.
|
hasPropertyMask()
publicbooleanhasPropertyMask()
The properties to return.
This field must not be set for a projection query.
See
LookupRequest.property_mask.
.google.datastore.v1.PropertyMask property_mask = 10;
| Returns |
| Type |
Description |
boolean |
Whether the propertyMask field is set.
|
hasQuery()
The query to run.
.google.datastore.v1.Query query = 3;
| Returns |
| Type |
Description |
boolean |
Whether the query field is set.
|
hasReadOptions()
publicbooleanhasReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;
| Returns |
| Type |
Description |
boolean |
Whether the readOptions field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicRunQueryRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedRunQueryRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicRunQueryRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides