public static final class CommitResponse.Builder extends GeneratedMessageV3.Builder<CommitResponse.Builder> implements CommitResponseOrBuilder
The response for Firestore.Commit.
Protobuf type google.firestore.v1.CommitResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllWriteResults(Iterable<? extends WriteResult> values)
public CommitResponse.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 CommitResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addWriteResults(WriteResult value)
public CommitResponse.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 CommitResponse.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 CommitResponse.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 CommitResponse.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 CommitResponse build()
Returns
buildPartial()
public CommitResponse buildPartial()
Returns
clear()
public CommitResponse.Builder clear()
Returns
Overrides
clearCommitTime()
public CommitResponse.Builder clearCommitTime()
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public CommitResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CommitResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWriteResults()
public CommitResponse.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 CommitResponse.Builder clone()
Returns
Overrides
getCommitTime()
public Timestamp getCommitTime()
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
Returns
getCommitTimeBuilder()
public Timestamp.Builder getCommitTimeBuilder()
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
Returns
getCommitTimeOrBuilder()
public TimestampOrBuilder getCommitTimeOrBuilder()
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
Returns
getDefaultInstanceForType()
public CommitResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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> | |
hasCommitTime()
public boolean hasCommitTime()
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
Returns
Type | Description |
boolean | Whether the commitTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCommitTime(Timestamp value)
public CommitResponse.Builder mergeCommitTime(Timestamp value)
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
Parameter
Returns
mergeFrom(CommitResponse other)
public CommitResponse.Builder mergeFrom(CommitResponse other)
Parameter
Returns
public CommitResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CommitResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeWriteResults(int index)
public CommitResponse.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
setCommitTime(Timestamp value)
public CommitResponse.Builder setCommitTime(Timestamp value)
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
Parameter
Returns
setCommitTime(Timestamp.Builder builderForValue)
public CommitResponse.Builder setCommitTime(Timestamp.Builder builderForValue)
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the commit.
.google.protobuf.Timestamp commit_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommitResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWriteResults(int index, WriteResult value)
public CommitResponse.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 CommitResponse.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