public static final class DocumentDelete.Builder extends GeneratedMessageV3.Builder<DocumentDelete.Builder> 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 | Method and Description |
---|---|
DocumentDelete.Builder |
addAllRemovedTargetIds(java.lang.Iterable<? extends java.lang.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(Descriptors.FieldDescriptor field,
java.lang.Object value) |
DocumentDelete |
build() |
DocumentDelete |
buildPartial() |
DocumentDelete.Builder |
clear() |
DocumentDelete.Builder |
clearDocument()
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
|
DocumentDelete.Builder |
clearField(Descriptors.FieldDescriptor field) |
DocumentDelete.Builder |
clearOneof(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 Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Timestamp |
getReadTime()
The read timestamp at which the delete was observed.
|
Timestamp.Builder |
getReadTimeBuilder()
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.
|
boolean |
hasReadTime()
The read timestamp at which the delete was observed.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DocumentDelete.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
DocumentDelete.Builder |
mergeFrom(DocumentDelete other) |
DocumentDelete.Builder |
mergeFrom(Message other) |
DocumentDelete.Builder |
mergeReadTime(Timestamp value)
The read timestamp at which the delete was observed.
|
DocumentDelete.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
DocumentDelete.Builder |
setDocument(java.lang.String value)
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
|
DocumentDelete.Builder |
setDocumentBytes(ByteString value)
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
|
DocumentDelete.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
DocumentDelete.Builder |
setReadTime(Timestamp.Builder builderForValue)
The read timestamp at which the delete was observed.
|
DocumentDelete.Builder |
setReadTime(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(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
DocumentDelete.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<DocumentDelete.Builder>
public DocumentDelete.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DocumentDelete build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DocumentDelete buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DocumentDelete.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DocumentDelete.Builder>
public DocumentDelete.Builder mergeFrom(DocumentDelete other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public DocumentDelete.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<DocumentDelete.Builder>
java.io.IOException
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 DocumentDelete.Builder setDocument(java.lang.String value)
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
string document = 1;
public DocumentDelete.Builder clearDocument()
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
string document = 1;
public DocumentDelete.Builder setDocumentBytes(ByteString value)
The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
string document = 1;
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 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;
public DocumentDelete.Builder addRemovedTargetIds(int value)
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;
public DocumentDelete.Builder addAllRemovedTargetIds(java.lang.Iterable<? extends java.lang.Integer> values)
A set of target IDs for targets that previously matched this entity.
repeated int32 removed_target_ids = 6;
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 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(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(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(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 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 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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>
public final DocumentDelete.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DocumentDelete.Builder>