📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Contentwarehouse
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 CloudAiPlatformTenantresourceCloudSqlInstanceConfig.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceGcsBucketConfig.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceIamPolicyBinding.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceInfraSpannerConfig.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceServiceAccountIdentity.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceTenantProjectConfig.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceTenantProjectResource.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceTenantResource.php
▶ Open 📄 View Source
🐘 CloudAiPlatformTenantresourceTenantServiceAccountIdentity.php
▶ Open 📄 View Source
🐘 GoogleApiServiceconsumermanagementV1BillingConfig.php
▶ Open 📄 View Source
🐘 GoogleApiServiceconsumermanagementV1PolicyBinding.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1AccessControlAction.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1Action.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ActionExecutorOutput.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ActionOutput.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1AddToFolderAction.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1CloudAIDocumentOption.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1CreateDocumentLinkRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1CreateDocumentMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1CreateDocumentRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1CreateDocumentResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1CustomWeightsMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DataUpdateAction.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DataValidationAction.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DateTimeArray.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DateTimeTypeOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DeleteDocumentAction.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DeleteDocumentRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1Document.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DocumentLink.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DocumentQuery.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DocumentReference.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1DocumentSchema.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1EnumArray.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1EnumTypeOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1EnumValue.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ExportToCdwPipeline.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1FetchAclRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1FetchAclResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1FileTypeFilter.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1FloatArray.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1FloatTypeOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1GcsIngestPipeline.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1GetDocumentRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1HistogramQuery.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1HistogramQueryResult.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1IngestPipelineConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1InitializeProjectRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1InitializeProjectResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1IntegerArray.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1IntegerTypeOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1InvalidRule.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ListDocumentSchemasResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ListLinkedSourcesRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ListLinkedSourcesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ListLinkedTargetsRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ListLinkedTargetsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ListRuleSetsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ListSynonymSetsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1LockDocumentRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1MapProperty.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1MapTypeOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1MergeFieldsOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ProcessorInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ProjectStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1Property.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1PropertyArray.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1PropertyDefinition.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1PropertyFilter.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1PropertyTypeOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1PublishAction.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1QAResult.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1QAResultHighlight.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RemoveFromFolderAction.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RequestMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1ResponseMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1Rule.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RuleActionsPair.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RuleEngineOutput.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RuleEvaluatorOutput.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RuleSet.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RunPipelineMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1RunPipelineRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1SearchDocumentsRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1SearchDocumentsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1SetAclRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1SetAclResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1SynonymSet.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1SynonymSetSynonym.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1TextArray.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1TextTypeOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1TimeFilter.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1TimestampArray.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1TimestampTypeOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1TimestampValue.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1UpdateDocumentMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1UpdateDocumentRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1UpdateDocumentResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1UpdateOptions.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1UpdateRuleSetRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1UserInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1Value.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1WeightedSchemaProperty.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1beta1InitializeProjectResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudContentwarehouseV1beta1UpdateDocumentMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1Barcode.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1BoundingPoly.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1Document.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentChunkedDocument.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayout.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentEntity.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentEntityNormalizedValue.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentEntityRelation.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPage.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageAnchor.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageBlock.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageDetectedBarcode.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageDetectedLanguage.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageDimension.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageFormField.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageImage.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageImageQualityScores.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageLayout.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageLine.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageMatrix.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageParagraph.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageSymbol.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageTable.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageTableTableCell.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageTableTableRow.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageToken.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentPageVisualElement.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentProvenance.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentProvenanceParent.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentRevision.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentRevisionHumanReview.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentShardInfo.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentStyle.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentStyleFontSize.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentTextAnchor.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1DocumentTextChange.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1NormalizedVertex.php
▶ Open 📄 View Source
🐘 GoogleCloudDocumentaiV1Vertex.php
▶ Open 📄 View Source
🐘 GoogleIamV1AuditConfig.php
▶ Open 📄 View Source
🐘 GoogleIamV1AuditLogConfig.php
▶ Open 📄 View Source
🐘 GoogleIamV1Binding.php
▶ Open 📄 View Source
🐘 GoogleIamV1Policy.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleProtobufEmpty.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source
🐘 GoogleTypeColor.php
▶ Open 📄 View Source
🐘 GoogleTypeDate.php
▶ Open 📄 View Source
🐘 GoogleTypeDateTime.php
▶ Open 📄 View Source
🐘 GoogleTypeExpr.php
▶ Open 📄 View Source
🐘 GoogleTypeInterval.php
▶ Open 📄 View Source
🐘 GoogleTypeMoney.php
▶ Open 📄 View Source
🐘 GoogleTypePostalAddress.php
▶ Open 📄 View Source
🐘 GoogleTypeTimeZone.php
▶ Open 📄 View Source

