@java.lang.Override
    public boolean hasRange() {
      return compensationAmountCase_ == 4;
    }
<pre>
Compensation range.
</pre>

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

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