public com.google.protobuf.ByteString getTranscriptBytes() {
      java.lang.Object ref = transcript_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        transcript_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Transcript text representing the words that the user spoke.
In languages that use spaces to separate words, the transcript might have a
leading space if it isn't the first result. You can concatenate each result
to obtain the full transcript without using a separator.
</pre>

<code>string transcript = 1;</code>

@return The bytes for transcript.
java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechRecognitionAlternative.java