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, 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<DocumentRemove.Builder>
public DocumentRemove.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public DocumentRemove getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DocumentRemove build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DocumentRemove buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DocumentRemove.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public DocumentRemove.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public DocumentRemove.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public DocumentRemove.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public DocumentRemove.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public DocumentRemove.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public DocumentRemove.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DocumentRemove.Builder>
public DocumentRemove.Builder mergeFrom(DocumentRemove other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public DocumentRemove.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<DocumentRemove.Builder>
java.io.IOException
public 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 DocumentRemoveOrBuilder
public ByteString getDocumentBytes()
The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
string document = 1;
getDocumentBytes
in interface DocumentRemoveOrBuilder
public 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 DocumentRemoveOrBuilder
public int getRemovedTargetIdsCount()
A set of target IDs for targets that previously matched this document.
repeated int32 removed_target_ids = 2;
getRemovedTargetIdsCount
in interface DocumentRemoveOrBuilder
public 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 DocumentRemoveOrBuilder
public 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 DocumentRemoveOrBuilder
public 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 DocumentRemoveOrBuilder
public 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 DocumentRemoveOrBuilder
public final DocumentRemove.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>
public final DocumentRemove.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DocumentRemove.Builder>