@java.lang.Override
  public int getUnitsValue(int index) {
    return units_.get(index);
  }
<pre>
Required. Specify desired `base compensation entry's`
[CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
</pre>

<code>
repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@param index The index of the value to return.
@return The enum numeric value on the wire of units at the given index.
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java