public final class RunQueryResponse extends GeneratedMessageV3 implements RunQueryResponseOrBuilder
The response for Datastore.RunQuery.
Protobuf type google.datastore.v1.RunQueryResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RunQueryResponseImplements
RunQueryResponseOrBuilderStatic Fields
BATCH_FIELD_NUMBER
public static final int BATCH_FIELD_NUMBER
Type | Description |
int |
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
Type | Description |
int |
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static RunQueryResponse getDefaultInstance()
Type | Description |
RunQueryResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static RunQueryResponse.Builder newBuilder()
Type | Description |
RunQueryResponse.Builder |
newBuilder(RunQueryResponse prototype)
public static RunQueryResponse.Builder newBuilder(RunQueryResponse prototype)
Name | Description |
prototype | RunQueryResponse |
Type | Description |
RunQueryResponse.Builder |
parseDelimitedFrom(InputStream input)
public static RunQueryResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RunQueryResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunQueryResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static RunQueryResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
RunQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RunQueryResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
RunQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RunQueryResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
RunQueryResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunQueryResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static RunQueryResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RunQueryResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunQueryResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RunQueryResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
RunQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RunQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RunQueryResponse> parser()
Type | Description |
Parser<RunQueryResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getBatch()
public QueryResultBatch getBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Type | Description |
QueryResultBatch | The batch. |
getBatchOrBuilder()
public QueryResultBatchOrBuilder getBatchOrBuilder()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Type | Description |
QueryResultBatchOrBuilder |
getDefaultInstanceForType()
public RunQueryResponse getDefaultInstanceForType()
Type | Description |
RunQueryResponse |
getParserForType()
public Parser<RunQueryResponse> getParserForType()
Type | Description |
Parser<RunQueryResponse> |
getQuery()
public Query getQuery()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
Type | Description |
Query | The query. |
getQueryOrBuilder()
public QueryOrBuilder getQueryOrBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
Type | Description |
QueryOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTransaction()
public ByteString getTransaction()
The identifier of the transaction that was started as part of this RunQuery request. Set only when [ReadOptions.begin_transaction][] was set in RunQueryRequest.read_options.
bytes transaction = 5;
Type | Description |
ByteString | The transaction. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasBatch()
public boolean hasBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Type | Description |
boolean | Whether the batch field is set. |
hasQuery()
public boolean hasQuery()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
Type | Description |
boolean | Whether the query field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public RunQueryResponse.Builder newBuilderForType()
Type | Description |
RunQueryResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RunQueryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
RunQueryResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public RunQueryResponse.Builder toBuilder()
Type | Description |
RunQueryResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |