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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<DatastoreV1.RunQueryRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasReadOptions()
optional .api.services.datastore.ReadOptions read_options = 1;
The options for this query.
hasReadOptions
in interface DatastoreV1.RunQueryRequestOrBuilder
public DatastoreV1.ReadOptions getReadOptions()
optional .api.services.datastore.ReadOptions read_options = 1;
The options for this query.
getReadOptions
in interface DatastoreV1.RunQueryRequestOrBuilder
public DatastoreV1.ReadOptionsOrBuilder getReadOptionsOrBuilder()
optional .api.services.datastore.ReadOptions read_options = 1;
The options for this query.
getReadOptionsOrBuilder
in interface DatastoreV1.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public 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.RunQueryRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static DatastoreV1.RunQueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatastoreV1.RunQueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatastoreV1.RunQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatastoreV1.RunQueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatastoreV1.RunQueryRequest parseFrom(InputStream input) throws IOException
IOException
public static DatastoreV1.RunQueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatastoreV1.RunQueryRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DatastoreV1.RunQueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatastoreV1.RunQueryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DatastoreV1.RunQueryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatastoreV1.RunQueryRequest.Builder newBuilder()
public DatastoreV1.RunQueryRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static DatastoreV1.RunQueryRequest.Builder newBuilder(DatastoreV1.RunQueryRequest prototype)
public DatastoreV1.RunQueryRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DatastoreV1.RunQueryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013. All Rights Reserved.