public int getReferenceSentencePairsCount() {
        if (referenceSentencePairsBuilder_ == null) {
          return referenceSentencePairs_.size();
        } else {
          return referenceSentencePairsBuilder_.getCount();
        }
      }
<pre>
Reference sentence pairs.
</pre>

<code>
repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePair reference_sentence_pairs = 1;
</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/AdaptiveMtTranslateRequest.java