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

      if (!getClientId().equals(other.getClientId())) return false;
      if (hasClientSecret() != other.hasClientSecret()) return false;
      if (hasClientSecret()) {
        if (!getClientSecret().equals(other.getClientSecret())) return false;
      }
      if (!getTenantId().equals(other.getTenantId())) return false;
      if (!getSharepointSiteName().equals(other.getSharepointSiteName())) return false;
      if (!getFileId().equals(other.getFileId())) return false;
      if (!getFolderSourceCase().equals(other.getFolderSourceCase())) return false;
      switch (folderSourceCase_) {
        case 5:
          if (!getSharepointFolderPath().equals(other.getSharepointFolderPath())) return false;
          break;
        case 6:
          if (!getSharepointFolderId().equals(other.getSharepointFolderId())) return false;
          break;
        case 0:
        default:
      }
      if (!getDriveSourceCase().equals(other.getDriveSourceCase())) return false;
      switch (driveSourceCase_) {
        case 7:
          if (!getDriveName().equals(other.getDriveName())) return false;
          break;
        case 8:
          if (!getDriveId().equals(other.getDriveId())) return false;
          break;
        case 0:
        default:
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Output only. The SharePoint file id. Output only.
</pre>

<code>string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The bytes for fileId.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SharePointSources.java