@java.lang.Override
    public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() {
      com.google.cloud.talent.v4.CompensationInfo.CompensationType result =
          com.google.cloud.talent.v4.CompensationInfo.CompensationType.forNumber(type_);
      return result == null
          ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED
          : result;
    }
<pre>
Compensation type.

Default is
[CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
</pre>

<code>.google.cloud.talent.v4.CompensationInfo.CompensationType type = 1;</code>

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