public static final class WriteResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WriteResult.Builder> implements WriteResultOrBuilder
The result of applying a write.Protobuf type
google.firestore.v1.WriteResult
Modifier and Type | Method and Description |
---|---|
WriteResult.Builder |
addAllTransformResults(Iterable<? extends Value> values)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
WriteResult.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteResult.Builder |
addTransformResults(int index,
Value.Builder builderForValue)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
WriteResult.Builder |
addTransformResults(int index,
Value value)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
WriteResult.Builder |
addTransformResults(Value.Builder builderForValue)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
WriteResult.Builder |
addTransformResults(Value value)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
Value.Builder |
addTransformResultsBuilder()
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
Value.Builder |
addTransformResultsBuilder(int index)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
WriteResult |
build() |
WriteResult |
buildPartial() |
WriteResult.Builder |
clear() |
WriteResult.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WriteResult.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WriteResult.Builder |
clearTransformResults()
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Value |
getTransformResults(int index)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
Value.Builder |
getTransformResultsBuilder(int index)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
List<Value.Builder> |
getTransformResultsBuilderList()
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
int |
getTransformResultsCount()
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
List<Value> |
getTransformResultsList()
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
ValueOrBuilder |
getTransformResultsOrBuilder(int index)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
List<? extends ValueOrBuilder> |
getTransformResultsOrBuilderList()
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The last update time of the document after applying the write.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
The last update time of the document after applying the write.
|
com.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WriteResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WriteResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
WriteResult.Builder |
mergeFrom(WriteResult other) |
WriteResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteResult.Builder |
mergeUpdateTime(com.google.protobuf.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.v1.DocumentTransform.FieldTransform],
in the same order.
|
WriteResult.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteResult.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WriteResult.Builder |
setTransformResults(int index,
Value.Builder builderForValue)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
WriteResult.Builder |
setTransformResults(int index,
Value value)
The results of applying each
[DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
in the same order.
|
WriteResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteResult.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The last update time of the document after applying the write.
|
WriteResult.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
The last update time of the document after applying the write.
|
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<WriteResult.Builder>
public WriteResult.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<WriteResult.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<WriteResult.Builder>
public WriteResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WriteResult build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WriteResult buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WriteResult.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<WriteResult.Builder>
public WriteResult.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<WriteResult.Builder>
public WriteResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.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<WriteResult.Builder>
public WriteResult.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<WriteResult.Builder>
public WriteResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WriteResult.Builder>
public WriteResult.Builder mergeFrom(WriteResult other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteResult.Builder>
public WriteResult.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<WriteResult.Builder>
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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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 List<Value> getTransformResultsList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
getTransformResultsList
in interface WriteResultOrBuilder
public int getTransformResultsCount()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
getTransformResultsCount
in interface WriteResultOrBuilder
public Value getTransformResults(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.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.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public WriteResult.Builder setTransformResults(int index, Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public WriteResult.Builder addTransformResults(Value value)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public WriteResult.Builder addTransformResults(int index, Value value)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public WriteResult.Builder addTransformResults(Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public WriteResult.Builder addTransformResults(int index, Value.Builder builderForValue)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public WriteResult.Builder addAllTransformResults(Iterable<? extends Value> values)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public WriteResult.Builder clearTransformResults()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public WriteResult.Builder removeTransformResults(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public Value.Builder getTransformResultsBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public ValueOrBuilder getTransformResultsOrBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
getTransformResultsOrBuilder
in interface WriteResultOrBuilder
public List<? extends ValueOrBuilder> getTransformResultsOrBuilderList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
getTransformResultsOrBuilderList
in interface WriteResultOrBuilder
public Value.Builder addTransformResultsBuilder()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public Value.Builder addTransformResultsBuilder(int index)
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public List<Value.Builder> getTransformResultsBuilderList()
The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
public final WriteResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteResult.Builder>
public final WriteResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteResult.Builder>
Copyright © 2023 Google LLC. All rights reserved.