@java.lang.Override
    public boolean hasAmount() {
      return compensationAmountCase_ == 3;
    }
<pre>
Compensation amount.
</pre>

<code>.google.type.Money amount = 3;</code>

@return Whether the amount field is set.
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java