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 Summary
Modifier and TypeMethodDescriptionbuild()clear()AlloyDB input source.Whether to automatically generate IDs for the documents if absent.BigQuery input source.Cloud Bigtable input source.Cloud SQL input source.The desired location of errors incurred during the Import.FhirStore input source.Firestore input source.Cloud Storage location for the input content.The field indicates the ID field or column to be used as unique IDs of the documents.The Inline source for the input content for documents.Required.The mode of reconciliation between existing documents and the documents to be imported.Spanner input source.Indicates which fields in the provided imported documents to update.AlloyDB input source.AlloyDB input source.AlloyDB input source.booleanWhether to automatically generate IDs for the documents if absent.BigQuery input source.BigQuery input source.BigQuery input source.Cloud Bigtable input source.Cloud Bigtable input source.Cloud Bigtable input source.Cloud SQL input source.Cloud SQL input source.Cloud SQL input source.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe desired location of errors incurred during the Import.The desired location of errors incurred during the Import.The desired location of errors incurred during the Import.FhirStore input source.FhirStore input source.FhirStore input source.Firestore input source.Firestore input source.Firestore input source.Cloud Storage location for the input content.Cloud Storage location for the input content.Cloud Storage location for the input content.The field indicates the ID field or column to be used as unique IDs of the documents.com.google.protobuf.ByteStringThe field indicates the ID field or column to be used as unique IDs of the documents.The Inline source for the input content for documents.The Inline source for the input content for documents.The Inline source for the input content for documents.Required.com.google.protobuf.ByteStringRequired.The mode of reconciliation between existing documents and the documents to be imported.intThe mode of reconciliation between existing documents and the documents to be imported.Spanner input source.Spanner input source.Spanner input source.com.google.protobuf.FieldMaskIndicates which fields in the provided imported documents to update.com.google.protobuf.FieldMask.BuilderIndicates which fields in the provided imported documents to update.com.google.protobuf.FieldMaskOrBuilderIndicates which fields in the provided imported documents to update.booleanAlloyDB input source.booleanBigQuery input source.booleanCloud Bigtable input source.booleanCloud SQL input source.booleanThe desired location of errors incurred during the Import.booleanFhirStore input source.booleanFirestore input source.booleanCloud Storage location for the input content.booleanThe Inline source for the input content for documents.booleanSpanner input source.booleanIndicates which fields in the provided imported documents to update.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAlloyDbSource(AlloyDbSource value) AlloyDB input source.BigQuery input source.Cloud Bigtable input source.Cloud SQL input source.The desired location of errors incurred during the Import.FhirStore input source.Firestore input source.mergeFrom(ImportDocumentsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGcsSource(GcsSource value) Cloud Storage location for the input content.The Inline source for the input content for documents.mergeSpannerSource(SpannerSource value) Spanner input source.mergeUpdateMask(com.google.protobuf.FieldMask value) Indicates which fields in the provided imported documents to update.setAlloyDbSource(AlloyDbSource value) AlloyDB input source.setAlloyDbSource(AlloyDbSource.Builder builderForValue) AlloyDB input source.setAutoGenerateIds(boolean value) Whether to automatically generate IDs for the documents if absent.setBigquerySource(BigQuerySource value) BigQuery input source.setBigquerySource(BigQuerySource.Builder builderForValue) BigQuery input source.setBigtableSource(BigtableSource value) Cloud Bigtable input source.setBigtableSource(BigtableSource.Builder builderForValue) Cloud Bigtable input source.setCloudSqlSource(CloudSqlSource value) Cloud SQL input source.setCloudSqlSource(CloudSqlSource.Builder builderForValue) Cloud SQL input source.setErrorConfig(ImportErrorConfig value) The desired location of errors incurred during the Import.setErrorConfig(ImportErrorConfig.Builder builderForValue) The desired location of errors incurred during the Import.FhirStore input source.setFhirStoreSource(FhirStoreSource.Builder builderForValue) FhirStore input source.Firestore input source.setFirestoreSource(FirestoreSource.Builder builderForValue) Firestore input source.setGcsSource(GcsSource value) Cloud Storage location for the input content.setGcsSource(GcsSource.Builder builderForValue) Cloud Storage location for the input content.setIdField(String value) The field indicates the ID field or column to be used as unique IDs of the documents.setIdFieldBytes(com.google.protobuf.ByteString value) The field indicates the ID field or column to be used as unique IDs of the documents.The Inline source for the input content for documents.setInlineSource(ImportDocumentsRequest.InlineSource.Builder builderForValue) The Inline source for the input content for documents.Required.setParentBytes(com.google.protobuf.ByteString value) Required.The mode of reconciliation between existing documents and the documents to be imported.setReconciliationModeValue(int value) The mode of reconciliation between existing documents and the documents to be imported.setSpannerSource(SpannerSource value) Spanner input source.setSpannerSource(SpannerSource.Builder builderForValue) Spanner input source.setUpdateMask(com.google.protobuf.FieldMask value) Indicates which fields in the provided imported documents to update.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Indicates which fields in the provided imported documents to update.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportDocumentsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportDocumentsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportDocumentsRequest.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceImportDocumentsRequestOrBuilder
-
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:
hasInlineSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the inlineSource field is set.
-
getInlineSource
The Inline source for the input content for documents.
.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;- Specified by:
getInlineSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The inlineSource.
-
setInlineSource
The Inline source for the input content for documents.
.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2; -
setInlineSource
public ImportDocumentsRequest.Builder setInlineSource(ImportDocumentsRequest.InlineSource.Builder builderForValue) 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
The Inline source for the input content for documents.
.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2; -
getInlineSourceBuilder
The Inline source for the input content for documents.
.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2; -
getInlineSourceOrBuilder
The Inline source for the input content for documents.
.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource inline_source = 2;- Specified by:
getInlineSourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
hasGcsSource
public boolean hasGcsSource()Cloud Storage location for the input content.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;- Specified by:
hasGcsSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
Cloud Storage location for the input content.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;- Specified by:
getGcsSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
Cloud Storage location for the input content.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3; -
setGcsSource
Cloud Storage location for the input content.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3; -
mergeGcsSource
Cloud Storage location for the input content.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3; -
clearGcsSource
Cloud Storage location for the input content.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3; -
getGcsSourceBuilder
Cloud Storage location for the input content.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3; -
getGcsSourceOrBuilder
Cloud Storage location for the input content.
.google.cloud.discoveryengine.v1beta.GcsSource gcs_source = 3;- Specified by:
getGcsSourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
hasBigquerySource
public boolean hasBigquerySource()BigQuery input source.
.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;- Specified by:
hasBigquerySourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the bigquerySource field is set.
-
getBigquerySource
BigQuery input source.
.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;- Specified by:
getBigquerySourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The bigquerySource.
-
setBigquerySource
BigQuery input source.
.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4; -
setBigquerySource
BigQuery input source.
.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4; -
mergeBigquerySource
BigQuery input source.
.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4; -
clearBigquerySource
BigQuery input source.
.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4; -
getBigquerySourceBuilder
BigQuery input source.
.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4; -
getBigquerySourceOrBuilder
BigQuery input source.
.google.cloud.discoveryengine.v1beta.BigQuerySource bigquery_source = 4;- Specified by:
getBigquerySourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
hasFhirStoreSource
public boolean hasFhirStoreSource()FhirStore input source.
.google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;- Specified by:
hasFhirStoreSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the fhirStoreSource field is set.
-
getFhirStoreSource
FhirStore input source.
.google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;- Specified by:
getFhirStoreSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The fhirStoreSource.
-
setFhirStoreSource
FhirStore input source.
.google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10; -
setFhirStoreSource
FhirStore input source.
.google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10; -
mergeFhirStoreSource
FhirStore input source.
.google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10; -
clearFhirStoreSource
FhirStore input source.
.google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10; -
getFhirStoreSourceBuilder
FhirStore input source.
.google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10; -
getFhirStoreSourceOrBuilder
FhirStore input source.
.google.cloud.discoveryengine.v1beta.FhirStoreSource fhir_store_source = 10;- Specified by:
getFhirStoreSourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
hasSpannerSource
public boolean hasSpannerSource()Spanner input source.
.google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;- Specified by:
hasSpannerSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the spannerSource field is set.
-
getSpannerSource
Spanner input source.
.google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;- Specified by:
getSpannerSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The spannerSource.
-
setSpannerSource
Spanner input source.
.google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11; -
setSpannerSource
Spanner input source.
.google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11; -
mergeSpannerSource
Spanner input source.
.google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11; -
clearSpannerSource
Spanner input source.
.google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11; -
getSpannerSourceBuilder
Spanner input source.
.google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11; -
getSpannerSourceOrBuilder
Spanner input source.
.google.cloud.discoveryengine.v1beta.SpannerSource spanner_source = 11;- Specified by:
getSpannerSourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
hasCloudSqlSource
public boolean hasCloudSqlSource()Cloud SQL input source.
.google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;- Specified by:
hasCloudSqlSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the cloudSqlSource field is set.
-
getCloudSqlSource
Cloud SQL input source.
.google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;- Specified by:
getCloudSqlSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The cloudSqlSource.
-
setCloudSqlSource
Cloud SQL input source.
.google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12; -
setCloudSqlSource
Cloud SQL input source.
.google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12; -
mergeCloudSqlSource
Cloud SQL input source.
.google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12; -
clearCloudSqlSource
Cloud SQL input source.
.google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12; -
getCloudSqlSourceBuilder
Cloud SQL input source.
.google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12; -
getCloudSqlSourceOrBuilder
Cloud SQL input source.
.google.cloud.discoveryengine.v1beta.CloudSqlSource cloud_sql_source = 12;- Specified by:
getCloudSqlSourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
hasFirestoreSource
public boolean hasFirestoreSource()Firestore input source.
.google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;- Specified by:
hasFirestoreSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the firestoreSource field is set.
-
getFirestoreSource
Firestore input source.
.google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;- Specified by:
getFirestoreSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The firestoreSource.
-
setFirestoreSource
Firestore input source.
.google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13; -
setFirestoreSource
Firestore input source.
.google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13; -
mergeFirestoreSource
Firestore input source.
.google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13; -
clearFirestoreSource
Firestore input source.
.google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13; -
getFirestoreSourceBuilder
Firestore input source.
.google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13; -
getFirestoreSourceOrBuilder
Firestore input source.
.google.cloud.discoveryengine.v1beta.FirestoreSource firestore_source = 13;- Specified by:
getFirestoreSourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
hasAlloyDbSource
public boolean hasAlloyDbSource()AlloyDB input source.
.google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;- Specified by:
hasAlloyDbSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the alloyDbSource field is set.
-
getAlloyDbSource
AlloyDB input source.
.google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;- Specified by:
getAlloyDbSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The alloyDbSource.
-
setAlloyDbSource
AlloyDB input source.
.google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14; -
setAlloyDbSource
AlloyDB input source.
.google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14; -
mergeAlloyDbSource
AlloyDB input source.
.google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14; -
clearAlloyDbSource
AlloyDB input source.
.google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14; -
getAlloyDbSourceBuilder
AlloyDB input source.
.google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14; -
getAlloyDbSourceOrBuilder
AlloyDB input source.
.google.cloud.discoveryengine.v1beta.AlloyDbSource alloy_db_source = 14;- Specified by:
getAlloyDbSourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
hasBigtableSource
public boolean hasBigtableSource()Cloud Bigtable input source.
.google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;- Specified by:
hasBigtableSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the bigtableSource field is set.
-
getBigtableSource
Cloud Bigtable input source.
.google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;- Specified by:
getBigtableSourcein interfaceImportDocumentsRequestOrBuilder- Returns:
- The bigtableSource.
-
setBigtableSource
Cloud Bigtable input source.
.google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15; -
setBigtableSource
Cloud Bigtable input source.
.google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15; -
mergeBigtableSource
Cloud Bigtable input source.
.google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15; -
clearBigtableSource
Cloud Bigtable input source.
.google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15; -
getBigtableSourceBuilder
Cloud Bigtable input source.
.google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15; -
getBigtableSourceOrBuilder
Cloud Bigtable input source.
.google.cloud.discoveryengine.v1beta.BigtableSource bigtable_source = 15;- Specified by:
getBigtableSourceOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
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:
getParentin interfaceImportDocumentsRequestOrBuilder- 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:
getParentBytesin interfaceImportDocumentsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
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
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
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:
hasErrorConfigin interfaceImportDocumentsRequestOrBuilder- Returns:
- Whether the errorConfig field is set.
-
getErrorConfig
The desired location of errors incurred during the Import.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;- Specified by:
getErrorConfigin interfaceImportDocumentsRequestOrBuilder- Returns:
- The errorConfig.
-
setErrorConfig
The desired location of errors incurred during the Import.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5; -
setErrorConfig
The desired location of errors incurred during the Import.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5; -
mergeErrorConfig
The desired location of errors incurred during the Import.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5; -
clearErrorConfig
The desired location of errors incurred during the Import.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5; -
getErrorConfigBuilder
The desired location of errors incurred during the Import.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5; -
getErrorConfigOrBuilder
The desired location of errors incurred during the Import.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 5;- Specified by:
getErrorConfigOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
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:
getReconciliationModeValuein interfaceImportDocumentsRequestOrBuilder- Returns:
- The enum numeric value on the wire for reconciliationMode.
-
setReconciliationModeValue
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
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:
getReconciliationModein interfaceImportDocumentsRequestOrBuilder- Returns:
- The reconciliationMode.
-
setReconciliationMode
public ImportDocumentsRequest.Builder setReconciliationMode(ImportDocumentsRequest.ReconciliationMode 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 reconciliationMode to set.- Returns:
- This builder for chaining.
-
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:
hasUpdateMaskin interfaceImportDocumentsRequestOrBuilder- 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:
getUpdateMaskin interfaceImportDocumentsRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
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
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
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:
getUpdateMaskOrBuilderin interfaceImportDocumentsRequestOrBuilder
-
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:
getAutoGenerateIdsin interfaceImportDocumentsRequestOrBuilder- Returns:
- The autoGenerateIds.
-
setAutoGenerateIds
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
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
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:
getIdFieldin interfaceImportDocumentsRequestOrBuilder- 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:
getIdFieldBytesin interfaceImportDocumentsRequestOrBuilder- Returns:
- The bytes for idField.
-
setIdField
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
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
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.
-