public final class RunQueryResponse extends GeneratedMessageV3 implements RunQueryResponseOrBuilder
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
public static final int BATCH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static RunQueryResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RunQueryResponse.Builder newBuilder()
newBuilder(RunQueryResponse prototype)
public static RunQueryResponse.Builder newBuilder(RunQueryResponse prototype)
public static RunQueryResponse parseDelimitedFrom(InputStream input)
public static RunQueryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RunQueryResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RunQueryResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(CodedInputStream input)
public static RunQueryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(InputStream input)
public static RunQueryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RunQueryResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RunQueryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RunQueryResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBatch()
public QueryResultBatch getBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
getBatchOrBuilder()
public QueryResultBatchOrBuilder getBatchOrBuilder()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
getDefaultInstanceForType()
public RunQueryResponse getDefaultInstanceForType()
getParserForType()
public Parser<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()
public QueryOrBuilder getQueryOrBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTransaction()
public ByteString getTransaction()
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;
hasBatch()
public boolean hasBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Returns |
---|
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;
Returns |
---|
Type | Description |
boolean | Whether the query field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RunQueryResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RunQueryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RunQueryResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides