public com.google.cloud.speech.v2.CustomClass getCustomClasses(int index) {
      if (customClassesBuilder_ == null) {
        return customClasses_.get(index);
      } else {
        return customClassesBuilder_.getMessage(index);
      }
    }
<pre>
A list of inline CustomClasses. Existing CustomClass resources can be
referenced directly in a PhraseSet.
</pre>

<code>repeated .google.cloud.speech.v2.CustomClass custom_classes = 2;</code>
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/SpeechAdaptation.java