public final class DocumentRemove extends GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
DocumentRemove.Builder
A [Document][google.firestore.v1beta1.Document] has been removed from the view of the targets.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
DOCUMENT_FIELD_NUMBER |
static int |
READ_TIME_FIELD_NUMBER |
static int |
REMOVED_TARGET_IDS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static DocumentRemove |
getDefaultInstance() |
DocumentRemove |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
Parser<DocumentRemove> |
getParserForType() |
Timestamp |
getReadTime()
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.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasReadTime()
The read timestamp at which the remove was observed.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DocumentRemove.Builder |
newBuilder() |
static DocumentRemove.Builder |
newBuilder(DocumentRemove prototype) |
DocumentRemove.Builder |
newBuilderForType() |
protected DocumentRemove.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static DocumentRemove |
parseDelimitedFrom(java.io.InputStream input) |
static DocumentRemove |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static DocumentRemove |
parseFrom(byte[] data) |
static DocumentRemove |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static DocumentRemove |
parseFrom(java.nio.ByteBuffer data) |
static DocumentRemove |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static DocumentRemove |
parseFrom(ByteString data) |
static DocumentRemove |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DocumentRemove |
parseFrom(CodedInputStream input) |
static DocumentRemove |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static DocumentRemove |
parseFrom(java.io.InputStream input) |
static DocumentRemove |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<DocumentRemove> |
parser() |
DocumentRemove.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int DOCUMENT_FIELD_NUMBER
public static final int REMOVED_TARGET_IDS_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 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 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 boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static DocumentRemove parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentRemove parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentRemove parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentRemove parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentRemove parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentRemove parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentRemove parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DocumentRemove parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DocumentRemove parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DocumentRemove parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DocumentRemove parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static DocumentRemove parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public DocumentRemove.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DocumentRemove.Builder newBuilder()
public static DocumentRemove.Builder newBuilder(DocumentRemove prototype)
public DocumentRemove.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DocumentRemove.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static DocumentRemove getDefaultInstance()
public static Parser<DocumentRemove> parser()
public Parser<DocumentRemove> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public DocumentRemove getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder