@java.lang.Override
      public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() {
        if (rangeBuilder_ == null) {
          if (compensationAmountCase_ == 4) {
            return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange)
                compensationAmount_;
          }
          return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance();
        } else {
          if (compensationAmountCase_ == 4) {
            return rangeBuilder_.getMessage();
          }
          return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance();
        }
      }
<pre>
Compensation range.
</pre>

<code>.google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4;</code>

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