public static final class BatchWriteResponse.Builder extends GeneratedMessageV3.Builder<BatchWriteResponse.Builder> implements BatchWriteResponseOrBuilder
The response from Firestore.BatchWrite.
Protobuf type google.firestore.v1.BatchWriteResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchWriteResponse.BuilderImplements
BatchWriteResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllStatus(Iterable<? extends Status> values)
public BatchWriteResponse.Builder addAllStatus(Iterable<? extends 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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.rpc.Status> |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addAllWriteResults(Iterable<? extends WriteResult> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.firestore.v1.WriteResult> |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchWriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addStatus(Status value)
public BatchWriteResponse.Builder addStatus(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;
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addStatus(Status.Builder builderForValue)
public BatchWriteResponse.Builder addStatus(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;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addStatus(int index, Status value)
public BatchWriteResponse.Builder addStatus(int index, 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;
Parameters | |
---|---|
Name | Description |
index | int |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addStatus(int index, Status.Builder builderForValue)
public BatchWriteResponse.Builder addStatus(int index, 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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addStatusBuilder()
public 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;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
addStatusBuilder(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
addWriteResults(WriteResult value)
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;
Parameter | |
---|---|
Name | Description |
value | WriteResult |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addWriteResults(WriteResult.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | WriteResult.Builder |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addWriteResults(int index, WriteResult value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | WriteResult |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addWriteResults(int index, WriteResult.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | WriteResult.Builder |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
addWriteResultsBuilder()
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;
Returns | |
---|---|
Type | Description |
WriteResult.Builder |
addWriteResultsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
WriteResult.Builder |
build()
public BatchWriteResponse build()
Returns | |
---|---|
Type | Description |
BatchWriteResponse |
buildPartial()
public BatchWriteResponse buildPartial()
Returns | |
---|---|
Type | Description |
BatchWriteResponse |
clear()
public BatchWriteResponse.Builder clear()
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchWriteResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchWriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
clearStatus()
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;
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
clearWriteResults()
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;
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
clone()
public BatchWriteResponse.Builder clone()
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
getDefaultInstanceForType()
public BatchWriteResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BatchWriteResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getStatus(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
getStatusBuilder(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getStatusBuilderList()
public List<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;
Returns | |
---|---|
Type | Description |
List<com.google.rpc.Status.Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getStatusList()
public List<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;
Returns | |
---|---|
Type | Description |
List<com.google.rpc.Status> |
getStatusOrBuilder(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getStatusOrBuilderList()
public List<? extends 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> |
getWriteResults(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
WriteResult |
getWriteResultsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
WriteResult.Builder |
getWriteResultsBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getWriteResultsList()
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;
Returns | |
---|---|
Type | Description |
List<WriteResult> |
getWriteResultsOrBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
WriteResultOrBuilder |
getWriteResultsOrBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.firestore.v1.WriteResultOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BatchWriteResponse other)
public BatchWriteResponse.Builder mergeFrom(BatchWriteResponse other)
Parameter | |
---|---|
Name | Description |
other | BatchWriteResponse |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchWriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BatchWriteResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchWriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
removeStatus(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
removeWriteResults(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchWriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
setStatus(int index, Status value)
public BatchWriteResponse.Builder setStatus(int index, 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;
Parameters | |
---|---|
Name | Description |
index | int |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
setStatus(int index, Status.Builder builderForValue)
public BatchWriteResponse.Builder setStatus(int index, 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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchWriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
setWriteResults(int index, WriteResult value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | WriteResult |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |
setWriteResults(int index, WriteResult.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | WriteResult.Builder |
Returns | |
---|---|
Type | Description |
BatchWriteResponse.Builder |