@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(speaker_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, speaker_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, text_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Required. The text to speak.
</pre>

<code>string text = 2 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for text.
java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/MultiSpeakerMarkup.java