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

      if (!getUsage().equals(other.getUsage())) return false;
      if (!getSourceCase().equals(other.getSourceCase())) return false;
      switch (sourceCase_) {
        case 3:
          if (!getGcsSource().equals(other.getGcsSource())) 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_source = 3;</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/DatasetInputConfig.java