Interface ThreadReadStateOrBuilder (0.8.0)

public interface ThreadReadStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLastReadTime()

public abstract Timestamp getLastReadTime()

The time when the user's thread read state was updated. Usually this corresponds with the timestamp of the last read message in a thread.

.google.protobuf.Timestamp last_read_time = 2;

Returns
Type Description
Timestamp

The lastReadTime.

getLastReadTimeOrBuilder()

public abstract TimestampOrBuilder getLastReadTimeOrBuilder()

The time when the user's thread read state was updated. Usually this corresponds with the timestamp of the last read message in a thread.

.google.protobuf.Timestamp last_read_time = 2;

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Resource name of the thread read state.

Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Resource name of the thread read state.

Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasLastReadTime()

public abstract boolean hasLastReadTime()

The time when the user's thread read state was updated. Usually this corresponds with the timestamp of the last read message in a thread.

.google.protobuf.Timestamp last_read_time = 2;

Returns
Type Description
boolean

Whether the lastReadTime field is set.