public int getValuesCount() {
      return values_.size();
    }
<pre>
Optional. Corresponds to the label values of a reservation resource. This
must be the full resource name of the reservation.
</pre>

<code>
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
</code>

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