@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)) {
        return super.equals(obj);
      }
      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other =
          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;

      if (type_ != other.type_) return false;
      if (unit_ != other.unit_) return false;
      if (!getDescription().equals(other.getDescription())) return false;
      if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
      if (hasExpectedUnitsPerYear()) {
        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
      }
      if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
      switch (compensationAmountCase_) {
        case 3:
          if (!getAmount().equals(other.getAmount())) return false;
          break;
        case 4:
          if (!getRange().equals(other.getRange())) return false;
          break;
        case 0:
        default:
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Expected number of units paid each year. If not specified, when
[Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types]
is FULLTIME, a default value is inferred based on
[unit][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.unit].
Default values:
- HOURLY: 2080
- DAILY: 260
- WEEKLY: 52
- MONTHLY: 12
- ANNUAL: 1
</pre>

<code>.google.protobuf.DoubleValue expected_units_per_year = 6;</code>
java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java