// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: im.proto

package com.ywt.gapi.im;

public interface SessionMessageOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.ywt.gapi.im.SessionMessage)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <code>int32 from_user_id = 1;</code>
   * @return The fromUserId.
   */
  int getFromUserId();

  /**
   * <code>int32 to_user_id = 2;</code>
   * @return The toUserId.
   */
  int getToUserId();

  /**
   * <code>string content = 3;</code>
   * @return The content.
   */
  java.lang.String getContent();
  /**
   * <code>string content = 3;</code>
   * @return The bytes for content.
   */
  com.google.protobuf.ByteString
      getContentBytes();

  /**
   * <code>string session_id = 4;</code>
   * @return The sessionId.
   */
  java.lang.String getSessionId();
  /**
   * <code>string session_id = 4;</code>
   * @return The bytes for sessionId.
   */
  com.google.protobuf.ByteString
      getSessionIdBytes();

  /**
   * <code>string custom = 5;</code>
   * @return The custom.
   */
  java.lang.String getCustom();
  /**
   * <code>string custom = 5;</code>
   * @return The bytes for custom.
   */
  com.google.protobuf.ByteString
      getCustomBytes();

  /**
   * <code>string msg_id = 6;</code>
   * @return The msgId.
   */
  java.lang.String getMsgId();
  /**
   * <code>string msg_id = 6;</code>
   * @return The bytes for msgId.
   */
  com.google.protobuf.ByteString
      getMsgIdBytes();

  /**
   * <code>int64 time = 7;</code>
   * @return The time.
   */
  long getTime();

  /**
   * <pre>
   *消息类型：1 文本消息 2 图片消息 3 病历消息
   * </pre>
   *
   * <code>int32 message_type = 8;</code>
   * @return The messageType.
   */
  int getMessageType();

  /**
   * <code>string from_user_name = 9;</code>
   * @return The fromUserName.
   */
  java.lang.String getFromUserName();
  /**
   * <code>string from_user_name = 9;</code>
   * @return The bytes for fromUserName.
   */
  com.google.protobuf.ByteString
      getFromUserNameBytes();

  /**
   * <code>string to_user_name = 10;</code>
   * @return The toUserName.
   */
  java.lang.String getToUserName();
  /**
   * <code>string to_user_name = 10;</code>
   * @return The bytes for toUserName.
   */
  com.google.protobuf.ByteString
      getToUserNameBytes();

  /**
   * <code>int32 from_user_type = 11;</code>
   * @return The fromUserType.
   */
  int getFromUserType();

  /**
   * <code>int32 from_terminal = 12;</code>
   * @return The fromTerminal.
   */
  int getFromTerminal();
}
