public Builder addAllUnits(
        java.lang.Iterable<? extends com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>
            values) {
      ensureUnitsIsMutable();
      for (com.google.cloud.talent.v4.CompensationInfo.CompensationUnit value : values) {
        units_.add(value.getNumber());
      }
      onChanged();
      return this;
    }
<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 values The units to add.
@return This builder for chaining.
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java