public interface ImportDocumentsRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ImportDocumentTemplate |
getDocumentTemplate()
Required.
|
ImportDocumentTemplateOrBuilder |
getDocumentTemplateOrBuilder()
Required.
|
GcsSources |
getGcsSource()
The Google Cloud Storage location for the documents.
|
GcsSourcesOrBuilder |
getGcsSourceOrBuilder()
The Google Cloud Storage location for the documents.
|
boolean |
getImportGcsCustomMetadata()
Whether to import custom metadata from Google Cloud Storage.
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
ImportDocumentsRequest.SourceCase |
getSourceCase() |
boolean |
hasDocumentTemplate()
Required.
|
boolean |
hasGcsSource()
The Google Cloud Storage location for the documents.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParent()
Required. The knowledge base to import documents into. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParentBytes()
Required. The knowledge base to import documents into. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasGcsSource()
The Google Cloud Storage location for the documents. The path can include a wildcard. These URIs may have the forms `gs://<bucket-name>/<object-name>`. `gs://<bucket-name>/<object-path>/*.<extension>`.
.google.cloud.dialogflow.v2beta1.GcsSources gcs_source = 2;
GcsSources getGcsSource()
The Google Cloud Storage location for the documents. The path can include a wildcard. These URIs may have the forms `gs://<bucket-name>/<object-name>`. `gs://<bucket-name>/<object-path>/*.<extension>`.
.google.cloud.dialogflow.v2beta1.GcsSources gcs_source = 2;
GcsSourcesOrBuilder getGcsSourceOrBuilder()
The Google Cloud Storage location for the documents. The path can include a wildcard. These URIs may have the forms `gs://<bucket-name>/<object-name>`. `gs://<bucket-name>/<object-path>/*.<extension>`.
.google.cloud.dialogflow.v2beta1.GcsSources gcs_source = 2;
boolean hasDocumentTemplate()
Required. Document template used for importing all the documents.
.google.cloud.dialogflow.v2beta1.ImportDocumentTemplate document_template = 3 [(.google.api.field_behavior) = REQUIRED];
ImportDocumentTemplate getDocumentTemplate()
Required. Document template used for importing all the documents.
.google.cloud.dialogflow.v2beta1.ImportDocumentTemplate document_template = 3 [(.google.api.field_behavior) = REQUIRED];
ImportDocumentTemplateOrBuilder getDocumentTemplateOrBuilder()
Required. Document template used for importing all the documents.
.google.cloud.dialogflow.v2beta1.ImportDocumentTemplate document_template = 3 [(.google.api.field_behavior) = REQUIRED];
boolean getImportGcsCustomMetadata()
Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
bool import_gcs_custom_metadata = 4;
ImportDocumentsRequest.SourceCase getSourceCase()
Copyright © 2022 Google LLC. All rights reserved.