Interface WriteResponseOrBuilder (3.21.1)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the commitTime field is set.