public static final class RunQueryResponse.Builder extends GeneratedMessageV3.Builder<RunQueryResponse.Builder> implements RunQueryResponseOrBuilder
The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery].Protobuf type
google.firestore.v1beta1.RunQueryResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public RunQueryResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public RunQueryResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public RunQueryResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder mergeFrom(RunQueryResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<RunQueryResponse.Builder>
java.io.IOException
public ByteString getTransaction()
The transaction that was started as part of this request. Can only be set in the first response, and only if [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. If set, no other fields will be set in this response.
bytes transaction = 2;
getTransaction
in interface RunQueryResponseOrBuilder
public RunQueryResponse.Builder setTransaction(ByteString value)
The transaction that was started as part of this request. Can only be set in the first response, and only if [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. If set, no other fields will be set in this response.
bytes transaction = 2;
public RunQueryResponse.Builder clearTransaction()
The transaction that was started as part of this request. Can only be set in the first response, and only if [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. If set, no other fields will be set in this response.
bytes transaction = 2;
public boolean hasDocument()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;
hasDocument
in interface RunQueryResponseOrBuilder
public Document getDocument()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;
getDocument
in interface RunQueryResponseOrBuilder
public RunQueryResponse.Builder setDocument(Document value)
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;
public RunQueryResponse.Builder setDocument(Document.Builder builderForValue)
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;
public RunQueryResponse.Builder mergeDocument(Document value)
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;
public RunQueryResponse.Builder clearDocument()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;
public Document.Builder getDocumentBuilder()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;
public DocumentOrBuilder getDocumentOrBuilder()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;
getDocumentOrBuilder
in interface RunQueryResponseOrBuilder
public boolean hasReadTime()
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
hasReadTime
in interface RunQueryResponseOrBuilder
public Timestamp getReadTime()
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
getReadTime
in interface RunQueryResponseOrBuilder
public RunQueryResponse.Builder setReadTime(Timestamp value)
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public RunQueryResponse.Builder setReadTime(Timestamp.Builder builderForValue)
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public RunQueryResponse.Builder mergeReadTime(Timestamp value)
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public RunQueryResponse.Builder clearReadTime()
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public Timestamp.Builder getReadTimeBuilder()
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
public TimestampOrBuilder getReadTimeOrBuilder()
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;
getReadTimeOrBuilder
in interface RunQueryResponseOrBuilder
public int getSkippedResults()
The number of results that have been skipped due to an offset between the last response and the current response.
int32 skipped_results = 4;
getSkippedResults
in interface RunQueryResponseOrBuilder
public RunQueryResponse.Builder setSkippedResults(int value)
The number of results that have been skipped due to an offset between the last response and the current response.
int32 skipped_results = 4;
public RunQueryResponse.Builder clearSkippedResults()
The number of results that have been skipped due to an offset between the last response and the current response.
int32 skipped_results = 4;
public final RunQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public final RunQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>