Package com.google.firestore.v1
Class BatchWriteResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchWriteResponse.Builder>
com.google.firestore.v1.BatchWriteResponse.Builder
- All Implemented Interfaces:
BatchWriteResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchWriteResponse
public static final class BatchWriteResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchWriteResponse.Builder>
implements BatchWriteResponseOrBuilder
The response from [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].Protobuf type
google.firestore.v1.BatchWriteResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllStatus(Iterable<? extends com.google.rpc.Status> values) The status of applying the writes.addAllWriteResults(Iterable<? extends WriteResult> values) The result of applying the writes.addStatus(int index, com.google.rpc.Status value) The status of applying the writes.addStatus(int index, com.google.rpc.Status.Builder builderForValue) The status of applying the writes.addStatus(com.google.rpc.Status value) The status of applying the writes.addStatus(com.google.rpc.Status.Builder builderForValue) The status of applying the writes.com.google.rpc.Status.BuilderThe status of applying the writes.com.google.rpc.Status.BuilderaddStatusBuilder(int index) The status of applying the writes.addWriteResults(int index, WriteResult value) The result of applying the writes.addWriteResults(int index, WriteResult.Builder builderForValue) The result of applying the writes.addWriteResults(WriteResult value) The result of applying the writes.addWriteResults(WriteResult.Builder builderForValue) The result of applying the writes.The result of applying the writes.addWriteResultsBuilder(int index) The result of applying the writes.build()clear()The status of applying the writes.The result of applying the writes.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.rpc.StatusgetStatus(int index) The status of applying the writes.com.google.rpc.Status.BuildergetStatusBuilder(int index) The status of applying the writes.List<com.google.rpc.Status.Builder>The status of applying the writes.intThe status of applying the writes.List<com.google.rpc.Status>The status of applying the writes.com.google.rpc.StatusOrBuildergetStatusOrBuilder(int index) The status of applying the writes.List<? extends com.google.rpc.StatusOrBuilder>The status of applying the writes.getWriteResults(int index) The result of applying the writes.getWriteResultsBuilder(int index) The result of applying the writes.The result of applying the writes.intThe result of applying the writes.The result of applying the writes.getWriteResultsOrBuilder(int index) The result of applying the writes.List<? extends WriteResultOrBuilder>The result of applying the writes.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(BatchWriteResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeStatus(int index) The status of applying the writes.removeWriteResults(int index) The result of applying the writes.setStatus(int index, com.google.rpc.Status value) The status of applying the writes.setStatus(int index, com.google.rpc.Status.Builder builderForValue) The status of applying the writes.setWriteResults(int index, WriteResult value) The result of applying the writes.setWriteResults(int index, WriteResult.Builder builderForValue) The result of applying the writes.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchWriteResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchWriteResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BatchWriteResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchWriteResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchWriteResponse.Builder>
-
mergeFrom
public BatchWriteResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchWriteResponse.Builder>- Throws:
IOException
-
getWriteResultsList
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;- Specified by:
getWriteResultsListin interfaceBatchWriteResponseOrBuilder
-
getWriteResultsCount
public int getWriteResultsCount()The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;- Specified by:
getWriteResultsCountin interfaceBatchWriteResponseOrBuilder
-
getWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;- Specified by:
getWriteResultsin interfaceBatchWriteResponseOrBuilder
-
setWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
setWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
addWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
addWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
addWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
addWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
addAllWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
clearWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
removeWriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
getWriteResultsBuilder
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
getWriteResultsOrBuilder
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;- Specified by:
getWriteResultsOrBuilderin interfaceBatchWriteResponseOrBuilder
-
getWriteResultsOrBuilderList
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1;- Specified by:
getWriteResultsOrBuilderListin interfaceBatchWriteResponseOrBuilder
-
addWriteResultsBuilder
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
addWriteResultsBuilder
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
getWriteResultsBuilderList
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
repeated .google.firestore.v1.WriteResult write_results = 1; -
getStatusList
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2;- Specified by:
getStatusListin interfaceBatchWriteResponseOrBuilder
-
getStatusCount
public int getStatusCount()The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2;- Specified by:
getStatusCountin interfaceBatchWriteResponseOrBuilder
-
getStatus
public com.google.rpc.Status getStatus(int index) The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2;- Specified by:
getStatusin interfaceBatchWriteResponseOrBuilder
-
setStatus
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
setStatus
public BatchWriteResponse.Builder setStatus(int index, com.google.rpc.Status.Builder builderForValue) The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
addStatus
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
addStatus
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
addStatus
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
addStatus
public BatchWriteResponse.Builder addStatus(int index, com.google.rpc.Status.Builder builderForValue) The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
addAllStatus
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
clearStatus
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
removeStatus
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
getStatusBuilder
public com.google.rpc.Status.Builder getStatusBuilder(int index) The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
getStatusOrBuilder
public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2;- Specified by:
getStatusOrBuilderin interfaceBatchWriteResponseOrBuilder
-
getStatusOrBuilderList
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2;- Specified by:
getStatusOrBuilderListin interfaceBatchWriteResponseOrBuilder
-
addStatusBuilder
public com.google.rpc.Status.Builder addStatusBuilder()The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
addStatusBuilder
public com.google.rpc.Status.Builder addStatusBuilder(int index) The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2; -
getStatusBuilderList
The status of applying the writes. This i-th write status corresponds to the i-th write in the request.
repeated .google.rpc.Status status = 2;
-