public static final class RunQueryResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder> implements RunQueryResponseOrBuilder
The response for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].Protobuf type
google.datastore.v1.RunQueryResponse
Modifier and Type | Method and Description |
---|---|
RunQueryResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunQueryResponse |
build() |
RunQueryResponse |
buildPartial() |
RunQueryResponse.Builder |
clear() |
RunQueryResponse.Builder |
clearBatch()
A batch of query results (always present).
|
RunQueryResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunQueryResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunQueryResponse.Builder |
clearQuery()
The parsed form of the `GqlQuery` from the request, if it was set.
|
RunQueryResponse.Builder |
clearTransaction()
The identifier of the transaction that was started as part of this
RunQuery request.
|
RunQueryResponse.Builder |
clone() |
QueryResultBatch |
getBatch()
A batch of query results (always present).
|
QueryResultBatch.Builder |
getBatchBuilder()
A batch of query results (always present).
|
QueryResultBatchOrBuilder |
getBatchOrBuilder()
A batch of query results (always present).
|
RunQueryResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Query |
getQuery()
The parsed form of the `GqlQuery` from the request, if it was set.
|
Query.Builder |
getQueryBuilder()
The parsed form of the `GqlQuery` from the request, if it was set.
|
QueryOrBuilder |
getQueryOrBuilder()
The parsed form of the `GqlQuery` from the request, if it was set.
|
com.google.protobuf.ByteString |
getTransaction()
The identifier of the transaction that was started as part of this
RunQuery request.
|
boolean |
hasBatch()
A batch of query results (always present).
|
boolean |
hasQuery()
The parsed form of the `GqlQuery` from the request, if it was set.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunQueryResponse.Builder |
mergeBatch(QueryResultBatch value)
A batch of query results (always present).
|
RunQueryResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunQueryResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunQueryResponse.Builder |
mergeFrom(RunQueryResponse other) |
RunQueryResponse.Builder |
mergeQuery(Query value)
The parsed form of the `GqlQuery` from the request, if it was set.
|
RunQueryResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunQueryResponse.Builder |
setBatch(QueryResultBatch.Builder builderForValue)
A batch of query results (always present).
|
RunQueryResponse.Builder |
setBatch(QueryResultBatch value)
A batch of query results (always present).
|
RunQueryResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunQueryResponse.Builder |
setQuery(Query.Builder builderForValue)
The parsed form of the `GqlQuery` from the request, if it was set.
|
RunQueryResponse.Builder |
setQuery(Query value)
The parsed form of the `GqlQuery` from the request, if it was set.
|
RunQueryResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunQueryResponse.Builder |
setTransaction(com.google.protobuf.ByteString value)
The identifier of the transaction that was started as part of this
RunQuery request.
|
RunQueryResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RunQueryResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RunQueryResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RunQueryResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder mergeFrom(RunQueryResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunQueryResponse.Builder>
IOException
public boolean hasBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
hasBatch
in interface RunQueryResponseOrBuilder
public QueryResultBatch getBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
getBatch
in interface RunQueryResponseOrBuilder
public RunQueryResponse.Builder setBatch(QueryResultBatch value)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
public RunQueryResponse.Builder setBatch(QueryResultBatch.Builder builderForValue)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
public RunQueryResponse.Builder mergeBatch(QueryResultBatch value)
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
public RunQueryResponse.Builder clearBatch()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
public QueryResultBatch.Builder getBatchBuilder()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
public QueryResultBatchOrBuilder getBatchOrBuilder()
A batch of query results (always present).
.google.datastore.v1.QueryResultBatch batch = 1;
getBatchOrBuilder
in interface RunQueryResponseOrBuilder
public boolean hasQuery()
The parsed form of the `GqlQuery` from the request, if it was set.
.google.datastore.v1.Query query = 2;
hasQuery
in interface RunQueryResponseOrBuilder
public Query getQuery()
The parsed form of the `GqlQuery` from the request, if it was set.
.google.datastore.v1.Query query = 2;
getQuery
in interface RunQueryResponseOrBuilder
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;
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;
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;
public RunQueryResponse.Builder clearQuery()
The parsed form of the `GqlQuery` from the request, if it was set.
.google.datastore.v1.Query query = 2;
public Query.Builder getQueryBuilder()
The parsed form of the `GqlQuery` from the request, if it was set.
.google.datastore.v1.Query query = 2;
public QueryOrBuilder getQueryOrBuilder()
The parsed form of the `GqlQuery` from the request, if it was set.
.google.datastore.v1.Query query = 2;
getQueryOrBuilder
in interface RunQueryResponseOrBuilder
public com.google.protobuf.ByteString getTransaction()
The identifier of the transaction that was started as part of this RunQuery request. Set only when [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] was set in [RunQueryRequest.read_options][google.datastore.v1.RunQueryRequest.read_options].
bytes transaction = 5;
getTransaction
in interface RunQueryResponseOrBuilder
public RunQueryResponse.Builder setTransaction(com.google.protobuf.ByteString value)
The identifier of the transaction that was started as part of this RunQuery request. Set only when [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] was set in [RunQueryRequest.read_options][google.datastore.v1.RunQueryRequest.read_options].
bytes transaction = 5;
value
- The transaction to set.public RunQueryResponse.Builder clearTransaction()
The identifier of the transaction that was started as part of this RunQuery request. Set only when [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] was set in [RunQueryRequest.read_options][google.datastore.v1.RunQueryRequest.read_options].
bytes transaction = 5;
public final RunQueryResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public final RunQueryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.