public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getWsOpCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, wsOpCode_);
      }
      if (currentPage_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, currentPage_);
      }
      if (pageSize_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, pageSize_);
      }
      if (totalPage_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, totalPage_);
      }
      if (allNum_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, allNum_);
      }
      if (toType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, toType_);
      }
      if (!getToTypeIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, toTypeId_);
      }
      for (int i = 0; i < message_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, message_.get(i));
      }
      memoizedSize = size;
      return size;
    }
<code>repeated .org.anychat.protobuf.ws.ChatMessageData message = 8;</code>
AnyChatServer/src/main/java/org/anychat/protobuf/ws/LoginChatProto.java