public static final class BatchWriteResponse.Builder extends GeneratedMessageV3.Builder<BatchWriteResponse.Builder> implements BatchWriteResponseOrBuilder
The response from
Firestore.BatchWrite.
Protobuf type google.firestore.v1.BatchWriteResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchWriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
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
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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public BatchWriteResponse build()
Returns
buildPartial()
public BatchWriteResponse buildPartial()
Returns
clear()
public BatchWriteResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchWriteResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchWriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
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
clone()
public BatchWriteResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchWriteResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchWriteResponse other)
public BatchWriteResponse.Builder mergeFrom(BatchWriteResponse other)
Parameter
Returns
public BatchWriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchWriteResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchWriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchWriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchWriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns