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.GeneratedMessageV3.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.GeneratedMessageV3.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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) 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()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The status of applying the writes.The result of applying the writes.clone()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.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(BatchWriteResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeStatus(int index) The status of applying the writes.removeWriteResults(int index) The result of applying the writes.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
-
setField
public BatchWriteResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
-
setRepeatedField
public BatchWriteResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
-
addRepeatedField
public BatchWriteResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.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.GeneratedMessageV3.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; -
setUnknownFields
public final BatchWriteResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
-
mergeUnknownFields
public final BatchWriteResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
-