@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn)) {
        return super.equals(obj);
      }
      com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn other =
          (com.google.cloud.texttospeech.v1beta1.MultiSpeakerMarkup.Turn) obj;

      if (!getSpeaker().equals(other.getSpeaker())) return false;
      if (!getText().equals(other.getText())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<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