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, unknownFields
memoizedSize
memoizedHashCode
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, 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 was deleted.
string document = 1;
getDocument
in interface DocumentDeleteOrBuilder
public ByteString getDocumentBytes()
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
string document = 1;
getDocumentBytes
in interface DocumentDeleteOrBuilder
public 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 DocumentDeleteOrBuilder
public int getRemovedTargetIdsCount()
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;
getRemovedTargetIdsCount
in interface DocumentDeleteOrBuilder
public 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 DocumentDeleteOrBuilder
public 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 DocumentDeleteOrBuilder
public 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 DocumentDeleteOrBuilder
public 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 DocumentDeleteOrBuilder
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 DocumentDelete parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentDelete parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentDelete parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentDelete parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentDelete parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentDelete parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DocumentDelete parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DocumentDelete parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DocumentDelete parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DocumentDelete parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DocumentDelete parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static DocumentDelete parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public DocumentDelete.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DocumentDelete.Builder newBuilder()
public static DocumentDelete.Builder newBuilder(DocumentDelete prototype)
public DocumentDelete.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DocumentDelete.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static DocumentDelete getDefaultInstance()
public static Parser<DocumentDelete> parser()
public Parser<DocumentDelete> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public DocumentDelete getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder