@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.video.transcoder.v1.Job)) {
      return super.equals(obj);
    }
    com.google.cloud.video.transcoder.v1.Job other = (com.google.cloud.video.transcoder.v1.Job) obj;

    if (!getName().equals(other.getName())) return false;
    if (!getInputUri().equals(other.getInputUri())) return false;
    if (!getOutputUri().equals(other.getOutputUri())) return false;
    if (state_ != other.state_) return false;
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (hasStartTime() != other.hasStartTime()) return false;
    if (hasStartTime()) {
      if (!getStartTime().equals(other.getStartTime())) return false;
    }
    if (hasEndTime() != other.hasEndTime()) return false;
    if (hasEndTime()) {
      if (!getEndTime().equals(other.getEndTime())) return false;
    }
    if (getTtlAfterCompletionDays() != other.getTtlAfterCompletionDays()) return false;
    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
    if (hasError() != other.hasError()) return false;
    if (hasError()) {
      if (!getError().equals(other.getError())) return false;
    }
    if (mode_ != other.mode_) return false;
    if (getBatchModePriority() != other.getBatchModePriority()) return false;
    if (optimization_ != other.optimization_) return false;
    if (!getJobConfigCase().equals(other.getJobConfigCase())) return false;
    switch (jobConfigCase_) {
      case 4:
        if (!getTemplateId().equals(other.getTemplateId())) return false;
        break;
      case 5:
        if (!getConfig().equals(other.getConfig())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. The optimization strategy of the job. The default is
`AUTODETECT`.
</pre>

<code>
.google.cloud.video.transcoder.v1.Job.OptimizationStrategy optimization = 22 [(.google.api.field_behavior) = OPTIONAL];
</code>

@return The optimization.
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java