private void buildPartial0(com.google.cloud.vertexai.api.ReservationAffinity result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.reservationAffinityType_ = reservationAffinityType_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.key_ = key_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        values_.makeImmutable();
        result.values_ = values_;
      }
    }
<pre>
A ReservationAffinity can be used to configure a Vertex AI resource (e.g., a
DeployedModel) to draw its Compute Engine resources from a Shared
Reservation, or exclusively from on-demand capacity.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.ReservationAffinity}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ReservationAffinity.java