Class BatchWriteResponse.Builder (3.13.2)

public static final class BatchWriteResponse.Builder extends GeneratedMessageV3.Builder<BatchWriteResponse.Builder> implements BatchWriteResponseOrBuilder

The response from Firestore.BatchWrite.

Protobuf type google.firestore.v1.BatchWriteResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.firestore.v1.WriteResult>
Returns
TypeDescription
BatchWriteResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchWriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchWriteResponse.Builder
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueWriteResult
Returns
TypeDescription
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
NameDescription
builderForValueWriteResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWriteResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWriteResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WriteResult.Builder

build()

public BatchWriteResponse build()
Returns
TypeDescription
BatchWriteResponse

buildPartial()

public BatchWriteResponse buildPartial()
Returns
TypeDescription
BatchWriteResponse

clear()

public BatchWriteResponse.Builder clear()
Returns
TypeDescription
BatchWriteResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchWriteResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchWriteResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchWriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchWriteResponse.Builder
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
TypeDescription
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
TypeDescription
BatchWriteResponse.Builder

clone()

public BatchWriteResponse.Builder clone()
Returns
TypeDescription
BatchWriteResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchWriteResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchWriteResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.firestore.v1.WriteResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchWriteResponse other)

public BatchWriteResponse.Builder mergeFrom(BatchWriteResponse other)
Parameter
NameDescription
otherBatchWriteResponse
Returns
TypeDescription
BatchWriteResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchWriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchWriteResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchWriteResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchWriteResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchWriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchWriteResponse.Builder
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BatchWriteResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchWriteResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchWriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchWriteResponse.Builder
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
BatchWriteResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchWriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchWriteResponse.Builder
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
NameDescription
indexint
valueWriteResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWriteResult.Builder
Returns
TypeDescription
BatchWriteResponse.Builder