public static final class WriteResult.Builder extends GeneratedMessageV3.Builder<WriteResult.Builder> implements WriteResultOrBuilder
The result of applying a write.Protobuf type
google.firestore.v1beta1.WriteResult
Modifier and Type | Method and Description |
---|---|
WriteResult.Builder |
addAllTransformResults(java.lang.Iterable<? extends Value> values)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
WriteResult.Builder |
addTransformResults(int index,
Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult.Builder |
addTransformResults(int index,
Value value)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult.Builder |
addTransformResults(Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult.Builder |
addTransformResults(Value value)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
Value.Builder |
addTransformResultsBuilder()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
Value.Builder |
addTransformResultsBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult |
build() |
WriteResult |
buildPartial() |
WriteResult.Builder |
clear() |
WriteResult.Builder |
clearField(Descriptors.FieldDescriptor field) |
WriteResult.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
WriteResult.Builder |
clearTransformResults()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult.Builder |
clearUpdateTime()
The last update time of the document after applying the write.
|
WriteResult.Builder |
clone() |
WriteResult |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Value |
getTransformResults(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
Value.Builder |
getTransformResultsBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
java.util.List<Value.Builder> |
getTransformResultsBuilderList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
int |
getTransformResultsCount()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
java.util.List<Value> |
getTransformResultsList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
ValueOrBuilder |
getTransformResultsOrBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
java.util.List<? extends ValueOrBuilder> |
getTransformResultsOrBuilderList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
Timestamp |
getUpdateTime()
The last update time of the document after applying the write.
|
Timestamp.Builder |
getUpdateTimeBuilder()
The last update time of the document after applying the write.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
The last update time of the document after applying the write.
|
boolean |
hasUpdateTime()
The last update time of the document after applying the write.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WriteResult.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
WriteResult.Builder |
mergeFrom(Message other) |
WriteResult.Builder |
mergeFrom(WriteResult other) |
WriteResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
WriteResult.Builder |
mergeUpdateTime(Timestamp value)
The last update time of the document after applying the write.
|
WriteResult.Builder |
removeTransformResults(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
WriteResult.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
WriteResult.Builder |
setTransformResults(int index,
Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult.Builder |
setTransformResults(int index,
Value value)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
same order.
|
WriteResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
WriteResult.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
The last update time of the document after applying the write.
|
WriteResult.Builder |
setUpdateTime(Timestamp value)
The last update time of the document after applying the write.
|
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<WriteResult.Builder>
public WriteResult.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public WriteResult build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public WriteResult buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public WriteResult.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<WriteResult.Builder>
public WriteResult.Builder mergeFrom(WriteResult other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.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<WriteResult.Builder>
java.io.IOException
public boolean hasUpdateTime()
The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.
.google.protobuf.Timestamp update_time = 1;
hasUpdateTime
in interface WriteResultOrBuilder
public Timestamp getUpdateTime()
The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.
.google.protobuf.Timestamp update_time = 1;
getUpdateTime
in interface WriteResultOrBuilder
public WriteResult.Builder setUpdateTime(Timestamp value)
The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.
.google.protobuf.Timestamp update_time = 1;
public WriteResult.Builder setUpdateTime(Timestamp.Builder builderForValue)
The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.
.google.protobuf.Timestamp update_time = 1;
public WriteResult.Builder mergeUpdateTime(Timestamp value)
The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.
.google.protobuf.Timestamp update_time = 1;
public WriteResult.Builder clearUpdateTime()
The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.
.google.protobuf.Timestamp update_time = 1;
public Timestamp.Builder getUpdateTimeBuilder()
The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.
.google.protobuf.Timestamp update_time = 1;
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.
.google.protobuf.Timestamp update_time = 1;
getUpdateTimeOrBuilder
in interface WriteResultOrBuilder
public java.util.List<Value> getTransformResultsList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
getTransformResultsList
in interface WriteResultOrBuilder
public int getTransformResultsCount()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
getTransformResultsCount
in interface WriteResultOrBuilder
public Value getTransformResults(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
getTransformResults
in interface WriteResultOrBuilder
public WriteResult.Builder setTransformResults(int index, Value value)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public WriteResult.Builder setTransformResults(int index, Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public WriteResult.Builder addTransformResults(Value value)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public WriteResult.Builder addTransformResults(int index, Value value)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public WriteResult.Builder addTransformResults(Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public WriteResult.Builder addTransformResults(int index, Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public WriteResult.Builder addAllTransformResults(java.lang.Iterable<? extends Value> values)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public WriteResult.Builder clearTransformResults()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public WriteResult.Builder removeTransformResults(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public Value.Builder getTransformResultsBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public ValueOrBuilder getTransformResultsOrBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
getTransformResultsOrBuilder
in interface WriteResultOrBuilder
public java.util.List<? extends ValueOrBuilder> getTransformResultsOrBuilderList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
getTransformResultsOrBuilderList
in interface WriteResultOrBuilder
public Value.Builder addTransformResultsBuilder()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public Value.Builder addTransformResultsBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public java.util.List<Value.Builder> getTransformResultsBuilderList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1beta1.Value transform_results = 2;
public final WriteResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<WriteResult.Builder>
public final WriteResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<WriteResult.Builder>