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

    if (!getParent().equals(other.getParent())) return false;
    if (!getSourceCase().equals(other.getSourceCase())) return false;
    switch (sourceCase_) {
      case 2:
        if (!getFileInputSource().equals(other.getFileInputSource())) return false;
        break;
      case 3:
        if (!getGcsInputSource().equals(other.getGcsInputSource())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Google Cloud Storage file source.
</pre>

<code>.google.cloud.translation.v3.GcsInputSource gcs_input_source = 3;</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/ImportAdaptiveMtFileRequest.java