Interface WriteResponseOrBuilder (3.14.1-SNAPSHOT)

public interface WriteResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitTime()

public abstract 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 write.

.google.protobuf.Timestamp commit_time = 4;

Returns
TypeDescription
Timestamp

The commitTime.

getCommitTimeOrBuilder()

public abstract 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 write.

.google.protobuf.Timestamp commit_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getStreamId()

public abstract String getStreamId()

The ID of the stream. Only set on the first message, when a new stream was created.

string stream_id = 1;

Returns
TypeDescription
String

The streamId.

getStreamIdBytes()

public abstract ByteString getStreamIdBytes()

The ID of the stream. Only set on the first message, when a new stream was created.

string stream_id = 1;

Returns
TypeDescription
ByteString

The bytes for streamId.

getStreamToken()

public abstract ByteString getStreamToken()

A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point.

This field is always set.

bytes stream_token = 2;

Returns
TypeDescription
ByteString

The streamToken.

getWriteResults(int index)

public abstract 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 = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
WriteResult

getWriteResultsCount()

public abstract 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 = 3;

Returns
TypeDescription
int

getWriteResultsList()

public abstract 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 = 3;

Returns
TypeDescription
List<WriteResult>

getWriteResultsOrBuilder(int index)

public abstract 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 = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
WriteResultOrBuilder

getWriteResultsOrBuilderList()

public abstract 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 = 3;

Returns
TypeDescription
List<? extends com.google.firestore.v1.WriteResultOrBuilder>

hasCommitTime()

public abstract 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 write.

.google.protobuf.Timestamp commit_time = 4;

Returns
TypeDescription
boolean

Whether the commitTime field is set.