public interface MessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsMetadata(java.lang.String key)
A key-value pairs of metadata.
|
long |
getConsumeTime()
The time the message was consumed by the identity.
|
long |
getCreateTime()
The time the message was created.
|
java.lang.String |
getId()
The message's unique identifier.
|
com.google.protobuf.ByteString |
getIdBytes()
The message's unique identifier.
|
java.lang.String |
getImageUrl()
The message's image url.
|
com.google.protobuf.ByteString |
getImageUrlBytes()
The message's image url.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
A key-value pairs of metadata.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadataMap()
A key-value pairs of metadata.
|
java.lang.String |
getMetadataOrDefault(java.lang.String key,
java.lang.String defaultValue)
A key-value pairs of metadata.
|
java.lang.String |
getMetadataOrThrow(java.lang.String key)
A key-value pairs of metadata.
|
long |
getReadTime()
The time the message was read by the client.
|
java.lang.String |
getScheduleId()
The identifier of the schedule.
|
com.google.protobuf.ByteString |
getScheduleIdBytes()
The identifier of the schedule.
|
long |
getSendTime()
The send time for the message.
|
java.lang.String |
getText()
The message's text.
|
com.google.protobuf.ByteString |
getTextBytes()
The message's text.
|
java.lang.String |
getTitle()
The message's title.
|
com.google.protobuf.ByteString |
getTitleBytes()
The message's title.
|
long |
getUpdateTime()
The time the message was updated.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getScheduleId()
The identifier of the schedule.
string schedule_id = 1 [json_name = "scheduleId"];
com.google.protobuf.ByteString getScheduleIdBytes()
The identifier of the schedule.
string schedule_id = 1 [json_name = "scheduleId"];
long getSendTime()
The send time for the message.
int64 send_time = 2 [json_name = "sendTime"];
int getMetadataCount()
A key-value pairs of metadata.
map<string, string> metadata = 3 [json_name = "metadata"];
boolean containsMetadata(java.lang.String key)
A key-value pairs of metadata.
map<string, string> metadata = 3 [json_name = "metadata"];
@Deprecated java.util.Map<java.lang.String,java.lang.String> getMetadata()
getMetadataMap()
instead.java.util.Map<java.lang.String,java.lang.String> getMetadataMap()
A key-value pairs of metadata.
map<string, string> metadata = 3 [json_name = "metadata"];
java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)
A key-value pairs of metadata.
map<string, string> metadata = 3 [json_name = "metadata"];
java.lang.String getMetadataOrThrow(java.lang.String key)
A key-value pairs of metadata.
map<string, string> metadata = 3 [json_name = "metadata"];
long getCreateTime()
The time the message was created.
int64 create_time = 4 [json_name = "createTime"];
long getUpdateTime()
The time the message was updated.
int64 update_time = 5 [json_name = "updateTime"];
long getReadTime()
The time the message was read by the client.
int64 read_time = 6 [json_name = "readTime"];
long getConsumeTime()
The time the message was consumed by the identity.
int64 consume_time = 7 [json_name = "consumeTime"];
java.lang.String getText()
The message's text.
string text = 8 [json_name = "text"];
com.google.protobuf.ByteString getTextBytes()
The message's text.
string text = 8 [json_name = "text"];
java.lang.String getId()
The message's unique identifier.
string id = 9 [json_name = "id"];
com.google.protobuf.ByteString getIdBytes()
The message's unique identifier.
string id = 9 [json_name = "id"];
java.lang.String getTitle()
The message's title.
string title = 10 [json_name = "title"];
com.google.protobuf.ByteString getTitleBytes()
The message's title.
string title = 10 [json_name = "title"];
java.lang.String getImageUrl()
The message's image url.
string image_url = 11 [json_name = "imageUrl"];
com.google.protobuf.ByteString getImageUrlBytes()
The message's image url.
string image_url = 11 [json_name = "imageUrl"];