📄 Source: GoogleCloudDocumentaiV1Document.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Contentwarehouse;

class GoogleCloudDocumentaiV1Document extends \Google\Collection
{
  protected $collection_key = 'textStyles';
  protected $chunkedDocumentType = GoogleCloudDocumentaiV1DocumentChunkedDocument::class;
  protected $chunkedDocumentDataType = '';
  /**
   * Optional. Inline document content, represented as a stream of bytes. Note:
   * As with all `bytes` fields, protobuffers use a pure binary representation,
   * whereas JSON representations use base64.
   *
   * @var string
   */
  public $content;
  protected $documentLayoutType = GoogleCloudDocumentaiV1DocumentDocumentLayout::class;
  protected $documentLayoutDataType = '';
  protected $entitiesType = GoogleCloudDocumentaiV1DocumentEntity::class;
  protected $entitiesDataType = 'array';
  protected $entityRelationsType = GoogleCloudDocumentaiV1DocumentEntityRelation::class;
  protected $entityRelationsDataType = 'array';
  protected $errorType = GoogleRpcStatus::class;
  protected $errorDataType = '';
  /**
   * An IANA published [media type (MIME
   * type)](https://www.iana.org/assignments/media-types/media-types.xhtml).
   *
   * @var string
   */
  public $mimeType;
  protected $pagesType = GoogleCloudDocumentaiV1DocumentPage::class;
  protected $pagesDataType = 'array';
  protected $revisionsType = GoogleCloudDocumentaiV1DocumentRevision::class;
  protected $revisionsDataType = 'array';
  protected $shardInfoType = GoogleCloudDocumentaiV1DocumentShardInfo::class;
  protected $shardInfoDataType = '';
  /**
   * Optional. UTF-8 encoded text in reading order from the document.
   *
   * @var string
   */
  public $text;
  protected $textChangesType = GoogleCloudDocumentaiV1DocumentTextChange::class;
  protected $textChangesDataType = 'array';
  protected $textStylesType = GoogleCloudDocumentaiV1DocumentStyle::class;
  protected $textStylesDataType = 'array';
  /**
   * Optional. Currently supports Google Cloud Storage URI of the form
   * `gs://bucket_name/object_name`. Object versioning is not supported. For
   * more information, refer to [Google Cloud Storage Request
   * URIs](https://cloud.google.com/storage/docs/reference-uris).
   *
   * @var string
   */
  public $uri;

