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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RunQueryResponse build()
Returns
buildPartial()
public RunQueryResponse buildPartial()
Returns
clear()
public RunQueryResponse.Builder clear()
Returns
Overrides
clearBatch()
public RunQueryResponse.Builder clearBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public RunQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public RunQueryResponse.Builder clone()
Returns
Overrides
getBatch()
public QueryResultBatch getBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Returns
getBatchBuilder()
public QueryResultBatch.Builder getBatchBuilder()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Returns
getBatchOrBuilder()
public QueryResultBatchOrBuilder getBatchOrBuilder()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Returns
getDefaultInstanceForType()
public RunQueryResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
getQueryOrBuilder()
public QueryOrBuilder getQueryOrBuilder()
The parsed form of the GqlQuery
from the request, if it was set.
.google.datastore.v1.Query query = 2;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBatch(QueryResultBatch value)
public RunQueryResponse.Builder mergeBatch(QueryResultBatch value)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Parameter
Returns
mergeFrom(RunQueryResponse other)
public RunQueryResponse.Builder mergeFrom(RunQueryResponse other)
Parameter
Returns
public RunQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RunQueryResponse.Builder mergeFrom(Message other)
Parameter
Returns
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
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBatch(QueryResultBatch value)
public RunQueryResponse.Builder setBatch(QueryResultBatch value)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Parameter
Returns
setBatch(QueryResultBatch.Builder builderForValue)
public RunQueryResponse.Builder setBatch(QueryResultBatch.Builder builderForValue)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RunQueryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
|
Returns
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RunQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides