public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert(
                java.lang.Integer from) {
              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result =
                  com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.forNumber(from);
              return result == null
                  ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED
                  : result;
            }
<pre>
Required. Type of filter.
</pre>

<code>
.google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The type.
java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java