public final class WriteResult extends GeneratedMessageV3 implements WriteResultOrBuilder
The result of applying a write.Protobuf type
google.firestore.v1beta1.WriteResult
Modifier and Type | Class and Description |
---|---|
static class |
WriteResult.Builder
The result of applying a write.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
TRANSFORM_RESULTS_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static WriteResult |
getDefaultInstance() |
WriteResult |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Parser<WriteResult> |
getParserForType() |
int |
getSerializedSize() |
Value |
getTransformResults(int index)
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.
|
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getUpdateTime()
The last update time of the document after applying the write.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
The last update time of the document after applying the write.
|
int |
hashCode() |
boolean |
hasUpdateTime()
The last update time of the document after applying the write.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WriteResult.Builder |
newBuilder() |
static WriteResult.Builder |
newBuilder(WriteResult prototype) |
WriteResult.Builder |
newBuilderForType() |
protected WriteResult.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static WriteResult |
parseDelimitedFrom(java.io.InputStream input) |
static WriteResult |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static WriteResult |
parseFrom(byte[] data) |
static WriteResult |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static WriteResult |
parseFrom(java.nio.ByteBuffer data) |
static WriteResult |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static WriteResult |
parseFrom(ByteString data) |
static WriteResult |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static WriteResult |
parseFrom(CodedInputStream input) |
static WriteResult |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static WriteResult |
parseFrom(java.io.InputStream input) |
static WriteResult |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<WriteResult> |
parser() |
WriteResult.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int TRANSFORM_RESULTS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static WriteResult parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WriteResult parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WriteResult parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WriteResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WriteResult parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WriteResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static WriteResult parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static WriteResult parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WriteResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static WriteResult parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static WriteResult parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static WriteResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public WriteResult.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static WriteResult.Builder newBuilder()
public static WriteResult.Builder newBuilder(WriteResult prototype)
public WriteResult.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected WriteResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static WriteResult getDefaultInstance()
public static Parser<WriteResult> parser()
public Parser<WriteResult> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public WriteResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder