public final class RunQueryRequest extends GeneratedMessageV3 implements RunQueryRequestOrBuilder
The request for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].Protobuf type
google.datastore.v1.RunQueryRequest| Modifier and Type | Class and Description |
|---|---|
static class |
RunQueryRequest.Builder
The request for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
|
static class |
RunQueryRequest.QueryTypeCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
GQL_QUERY_FIELD_NUMBER |
static int |
PARTITION_ID_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
QUERY_FIELD_NUMBER |
static int |
READ_OPTIONS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PROJECT_ID_FIELD_NUMBER
public static final int PARTITION_ID_FIELD_NUMBER
public static final int READ_OPTIONS_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
public static final int GQL_QUERY_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public RunQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase in interface RunQueryRequestOrBuilderpublic java.lang.String getProjectId()
The ID of the project against which to make the request.
string project_id = 8;getProjectId in interface RunQueryRequestOrBuilderpublic ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;getProjectIdBytes in interface RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic boolean hasReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;hasReadOptions in interface RunQueryRequestOrBuilderpublic ReadOptions getReadOptions()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;getReadOptions in interface RunQueryRequestOrBuilderpublic ReadOptionsOrBuilder getReadOptionsOrBuilder()
The options for this query.
.google.datastore.v1.ReadOptions read_options = 1;getReadOptionsOrBuilder in interface RunQueryRequestOrBuilderpublic boolean hasQuery()
The query to run.
.google.datastore.v1.Query query = 3;hasQuery in interface RunQueryRequestOrBuilderpublic Query getQuery()
The query to run.
.google.datastore.v1.Query query = 3;getQuery in interface RunQueryRequestOrBuilderpublic QueryOrBuilder getQueryOrBuilder()
The query to run.
.google.datastore.v1.Query query = 3;getQueryOrBuilder in interface RunQueryRequestOrBuilderpublic boolean hasGqlQuery()
The GQL query to run.
.google.datastore.v1.GqlQuery gql_query = 7;hasGqlQuery in interface RunQueryRequestOrBuilderpublic GqlQuery getGqlQuery()
The GQL query to run.
.google.datastore.v1.GqlQuery gql_query = 7;getGqlQuery in interface RunQueryRequestOrBuilderpublic GqlQueryOrBuilder getGqlQueryOrBuilder()
The GQL query to run.
.google.datastore.v1.GqlQuery gql_query = 7;getGqlQueryOrBuilder in interface RunQueryRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static RunQueryRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic RunQueryRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static RunQueryRequest.Builder newBuilder()
public static RunQueryRequest.Builder newBuilder(RunQueryRequest prototype)
public RunQueryRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected RunQueryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static RunQueryRequest getDefaultInstance()
public static Parser<RunQueryRequest> parser()
public Parser<RunQueryRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public RunQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder