Interface SpaceReadStateOrBuilder (0.10.0)

public interface SpaceReadStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLastReadTime()

public abstract Timestamp getLastReadTime()

Optional. The time when the user's space read state was updated. Usually this corresponds with either the timestamp of the last read message, or a timestamp specified by the user to mark the last read position in a space.

.google.protobuf.Timestamp last_read_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The lastReadTime.

getLastReadTimeOrBuilder()

public abstract TimestampOrBuilder getLastReadTimeOrBuilder()

Optional. The time when the user's space read state was updated. Usually this corresponds with either the timestamp of the last read message, or a timestamp specified by the user to mark the last read position in a space.

.google.protobuf.Timestamp last_read_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Resource name of the space read state.

Format: users/{user}/spaces/{space}/spaceReadState

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Resource name of the space read state.

Format: users/{user}/spaces/{space}/spaceReadState

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasLastReadTime()

public abstract boolean hasLastReadTime()

Optional. The time when the user's space read state was updated. Usually this corresponds with either the timestamp of the last read message, or a timestamp specified by the user to mark the last read position in a space.

.google.protobuf.Timestamp last_read_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the lastReadTime field is set.