public interface ReloadDocumentRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getContentUri()
Optional.
|
ByteString |
getContentUriBytes()
Optional.
|
boolean |
getImportGcsCustomMetadata()
Optional.
|
String |
getName()
Required.
|
ByteString |
getNameBytes()
Required.
|
boolean |
getSmartMessagingPartialUpdate()
Optional.
|
ReloadDocumentRequest.SourceCase |
getSourceCase() |
boolean |
hasContentUri()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
Required. The name of the document to reload. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getNameBytes()
Required. The name of the document to reload. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasContentUri()
Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported. For documents stored in Google Cloud Storage, these URIs must have the form `gs://<bucket-name>/<object-name>`.
string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
String getContentUri()
Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported. For documents stored in Google Cloud Storage, these URIs must have the form `gs://<bucket-name>/<object-name>`.
string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
ByteString getContentUriBytes()
Optional. The path of gcs source file for reloading document content. For now, only gcs uri is supported. For documents stored in Google Cloud Storage, these URIs must have the form `gs://<bucket-name>/<object-name>`.
string content_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
boolean getImportGcsCustomMetadata()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
boolean getSmartMessagingPartialUpdate()
Optional. When enabled, the reload request is to apply partial update to the smart messaging allowlist.
bool smart_messaging_partial_update = 5 [(.google.api.field_behavior) = OPTIONAL];
ReloadDocumentRequest.SourceCase getSourceCase()
Copyright © 2022 Google LLC. All rights reserved.