Interface UpdateDocumentRequestOrBuilder

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

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

      • getName

        String getName()
         Required. The name of the document to update.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}
         or
         projects/{project_number}/locations/{location}/documents/referenceId/{reference_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 update.
         Format:
         projects/{project_number}/locations/{location}/documents/{document_id}
         or
         projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • hasDocument

        boolean hasDocument()
         Required. The document to update.
         
        .google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the document field is set.
      • getDocument

        Document getDocument()
         Required. The document to update.
         
        .google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The document.
      • getDocumentOrBuilder

        DocumentOrBuilder getDocumentOrBuilder()
         Required. The document to update.
         
        .google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
      • hasRequestMetadata

        boolean hasRequestMetadata()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
        Returns:
        Whether the requestMetadata field is set.
      • getRequestMetadata

        RequestMetadata getRequestMetadata()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
        Returns:
        The requestMetadata.
      • getRequestMetadataOrBuilder

        RequestMetadataOrBuilder getRequestMetadataOrBuilder()
         The meta information collected about the end user, used to enforce access
         control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 3;
      • hasCloudAiDocumentOption

        boolean hasCloudAiDocumentOption()
         Request Option for processing Cloud AI Document in Document Warehouse.
         This field offers limited support for mapping entities from Cloud AI
         Document to Warehouse Document. Please consult with product team before
         using this field and other available options.
         
        .google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
        Returns:
        Whether the cloudAiDocumentOption field is set.
      • getCloudAiDocumentOption

        CloudAIDocumentOption getCloudAiDocumentOption()
         Request Option for processing Cloud AI Document in Document Warehouse.
         This field offers limited support for mapping entities from Cloud AI
         Document to Warehouse Document. Please consult with product team before
         using this field and other available options.
         
        .google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
        Returns:
        The cloudAiDocumentOption.
      • getCloudAiDocumentOptionOrBuilder

        CloudAIDocumentOptionOrBuilder getCloudAiDocumentOptionOrBuilder()
         Request Option for processing Cloud AI Document in Document Warehouse.
         This field offers limited support for mapping entities from Cloud AI
         Document to Warehouse Document. Please consult with product team before
         using this field and other available options.
         
        .google.cloud.contentwarehouse.v1.CloudAIDocumentOption cloud_ai_document_option = 5;
      • hasUpdateOptions

        boolean hasUpdateOptions()
         Options for the update operation.
         
        .google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
        Returns:
        Whether the updateOptions field is set.
      • getUpdateOptions

        UpdateOptions getUpdateOptions()
         Options for the update operation.
         
        .google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;
        Returns:
        The updateOptions.
      • getUpdateOptionsOrBuilder

        UpdateOptionsOrBuilder getUpdateOptionsOrBuilder()
         Options for the update operation.
         
        .google.cloud.contentwarehouse.v1.UpdateOptions update_options = 6;