Class ImportDocumentsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder>
com.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.Builder
All Implemented Interfaces:
ImportDocumentsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportDocumentsRequest

public static final class ImportDocumentsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder> implements ImportDocumentsRequestOrBuilder
 Request message for Import methods.
 
Protobuf type google.cloud.discoveryengine.v1beta.ImportDocumentsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder>
    • getDefaultInstanceForType

      public ImportDocumentsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ImportDocumentsRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ImportDocumentsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ImportDocumentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportDocumentsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder>
    • mergeFrom

      public ImportDocumentsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportDocumentsRequest.Builder>
      Throws:
      IOException
    • getSourceCase

      public ImportDocumentsRequest.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface ImportDocumentsRequestOrBuilder
    • clearSource

      public ImportDocumentsRequest.Builder clearSource()
    • hasInlineSource

      public boolean hasInlineSource()
       The Inline source for the input content for documents.
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;
      Specified by:
      hasInlineSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the inlineSource field is set.
    • getInlineSource

      public ImportDocumentsRequest.InlineSource getInlineSource()
       The Inline source for the input content for documents.
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;
      Specified by:
      getInlineSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The inlineSource.
    • setInlineSource

       The Inline source for the input content for documents.
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;
    • setInlineSource

       The Inline source for the input content for documents.
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;
    • mergeInlineSource

       The Inline source for the input content for documents.
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;
    • clearInlineSource

      public ImportDocumentsRequest.Builder clearInlineSource()
       The Inline source for the input content for documents.
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;
    • getInlineSourceBuilder

      public ImportDocumentsRequest.InlineSource.Builder getInlineSourceBuilder()
       The Inline source for the input content for documents.
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;
    • getInlineSourceOrBuilder

      public ImportDocumentsRequest.InlineSourceOrBuilder getInlineSourceOrBuilder()
       The Inline source for the input content for documents.
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;
      Specified by:
      getInlineSourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • hasGcsSource

      public boolean hasGcsSource()
       Cloud Storage location for the input content.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
      Specified by:
      hasGcsSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public GcsSource getGcsSource()
       Cloud Storage location for the input content.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
      Specified by:
      getGcsSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The gcsSource.
    • setGcsSource

      public ImportDocumentsRequest.Builder setGcsSource(GcsSource value)
       Cloud Storage location for the input content.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • setGcsSource

      public ImportDocumentsRequest.Builder setGcsSource(GcsSource.Builder builderForValue)
       Cloud Storage location for the input content.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • mergeGcsSource

      public ImportDocumentsRequest.Builder mergeGcsSource(GcsSource value)
       Cloud Storage location for the input content.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • clearGcsSource

      public ImportDocumentsRequest.Builder clearGcsSource()
       Cloud Storage location for the input content.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • getGcsSourceBuilder

      public GcsSource.Builder getGcsSourceBuilder()
       Cloud Storage location for the input content.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
    • getGcsSourceOrBuilder

      public GcsSourceOrBuilder getGcsSourceOrBuilder()
       Cloud Storage location for the input content.
       
      .google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;
      Specified by:
      getGcsSourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • hasBigquerySource

      public boolean hasBigquerySource()
       BigQuery input source.
       
      .google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;
      Specified by:
      hasBigquerySource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the bigquerySource field is set.
    • getBigquerySource

      public BigQuerySource getBigquerySource()
       BigQuery input source.
       
      .google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;
      Specified by:
      getBigquerySource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The bigquerySource.
    • setBigquerySource

      public ImportDocumentsRequest.Builder setBigquerySource(BigQuerySource value)
       BigQuery input source.
       
      .google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;
    • setBigquerySource

      public ImportDocumentsRequest.Builder setBigquerySource(BigQuerySource.Builder builderForValue)
       BigQuery input source.
       
      .google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;
    • mergeBigquerySource

      public ImportDocumentsRequest.Builder mergeBigquerySource(BigQuerySource value)
       BigQuery input source.
       
      .google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;
    • clearBigquerySource

      public ImportDocumentsRequest.Builder clearBigquerySource()
       BigQuery input source.
       
      .google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;
    • getBigquerySourceBuilder

      public BigQuerySource.Builder getBigquerySourceBuilder()
       BigQuery input source.
       
      .google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;
    • getBigquerySourceOrBuilder

      public BigQuerySourceOrBuilder getBigquerySourceOrBuilder()
       BigQuery input source.
       
      .google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;
      Specified by:
      getBigquerySourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • hasFhirStoreSource

      public boolean hasFhirStoreSource()
       FhirStore input source.
       
      .google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;
      Specified by:
      hasFhirStoreSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the fhirStoreSource field is set.
    • getFhirStoreSource

      public FhirStoreSource getFhirStoreSource()
       FhirStore input source.
       
      .google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;
      Specified by:
      getFhirStoreSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The fhirStoreSource.
    • setFhirStoreSource

      public ImportDocumentsRequest.Builder setFhirStoreSource(FhirStoreSource value)
       FhirStore input source.
       
      .google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;
    • setFhirStoreSource

      public ImportDocumentsRequest.Builder setFhirStoreSource(FhirStoreSource.Builder builderForValue)
       FhirStore input source.
       
      .google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;
    • mergeFhirStoreSource

      public ImportDocumentsRequest.Builder mergeFhirStoreSource(FhirStoreSource value)
       FhirStore input source.
       
      .google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;
    • clearFhirStoreSource

      public ImportDocumentsRequest.Builder clearFhirStoreSource()
       FhirStore input source.
       
      .google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;
    • getFhirStoreSourceBuilder

      public FhirStoreSource.Builder getFhirStoreSourceBuilder()
       FhirStore input source.
       
      .google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;
    • getFhirStoreSourceOrBuilder

      public FhirStoreSourceOrBuilder getFhirStoreSourceOrBuilder()
       FhirStore input source.
       
      .google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;
      Specified by:
      getFhirStoreSourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • hasSpannerSource

      public boolean hasSpannerSource()
       Spanner input source.
       
      .google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;
      Specified by:
      hasSpannerSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the spannerSource field is set.
    • getSpannerSource

      public SpannerSource getSpannerSource()
       Spanner input source.
       
      .google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;
      Specified by:
      getSpannerSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The spannerSource.
    • setSpannerSource

      public ImportDocumentsRequest.Builder setSpannerSource(SpannerSource value)
       Spanner input source.
       
      .google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;
    • setSpannerSource

      public ImportDocumentsRequest.Builder setSpannerSource(SpannerSource.Builder builderForValue)
       Spanner input source.
       
      .google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;
    • mergeSpannerSource

      public ImportDocumentsRequest.Builder mergeSpannerSource(SpannerSource value)
       Spanner input source.
       
      .google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;
    • clearSpannerSource

      public ImportDocumentsRequest.Builder clearSpannerSource()
       Spanner input source.
       
      .google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;
    • getSpannerSourceBuilder

      public SpannerSource.Builder getSpannerSourceBuilder()
       Spanner input source.
       
      .google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;
    • getSpannerSourceOrBuilder

      public SpannerSourceOrBuilder getSpannerSourceOrBuilder()
       Spanner input source.
       
      .google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;
      Specified by:
      getSpannerSourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • hasCloudSqlSource

      public boolean hasCloudSqlSource()
       Cloud SQL input source.
       
      .google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;
      Specified by:
      hasCloudSqlSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the cloudSqlSource field is set.
    • getCloudSqlSource

      public CloudSqlSource getCloudSqlSource()
       Cloud SQL input source.
       
      .google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;
      Specified by:
      getCloudSqlSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The cloudSqlSource.
    • setCloudSqlSource

      public ImportDocumentsRequest.Builder setCloudSqlSource(CloudSqlSource value)
       Cloud SQL input source.
       
      .google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;
    • setCloudSqlSource

      public ImportDocumentsRequest.Builder setCloudSqlSource(CloudSqlSource.Builder builderForValue)
       Cloud SQL input source.
       
      .google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;
    • mergeCloudSqlSource

      public ImportDocumentsRequest.Builder mergeCloudSqlSource(CloudSqlSource value)
       Cloud SQL input source.
       
      .google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;
    • clearCloudSqlSource

      public ImportDocumentsRequest.Builder clearCloudSqlSource()
       Cloud SQL input source.
       
      .google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;
    • getCloudSqlSourceBuilder

      public CloudSqlSource.Builder getCloudSqlSourceBuilder()
       Cloud SQL input source.
       
      .google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;
    • getCloudSqlSourceOrBuilder

      public CloudSqlSourceOrBuilder getCloudSqlSourceOrBuilder()
       Cloud SQL input source.
       
      .google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;
      Specified by:
      getCloudSqlSourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • hasFirestoreSource

      public boolean hasFirestoreSource()
       Firestore input source.
       
      .google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;
      Specified by:
      hasFirestoreSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the firestoreSource field is set.
    • getFirestoreSource

      public FirestoreSource getFirestoreSource()
       Firestore input source.
       
      .google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;
      Specified by:
      getFirestoreSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The firestoreSource.
    • setFirestoreSource

      public ImportDocumentsRequest.Builder setFirestoreSource(FirestoreSource value)
       Firestore input source.
       
      .google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;
    • setFirestoreSource

      public ImportDocumentsRequest.Builder setFirestoreSource(FirestoreSource.Builder builderForValue)
       Firestore input source.
       
      .google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;
    • mergeFirestoreSource

      public ImportDocumentsRequest.Builder mergeFirestoreSource(FirestoreSource value)
       Firestore input source.
       
      .google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;
    • clearFirestoreSource

      public ImportDocumentsRequest.Builder clearFirestoreSource()
       Firestore input source.
       
      .google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;
    • getFirestoreSourceBuilder

      public FirestoreSource.Builder getFirestoreSourceBuilder()
       Firestore input source.
       
      .google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;
    • getFirestoreSourceOrBuilder

      public FirestoreSourceOrBuilder getFirestoreSourceOrBuilder()
       Firestore input source.
       
      .google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;
      Specified by:
      getFirestoreSourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • hasAlloyDbSource

      public boolean hasAlloyDbSource()
       AlloyDB input source.
       
      .google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;
      Specified by:
      hasAlloyDbSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the alloyDbSource field is set.
    • getAlloyDbSource

      public AlloyDbSource getAlloyDbSource()
       AlloyDB input source.
       
      .google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;
      Specified by:
      getAlloyDbSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The alloyDbSource.
    • setAlloyDbSource

      public ImportDocumentsRequest.Builder setAlloyDbSource(AlloyDbSource value)
       AlloyDB input source.
       
      .google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;
    • setAlloyDbSource

      public ImportDocumentsRequest.Builder setAlloyDbSource(AlloyDbSource.Builder builderForValue)
       AlloyDB input source.
       
      .google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;
    • mergeAlloyDbSource

      public ImportDocumentsRequest.Builder mergeAlloyDbSource(AlloyDbSource value)
       AlloyDB input source.
       
      .google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;
    • clearAlloyDbSource

      public ImportDocumentsRequest.Builder clearAlloyDbSource()
       AlloyDB input source.
       
      .google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;
    • getAlloyDbSourceBuilder

      public AlloyDbSource.Builder getAlloyDbSourceBuilder()
       AlloyDB input source.
       
      .google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;
    • getAlloyDbSourceOrBuilder

      public AlloyDbSourceOrBuilder getAlloyDbSourceOrBuilder()
       AlloyDB input source.
       
      .google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;
      Specified by:
      getAlloyDbSourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • hasBigtableSource

      public boolean hasBigtableSource()
       Cloud Bigtable input source.
       
      .google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;
      Specified by:
      hasBigtableSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the bigtableSource field is set.
    • getBigtableSource

      public BigtableSource getBigtableSource()
       Cloud Bigtable input source.
       
      .google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;
      Specified by:
      getBigtableSource in interface ImportDocumentsRequestOrBuilder
      Returns:
      The bigtableSource.
    • setBigtableSource

      public ImportDocumentsRequest.Builder setBigtableSource(BigtableSource value)
       Cloud Bigtable input source.
       
      .google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;
    • setBigtableSource

      public ImportDocumentsRequest.Builder setBigtableSource(BigtableSource.Builder builderForValue)
       Cloud Bigtable input source.
       
      .google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;
    • mergeBigtableSource

      public ImportDocumentsRequest.Builder mergeBigtableSource(BigtableSource value)
       Cloud Bigtable input source.
       
      .google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;
    • clearBigtableSource

      public ImportDocumentsRequest.Builder clearBigtableSource()
       Cloud Bigtable input source.
       
      .google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;
    • getBigtableSourceBuilder

      public BigtableSource.Builder getBigtableSourceBuilder()
       Cloud Bigtable input source.
       
      .google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;
    • getBigtableSourceOrBuilder

      public BigtableSourceOrBuilder getBigtableSourceOrBuilder()
       Cloud Bigtable input source.
       
      .google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;
      Specified by:
      getBigtableSourceOrBuilder in interface ImportDocumentsRequestOrBuilder
    • getParent

      public String getParent()
       Required. The parent branch resource name, such as
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
       Requires create/update permission.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ImportDocumentsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent branch resource name, such as
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
       Requires create/update permission.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ImportDocumentsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ImportDocumentsRequest.Builder setParent(String value)
       Required. The parent branch resource name, such as
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
       Requires create/update permission.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ImportDocumentsRequest.Builder clearParent()
       Required. The parent branch resource name, such as
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
       Requires create/update permission.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ImportDocumentsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent branch resource name, such as
       `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
       Requires create/update permission.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasErrorConfig

      public boolean hasErrorConfig()
       The desired location of errors incurred during the Import.
       
      .google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;
      Specified by:
      hasErrorConfig in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the errorConfig field is set.
    • getErrorConfig

      public ImportErrorConfig getErrorConfig()
       The desired location of errors incurred during the Import.
       
      .google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;
      Specified by:
      getErrorConfig in interface ImportDocumentsRequestOrBuilder
      Returns:
      The errorConfig.
    • setErrorConfig

      public ImportDocumentsRequest.Builder setErrorConfig(ImportErrorConfig value)
       The desired location of errors incurred during the Import.
       
      .google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;
    • setErrorConfig

      public ImportDocumentsRequest.Builder setErrorConfig(ImportErrorConfig.Builder builderForValue)
       The desired location of errors incurred during the Import.
       
      .google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;
    • mergeErrorConfig

      public ImportDocumentsRequest.Builder mergeErrorConfig(ImportErrorConfig value)
       The desired location of errors incurred during the Import.
       
      .google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;
    • clearErrorConfig

      public ImportDocumentsRequest.Builder clearErrorConfig()
       The desired location of errors incurred during the Import.
       
      .google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;
    • getErrorConfigBuilder

      public ImportErrorConfig.Builder getErrorConfigBuilder()
       The desired location of errors incurred during the Import.
       
      .google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;
    • getErrorConfigOrBuilder

      public ImportErrorConfigOrBuilder getErrorConfigOrBuilder()
       The desired location of errors incurred during the Import.
       
      .google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;
      Specified by:
      getErrorConfigOrBuilder in interface ImportDocumentsRequestOrBuilder
    • getReconciliationModeValue

      public int getReconciliationModeValue()
       The mode of reconciliation between existing documents and the documents to
       be imported. Defaults to
       [ReconciliationMode.INCREMENTAL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL].
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode reconciliation_mode = 6;
      Specified by:
      getReconciliationModeValue in interface ImportDocumentsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for reconciliationMode.
    • setReconciliationModeValue

      public ImportDocumentsRequest.Builder setReconciliationModeValue(int value)
       The mode of reconciliation between existing documents and the documents to
       be imported. Defaults to
       [ReconciliationMode.INCREMENTAL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL].
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode reconciliation_mode = 6;
      Parameters:
      value - The enum numeric value on the wire for reconciliationMode to set.
      Returns:
      This builder for chaining.
    • getReconciliationMode

      public ImportDocumentsRequest.ReconciliationMode getReconciliationMode()
       The mode of reconciliation between existing documents and the documents to
       be imported. Defaults to
       [ReconciliationMode.INCREMENTAL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL].
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode reconciliation_mode = 6;
      Specified by:
      getReconciliationMode in interface ImportDocumentsRequestOrBuilder
      Returns:
      The reconciliationMode.
    • setReconciliationMode

       The mode of reconciliation between existing documents and the documents to
       be imported. Defaults to
       [ReconciliationMode.INCREMENTAL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL].
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode reconciliation_mode = 6;
      Parameters:
      value - The reconciliationMode to set.
      Returns:
      This builder for chaining.
    • clearReconciliationMode

      public ImportDocumentsRequest.Builder clearReconciliationMode()
       The mode of reconciliation between existing documents and the documents to
       be imported. Defaults to
       [ReconciliationMode.INCREMENTAL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL].
       
      .google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode reconciliation_mode = 6;
      Returns:
      This builder for chaining.
    • hasUpdateMask

      public boolean hasUpdateMask()
       Indicates which fields in the provided imported documents to update. If
       not set, the default is to update all fields.
       
      .google.protobuf.FieldMask update_mask = 7;
      Specified by:
      hasUpdateMask in interface ImportDocumentsRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Indicates which fields in the provided imported documents to update. If
       not set, the default is to update all fields.
       
      .google.protobuf.FieldMask update_mask = 7;
      Specified by:
      getUpdateMask in interface ImportDocumentsRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public ImportDocumentsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Indicates which fields in the provided imported documents to update. If
       not set, the default is to update all fields.
       
      .google.protobuf.FieldMask update_mask = 7;
    • setUpdateMask

      public ImportDocumentsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Indicates which fields in the provided imported documents to update. If
       not set, the default is to update all fields.
       
      .google.protobuf.FieldMask update_mask = 7;
    • mergeUpdateMask

      public ImportDocumentsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Indicates which fields in the provided imported documents to update. If
       not set, the default is to update all fields.
       
      .google.protobuf.FieldMask update_mask = 7;
    • clearUpdateMask

      public ImportDocumentsRequest.Builder clearUpdateMask()
       Indicates which fields in the provided imported documents to update. If
       not set, the default is to update all fields.
       
      .google.protobuf.FieldMask update_mask = 7;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Indicates which fields in the provided imported documents to update. If
       not set, the default is to update all fields.
       
      .google.protobuf.FieldMask update_mask = 7;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Indicates which fields in the provided imported documents to update. If
       not set, the default is to update all fields.
       
      .google.protobuf.FieldMask update_mask = 7;
      Specified by:
      getUpdateMaskOrBuilder in interface ImportDocumentsRequestOrBuilder
    • getAutoGenerateIds

      public boolean getAutoGenerateIds()
       Whether to automatically generate IDs for the documents if absent.
      
       If set to `true`,
       [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s are
       automatically generated based on the hash of the payload, where IDs may not
       be consistent during multiple imports. In which case
       [ReconciliationMode.FULL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.FULL]
       is highly recommended to avoid duplicate contents. If unset or set to
       `false`, [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s
       have to be specified using
       [id_field][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.id_field],
       otherwise, documents without IDs fail to be imported.
      
       Supported data sources:
      
       * [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource].
       [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource].
       [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource].
       * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource].
       * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource].
       * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource].
       
      bool auto_generate_ids = 8;
      Specified by:
      getAutoGenerateIds in interface ImportDocumentsRequestOrBuilder
      Returns:
      The autoGenerateIds.
    • setAutoGenerateIds

      public ImportDocumentsRequest.Builder setAutoGenerateIds(boolean value)
       Whether to automatically generate IDs for the documents if absent.
      
       If set to `true`,
       [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s are
       automatically generated based on the hash of the payload, where IDs may not
       be consistent during multiple imports. In which case
       [ReconciliationMode.FULL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.FULL]
       is highly recommended to avoid duplicate contents. If unset or set to
       `false`, [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s
       have to be specified using
       [id_field][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.id_field],
       otherwise, documents without IDs fail to be imported.
      
       Supported data sources:
      
       * [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource].
       [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource].
       [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource].
       * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource].
       * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource].
       * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource].
       
      bool auto_generate_ids = 8;
      Parameters:
      value - The autoGenerateIds to set.
      Returns:
      This builder for chaining.
    • clearAutoGenerateIds

      public ImportDocumentsRequest.Builder clearAutoGenerateIds()
       Whether to automatically generate IDs for the documents if absent.
      
       If set to `true`,
       [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s are
       automatically generated based on the hash of the payload, where IDs may not
       be consistent during multiple imports. In which case
       [ReconciliationMode.FULL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.FULL]
       is highly recommended to avoid duplicate contents. If unset or set to
       `false`, [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s
       have to be specified using
       [id_field][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.id_field],
       otherwise, documents without IDs fail to be imported.
      
       Supported data sources:
      
       * [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource].
       [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource].
       [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource].
       * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource].
       * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource].
       * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource].
       
      bool auto_generate_ids = 8;
      Returns:
      This builder for chaining.
    • getIdField

      public String getIdField()
       The field indicates the ID field or column to be used as unique IDs of
       the documents.
      
       For [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource] it is the
       key of the JSON field. For instance, `my_id` for JSON `{"my_id":
       "some_uuid"}`. For others, it may be the column name of the table where the
       unique ids are stored.
      
       The values of the JSON field or the table column are used as the
       [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s. The JSON
       field or the table column must be of string type, and the values must be
       set as valid strings conform to
       [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters.
       Otherwise, documents without valid IDs fail to be imported.
      
       Only set this field when
       [auto_generate_ids][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.auto_generate_ids]
       is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown.
      
       If it is unset, a default value `_id` is used when importing from the
       allowed data sources.
      
       Supported data sources:
      
       * [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource].
       [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource].
       [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource].
       * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource].
       * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource].
       * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource].
       
      string id_field = 9;
      Specified by:
      getIdField in interface ImportDocumentsRequestOrBuilder
      Returns:
      The idField.
    • getIdFieldBytes

      public com.google.protobuf.ByteString getIdFieldBytes()
       The field indicates the ID field or column to be used as unique IDs of
       the documents.
      
       For [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource] it is the
       key of the JSON field. For instance, `my_id` for JSON `{"my_id":
       "some_uuid"}`. For others, it may be the column name of the table where the
       unique ids are stored.
      
       The values of the JSON field or the table column are used as the
       [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s. The JSON
       field or the table column must be of string type, and the values must be
       set as valid strings conform to
       [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters.
       Otherwise, documents without valid IDs fail to be imported.
      
       Only set this field when
       [auto_generate_ids][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.auto_generate_ids]
       is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown.
      
       If it is unset, a default value `_id` is used when importing from the
       allowed data sources.
      
       Supported data sources:
      
       * [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource].
       [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource].
       [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource].
       * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource].
       * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource].
       * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource].
       
      string id_field = 9;
      Specified by:
      getIdFieldBytes in interface ImportDocumentsRequestOrBuilder
      Returns:
      The bytes for idField.
    • setIdField

      public ImportDocumentsRequest.Builder setIdField(String value)
       The field indicates the ID field or column to be used as unique IDs of
       the documents.
      
       For [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource] it is the
       key of the JSON field. For instance, `my_id` for JSON `{"my_id":
       "some_uuid"}`. For others, it may be the column name of the table where the
       unique ids are stored.
      
       The values of the JSON field or the table column are used as the
       [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s. The JSON
       field or the table column must be of string type, and the values must be
       set as valid strings conform to
       [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters.
       Otherwise, documents without valid IDs fail to be imported.
      
       Only set this field when
       [auto_generate_ids][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.auto_generate_ids]
       is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown.
      
       If it is unset, a default value `_id` is used when importing from the
       allowed data sources.
      
       Supported data sources:
      
       * [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource].
       [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource].
       [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource].
       * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource].
       * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource].
       * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource].
       
      string id_field = 9;
      Parameters:
      value - The idField to set.
      Returns:
      This builder for chaining.
    • clearIdField

      public ImportDocumentsRequest.Builder clearIdField()
       The field indicates the ID field or column to be used as unique IDs of
       the documents.
      
       For [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource] it is the
       key of the JSON field. For instance, `my_id` for JSON `{"my_id":
       "some_uuid"}`. For others, it may be the column name of the table where the
       unique ids are stored.
      
       The values of the JSON field or the table column are used as the
       [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s. The JSON
       field or the table column must be of string type, and the values must be
       set as valid strings conform to
       [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters.
       Otherwise, documents without valid IDs fail to be imported.
      
       Only set this field when
       [auto_generate_ids][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.auto_generate_ids]
       is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown.
      
       If it is unset, a default value `_id` is used when importing from the
       allowed data sources.
      
       Supported data sources:
      
       * [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource].
       [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource].
       [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource].
       * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource].
       * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource].
       * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource].
       
      string id_field = 9;
      Returns:
      This builder for chaining.
    • setIdFieldBytes

      public ImportDocumentsRequest.Builder setIdFieldBytes(com.google.protobuf.ByteString value)
       The field indicates the ID field or column to be used as unique IDs of
       the documents.
      
       For [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource] it is the
       key of the JSON field. For instance, `my_id` for JSON `{"my_id":
       "some_uuid"}`. For others, it may be the column name of the table where the
       unique ids are stored.
      
       The values of the JSON field or the table column are used as the
       [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s. The JSON
       field or the table column must be of string type, and the values must be
       set as valid strings conform to
       [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters.
       Otherwise, documents without valid IDs fail to be imported.
      
       Only set this field when
       [auto_generate_ids][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.auto_generate_ids]
       is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown.
      
       If it is unset, a default value `_id` is used when importing from the
       allowed data sources.
      
       Supported data sources:
      
       * [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource].
       [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource].
       [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema]
       must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
       * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource].
       * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource].
       * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource].
       * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource].
       
      string id_field = 9;
      Parameters:
      value - The bytes for idField to set.
      Returns:
      This builder for chaining.