Interface CreateDocumentRequestOrBuilder

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

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

      • getParent

        String getParent()
         Required. The parent name.
         Format: projects/{project_number}/locations/{location}.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The parent name.
         Format: projects/{project_number}/locations/{location}.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasDocument

        boolean hasDocument()
         Required. The document to create.
         
        .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 create.
         
        .google.cloud.contentwarehouse.v1.Document document = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The document.
      • getDocumentOrBuilder

        DocumentOrBuilder getDocumentOrBuilder()
         Required. The document to create.
         
        .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;
      • hasPolicy

        boolean hasPolicy()
         Default document policy during creation.
         This refers to an Identity and Access (IAM) policy, which specifies access
         controls for the Document.
         Conditions defined in the policy will be ignored.
         
        .google.iam.v1.Policy policy = 4;
        Returns:
        Whether the policy field is set.
      • getPolicy

        com.google.iam.v1.Policy getPolicy()
         Default document policy during creation.
         This refers to an Identity and Access (IAM) policy, which specifies access
         controls for the Document.
         Conditions defined in the policy will be ignored.
         
        .google.iam.v1.Policy policy = 4;
        Returns:
        The policy.
      • getPolicyOrBuilder

        com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
         Default document policy during creation.
         This refers to an Identity and Access (IAM) policy, which specifies access
         controls for the Document.
         Conditions defined in the policy will be ignored.
         
        .google.iam.v1.Policy policy = 4;
      • 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;
      • hasCreateMask

        boolean hasCreateMask()
         Field mask for creating Document fields. If mask path is empty,
         it means all fields are masked.
         For the `FieldMask` definition,
         see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
         
        .google.protobuf.FieldMask create_mask = 6;
        Returns:
        Whether the createMask field is set.
      • getCreateMask

        com.google.protobuf.FieldMask getCreateMask()
         Field mask for creating Document fields. If mask path is empty,
         it means all fields are masked.
         For the `FieldMask` definition,
         see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
         
        .google.protobuf.FieldMask create_mask = 6;
        Returns:
        The createMask.
      • getCreateMaskOrBuilder

        com.google.protobuf.FieldMaskOrBuilder getCreateMaskOrBuilder()
         Field mask for creating Document fields. If mask path is empty,
         it means all fields are masked.
         For the `FieldMask` definition,
         see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
         
        .google.protobuf.FieldMask create_mask = 6;