Interface ChannelMessageAckOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ChannelMessageAck, ChannelMessageAck.Builder

public interface ChannelMessageAckOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The channel the message was sent to.
    com.google.protobuf.ByteString
    The channel the message was sent to.
    The code representing a message type or category.
    The code representing a message type or category.
    The UNIX time when the message was created.
    The UNIX time when the message was created.
    The ID of the group, or an empty string if this message was not sent through a group channel.
    com.google.protobuf.ByteString
    The ID of the group, or an empty string if this message was not sent through a group channel.
    The unique ID assigned to the message.
    com.google.protobuf.ByteString
    The unique ID assigned to the message.
    True if the message was persisted to the channel's history, false otherwise.
    True if the message was persisted to the channel's history, false otherwise.
    The name of the chat room, or an empty string if this message was not sent through a chat room.
    com.google.protobuf.ByteString
    The name of the chat room, or an empty string if this message was not sent through a chat room.
    The UNIX time when the message was last updated.
    The UNIX time when the message was last updated.
    The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
    com.google.protobuf.ByteString
    The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
    The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
    com.google.protobuf.ByteString
    The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
    Username of the message sender.
    com.google.protobuf.ByteString
    Username of the message sender.
    boolean
    The code representing a message type or category.
    boolean
    The UNIX time when the message was created.
    boolean
    True if the message was persisted to the channel's history, false otherwise.
    boolean
    The UNIX time when the message was last updated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getChannelId

      String getChannelId()
       The channel the message was sent to.
       
      string channel_id = 1;
      Returns:
      The channelId.
    • getChannelIdBytes

      com.google.protobuf.ByteString getChannelIdBytes()
       The channel the message was sent to.
       
      string channel_id = 1;
      Returns:
      The bytes for channelId.
    • getMessageId

      String getMessageId()
       The unique ID assigned to the message.
       
      string message_id = 2;
      Returns:
      The messageId.
    • getMessageIdBytes

      com.google.protobuf.ByteString getMessageIdBytes()
       The unique ID assigned to the message.
       
      string message_id = 2;
      Returns:
      The bytes for messageId.
    • hasCode

      boolean hasCode()
       The code representing a message type or category.
       
      .google.protobuf.Int32Value code = 3;
      Returns:
      Whether the code field is set.
    • getCode

      Int32Value getCode()
       The code representing a message type or category.
       
      .google.protobuf.Int32Value code = 3;
      Returns:
      The code.
    • getCodeOrBuilder

      Int32ValueOrBuilder getCodeOrBuilder()
       The code representing a message type or category.
       
      .google.protobuf.Int32Value code = 3;
    • getUsername

      String getUsername()
       Username of the message sender.
       
      string username = 4;
      Returns:
      The username.
    • getUsernameBytes

      com.google.protobuf.ByteString getUsernameBytes()
       Username of the message sender.
       
      string username = 4;
      Returns:
      The bytes for username.
    • hasCreateTime

      boolean hasCreateTime()
       The UNIX time when the message was created.
       
      .google.protobuf.Timestamp create_time = 5;
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      Timestamp getCreateTime()
       The UNIX time when the message was created.
       
      .google.protobuf.Timestamp create_time = 5;
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      TimestampOrBuilder getCreateTimeOrBuilder()
       The UNIX time when the message was created.
       
      .google.protobuf.Timestamp create_time = 5;
    • hasUpdateTime

      boolean hasUpdateTime()
       The UNIX time when the message was last updated.
       
      .google.protobuf.Timestamp update_time = 6;
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      Timestamp getUpdateTime()
       The UNIX time when the message was last updated.
       
      .google.protobuf.Timestamp update_time = 6;
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      TimestampOrBuilder getUpdateTimeOrBuilder()
       The UNIX time when the message was last updated.
       
      .google.protobuf.Timestamp update_time = 6;
    • hasPersistent

      boolean hasPersistent()
       True if the message was persisted to the channel's history, false otherwise.
       
      .google.protobuf.BoolValue persistent = 7;
      Returns:
      Whether the persistent field is set.
    • getPersistent

      BoolValue getPersistent()
       True if the message was persisted to the channel's history, false otherwise.
       
      .google.protobuf.BoolValue persistent = 7;
      Returns:
      The persistent.
    • getPersistentOrBuilder

      BoolValueOrBuilder getPersistentOrBuilder()
       True if the message was persisted to the channel's history, false otherwise.
       
      .google.protobuf.BoolValue persistent = 7;
    • getRoomName

      String getRoomName()
       The name of the chat room, or an empty string if this message was not sent through a chat room.
       
      string room_name = 8;
      Returns:
      The roomName.
    • getRoomNameBytes

      com.google.protobuf.ByteString getRoomNameBytes()
       The name of the chat room, or an empty string if this message was not sent through a chat room.
       
      string room_name = 8;
      Returns:
      The bytes for roomName.
    • getGroupId

      String getGroupId()
       The ID of the group, or an empty string if this message was not sent through a group channel.
       
      string group_id = 9;
      Returns:
      The groupId.
    • getGroupIdBytes

      com.google.protobuf.ByteString getGroupIdBytes()
       The ID of the group, or an empty string if this message was not sent through a group channel.
       
      string group_id = 9;
      Returns:
      The bytes for groupId.
    • getUserIdOne

      String getUserIdOne()
       The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
       
      string user_id_one = 10;
      Returns:
      The userIdOne.
    • getUserIdOneBytes

      com.google.protobuf.ByteString getUserIdOneBytes()
       The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
       
      string user_id_one = 10;
      Returns:
      The bytes for userIdOne.
    • getUserIdTwo

      String getUserIdTwo()
       The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
       
      string user_id_two = 11;
      Returns:
      The userIdTwo.
    • getUserIdTwoBytes

      com.google.protobuf.ByteString getUserIdTwoBytes()
       The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
       
      string user_id_two = 11;
      Returns:
      The bytes for userIdTwo.