publicfinalclass RunQueryResponseextendsGeneratedMessageV3implementsRunQueryResponseOrBuilder
The response for
Datastore.RunQuery.
Protobuf type google.datastore.v1.RunQueryResponse
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
BATCH_FIELD_NUMBER
publicstaticfinalintBATCH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
EXPLAIN_METRICS_FIELD_NUMBER
publicstaticfinalintEXPLAIN_METRICS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
QUERY_FIELD_NUMBER
publicstaticfinalintQUERY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
TRANSACTION_FIELD_NUMBER
publicstaticfinalintTRANSACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticRunQueryResponsegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticRunQueryResponse.BuildernewBuilder()
newBuilder(RunQueryResponse prototype)
publicstaticRunQueryResponse.BuildernewBuilder(RunQueryResponseprototype)
publicstaticRunQueryResponseparseDelimitedFrom(InputStreaminput)
publicstaticRunQueryResponseparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticRunQueryResponseparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticRunQueryResponseparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticRunQueryResponseparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticRunQueryResponseparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticRunQueryResponseparseFrom(CodedInputStreaminput)
publicstaticRunQueryResponseparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticRunQueryResponseparseFrom(InputStreaminput)
publicstaticRunQueryResponseparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticRunQueryResponseparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticRunQueryResponseparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<RunQueryResponse>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBatch()
publicQueryResultBatchgetBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
getBatchOrBuilder()
publicQueryResultBatchOrBuildergetBatchOrBuilder()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
getDefaultInstanceForType()
publicRunQueryResponsegetDefaultInstanceForType()
getExplainMetrics()
publicExplainMetricsgetExplainMetrics()
Query explain metrics. This is only present when the
RunQueryRequest.explain_options
is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
getExplainMetricsOrBuilder()
publicExplainMetricsOrBuildergetExplainMetricsOrBuilder()
Query explain metrics. This is only present when the
RunQueryRequest.explain_options
is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
getParserForType()
publicParser<RunQueryResponse>getParserForType()
Overrides
getQuery()
The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.Query query = 2;
| Returns |
| Type |
Description |
Query |
The query.
|
getQueryOrBuilder()
publicQueryOrBuildergetQueryOrBuilder()
The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.Query query = 2;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getTransaction()
publicByteStringgetTransaction()
The identifier of the transaction that was started as part of this
RunQuery request.
Set only when
ReadOptions.new_transaction
was set in
RunQueryRequest.read_options.
bytes transaction = 5;
| Returns |
| Type |
Description |
ByteString |
The transaction.
|
hasBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
| Returns |
| Type |
Description |
boolean |
Whether the batch field is set.
|
hasExplainMetrics()
publicbooleanhasExplainMetrics()
Query explain metrics. This is only present when the
RunQueryRequest.explain_options
is provided, and it is sent only once with the last response in the stream.
.google.datastore.v1.ExplainMetrics explain_metrics = 9;
| Returns |
| Type |
Description |
boolean |
Whether the explainMetrics field is set.
|
hasQuery()
The parsed form of the GqlQuery from the request, if it was set.
.google.datastore.v1.Query query = 2;
| Returns |
| Type |
Description |
boolean |
Whether the query field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicRunQueryResponse.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedRunQueryResponse.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicRunQueryResponse.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides