public int getReceivedTextsCount() {
        if (receivedTextsBuilder_ == null) {
          return receivedTexts_.size();
        } else {
          return receivedTextsBuilder_.getCount();
        }
      }