@java.lang.Override
      public com.google.type.Money getAmount() {
        if (amountBuilder_ == null) {
          if (compensationAmountCase_ == 3) {
            return (com.google.type.Money) compensationAmount_;
          }
          return com.google.type.Money.getDefaultInstance();
        } else {
          if (compensationAmountCase_ == 3) {
            return amountBuilder_.getMessage();
          }
          return com.google.type.Money.getDefaultInstance();
        }
      }
<pre>
Compensation amount.
</pre>

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

@return The amount.
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java