public static final class DocumentRemove.Builder extends GeneratedMessageV3.Builder<DocumentRemove.Builder> implements DocumentRemoveOrBuilder
A [Document][google.firestore.v1beta1.Document] has been removed from the view of the targets. Sent if the document is no longer relevant to a target and is out of view. Can be sent instead of a DocumentDelete or a DocumentChange if the server can not send the new value of the document. Multiple [DocumentRemove][google.firestore.v1beta1.DocumentRemove] messages may be returned for the same logical write or delete, if multiple targets are affected.Protobuf type
google.firestore.v1beta1.DocumentRemove| Modifier and Type | Method and Description |
|---|---|
DocumentRemove.Builder |
addAllRemovedTargetIds(java.lang.Iterable<? extends java.lang.Integer> values)
A set of target IDs for targets that previously matched this document.
|
DocumentRemove.Builder |
addRemovedTargetIds(int value)
A set of target IDs for targets that previously matched this document.
|
DocumentRemove.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
DocumentRemove |
build() |
DocumentRemove |
buildPartial() |
DocumentRemove.Builder |
clear() |
DocumentRemove.Builder |
clearDocument()
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
|
DocumentRemove.Builder |
clearField(Descriptors.FieldDescriptor field) |
DocumentRemove.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
DocumentRemove.Builder |
clearReadTime()
The read timestamp at which the remove was observed.
|
DocumentRemove.Builder |
clearRemovedTargetIds()
A set of target IDs for targets that previously matched this document.
|
DocumentRemove.Builder |
clone() |
DocumentRemove |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getDocument()
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
|
ByteString |
getDocumentBytes()
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
|
Timestamp |
getReadTime()
The read timestamp at which the remove was observed.
|
Timestamp.Builder |
getReadTimeBuilder()
The read timestamp at which the remove was observed.
|
TimestampOrBuilder |
getReadTimeOrBuilder()
The read timestamp at which the remove was observed.
|
int |
getRemovedTargetIds(int index)
A set of target IDs for targets that previously matched this document.
|
int |
getRemovedTargetIdsCount()
A set of target IDs for targets that previously matched this document.
|
java.util.List<java.lang.Integer> |
getRemovedTargetIdsList()
A set of target IDs for targets that previously matched this document.
|
boolean |
hasReadTime()
The read timestamp at which the remove was observed.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DocumentRemove.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
DocumentRemove.Builder |
mergeFrom(DocumentRemove other) |
DocumentRemove.Builder |
mergeFrom(Message other) |
DocumentRemove.Builder |
mergeReadTime(Timestamp value)
The read timestamp at which the remove was observed.
|
DocumentRemove.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
DocumentRemove.Builder |
setDocument(java.lang.String value)
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
|
DocumentRemove.Builder |
setDocumentBytes(ByteString value)
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
|
DocumentRemove.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
DocumentRemove.Builder |
setReadTime(Timestamp.Builder builderForValue)
The read timestamp at which the remove was observed.
|
DocumentRemove.Builder |
setReadTime(Timestamp value)
The read timestamp at which the remove was observed.
|
DocumentRemove.Builder |
setRemovedTargetIds(int index,
int value)
A set of target IDs for targets that previously matched this document.
|
DocumentRemove.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
DocumentRemove.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic DocumentRemove build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic DocumentRemove buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic DocumentRemove.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<DocumentRemove.Builder>public DocumentRemove.Builder mergeFrom(DocumentRemove other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public DocumentRemove.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<DocumentRemove.Builder>java.io.IOExceptionpublic java.lang.String getDocument()
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
string document = 1;getDocument in interface DocumentRemoveOrBuilderpublic ByteString getDocumentBytes()
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
string document = 1;getDocumentBytes in interface DocumentRemoveOrBuilderpublic DocumentRemove.Builder setDocument(java.lang.String value)
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
string document = 1;public DocumentRemove.Builder clearDocument()
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
string document = 1;public DocumentRemove.Builder setDocumentBytes(ByteString value)
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
string document = 1;public java.util.List<java.lang.Integer> getRemovedTargetIdsList()
A set of target IDs for targets that previously matched this document.
repeated int32 removed_target_ids = 2;getRemovedTargetIdsList in interface DocumentRemoveOrBuilderpublic int getRemovedTargetIdsCount()
A set of target IDs for targets that previously matched this document.
repeated int32 removed_target_ids = 2;getRemovedTargetIdsCount in interface DocumentRemoveOrBuilderpublic int getRemovedTargetIds(int index)
A set of target IDs for targets that previously matched this document.
repeated int32 removed_target_ids = 2;getRemovedTargetIds in interface DocumentRemoveOrBuilderpublic DocumentRemove.Builder setRemovedTargetIds(int index, int value)
A set of target IDs for targets that previously matched this document.
repeated int32 removed_target_ids = 2;public DocumentRemove.Builder addRemovedTargetIds(int value)
A set of target IDs for targets that previously matched this document.
repeated int32 removed_target_ids = 2;public DocumentRemove.Builder addAllRemovedTargetIds(java.lang.Iterable<? extends java.lang.Integer> values)
A set of target IDs for targets that previously matched this document.
repeated int32 removed_target_ids = 2;public DocumentRemove.Builder clearRemovedTargetIds()
A set of target IDs for targets that previously matched this document.
repeated int32 removed_target_ids = 2;public boolean hasReadTime()
The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.
.google.protobuf.Timestamp read_time = 4;hasReadTime in interface DocumentRemoveOrBuilderpublic Timestamp getReadTime()
The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.
.google.protobuf.Timestamp read_time = 4;getReadTime in interface DocumentRemoveOrBuilderpublic DocumentRemove.Builder setReadTime(Timestamp value)
The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.
.google.protobuf.Timestamp read_time = 4;public DocumentRemove.Builder setReadTime(Timestamp.Builder builderForValue)
The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.
.google.protobuf.Timestamp read_time = 4;public DocumentRemove.Builder mergeReadTime(Timestamp value)
The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.
.google.protobuf.Timestamp read_time = 4;public DocumentRemove.Builder clearReadTime()
The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.
.google.protobuf.Timestamp read_time = 4;public Timestamp.Builder getReadTimeBuilder()
The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.
.google.protobuf.Timestamp read_time = 4;public TimestampOrBuilder getReadTimeOrBuilder()
The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.
.google.protobuf.Timestamp read_time = 4;getReadTimeOrBuilder in interface DocumentRemoveOrBuilderpublic final DocumentRemove.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<DocumentRemove.Builder>public final DocumentRemove.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<DocumentRemove.Builder>