Interface SpaceReadStateOrBuilder (0.27.0)

public interface SpaceReadStateOrBuilder extends 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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getName()

public abstract String getName()

Resource name of the space read state.

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

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the lastReadTime field is set.