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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public RunQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase
in interface RunQueryRequestOrBuilder
public java.lang.String getProjectId()
The ID of the project against which to make the request.
string project_id = 8;
getProjectId
in interface RunQueryRequestOrBuilder
public ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;
getProjectIdBytes
in interface RunQueryRequestOrBuilder
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 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 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 QueryOrBuilder getQueryOrBuilder()
The query to run.
.google.datastore.v1.Query query = 3;
getQueryOrBuilder
in interface RunQueryRequestOrBuilder
public boolean hasGqlQuery()
The GQL query to run.
.google.datastore.v1.GqlQuery gql_query = 7;
hasGqlQuery
in interface RunQueryRequestOrBuilder
public GqlQuery getGqlQuery()
The GQL query to run.
.google.datastore.v1.GqlQuery gql_query = 7;
getGqlQuery
in interface RunQueryRequestOrBuilder
public GqlQueryOrBuilder getGqlQueryOrBuilder()
The GQL query to run.
.google.datastore.v1.GqlQuery gql_query = 7;
getGqlQueryOrBuilder
in interface RunQueryRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static RunQueryRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public RunQueryRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static RunQueryRequest.Builder newBuilder()
public static RunQueryRequest.Builder newBuilder(RunQueryRequest prototype)
public RunQueryRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected RunQueryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static RunQueryRequest getDefaultInstance()
public static Parser<RunQueryRequest> parser()
public Parser<RunQueryRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public RunQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder