public static final class CommitResponse.Builder extends GeneratedMessageV3.Builder<CommitResponse.Builder> implements CommitResponseOrBuilder
The response for Firestore.Commit.
Protobuf type google.firestore.v1.CommitResponse
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
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
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 CommitResponse build()
buildPartial()
public CommitResponse buildPartial()
clear()
public CommitResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public CommitResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CommitResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public CommitResponse.Builder clone()
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 |
---|
Type | Description |
Timestamp | The commitTime.
|
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;
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;
getDefaultInstanceForType()
public CommitResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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> | |
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(CommitResponse other)
public CommitResponse.Builder mergeFrom(CommitResponse other)
public CommitResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CommitResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public CommitResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommitResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CommitResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;