public final class DocumentDelete extends GeneratedMessageV3 implements DocumentDeleteOrBuilder
A [Document][google.firestore.v1beta1.Document] has been deleted. May be the result of multiple [writes][google.firestore.v1beta1.Write], including updates, the last of which deleted the [Document][google.firestore.v1beta1.Document]. Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages may be returned for the same logical delete, if multiple targets are affected.Protobuf type
google.firestore.v1beta1.DocumentDelete| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentDelete.Builder
A [Document][google.firestore.v1beta1.Document] has been deleted.
|
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, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static DocumentDelete |
getDefaultInstance() |
DocumentDelete |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDocument()
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
|
ByteString |
getDocumentBytes()
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
|
Parser<DocumentDelete> |
getParserForType() |
Timestamp |
getReadTime()
The read timestamp at which the delete was observed.
|
TimestampOrBuilder |
getReadTimeOrBuilder()
The read timestamp at which the delete was observed.
|
int |
getRemovedTargetIds(int index)
A set of target IDs for targets that previously matched this entity.
|
int |
getRemovedTargetIdsCount()
A set of target IDs for targets that previously matched this entity.
|
java.util.List<java.lang.Integer> |
getRemovedTargetIdsList()
A set of target IDs for targets that previously matched this entity.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasReadTime()
The read timestamp at which the delete was observed.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DocumentDelete.Builder |
newBuilder() |
static DocumentDelete.Builder |
newBuilder(DocumentDelete prototype) |
DocumentDelete.Builder |
newBuilderForType() |
protected DocumentDelete.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static DocumentDelete |
parseDelimitedFrom(java.io.InputStream input) |
static DocumentDelete |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static DocumentDelete |
parseFrom(byte[] data) |
static DocumentDelete |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static DocumentDelete |
parseFrom(java.nio.ByteBuffer data) |
static DocumentDelete |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static DocumentDelete |
parseFrom(ByteString data) |
static DocumentDelete |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DocumentDelete |
parseFrom(CodedInputStream input) |
static DocumentDelete |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static DocumentDelete |
parseFrom(java.io.InputStream input) |
static DocumentDelete |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<DocumentDelete> |
parser() |
DocumentDelete.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getDocument()
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
string document = 1;getDocument in interface DocumentDeleteOrBuilderpublic ByteString getDocumentBytes()
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
string document = 1;getDocumentBytes in interface DocumentDeleteOrBuilderpublic java.util.List<java.lang.Integer> getRemovedTargetIdsList()
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;getRemovedTargetIdsList in interface DocumentDeleteOrBuilderpublic int getRemovedTargetIdsCount()
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;getRemovedTargetIdsCount in interface DocumentDeleteOrBuilderpublic int getRemovedTargetIds(int index)
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;getRemovedTargetIds in interface DocumentDeleteOrBuilderpublic boolean hasReadTime()
The read timestamp at which the delete was observed. Greater or equal to the `commit_time` of the delete.
.google.protobuf.Timestamp read_time = 4;hasReadTime in interface DocumentDeleteOrBuilderpublic Timestamp getReadTime()
The read timestamp at which the delete was observed. Greater or equal to the `commit_time` of the delete.
.google.protobuf.Timestamp read_time = 4;getReadTime in interface DocumentDeleteOrBuilderpublic TimestampOrBuilder getReadTimeOrBuilder()
The read timestamp at which the delete was observed. Greater or equal to the `commit_time` of the delete.
.google.protobuf.Timestamp read_time = 4;getReadTimeOrBuilder in interface DocumentDeleteOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static DocumentDelete parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DocumentDelete parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DocumentDelete parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DocumentDelete parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DocumentDelete parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DocumentDelete parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DocumentDelete parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DocumentDelete parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DocumentDelete parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DocumentDelete parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DocumentDelete parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DocumentDelete parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic DocumentDelete.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DocumentDelete.Builder newBuilder()
public static DocumentDelete.Builder newBuilder(DocumentDelete prototype)
public DocumentDelete.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected DocumentDelete.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static DocumentDelete getDefaultInstance()
public static Parser<DocumentDelete> parser()
public Parser<DocumentDelete> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public DocumentDelete getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder