public Builder mergeFrom(
          com.google.cloud.vertexai.api.SharePointSources.SharePointSource other) {
        if (other
            == com.google.cloud.vertexai.api.SharePointSources.SharePointSource
                .getDefaultInstance()) return this;
        if (!other.getClientId().isEmpty()) {
          clientId_ = other.clientId_;
          bitField0_ |= 0x00000010;
          onChanged();
        }
        if (other.hasClientSecret()) {
          mergeClientSecret(other.getClientSecret());
        }
        if (!other.getTenantId().isEmpty()) {
          tenantId_ = other.tenantId_;
          bitField0_ |= 0x00000040;
          onChanged();
        }
        if (!other.getSharepointSiteName().isEmpty()) {
          sharepointSiteName_ = other.sharepointSiteName_;
          bitField0_ |= 0x00000080;
          onChanged();
        }
        if (!other.getFileId().isEmpty()) {
          fileId_ = other.fileId_;
          bitField0_ |= 0x00000100;
          onChanged();
        }
        switch (other.getFolderSourceCase()) {
          case SHAREPOINT_FOLDER_PATH:
            {
              folderSourceCase_ = 5;
              folderSource_ = other.folderSource_;
              onChanged();
              break;
            }
          case SHAREPOINT_FOLDER_ID:
            {
              folderSourceCase_ = 6;
              folderSource_ = other.folderSource_;
              onChanged();
              break;
            }
          case FOLDERSOURCE_NOT_SET:
            {
              break;
            }
        }
        switch (other.getDriveSourceCase()) {
          case DRIVE_NAME:
            {
              driveSourceCase_ = 7;
              driveSource_ = other.driveSource_;
              onChanged();
              break;
            }
          case DRIVE_ID:
            {
              driveSourceCase_ = 8;
              driveSource_ = other.driveSource_;
              onChanged();
              break;
            }
          case DRIVESOURCE_NOT_SET:
            {
              break;
            }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
An individual SharePointSource.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.SharePointSources.SharePointSource}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SharePointSources.java