  /**
   * Document chunked based on chunking config.
   *
   * @param GoogleCloudDocumentaiV1DocumentChunkedDocument $chunkedDocument
   */
  public function setChunkedDocument(GoogleCloudDocumentaiV1DocumentChunkedDocument $chunkedDocument)
  {
    $this->chunkedDocument = $chunkedDocument;
  }
  /**
   * @return GoogleCloudDocumentaiV1DocumentChunkedDocument
   */
  public function getChunkedDocument()
  {
    return $this->chunkedDocument;
  }
  /**
   * Optional. Inline document content, represented as a stream of bytes. Note:
   * As with all `bytes` fields, protobuffers use a pure binary representation,
   * whereas JSON representations use base64.
   *
   * @param string $content
   */
  public function setContent($content)
  {
    $this->content = $content;
  }
  /**
   * @return string
   */
  public function getContent()
  {
    return $this->content;
  }
  /**
   * Parsed layout of the document.
   *
   * @param GoogleCloudDocumentaiV1DocumentDocumentLayout $documentLayout
   */
  public function setDocumentLayout(GoogleCloudDocumentaiV1DocumentDocumentLayout $documentLayout)
  {
    $this->documentLayout = $documentLayout;
  }
  /**
   * @return GoogleCloudDocumentaiV1DocumentDocumentLayout
   */
  public function getDocumentLayout()
  {
    return $this->documentLayout;
  }
  /**
   * A list of entities detected on Document.text. For document shards, entities
   * in this list may cross shard boundaries.
   *
   * @param GoogleCloudDocumentaiV1DocumentEntity[] $entities
   */
  public function setEntities($entities)
  {
    $this->entities = $entities;
  }
  /**
   * @return GoogleCloudDocumentaiV1DocumentEntity[]
   */
  public function getEntities()
  {
    return $this->entities;
  }
  /**
   * Placeholder. Relationship among Document.entities.
   *
   * @param GoogleCloudDocumentaiV1DocumentEntityRelation[] $entityRelations
   */
  public function setEntityRelations($entityRelations)
  {
    $this->entityRelations = $entityRelations;
  }
  /**
   * @return GoogleCloudDocumentaiV1DocumentEntityRelation[]
   */
  public function getEntityRelations()
  {
    return $this->entityRelations;
  }
  /**
   * Any error that occurred while processing this document.
   *
   * @param GoogleRpcStatus $error
   */
  public function setError(GoogleRpcStatus $error)
  {
    $this->error = $error;
  }
  /**
   * @return GoogleRpcStatus
   */
  public function getError()
  {
    return $this->error;
  }
  /**
   * An IANA published [media type (MIME
   * type)](https://www.iana.org/assignments/media-types/media-types.xhtml).
   *
   * @param string $mimeType
   */
  public function setMimeType($mimeType)
  {
    $this->mimeType = $mimeType;
  }
  /**
   * @return string
   */
  public function getMimeType()
  {
    return $this->mimeType;
  }
  /**
   * Visual page layout for the Document.
   *
   * @param GoogleCloudDocumentaiV1DocumentPage[] $pages
   */
  public function setPages($pages)
  {
    $this->pages = $pages;
  }
  /**
   * @return GoogleCloudDocumentaiV1DocumentPage[]
   */
  public function getPages()
  {
    return $this->pages;
  }
  /**
   * Placeholder. Revision history of this document.
   *
   * @param GoogleCloudDocumentaiV1DocumentRevision[] $revisions
   */
  public function setRevisions($revisions)
  {
    $this->revisions = $revisions;
  }
  /**
   * @return GoogleCloudDocumentaiV1DocumentRevision[]
   */
  public function getRevisions()
  {
    return $this->revisions;
  }
  /**
   * Information about the sharding if this document is sharded part of a larger
   * document. If the document is not sharded, this message is not specified.
   *
   * @param GoogleCloudDocumentaiV1DocumentShardInfo $shardInfo
   */
  public function setShardInfo(GoogleCloudDocumentaiV1DocumentShardInfo $shardInfo)
  {
    $this->shardInfo = $shardInfo;
  }
  /**
   * @return GoogleCloudDocumentaiV1DocumentShardInfo
   */
  public function getShardInfo()
  {
    return $this->shardInfo;
  }
  /**
   * Optional. UTF-8 encoded text in reading order from the document.
   *
   * @param string $text
   */
  public function setText($text)
  {
    $this->text = $text;
  }
  /**
   * @return string
   */
  public function getText()
  {
    return $this->text;
  }
  /**
   * Placeholder. A list of text corrections made to Document.text. This is
   * usually used for annotating corrections to OCR mistakes. Text changes for a
   * given revision may not overlap with each other.
   *
   * @param GoogleCloudDocumentaiV1DocumentTextChange[] $textChanges
   */
  public function setTextChanges($textChanges)
  {
    $this->textChanges = $textChanges;
  }
  /**
   * @return GoogleCloudDocumentaiV1DocumentTextChange[]
   */
  public function getTextChanges()
  {
    return $this->textChanges;
  }
  /**
   * Styles for the Document.text.
   *
   * @deprecated
   * @param GoogleCloudDocumentaiV1DocumentStyle[] $textStyles
   */
  public function setTextStyles($textStyles)
  {
    $this->textStyles = $textStyles;
  }
  /**
   * @deprecated
   * @return GoogleCloudDocumentaiV1DocumentStyle[]
   */
  public function getTextStyles()
  {
    return $this->textStyles;
  }
  /**
   * Optional. Currently supports Google Cloud Storage URI of the form
   * `gs://bucket_name/object_name`. Object versioning is not supported. For
   * more information, refer to [Google Cloud Storage Request
   * URIs](https://cloud.google.com/storage/docs/reference-uris).
   *
   * @param string $uri
   */
  public function setUri($uri)
  {
    $this->uri = $uri;
  }
  /**
   * @return string
   */
  public function getUri()
  {
    return $this->uri;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiV1Document::class, 'Google_Service_Contentwarehouse_GoogleCloudDocumentaiV1Document');
← Back