public static final class DatastoreV1.RunQueryRequest extends com.google.protobuf.GeneratedMessage implements DatastoreV1.RunQueryRequestOrBuilder
api.services.datastore.RunQueryRequest
The request for RunQuery.
| Modifier and Type | Class and Description |
|---|---|
static class |
DatastoreV1.RunQueryRequest.Builder
Protobuf type
api.services.datastore.RunQueryRequest |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
GQL_QUERY_FIELD_NUMBER |
static com.google.protobuf.Parser<DatastoreV1.RunQueryRequest> |
PARSER |
static int |
PARTITION_ID_FIELD_NUMBER |
static int |
QUERY_FIELD_NUMBER |
static int |
READ_OPTIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static DatastoreV1.RunQueryRequest |
getDefaultInstance() |
DatastoreV1.RunQueryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DatastoreV1.GqlQuery |
getGqlQuery()
optional .api.services.datastore.GqlQuery gql_query = 7; |
DatastoreV1.GqlQueryOrBuilder |
getGqlQueryOrBuilder()
optional .api.services.datastore.GqlQuery gql_query = 7; |
com.google.protobuf.Parser<DatastoreV1.RunQueryRequest> |
getParserForType() |
DatastoreV1.PartitionId |
getPartitionId()
optional .api.services.datastore.PartitionId partition_id = 2; |
DatastoreV1.PartitionIdOrBuilder |
getPartitionIdOrBuilder()
optional .api.services.datastore.PartitionId partition_id = 2; |
DatastoreV1.Query |
getQuery()
optional .api.services.datastore.Query query = 3; |
DatastoreV1.QueryOrBuilder |
getQueryOrBuilder()
optional .api.services.datastore.Query query = 3; |
DatastoreV1.ReadOptions |
getReadOptions()
optional .api.services.datastore.ReadOptions read_options = 1; |
DatastoreV1.ReadOptionsOrBuilder |
getReadOptionsOrBuilder()
optional .api.services.datastore.ReadOptions read_options = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGqlQuery()
optional .api.services.datastore.GqlQuery gql_query = 7; |
boolean |
hasPartitionId()
optional .api.services.datastore.PartitionId partition_id = 2; |
boolean |
hasQuery()
optional .api.services.datastore.Query query = 3; |
boolean |
hasReadOptions()
optional .api.services.datastore.ReadOptions read_options = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DatastoreV1.RunQueryRequest.Builder |
newBuilder() |
static DatastoreV1.RunQueryRequest.Builder |
newBuilder(DatastoreV1.RunQueryRequest prototype) |
DatastoreV1.RunQueryRequest.Builder |
newBuilderForType() |
protected DatastoreV1.RunQueryRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static DatastoreV1.RunQueryRequest |
parseDelimitedFrom(InputStream input) |
static DatastoreV1.RunQueryRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.RunQueryRequest |
parseFrom(byte[] data) |
static DatastoreV1.RunQueryRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.RunQueryRequest |
parseFrom(com.google.protobuf.ByteString data) |
static DatastoreV1.RunQueryRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.RunQueryRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DatastoreV1.RunQueryRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.RunQueryRequest |
parseFrom(InputStream input) |
static DatastoreV1.RunQueryRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatastoreV1.RunQueryRequest.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<DatastoreV1.RunQueryRequest> PARSER
public static final int READ_OPTIONS_FIELD_NUMBER
public static final int PARTITION_ID_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
public static final int GQL_QUERY_FIELD_NUMBER
public static DatastoreV1.RunQueryRequest getDefaultInstance()
public DatastoreV1.RunQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<DatastoreV1.RunQueryRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasReadOptions()
optional .api.services.datastore.ReadOptions read_options = 1;
The options for this query.
hasReadOptions in interface DatastoreV1.RunQueryRequestOrBuilderpublic DatastoreV1.ReadOptions getReadOptions()
optional .api.services.datastore.ReadOptions read_options = 1;
The options for this query.
getReadOptions in interface DatastoreV1.RunQueryRequestOrBuilderpublic DatastoreV1.ReadOptionsOrBuilder getReadOptionsOrBuilder()
optional .api.services.datastore.ReadOptions read_options = 1;
The options for this query.
getReadOptionsOrBuilder in interface DatastoreV1.RunQueryRequestOrBuilderpublic boolean hasPartitionId()
optional .api.services.datastore.PartitionId partition_id = 2;
Entities are partitioned into subsets, identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID, but all other partition IDs in RunQueryRequest are normalized with this partition ID as the context partition ID.
hasPartitionId in interface DatastoreV1.RunQueryRequestOrBuilderpublic DatastoreV1.PartitionId getPartitionId()
optional .api.services.datastore.PartitionId partition_id = 2;
Entities are partitioned into subsets, identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID, but all other partition IDs in RunQueryRequest are normalized with this partition ID as the context partition ID.
getPartitionId in interface DatastoreV1.RunQueryRequestOrBuilderpublic DatastoreV1.PartitionIdOrBuilder getPartitionIdOrBuilder()
optional .api.services.datastore.PartitionId partition_id = 2;
Entities are partitioned into subsets, identified by a dataset (usually implicitly specified by the project) and namespace ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID, but all other partition IDs in RunQueryRequest are normalized with this partition ID as the context partition ID.
getPartitionIdOrBuilder in interface DatastoreV1.RunQueryRequestOrBuilderpublic boolean hasQuery()
optional .api.services.datastore.Query query = 3;
The query to run. Either this field or field gql_query must be set, but not both.
hasQuery in interface DatastoreV1.RunQueryRequestOrBuilderpublic DatastoreV1.Query getQuery()
optional .api.services.datastore.Query query = 3;
The query to run. Either this field or field gql_query must be set, but not both.
getQuery in interface DatastoreV1.RunQueryRequestOrBuilderpublic DatastoreV1.QueryOrBuilder getQueryOrBuilder()
optional .api.services.datastore.Query query = 3;
The query to run. Either this field or field gql_query must be set, but not both.
getQueryOrBuilder in interface DatastoreV1.RunQueryRequestOrBuilderpublic boolean hasGqlQuery()
optional .api.services.datastore.GqlQuery gql_query = 7;
The GQL query to run. Either this field or field query must be set, but not both.
hasGqlQuery in interface DatastoreV1.RunQueryRequestOrBuilderpublic DatastoreV1.GqlQuery getGqlQuery()
optional .api.services.datastore.GqlQuery gql_query = 7;
The GQL query to run. Either this field or field query must be set, but not both.
getGqlQuery in interface DatastoreV1.RunQueryRequestOrBuilderpublic DatastoreV1.GqlQueryOrBuilder getGqlQueryOrBuilder()
optional .api.services.datastore.GqlQuery gql_query = 7;
The GQL query to run. Either this field or field query must be set, but not both.
getGqlQueryOrBuilder in interface DatastoreV1.RunQueryRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static DatastoreV1.RunQueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.RunQueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.RunQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.RunQueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.RunQueryRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static DatastoreV1.RunQueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.RunQueryRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DatastoreV1.RunQueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.RunQueryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DatastoreV1.RunQueryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.RunQueryRequest.Builder newBuilder()
public DatastoreV1.RunQueryRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DatastoreV1.RunQueryRequest.Builder newBuilder(DatastoreV1.RunQueryRequest prototype)
public DatastoreV1.RunQueryRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DatastoreV1.RunQueryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015. All rights reserved.