public int getStopSequencesCount() {
    return stopSequences_.size();
  }
<pre>
Optional. Stop sequences.
</pre>

<code>repeated string stop_sequences = 6 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The count of stopSequences.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerationConfig.java