public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        if (maxCompensationBuilder_ != null) {
          return maxCompensationBuilder_.getMessageOrBuilder();
        } else {
          return maxCompensation_ == null
              ? com.google.type.Money.getDefaultInstance()
              : maxCompensation_;
        }
      }
<pre>
The maximum amount of compensation. If left empty, the value is set
to a maximal compensation value and the currency code is set to
match the [currency code][google.type.Money.currency_code] of
min_compensation.
</pre>

<code>.google.type.Money max_compensation = 2;</code>
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java