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()
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>
|
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchWriteResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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
|
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
|
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
|
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
|
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;
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;
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;
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;
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;
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
|
build()
public BatchWriteResponse build()
buildPartial()
public BatchWriteResponse buildPartial()
clear()
public BatchWriteResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchWriteResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchWriteResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public BatchWriteResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchWriteResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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
|
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchWriteResponse other)
public BatchWriteResponse.Builder mergeFrom(BatchWriteResponse other)
public BatchWriteResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchWriteResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchWriteResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchWriteResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchWriteResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchWriteResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;