@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vertexai.api.ReservationAffinity)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.ReservationAffinity other =
        (com.google.cloud.vertexai.api.ReservationAffinity) obj;

    if (reservationAffinityType_ != other.reservationAffinityType_) return false;
    if (!getKey().equals(other.getKey())) return false;
    if (!getValuesList().equals(other.getValuesList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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>

@param index The index of the value to return.
@return The bytes of the values at the given index.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ReservationAffinity.java