public static final class DocumentDelete.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder> implements DocumentDeleteOrBuilder
A [Document][google.firestore.v1.Document] has been deleted. May be the result of multiple [writes][google.firestore.v1.Write], including updates, the last of which deleted the [Document][google.firestore.v1.Document]. Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be returned for the same logical delete, if multiple targets are affected.Protobuf type
google.firestore.v1.DocumentDelete
Modifier and Type | Method and Description |
---|---|
DocumentDelete.Builder |
addAllRemovedTargetIds(Iterable<? extends Integer> values)
A set of target IDs for targets that previously matched this entity.
|
DocumentDelete.Builder |
addRemovedTargetIds(int value)
A set of target IDs for targets that previously matched this entity.
|
DocumentDelete.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DocumentDelete |
build() |
DocumentDelete |
buildPartial() |
DocumentDelete.Builder |
clear() |
DocumentDelete.Builder |
clearDocument()
The resource name of the [Document][google.firestore.v1.Document] that was
deleted.
|
DocumentDelete.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DocumentDelete.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DocumentDelete.Builder |
clearReadTime()
The read timestamp at which the delete was observed.
|
DocumentDelete.Builder |
clearRemovedTargetIds()
A set of target IDs for targets that previously matched this entity.
|
DocumentDelete.Builder |
clone() |
DocumentDelete |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDocument()
The resource name of the [Document][google.firestore.v1.Document] that was
deleted.
|
com.google.protobuf.ByteString |
getDocumentBytes()
The resource name of the [Document][google.firestore.v1.Document] that was
deleted.
|
com.google.protobuf.Timestamp |
getReadTime()
The read timestamp at which the delete was observed.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
The read timestamp at which the delete was observed.
|
com.google.protobuf.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.
|
List<Integer> |
getRemovedTargetIdsList()
A set of target IDs for targets that previously matched this entity.
|
boolean |
hasReadTime()
The read timestamp at which the delete was observed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DocumentDelete.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DocumentDelete.Builder |
mergeFrom(DocumentDelete other) |
DocumentDelete.Builder |
mergeFrom(com.google.protobuf.Message other) |
DocumentDelete.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
The read timestamp at which the delete was observed.
|
DocumentDelete.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DocumentDelete.Builder |
setDocument(String value)
The resource name of the [Document][google.firestore.v1.Document] that was
deleted.
|
DocumentDelete.Builder |
setDocumentBytes(com.google.protobuf.ByteString value)
The resource name of the [Document][google.firestore.v1.Document] that was
deleted.
|
DocumentDelete.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DocumentDelete.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The read timestamp at which the delete was observed.
|
DocumentDelete.Builder |
setReadTime(com.google.protobuf.Timestamp value)
The read timestamp at which the delete was observed.
|
DocumentDelete.Builder |
setRemovedTargetIds(int index,
int value)
A set of target IDs for targets that previously matched this entity.
|
DocumentDelete.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DocumentDelete.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DocumentDelete build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DocumentDelete buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DocumentDelete.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder mergeFrom(DocumentDelete other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DocumentDelete.Builder>
IOException
public String getDocument()
The resource name of the [Document][google.firestore.v1.Document] that was deleted.
string document = 1;
getDocument
in interface DocumentDeleteOrBuilder
public com.google.protobuf.ByteString getDocumentBytes()
The resource name of the [Document][google.firestore.v1.Document] that was deleted.
string document = 1;
getDocumentBytes
in interface DocumentDeleteOrBuilder
public DocumentDelete.Builder setDocument(String value)
The resource name of the [Document][google.firestore.v1.Document] that was deleted.
string document = 1;
value
- The document to set.public DocumentDelete.Builder clearDocument()
The resource name of the [Document][google.firestore.v1.Document] that was deleted.
string document = 1;
public DocumentDelete.Builder setDocumentBytes(com.google.protobuf.ByteString value)
The resource name of the [Document][google.firestore.v1.Document] that was deleted.
string document = 1;
value
- The bytes for document to set.public List<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
index
- The index of the element to return.public DocumentDelete.Builder setRemovedTargetIds(int index, int value)
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;
index
- The index to set the value at.value
- The removedTargetIds to set.public DocumentDelete.Builder addRemovedTargetIds(int value)
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;
value
- The removedTargetIds to add.public DocumentDelete.Builder addAllRemovedTargetIds(Iterable<? extends Integer> values)
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;
values
- The removedTargetIds to add.public DocumentDelete.Builder clearRemovedTargetIds()
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;
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 com.google.protobuf.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 DocumentDelete.Builder setReadTime(com.google.protobuf.Timestamp value)
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;
public DocumentDelete.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;
public DocumentDelete.Builder mergeReadTime(com.google.protobuf.Timestamp value)
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;
public DocumentDelete.Builder clearReadTime()
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;
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
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;
public com.google.protobuf.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 DocumentDelete.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
public final DocumentDelete.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentDelete.Builder>
Copyright © 2023 Google LLC. All rights reserved.