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
Modifier and Type | Method and Description |
---|---|
BatchWriteResponse.Builder |
addAllStatus(Iterable<? extends com.google.rpc.Status> values)
The status of applying the writes.
|
BatchWriteResponse.Builder |
addAllWriteResults(Iterable<? extends WriteResult> values)
The result of applying the writes.
|
BatchWriteResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchWriteResponse.Builder |
addStatus(int index,
com.google.rpc.Status.Builder builderForValue)
The status of applying the writes.
|
BatchWriteResponse.Builder |
addStatus(int index,
com.google.rpc.Status value)
The status of applying the writes.
|
BatchWriteResponse.Builder |
addStatus(com.google.rpc.Status.Builder builderForValue)
The status of applying the writes.
|
BatchWriteResponse.Builder |
addStatus(com.google.rpc.Status value)
The status of applying the writes.
|
com.google.rpc.Status.Builder |
addStatusBuilder()
The status of applying the writes.
|
com.google.rpc.Status.Builder |
addStatusBuilder(int index)
The status of applying the writes.
|
BatchWriteResponse.Builder |
addWriteResults(int index,
WriteResult.Builder builderForValue)
The result of applying the writes.
|
BatchWriteResponse.Builder |
addWriteResults(int index,
WriteResult value)
The result of applying the writes.
|
BatchWriteResponse.Builder |
addWriteResults(WriteResult.Builder builderForValue)
The result of applying the writes.
|
BatchWriteResponse.Builder |
addWriteResults(WriteResult value)
The result of applying the writes.
|
WriteResult.Builder |
addWriteResultsBuilder()
The result of applying the writes.
|
WriteResult.Builder |
addWriteResultsBuilder(int index)
The result of applying the writes.
|
BatchWriteResponse |
build() |
BatchWriteResponse |
buildPartial() |
BatchWriteResponse.Builder |
clear() |
BatchWriteResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchWriteResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchWriteResponse.Builder |
clearStatus()
The status of applying the writes.
|
BatchWriteResponse.Builder |
clearWriteResults()
The result of applying the writes.
|
BatchWriteResponse.Builder |
clone() |
BatchWriteResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.rpc.Status |
getStatus(int index)
The status of applying the writes.
|
com.google.rpc.Status.Builder |
getStatusBuilder(int index)
The status of applying the writes.
|
List<com.google.rpc.Status.Builder> |
getStatusBuilderList()
The status of applying the writes.
|
int |
getStatusCount()
The status of applying the writes.
|
List<com.google.rpc.Status> |
getStatusList()
The status of applying the writes.
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder(int index)
The status of applying the writes.
|
List<? extends com.google.rpc.StatusOrBuilder> |
getStatusOrBuilderList()
The status of applying the writes.
|
WriteResult |
getWriteResults(int index)
The result of applying the writes.
|
WriteResult.Builder |
getWriteResultsBuilder(int index)
The result of applying the writes.
|
List<WriteResult.Builder> |
getWriteResultsBuilderList()
The result of applying the writes.
|
int |
getWriteResultsCount()
The result of applying the writes.
|
List<WriteResult> |
getWriteResultsList()
The result of applying the writes.
|
WriteResultOrBuilder |
getWriteResultsOrBuilder(int index)
The result of applying the writes.
|
List<? extends WriteResultOrBuilder> |
getWriteResultsOrBuilderList()
The result of applying the writes.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchWriteResponse.Builder |
mergeFrom(BatchWriteResponse other) |
BatchWriteResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchWriteResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchWriteResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchWriteResponse.Builder |
removeStatus(int index)
The status of applying the writes.
|
BatchWriteResponse.Builder |
removeWriteResults(int index)
The result of applying the writes.
|
BatchWriteResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchWriteResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchWriteResponse.Builder |
setStatus(int index,
com.google.rpc.Status.Builder builderForValue)
The status of applying the writes.
|
BatchWriteResponse.Builder |
setStatus(int index,
com.google.rpc.Status value)
The status of applying the writes.
|
BatchWriteResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchWriteResponse.Builder |
setWriteResults(int index,
WriteResult.Builder builderForValue)
The result of applying the writes.
|
BatchWriteResponse.Builder |
setWriteResults(int index,
WriteResult value)
The result of applying the writes.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BatchWriteResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BatchWriteResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BatchWriteResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder mergeFrom(BatchWriteResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public BatchWriteResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BatchWriteResponse.Builder>
IOException
public List<WriteResult> 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;
getWriteResultsList
in interface BatchWriteResponseOrBuilder
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;
getWriteResultsCount
in interface BatchWriteResponseOrBuilder
public WriteResult getWriteResults(int index)
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;
getWriteResults
in interface BatchWriteResponseOrBuilder
public BatchWriteResponse.Builder setWriteResults(int index, WriteResult value)
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;
public BatchWriteResponse.Builder setWriteResults(int index, WriteResult.Builder builderForValue)
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;
public BatchWriteResponse.Builder addWriteResults(WriteResult value)
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;
public BatchWriteResponse.Builder addWriteResults(int index, WriteResult value)
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;
public BatchWriteResponse.Builder addWriteResults(WriteResult.Builder builderForValue)
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;
public BatchWriteResponse.Builder addWriteResults(int index, WriteResult.Builder builderForValue)
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;
public BatchWriteResponse.Builder addAllWriteResults(Iterable<? extends WriteResult> values)
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;
public BatchWriteResponse.Builder 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;
public BatchWriteResponse.Builder removeWriteResults(int index)
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;
public WriteResult.Builder getWriteResultsBuilder(int index)
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;
public WriteResultOrBuilder getWriteResultsOrBuilder(int index)
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
in interface BatchWriteResponseOrBuilder
public List<? extends WriteResultOrBuilder> 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;
getWriteResultsOrBuilderList
in interface BatchWriteResponseOrBuilder
public WriteResult.Builder 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;
public WriteResult.Builder addWriteResultsBuilder(int index)
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;
public List<WriteResult.Builder> 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;
public List<com.google.rpc.Status> 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;
getStatusList
in interface BatchWriteResponseOrBuilder
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;
getStatusCount
in interface BatchWriteResponseOrBuilder
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;
getStatus
in interface BatchWriteResponseOrBuilder
public BatchWriteResponse.Builder setStatus(int index, com.google.rpc.Status value)
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;
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;
public BatchWriteResponse.Builder addStatus(com.google.rpc.Status value)
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;
public BatchWriteResponse.Builder addStatus(int index, com.google.rpc.Status value)
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;
public BatchWriteResponse.Builder addStatus(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;
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;
public BatchWriteResponse.Builder addAllStatus(Iterable<? extends com.google.rpc.Status> values)
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;
public BatchWriteResponse.Builder 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;
public BatchWriteResponse.Builder removeStatus(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;
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;
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;
getStatusOrBuilder
in interface BatchWriteResponseOrBuilder
public List<? extends com.google.rpc.StatusOrBuilder> 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;
getStatusOrBuilderList
in interface BatchWriteResponseOrBuilder
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;
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;
public List<com.google.rpc.Status.Builder> 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;
public final BatchWriteResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
public final BatchWriteResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BatchWriteResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.