Interface ReloadDocumentRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ReloadDocumentRequest, ReloadDocumentRequest.Builder

    public interface ReloadDocumentRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        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) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.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) = { ... }
        Returns:
        The bytes for name.
      • hasContentUri

        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];
        Returns:
        Whether the contentUri field is set.
      • getContentUri

        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];
        Returns:
        The contentUri.
      • getContentUriBytes

        com.google.protobuf.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];
        Returns:
        The bytes for contentUri.
      • getImportGcsCustomMetadata

        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];
        Returns:
        The importGcsCustomMetadata.
      • getSmartMessagingPartialUpdate

        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];
        Returns:
        The smartMessagingPartialUpdate.