publicstaticfinalclass ThreadReadState.BuilderextendsGeneratedMessageV3.Builder<ThreadReadState.Builder>implementsThreadReadStateOrBuilder
A user's read state within a thread, used to identify read and unread
messages.
Protobuf type google.chat.v1.ThreadReadState
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicThreadReadState.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicThreadReadStatebuild()
buildPartial()
publicThreadReadStatebuildPartial()
clear()
publicThreadReadState.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicThreadReadState.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearLastReadTime()
publicThreadReadState.BuilderclearLastReadTime()
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;
clearName()
publicThreadReadState.BuilderclearName()
Resource name of the thread read state.
Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
publicThreadReadState.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicThreadReadState.Builderclone()
Overrides
getDefaultInstanceForType()
publicThreadReadStategetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getLastReadTime()
publicTimestampgetLastReadTime()
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.
|
getLastReadTimeBuilder()
publicTimestamp.BuildergetLastReadTimeBuilder()
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;
getLastReadTimeOrBuilder()
publicTimestampOrBuildergetLastReadTimeOrBuilder()
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;
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()
publicByteStringgetNameBytes()
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()
publicbooleanhasLastReadTime()
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.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(ThreadReadState other)
publicThreadReadState.BuildermergeFrom(ThreadReadStateother)
publicThreadReadState.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicThreadReadState.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeLastReadTime(Timestamp value)
publicThreadReadState.BuildermergeLastReadTime(Timestampvalue)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalThreadReadState.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicThreadReadState.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setLastReadTime(Timestamp value)
publicThreadReadState.BuildersetLastReadTime(Timestampvalue)
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;
setLastReadTime(Timestamp.Builder builderForValue)
publicThreadReadState.BuildersetLastReadTime(Timestamp.BuilderbuilderForValue)
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;
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setName(String value)
publicThreadReadState.BuildersetName(Stringvalue)
Resource name of the thread read state.
Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState
string name = 1;
| Parameter |
| Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
publicThreadReadState.BuildersetNameBytes(ByteStringvalue)
Resource name of the thread read state.
Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState
string name = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicThreadReadState.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalThreadReadState.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides