public Builder mergeFrom(
          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
        if (other
            == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance())
          return this;
        if (other.type_ != 0) {
          setTypeValue(other.getTypeValue());
        }
        if (other.unit_ != 0) {
          setUnitValue(other.getUnitValue());
        }
        if (!other.getDescription().isEmpty()) {
          description_ = other.description_;
          bitField0_ |= 0x00000010;
          onChanged();
        }
        if (other.hasExpectedUnitsPerYear()) {
          mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
        }
        switch (other.getCompensationAmountCase()) {
          case AMOUNT:
            {
              mergeAmount(other.getAmount());
              break;
            }
          case RANGE:
            {
              mergeRange(other.getRange());
              break;
            }
          case COMPENSATIONAMOUNT_NOT_SET:
            {
              break;
            }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
A compensation entry that represents one component of compensation, such
as base pay, bonus, or other compensation type.

Annualization: One compensation entry can be annualized if
- it contains valid
[amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount]
or
[range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range].
- and its
[expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year]
is set or can be derived. Its annualized range is determined as
([amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount]
or
[range][google.cloud.talent.v4.CompensationInfo.CompensationEntry.range])
times
[expected_units_per_year][google.cloud.talent.v4.CompensationInfo.CompensationEntry.expected_units_per_year].
</pre>

Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java