public static final class RunQueryResponse.Builder extends GeneratedMessageV3.Builder<RunQueryResponse.Builder> implements RunQueryResponseOrBuilder
The response for
Datastore.RunQuery.
Protobuf type google.datastore.v1.RunQueryResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RunQueryResponse build()
buildPartial()
public RunQueryResponse buildPartial()
clear()
public RunQueryResponse.Builder clear()
Overrides
clearBatch()
public RunQueryResponse.Builder clearBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
clearField(Descriptors.FieldDescriptor field)
public RunQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearQuery()
public RunQueryResponse.Builder clearQuery()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
clearTransaction()
public RunQueryResponse.Builder clearTransaction()
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;
clone()
public RunQueryResponse.Builder clone()
Overrides
getBatch()
public QueryResultBatch getBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
getBatchBuilder()
public QueryResultBatch.Builder getBatchBuilder()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
getQueryBuilder()
public Query.Builder getQueryBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
getQueryOrBuilder()
public QueryOrBuilder getQueryOrBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBatch(QueryResultBatch value)
public RunQueryResponse.Builder mergeBatch(QueryResultBatch value)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
mergeFrom(RunQueryResponse other)
public RunQueryResponse.Builder mergeFrom(RunQueryResponse other)
public RunQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RunQueryResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeQuery(Query value)
public RunQueryResponse.Builder mergeQuery(Query value)
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
Parameter |
---|
Name | Description |
value | Query
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBatch(QueryResultBatch value)
public RunQueryResponse.Builder setBatch(QueryResultBatch value)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
setBatch(QueryResultBatch.Builder builderForValue)
public RunQueryResponse.Builder setBatch(QueryResultBatch.Builder builderForValue)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public RunQueryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setQuery(Query value)
public RunQueryResponse.Builder setQuery(Query value)
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
Parameter |
---|
Name | Description |
value | Query
|
setQuery(Query.Builder builderForValue)
public RunQueryResponse.Builder setQuery(Query.Builder builderForValue)
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTransaction(ByteString value)
public RunQueryResponse.Builder setTransaction(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The transaction to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RunQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides