public static final class WriteResult.Builder extends GeneratedMessageV3.Builder<WriteResult.Builder> implements WriteResultOrBuilder
The result of applying a write.
Protobuf type google.firestore.v1.WriteResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public WriteResult.Builder addAllTransformResults(Iterable<? extends Value> values)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.firestore.v1.Value>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WriteResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public WriteResult.Builder addTransformResults(Value value)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameter
Name | Description |
value | Value
|
Returns
public WriteResult.Builder addTransformResults(Value.Builder builderForValue)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameter
Returns
public WriteResult.Builder addTransformResults(int index, Value value)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameters
Returns
public WriteResult.Builder addTransformResults(int index, Value.Builder builderForValue)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameters
Returns
public Value.Builder addTransformResultsBuilder()
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Returns
public Value.Builder addTransformResultsBuilder(int index)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameter
Returns
build()
public WriteResult build()
Returns
buildPartial()
public WriteResult buildPartial()
Returns
clear()
public WriteResult.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WriteResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WriteResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public WriteResult.Builder clearTransformResults()
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Returns
clearUpdateTime()
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;
Returns
clone()
public WriteResult.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WriteResult getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Value getTransformResults(int index)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameter
Returns
public Value.Builder getTransformResultsBuilder(int index)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameter
Returns
public List<Value.Builder> getTransformResultsBuilderList()
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Returns
public int getTransformResultsCount()
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Returns
public List<Value> getTransformResultsList()
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Returns
public ValueOrBuilder getTransformResultsOrBuilder(int index)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameter
Returns
public List<? extends ValueOrBuilder> getTransformResultsOrBuilderList()
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Returns
Type | Description |
List<? extends com.google.firestore.v1.ValueOrBuilder> | |
getUpdateTime()
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;
Returns
getUpdateTimeBuilder()
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;
Returns
getUpdateTimeOrBuilder()
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;
Returns
hasUpdateTime()
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;
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WriteResult other)
public WriteResult.Builder mergeFrom(WriteResult other)
Parameter
Returns
public WriteResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WriteResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WriteResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateTime(Timestamp value)
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;
Parameter
Returns
public WriteResult.Builder removeTransformResults(int index)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public WriteResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WriteResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public WriteResult.Builder setTransformResults(int index, Value value)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameters
Returns
public WriteResult.Builder setTransformResults(int index, Value.Builder builderForValue)
The results of applying each
DocumentTransform.FieldTransform,
in the same order.
repeated .google.firestore.v1.Value transform_results = 2;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final WriteResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateTime(Timestamp value)
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;
Parameter
Returns
setUpdateTime(Timestamp.Builder builderForValue)
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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns