Send feedback
Class WriteResult (3.9.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.9.1 keyboard_arrow_down
public final class WriteResult extends GeneratedMessageV3 implements WriteResultOrBuilder
The result of applying a write.
Protobuf type google.firestore.v1.WriteResult
Static Fields
public static final int TRANSFORM_RESULTS_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static WriteResult getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static WriteResult . Builder newBuilder ()
Returns
newBuilder(WriteResult prototype)
public static WriteResult . Builder newBuilder ( WriteResult prototype )
Parameter
Returns
public static WriteResult parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static WriteResult parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static WriteResult parseFrom ( byte [] data )
Parameter
Name Description data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WriteResult parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static WriteResult parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WriteResult parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static WriteResult parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static WriteResult parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static WriteResult parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static WriteResult parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static WriteResult parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WriteResult parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<WriteResult> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public WriteResult getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<WriteResult> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
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 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 >
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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
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.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public WriteResult . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WriteResult . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public WriteResult . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]