
    Vk                    2   d Z ddlmZ ddlmZ ddlmZ ddlmZ dZ	 G d dej                        Z G d	 d
ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d! d"ej                        Z G d# d$ej                        Z G d% d&ej                        Z G d' d(ej                        Z G d) d*ej                        Z G d+ d,ej                        Z G d- d.ej                        Z G d/ d0ej                        Z G d1 d2ej                        Z  G d3 d4ej                        Z! G d5 d6ej                        Z" G d7 d8ej                        Z# G d9 d:ej                        Z$ G d; d<ej                        Z% G d= d>ej                        Z& G d? d@ej                        Z' G dA dBej                        Z( G dC dDej                        Z) G dE dFej                        Z* G dG dHej                        Z+ G dI dJej                        Z, G dK dLej                        Z- G dM dNej                        Z. G dO dPej                        Z/ G dQ dRej                        Z0 G dS dTej                        Z1 G dU dVej                        Z2 G dW dXej                        Z3 G dY dZej                        Z4 G d[ d\ej                        Z5 G d] d^ej                        Z6 G d_ d`ej                        Z7 G da dbej                        Z8 G dc ddej                        Z9 G de dfej                        Z: G dg dhej                        Z; G di djej                        Z< G dk dlej                        Z= G dm dnej                        Z> G do dpej                        Z? G dq drej                        Z@ G ds dtej                        ZA G du dvej                        ZB G dw dxej                        ZC G dy dzej                        ZD G d{ d|ej                        ZE G d} d~ej                        ZF G d dej                        ZG G d dej                        ZH G d dej                        ZI G d dej                        ZJ G d dej                        ZK G d dej                        ZL G d dej                        ZM G d dej                        ZN G d dej                        ZO G d dej                        ZP G d dej                        ZQ G d dej                        ZR G d dej                        ZS G d dej                        ZT G d dej                        ZU G d dej                        ZV G d dej                        ZW G d dej                        ZX G d dej                        ZY G d dej                        ZZ G d dej                        Z[ G d dej                        Z\ G d dej                        Z] G d dej                        Z^ G d dej                        Z_ G d dej                        Z` G d dej                        Za G d dej                        Zb G d dej                        Zc G d dej                        Zd G d dej                        Ze G d dej                        Zf G d dej                        Zg G d dej                        Zh G dÄ dej                        Zi G dń dej                        Zj G dǄ dej                        Zk G dɄ dej                        Zl G d˄ dej                        Zm G d̈́ dej                        Zn G dτ dej                        Zo G dф dej                        Zp G dӄ dej                        Zq G dՄ dej                        Zr G dׄ dej                        Zs G dل dej                        Zt G dۄ dej                        Zu G d݄ dej                        Zv G d߄ dej                        Zw G d dej                        Zx G d dej                        Zy G d dej                        Zz G d dej                        Z{ G d dej                        Z| G d dej                        Z} G d dej                        Z~ G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d	 d
ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d! d"ej                        Z G d# d$ej                        Z G d% d&ej                        Z G d' d(ej                        Z G d) d*ej                        Z G d+ d,ej                        Z G d- d.ej                        Z G d/ d0ej                        Z G d1 d2ej                        Z G d3 d4ej                        Z G d5 d6ej                        Z G d7 d8ej                        Z G d9 d:ej                        Z G d; d<ej                        Z G d= d>ej                        Z G d? d@ej                        Z G dA dBej                        Z G dC dDej                        Z G dE dFej                        Z G dG dHej                        Z G dI dJej                        Z G dK dLej                        Z G dM dNej                        Z G dO dPej                        Z G dQ dRej                        Z G dS dTej                        Z G dU dVej                        Z G dW dXej                        Z G dY dZej                        Z G d[ d\ej                        Z G d] d^ej                        Z G d_ d`ej                        Z G da dbej                        Z G dc ddej                        Z G de dfej                        Z G dg dhej                        Z G di djej                        Z G dk dlej                        Z G dm dnej                        Z G do dpej                        Z G dq drej                        Z G ds dtej                        Z G du dvej                        Z G dw dxej                        Z G dy dzej                        Z G d{ d|ej                        Z G d} d~ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G dÄ dej                        Z G dń dej                        Z G dǄ dej                        Z G dɄ dej                        Z G d˄ dej                        Z G d̈́ dej                        Z G dτ dej                        Z G dф dej                        Z G dӄ dej                        Z G dՄ dej                        Z G dׄ dej                        Z G dل dej                        Z G dۄ dej                        Z G d݄ dej                        Z G d߄ dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z  G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d dej                        Z G d dej                        Z	 G d dej                        Z
 G d dej                        Z G d	 d
ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d! d"ej                        Z G d# d$ej                        Z G d% d&ej                        Z G d' d(ej                        Z G d) d*ej                        Z G d+ d,ej                        Z G d- d.ej                        Z G d/ d0ej                        Z G d1 d2ej                        Z  G d3 d4ej                        Z! G d5 d6ej                        Z" G d7 d8ej                        Z# G d9 d:ej                        Z$ G d; d<ej                        Z% G d= d>ej                        Z& G d? d@ej                        Z' G dA dBej                        Z( G dC dDej                        Z) ejT                  e)dEdF        ejV                  e)jX                  dGdH        ejV                  e)jX                  dIdJ       yK(L  zGenerated message classes for documentai version v1.

Service to parse structured information from unstructured or semi-structured
documents using state-of-the-art Google AI such as natural language, computer
vision, translation, and AutoML.
    )absolute_import)messages)encoding)extra_types
documentaic                   :    e Zd ZdZ ej
                  ddd      Zy)6CloudAiDocumentaiLabHifiaToolsValidationValidatorInputzDefinition of the validation rules. Those are the input to the validator
  logic and they are used to validate a document.

  Fields:
    validationRules: A
      CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
      attribute.
  DCloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule   TrepeatedN)__name__
__module____qualname____doc__	_messagesMessageFieldvalidationRules     Qlib/googlecloudsdk/generated_clients/apis/documentai/v1/documentai_v1_messages.pyr	   r	      s)     +I**+qst  @D  E/r   r	   c                       e Zd ZdZ ej
                  d      Z ej                  dd      Z ej                  dd      Z	 ej                  dd      Z
 ej
                  d	      Zy
)r
   aS  A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
  object.

  Fields:
    description: Description of the validation rule. This has no use but for
      documentation
    fieldOccurrences: A CloudAiDocumentaiLabHifiaToolsValidationValidatorInput
      ValidationRuleFieldOccurrences attribute.
    fieldRegex: A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValida
      tionRuleFieldRegex attribute.
    formValidation: A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputVa
      lidationRuleFormValidation attribute.
    name: Name of the validation rule.
  r   TCloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences   NCloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex   RCloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation      N)r   r   r   r   r   StringFielddescriptionr   fieldOccurrences
fieldRegexformValidationnamer   r   r   r
   r
       s     &	%%a(++Y++  -C  EF  G%y%%&vxyz*)9))*~  AB  C.			q	!$r   r
   c                   `    e Zd ZdZ ej
                  dej                  j                        Zy)LCloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstantzbThe constant value used in the validation rules.

  Fields:
    floatValue: A number attribute.
  r   variantN)	r   r   r   r   r   
FloatFieldVariantFLOAT
floatValuer   r   r   r'   r'   7   s)     $y##Ay/@/@/F/FG*r   r'   c                   Z    e Zd ZdZ ej
                  dd      Z ej                  d      Zy)ICloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFielda  A
  CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
  object.

  Fields:
    defaultValue: Default value to use if the field is not present. If the
      field is missing and the default value is not set, the validation run as
      if the field is not present in the validation logic.
    fieldName: The field name to validate. This can be a simple field name or
      a nested field one using the ':' (meant as an aggregator) or '*' (meant
      as foreach) operators.
  r'   r   r   N)	r   r   r   r   r   r   defaultValuer    	fieldNamer   r   r   r/   r/   A   s1     (''(vxyz,#i##A&)r   r/   c                       e Zd ZdZ ej
                  dd      Z ej                  dej                  j                        Z
 ej                  dej                  j                        Zy)r   a  A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFi
  eldOccurrences object.

  Fields:
    field: A
      CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFiel
      d attribute.
    maxOccurrences: A integer attribute.
    minOccurrences: Min and max occurrences of the field. If not set, there is
      limit set. The defined interval is a closed-closed interval, i.e. [min,
      max].
  r/   r   r   r(   r   N)r   r   r   r   r   r   fieldIntegerFieldr+   UINT32maxOccurrencesminOccurrencesr   r   r   r   r   S   s_     !)
 
 !lno
p%)9))!Y5F5F5M5MN.)9))!Y5F5F5M5MN.r   r   c                   Z    e Zd ZdZ ej
                  dd      Z ej                  d      Zy)r   a  A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFi
  eldRegex object.

  Fields:
    field: A
      CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFiel
      d attribute.
    pattern: Python regex to validate the field values.
  r/   r   r   N)	r   r   r   r   r   r   r3   r    patternr   r   r   r   r   f   s1     !)
 
 !lno
p%!I!!!$'r   r   c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dd      Z	 ej                  dd      Zy)	r   a-  A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFo
  rmValidation object.

  Enums:
    ValidationOperatorValueValuesEnum: The relational operator to be applied
      to the operands.

  Fields:
    leftOperand: A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValid
      ationRuleFormValidationOperation attribute.
    rightOperand: A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputVali
      dationRuleFormValidationOperation attribute.
    validationOperator: The relational operator to be applied to the operands.
  c                   ,    e Zd ZdZdZdZdZdZdZdZ	dZ
y	)
tCloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation.ValidationOperatorValueValuesEnumaw  The relational operator to be applied to the operands.

    Values:
      OPERATION_TYPE_UNSPECIFIED: <no description>
      OPERATION_TYPE_EQ: <no description>
      OPERATION_TYPE_NE: <no description>
      OPERATION_TYPE_LT: <no description>
      OPERATION_TYPE_LE: <no description>
      OPERATION_TYPE_GT: <no description>
      OPERATION_TYPE_GE: <no description>
    r   r   r   r   r   r      N)r   r   r   r   OPERATION_TYPE_UNSPECIFIEDOPERATION_TYPE_EQOPERATION_TYPE_NEOPERATION_TYPE_LTOPERATION_TYPE_LEOPERATION_TYPE_GTOPERATION_TYPE_GEr   r   r   !ValidationOperatorValueValuesEnumr<      s3    
 "#r   rE   [CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperationr   r   r   N)r   r   r   r   r   EnumrE   r   leftOperandrightOperand	EnumFieldvalidationOperatorr   r   r   r   r   u   sp    ).. ( '	&&  (E  GH  I+'''  )F  HI  J,*y**+NPQRr   r   c                       e Zd ZdZ G d dej
                        Z ej                  ddd      Z ej                  dd	d      Z	 ej                  dd
      Z ej                  d dd      Zy)rF   a  A CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFo
  rmValidationOperation object.

  Enums:
    OperationTypeValueValuesEnum: The operation type to be applied to all the
      operands.

  Fields:
    constants: A list of constants to be used as operands.
    fields: A list of fields to be used as operands.
    operationType: The operation type to be applied to all the operands.
    operations: A list of recursive operations to be used as operands.
  c                   8    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZy)xCloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation.OperationTypeValueValuesEnuma  The operation type to be applied to all the operands.

    Values:
      OPERATION_TYPE_UNSPECIFIED: <no description>
      OPERATION_TYPE_SUM: <no description>
      OPERATION_TYPE_SUB: <no description>
      OPERATION_TYPE_MUL: <no description>
      OPERATION_TYPE_DIV: <no description>
      OPERATION_TYPE_MAX: <no description>
      OPERATION_TYPE_MIN: <no description>
      OPERATION_TYPE_ABS: <no description>
      OPERATION_TYPE_UNIQUE: <no description>
      OPERATION_TYPE_COUNT: <no description>
    r   r   r   r   r   r   r=         	   N)r   r   r   r   r>   OPERATION_TYPE_SUMOPERATION_TYPE_SUBOPERATION_TYPE_MULOPERATION_TYPE_DIVOPERATION_TYPE_MAXOPERATION_TYPE_MINOPERATION_TYPE_ABSOPERATION_TYPE_UNIQUEOPERATION_TYPE_COUNTr   r   r   OperationTypeValueValuesEnumrN      sE     "#r   r[   r'   r   Tr   r/   r   r   r   N)r   r   r   r   r   rG   r[   r   	constantsfieldsrJ   operationType
operationsr   r   r   rF   rF      s    Y^^ 4 %i$$%suv  BF  G)!9!!"mop{  A&%)%%&DaH-%y%%  'D  FG  RV  W*r   rF   c                   8    e Zd ZdZ ej
                  dd      Zy)!DocumentaiOperationsDeleteRequestzuA DocumentaiOperationsDeleteRequest object.

  Fields:
    name: The name of the operation resource to be deleted.
  r   TrequiredNr   r   r   r   r   r    r%   r   r   r   ra   ra           
		q4	0$r   ra   c                   8    e Zd ZdZ ej
                  dd      Zy)5DocumentaiProjectsLocationsFetchProcessorTypesRequestzA DocumentaiProjectsLocationsFetchProcessorTypesRequest object.

  Fields:
    parent: Required. The location of processor types to list. Format:
      `projects/{project}/locations/{location}`.
  r   Trb   N)r   r   r   r   r   r    parentr   r   r   rg   rg      s     !9  T2&r   rg   c                   8    e Zd ZdZ ej
                  dd      Zy)%DocumentaiProjectsLocationsGetRequestzgA DocumentaiProjectsLocationsGetRequest object.

  Fields:
    name: Resource name for the location.
  r   Trb   Nrd   r   r   r   rj   rj      re   r   rj   c                       e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej
                  dd      Z ej                  dej                  j                  	      Z ej
                  d
      Zy)&DocumentaiProjectsLocationsListRequesta  A DocumentaiProjectsLocationsListRequest object.

  Fields:
    extraLocationTypes: Optional. Do not use this field. It is unsupported and
      is ignored unless explicitly documented otherwise. This is primarily for
      internal usage.
    filter: A filter to narrow down results to a preferred subset. The
      filtering language accepts strings like `"displayName=tokyo"`, and is
      documented in more detail in [AIP-160](https://google.aip.dev/160).
    name: The resource that owns the locations collection, if applicable.
    pageSize: The maximum number of results to return. If not set, the service
      selects a default.
    pageToken: A page token received from the `next_page_token` field in the
      response. Send that page token to receive the subsequent page.
  r   Tr   r   r   rb   r   r(   r   N)r   r   r   r   r   r    extraLocationTypesfilterr%   r4   r+   INT32pageSize	pageTokenr   r   r   rl   rl      sv      -y,,Q> 9  #&			q4	0$#Y##Ay/@/@/F/FG(#i##A&)r   rl   c                   8    e Zd ZdZ ej
                  dd      Zy)2DocumentaiProjectsLocationsOperationsCancelRequestzA DocumentaiProjectsLocationsOperationsCancelRequest object.

  Fields:
    name: The name of the operation resource to be cancelled.
  r   Trb   Nrd   r   r   r   rs   rs     re   r   rs   c                   8    e Zd ZdZ ej
                  dd      Zy)/DocumentaiProjectsLocationsOperationsGetRequestzuA DocumentaiProjectsLocationsOperationsGetRequest object.

  Fields:
    name: The name of the operation resource.
  r   Trb   Nrd   r   r   r   ru   ru     re   r   ru   c                       e Zd ZdZ ej
                  d      Z ej
                  dd      Z ej                  dej                  j                        Z ej
                  d      Zy	)
0DocumentaiProjectsLocationsOperationsListRequestzA DocumentaiProjectsLocationsOperationsListRequest object.

  Fields:
    filter: The standard list filter.
    name: The name of the operation's parent resource.
    pageSize: The standard list page size.
    pageToken: The standard list page token.
  r   r   Trb   r   r(   r   N)r   r   r   r   r   r    rn   r%   r4   r+   ro   rp   rq   r   r   r   rw   rw     sa     !9  #&			q4	0$#Y##Ay/@/@/F/FG(#i##A&)r   rw   c                   8    e Zd ZdZ ej
                  dd      Zy)3DocumentaiProjectsLocationsProcessorTypesGetRequestzA DocumentaiProjectsLocationsProcessorTypesGetRequest object.

  Fields:
    name: Required. The processor type resource name.
  r   Trb   Nrd   r   r   r   ry   ry   (  re   r   ry   c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
 ej                  dd      Zy)	4DocumentaiProjectsLocationsProcessorTypesListRequesta  A DocumentaiProjectsLocationsProcessorTypesListRequest object.

  Fields:
    pageSize: The maximum number of processor types to return. If unspecified,
      at most `100` processor types will be returned. The maximum value is
      `500`. Values above `500` will be coerced to `500`.
    pageToken: Used to retrieve the next page of results, empty if at the end
      of the list.
    parent: Required. The location of processor types to list. Format:
      `projects/{project}/locations/{location}`.
  r   r(   r   r   Trb   Nr   r   r   r   r   r4   r+   ro   rp   r    rq   rh   r   r   r   r{   r{   2  sO    
 $Y##Ay/@/@/F/FG(#i##A&) 9  T2&r   r{   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)8DocumentaiProjectsLocationsProcessorsBatchProcessRequesta  A DocumentaiProjectsLocationsProcessorsBatchProcessRequest object.

  Fields:
    googleCloudDocumentaiV1BatchProcessRequest: A
      GoogleCloudDocumentaiV1BatchProcessRequest resource to be passed as the
      request body.
    name: Required. The resource name of Processor or ProcessorVersion.
      Format:
      `projects/{project}/locations/{location}/processors/{processor}`, or `pr
      ojects/{project}/locations/{location}/processors/{processor}/processorVe
      rsions/{processorVersion}`
  *GoogleCloudDocumentaiV1BatchProcessRequestr   r   Trb   N	r   r   r   r   r   r   *googleCloudDocumentaiV1BatchProcessRequestr    r%   r   r   r   r~   r~   D  s5     0Fy/E/EFrtu/v,			q4	0$r   r~   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)2DocumentaiProjectsLocationsProcessorsCreateRequestaY  A DocumentaiProjectsLocationsProcessorsCreateRequest object.

  Fields:
    googleCloudDocumentaiV1Processor: A GoogleCloudDocumentaiV1Processor
      resource to be passed as the request body.
    parent: Required. The parent (project and location) under which to create
      the processor. Format: `projects/{project}/locations/{location}`
   GoogleCloudDocumentaiV1Processorr   r   Trb   N)	r   r   r   r   r   r    googleCloudDocumentaiV1Processorr    rh   r   r   r   r   r   V  s4     &<Y%;%;<^`a%b" 9  T2&r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)2DocumentaiProjectsLocationsProcessorsDeleteRequestzA DocumentaiProjectsLocationsProcessorsDeleteRequest object.

  Fields:
    name: Required. The processor resource name to be deleted.
  r   Trb   Nrd   r   r   r   r   r   d  re   r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)3DocumentaiProjectsLocationsProcessorsDisableRequesta'  A DocumentaiProjectsLocationsProcessorsDisableRequest object.

  Fields:
    googleCloudDocumentaiV1DisableProcessorRequest: A
      GoogleCloudDocumentaiV1DisableProcessorRequest resource to be passed as
      the request body.
    name: Required. The processor resource name to be disabled.
  .GoogleCloudDocumentaiV1DisableProcessorRequestr   r   Trb   N)	r   r   r   r   r   r   .googleCloudDocumentaiV1DisableProcessorRequestr    r%   r   r   r   r   r   n  s5     4J93I3IJz|}3~0			q4	0$r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)2DocumentaiProjectsLocationsProcessorsEnableRequesta#  A DocumentaiProjectsLocationsProcessorsEnableRequest object.

  Fields:
    googleCloudDocumentaiV1EnableProcessorRequest: A
      GoogleCloudDocumentaiV1EnableProcessorRequest resource to be passed as
      the request body.
    name: Required. The processor resource name to be enabled.
  -GoogleCloudDocumentaiV1EnableProcessorRequestr   r   Trb   N)	r   r   r   r   r   r   -googleCloudDocumentaiV1EnableProcessorRequestr    r%   r   r   r   r   r   |  s5     3I)2H2HIxz{2|/			q4	0$r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)/DocumentaiProjectsLocationsProcessorsGetRequestzxA DocumentaiProjectsLocationsProcessorsGetRequest object.

  Fields:
    name: Required. The processor resource name.
  r   Trb   Nrd   r   r   r   r   r     re   r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)KDocumentaiProjectsLocationsProcessorsHumanReviewConfigReviewDocumentRequestaz  A
  DocumentaiProjectsLocationsProcessorsHumanReviewConfigReviewDocumentRequest
  object.

  Fields:
    googleCloudDocumentaiV1ReviewDocumentRequest: A
      GoogleCloudDocumentaiV1ReviewDocumentRequest resource to be passed as
      the request body.
    humanReviewConfig: Required. The resource name of the HumanReviewConfig
      that the document will be reviewed with.
  ,GoogleCloudDocumentaiV1ReviewDocumentRequestr   r   Trb   N)	r   r   r   r   r   r   ,googleCloudDocumentaiV1ReviewDocumentRequestr    humanReviewConfigr   r   r   r   r     s6    
 2H1G1GHvxy1z.+i++A=r   r   c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
 ej                  dd      Zy)	0DocumentaiProjectsLocationsProcessorsListRequesta.  A DocumentaiProjectsLocationsProcessorsListRequest object.

  Fields:
    pageSize: The maximum number of processors to return. If unspecified, at
      most `50` processors will be returned. The maximum value is `100`.
      Values above `100` will be coerced to `100`.
    pageToken: We will return the processors sorted by creation time. The page
      token will point to the next processor.
    parent: Required. The parent (project and location) which owns this
      collection of Processors. Format:
      `projects/{project}/locations/{location}`
  r   r(   r   r   Trb   Nr|   r   r   r   r   r     sO     $Y##Ay/@/@/F/FG(#i##A&) 9  T2&r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)3DocumentaiProjectsLocationsProcessorsProcessRequestaP  A DocumentaiProjectsLocationsProcessorsProcessRequest object.

  Fields:
    googleCloudDocumentaiV1ProcessRequest: A
      GoogleCloudDocumentaiV1ProcessRequest resource to be passed as the
      request body.
    name: Required. The resource name of the Processor or ProcessorVersion to
      use for processing. If a Processor is specified, the server will use its
      default version. Format:
      `projects/{project}/locations/{location}/processors/{processor}`, or `pr
      ojects/{project}/locations/{location}/processors/{processor}/processorVe
      rsions/{processorVersion}`
  %GoogleCloudDocumentaiV1ProcessRequestr   r   Trb   N	r   r   r   r   r   r   %googleCloudDocumentaiV1ProcessRequestr    r%   r   r   r   r   r     s5     +A)*@*@Ahjk*l'			q4	0$r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)IDocumentaiProjectsLocationsProcessorsProcessorVersionsBatchProcessRequesta  A
  DocumentaiProjectsLocationsProcessorsProcessorVersionsBatchProcessRequest
  object.

  Fields:
    googleCloudDocumentaiV1BatchProcessRequest: A
      GoogleCloudDocumentaiV1BatchProcessRequest resource to be passed as the
      request body.
    name: Required. The resource name of Processor or ProcessorVersion.
      Format:
      `projects/{project}/locations/{location}/processors/{processor}`, or `pr
      ojects/{project}/locations/{location}/processors/{processor}/processorVe
      rsions/{processorVersion}`
  r   r   r   Trb   Nr   r   r   r   r   r     s5     0Fy/E/EFrtu/v,			q4	0$r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)CDocumentaiProjectsLocationsProcessorsProcessorVersionsDeleteRequestzA DocumentaiProjectsLocationsProcessorsProcessorVersionsDeleteRequest
  object.

  Fields:
    name: Required. The processor version resource name to be deleted.
  r   Trb   Nrd   r   r   r   r   r          
		q4	0$r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)CDocumentaiProjectsLocationsProcessorsProcessorVersionsDeployRequestaM  A DocumentaiProjectsLocationsProcessorsProcessorVersionsDeployRequest
  object.

  Fields:
    googleCloudDocumentaiV1DeployProcessorVersionRequest: A
      GoogleCloudDocumentaiV1DeployProcessorVersionRequest resource to be
      passed as the request body.
    name: Required. The processor version resource name to be deployed.
  4GoogleCloudDocumentaiV1DeployProcessorVersionRequestr   r   Trb   N)	r   r   r   r   r   r   4googleCloudDocumentaiV1DeployProcessorVersionRequestr    r%   r   r   r   r   r     s@     :P9O9O  QG  IJ  :K6			q4	0$r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)UDocumentaiProjectsLocationsProcessorsProcessorVersionsEvaluateProcessorVersionRequesta  A DocumentaiProjectsLocationsProcessorsProcessorVersionsEvaluateProcesso
  rVersionRequest object.

  Fields:
    googleCloudDocumentaiV1EvaluateProcessorVersionRequest: A
      GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest resource to be
      passed as the request body.
    processorVersion: Required. The resource name of the ProcessorVersion to
      evaluate. `projects/{project}/locations/{location}/processors/{processor
      }/processorVersions/{processorVersion}`
  6GoogleCloudDocumentaiV1EvaluateProcessorVersionRequestr   r   Trb   N)	r   r   r   r   r   r   6googleCloudDocumentaiV1EvaluateProcessorVersionRequestr    processorVersionr   r   r   r   r     sA    
 <R9;Q;Q  SK  MN  <O8*Y**1t<r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)KDocumentaiProjectsLocationsProcessorsProcessorVersionsEvaluationsGetRequesta4  A
  DocumentaiProjectsLocationsProcessorsProcessorVersionsEvaluationsGetRequest
  object.

  Fields:
    name: Required. The resource name of the Evaluation to get. `projects/{pro
      ject}/locations/{location}/processors/{processor}/processorVersions/{pro
      cessorVersion}/evaluations/{evaluation}`
  r   Trb   Nrd   r   r   r   r   r   
  s     
		q4	0$r   r   c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
 ej                  dd      Zy)	LDocumentaiProjectsLocationsProcessorsProcessorVersionsEvaluationsListRequestah  A
  DocumentaiProjectsLocationsProcessorsProcessorVersionsEvaluationsListRequest
  object.

  Fields:
    pageSize: The standard list page size. If unspecified, at most `5`
      evaluations are returned. The maximum value is `100`. Values above `100`
      are coerced to `100`.
    pageToken: A page token, received from a previous `ListEvaluations` call.
      Provide this to retrieve the subsequent page.
    parent: Required. The resource name of the ProcessorVersion to list
      evaluations for. `projects/{project}/locations/{location}/processors/{pr
      ocessor}/processorVersions/{processorVersion}`
  r   r(   r   r   Trb   Nr|   r   r   r   r   r     sO     $Y##Ay/@/@/F/FG(#i##A&) 9  T2&r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)@DocumentaiProjectsLocationsProcessorsProcessorVersionsGetRequestzA DocumentaiProjectsLocationsProcessorsProcessorVersionsGetRequest
  object.

  Fields:
    name: Required. The processor resource name.
  r   Trb   Nrd   r   r   r   r   r   -  r   r   r   c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
 ej                  dd      Zy)	ADocumentaiProjectsLocationsProcessorsProcessorVersionsListRequestal  A DocumentaiProjectsLocationsProcessorsProcessorVersionsListRequest
  object.

  Fields:
    pageSize: The maximum number of processor versions to return. If
      unspecified, at most `10` processor versions will be returned. The
      maximum value is `20`. Values above `20` will be coerced to `20`.
    pageToken: We will return the processor versions sorted by creation time.
      The page token will point to the next processor version.
    parent: Required. The parent (project, location and processor) to list all
      versions. Format:
      `projects/{project}/locations/{location}/processors/{processor}`
  r   r(   r   r   Trb   Nr|   r   r   r   r   r   8  sO     $Y##Ay/@/@/F/FG(#i##A&) 9  T2&r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)DDocumentaiProjectsLocationsProcessorsProcessorVersionsProcessRequestac  A DocumentaiProjectsLocationsProcessorsProcessorVersionsProcessRequest
  object.

  Fields:
    googleCloudDocumentaiV1ProcessRequest: A
      GoogleCloudDocumentaiV1ProcessRequest resource to be passed as the
      request body.
    name: Required. The resource name of the Processor or ProcessorVersion to
      use for processing. If a Processor is specified, the server will use its
      default version. Format:
      `projects/{project}/locations/{location}/processors/{processor}`, or `pr
      ojects/{project}/locations/{location}/processors/{processor}/processorVe
      rsions/{processorVersion}`
  r   r   r   Trb   Nr   r   r   r   r   r   L  s5     +A)*@*@Ahjk*l'			q4	0$r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)BDocumentaiProjectsLocationsProcessorsProcessorVersionsTrainRequesta  A DocumentaiProjectsLocationsProcessorsProcessorVersionsTrainRequest
  object.

  Fields:
    googleCloudDocumentaiV1TrainProcessorVersionRequest: A
      GoogleCloudDocumentaiV1TrainProcessorVersionRequest resource to be
      passed as the request body.
    parent: Required. The parent (project, location and processor) to create
      the new version for. Format:
      `projects/{project}/locations/{location}/processors/{processor}`.
  3GoogleCloudDocumentaiV1TrainProcessorVersionRequestr   r   Trb   N)	r   r   r   r   r   r   3googleCloudDocumentaiV1TrainProcessorVersionRequestr    rh   r   r   r   r   r   `  s@    
 9O	8N8N  PE  GH  9I5 9  T2&r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)EDocumentaiProjectsLocationsProcessorsProcessorVersionsUndeployRequestaU  A DocumentaiProjectsLocationsProcessorsProcessorVersionsUndeployRequest
  object.

  Fields:
    googleCloudDocumentaiV1UndeployProcessorVersionRequest: A
      GoogleCloudDocumentaiV1UndeployProcessorVersionRequest resource to be
      passed as the request body.
    name: Required. The processor version resource name to be undeployed.
  6GoogleCloudDocumentaiV1UndeployProcessorVersionRequestr   r   Trb   N)	r   r   r   r   r   r   6googleCloudDocumentaiV1UndeployProcessorVersionRequestr    r%   r   r   r   r   r   q  s@     <R9;Q;Q  SK  MN  <O8			q4	0$r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)FDocumentaiProjectsLocationsProcessorsSetDefaultProcessorVersionRequestam  A DocumentaiProjectsLocationsProcessorsSetDefaultProcessorVersionRequest
  object.

  Fields:
    googleCloudDocumentaiV1SetDefaultProcessorVersionRequest: A
      GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest resource to be
      passed as the request body.
    processor: Required. The resource name of the Processor to change default
      version.
  8GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequestr   r   Trb   N)	r   r   r   r   r   r   8googleCloudDocumentaiV1SetDefaultProcessorVersionRequestr    	processorr   r   r   r   r     s@    	 >TY=S=S  UO  QR  >S:#i##A5)r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)&DocumentaiProjectsOperationsGetRequestzlA DocumentaiProjectsOperationsGetRequest object.

  Fields:
    name: The name of the operation resource.
  r   Trb   Nrd   r   r   r   r   r     re   r   r   c                       e Zd ZdZ ej
                  dd      Z ej
                  ddd      Z ej                  dej                  j                  	      Zy
)8GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataa:  Metadata of the auto-labeling documents operation.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    individualAutoLabelStatuses: The list of individual auto-labeling statuses
      of the dataset documents.
    totalDocumentCount: Total number of the auto-labeling documents.
  5GoogleCloudDocumentaiUiv1beta3CommonOperationMetadatar   QGoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatusr   Tr   r   r(   N)r   r   r   r   r   r   commonMetadataindividualAutoLabelStatusesr4   r+   ro   totalDocumentCountr   r   r   r   r     sh     *9))*acde. 6	 6 6  8K  MN  Y]  !^-y--a9J9J9P9PQr   r   c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)r   zThe status of individual documents in the auto-labeling process.

  Fields:
    documentId: The document id of the auto-labeled document. This will
      replace the gcs_uri.
    status: The status of the document auto-labeling.
  (GoogleCloudDocumentaiUiv1beta3DocumentIdr   GoogleRpcStatusr   Nr   r   r   r   r   r   
documentIdstatusr   r   r   r   r     s4     &y%%&PRST*!9!!"3Q7&r   r   c                       e Zd ZdZy)8GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponsez0The response proto of AutoLabelDocuments method.Nr   r   r   r   r   r   r   r   r         9r   r   c                       e Zd ZdZ ej
                  dd      Z ej                  dej                  j                        Z
 ej
                  ddd	      Z ej                  d
ej                  j                        Zy):GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataa  A GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata object.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    errorDocumentCount: Total number of documents that failed to be deleted in
      storage.
    individualBatchDeleteStatuses: The list of response details of each
      document.
    totalDocumentCount: Total number of documents deleting from dataset.
  r   r   r   r(   UGoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatusr   Tr   r   Nr   r   r   r   r   r   r   r4   r+   ro   errorDocumentCountindividualBatchDeleteStatusesr   r   r   r   r   r     s    	 *9))*acde.-y--a9J9J9P9PQ"8)"8"8  :Q  ST  _c  #d-y--a9J9J9P9PQr   r   c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)r   The status of each individual document in the batch delete process.

  Fields:
    documentId: The document id of the document.
    status: The status of deleting the document in storage.
  r   r   r   r   Nr   r   r   r   r   r     4     &y%%&PRST*!9!!"3Q7&r   r   c                       e Zd ZdZy):GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse+Response of the delete documents operation.Nr   r   r   r   r   r         4r   r   c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  dd      Z ej                  dd	      Z ej                  d
dd      Zy)8GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataa  A GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata object.

  Enums:
    DestDatasetTypeValueValuesEnum: The destination dataset split type.
    DestSplitTypeValueValuesEnum: The destination dataset split type.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    destDatasetType: The destination dataset split type.
    destSplitType: The destination dataset split type.
    individualBatchMoveStatuses: The list of response details of each
      document.
  c                        e Zd ZdZdZdZdZdZy)WGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.DestDatasetTypeValueValuesEnum:  The destination dataset split type.

    Values:
      DATASET_SPLIT_TYPE_UNSPECIFIED: Default value if the enum is not set.
      DATASET_SPLIT_TRAIN: Identifies the train documents.
      DATASET_SPLIT_TEST: Identifies the test documents.
      DATASET_SPLIT_UNASSIGNED: Identifies the unassigned documents.
    r   r   r   r   Nr   r   r   r   DATASET_SPLIT_TYPE_UNSPECIFIEDDATASET_SPLIT_TRAINDATASET_SPLIT_TESTDATASET_SPLIT_UNASSIGNEDr   r   r   DestDatasetTypeValueValuesEnumr     !     &'" r   r   c                        e Zd ZdZdZdZdZdZy)UGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.DestSplitTypeValueValuesEnumr   r   r   r   r   Nr   r   r   r   DestSplitTypeValueValuesEnumr     r   r   r   r   r   r   r   QGoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatusr   Tr   N)r   r   r   r   r   rG   r   r   r   r   rJ   destDatasetTypedestSplitTypeindividualBatchMoveStatusesr   r   r   r   r     s    !y~~ !!Y^^ ! *9))*acde.'I''(H!L/%)%%&DaH- 6	 6 6  8K  MN  Y]  !^r   r   c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)r   zThe status of each individual document in the batch move process.

  Fields:
    documentId: The document id of the document.
    status: The status of moving the document.
  r   r   r   r   Nr   r   r   r   r   r     r   r   r   c                       e Zd ZdZy)8GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponsez/Response of the batch move documents operation.Nr   r   r   r   r   r         8r   r   c                   `    e Zd ZdZ ej
                  dd      Z ej
                  ddd      Zy)	:GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadatazA GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata object.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    individualBatchUpdateStatuses: The list of response details of each
      document.
  r   r   UGoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatusr   Tr   N)r   r   r   r   r   r   r   individualBatchUpdateStatusesr   r   r   r   r     sG     *9))*acde."8)"8"8  :Q  ST  _c  #dr   r   c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)r   zThe status of each individual document in the batch update process.

  Fields:
    documentId: The document id of the document.
    status: The status of updating the document in storage.
  r   r   r   r   Nr   r   r   r   r   r   *  r   r   r   c                       e Zd ZdZy):GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponsez1Response of the batch update documents operation.Nr   r   r   r   r   r   6      :r   r   c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  dd      Z ej                  d      Z ej                  d      Zy	)
r     The common metadata for long running operations.

  Enums:
    StateValueValuesEnum: The state of the operation.

  Fields:
    createTime: The creation time of the operation.
    resource: A related resource to this operation.
    state: The state of the operation.
    stateMessage: A message providing more details about the current state of
      processing.
    updateTime: The last update time of the operation.
  c                   (    e Zd ZdZdZdZdZdZdZdZ	y)	JGoogleCloudDocumentaiUiv1beta3CommonOperationMetadata.StateValueValuesEnum#  The state of the operation.

    Values:
      STATE_UNSPECIFIED: Unspecified state.
      RUNNING: Operation is still running.
      CANCELLING: Operation is being cancelled.
      SUCCEEDED: Operation succeeded.
      FAILED: Operation failed.
      CANCELLED: Operation is cancelled.
    r   r   r   r   r   r   N
r   r   r   r   STATE_UNSPECIFIEDRUNNING
CANCELLING	SUCCEEDEDFAILED	CANCELLEDr   r   r   StateValueValuesEnumr  I  (    	 GJIFIr   r  r   r   r   r   r   Nr   r   r   r   r   rG   r  r    
createTimeresourcerJ   statestateMessage
updateTimer   r   r   r   r   :  v    Y^^ $ %y$$Q'*"Y""1%(
)

4a
8%&&&q),$y$$Q'*r   r   c                   6    e Zd ZdZ ej
                  dd      Zy)@GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadatazThe long-running operation metadata for the CreateLabelerPool method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr   r   r   r   r   r   r   r   r   r   r  r  b       *9))*acde.r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)@GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadatazThe long-running operation metadata for DeleteLabelerPool.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r  r  l  r  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)5GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadataThe long-running operation metadata for the DeleteProcessor method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r  r  v  r  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)<GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadataThe long-running operation metadata for the DeleteProcessorVersion
  method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r!  r!         *9))*acde.r   r!  c                   6    e Zd ZdZ ej
                  dd      Zy)<GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadataThe long-running operation metadata for the DeployProcessorVersion
  method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r%  r%    r#  r   r%  c                       e Zd ZdZy)<GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse7Response message for the DeployProcessorVersion method.Nr   r   r   r   r(  r(        @r   r(  c                   6    e Zd ZdZ ej
                  dd      Zy)6GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadataThe long-running operation metadata for the DisableProcessor method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r,  r,    r  r   r,  c                       e Zd ZdZy)6GoogleCloudDocumentaiUiv1beta3DisableProcessorResponsemResponse message for the DisableProcessor method. Intentionally empty
  proto for adding fields in future.
  Nr   r   r   r   r/  r/        r   r/  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy)	r   Document Identifier.

  Fields:
    gcsManagedDocId: A document id within user-managed Cloud Storage.
    revisionRef: Points to a specific revision of the document if set.
    unmanagedDocId: A document id within unmanaged dataset.
  <GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentIdr   )GoogleCloudDocumentaiUiv1beta3RevisionRefr   ;GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentIdr   N	r   r   r   r   r   r   gcsManagedDocIdrevisionRefunmanagedDocIdr   r   r   r   r     sK     +I**+iklm/&	&&'RTUV+)9))*gijk.r   r   c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r4    Identifies a document uniquely within the scope of a dataset in the
  user-managed Cloud Storage option.

  Fields:
    cwDocId: Id of the document (indexed) managed by Content Warehouse.
    gcsUri: Required. The Cloud Storage URI where the actual document is
      stored.
  r   r   Nr   r   r   r   r   r    cwDocIdgcsUrir   r   r   r4  r4    -     "I!!!$' 9  #&r   r4  c                   4    e Zd ZdZ ej
                  d      Zy)r6  Identifies a document uniquely within the scope of a dataset in
  unmanaged option.

  Fields:
    docId: Required. The id of the document.
  r   Nr   r   r   r   r   r    docIdr   r   r   r6  r6          )


"%r   r6  c                   6    e Zd ZdZ ej
                  dd      Zy)5GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadataThe long-running operation metadata for the EnableProcessor method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   rG  rG    r  r   rG  c                       e Zd ZdZy)5GoogleCloudDocumentaiUiv1beta3EnableProcessorResponselResponse message for the EnableProcessor method. Intentionally empty
  proto for adding fields in future.
  Nr   r   r   r   rJ  rJ    r1  r   rJ  c                   6    e Zd ZdZ ej
                  dd      Zy)>GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadataMetadata of the EvaluateProcessorVersion method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   rM  rM    r  r   rM  c                   4    e Zd ZdZ ej
                  d      Zy)>GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse{Response of the EvaluateProcessorVersion method.

  Fields:
    evaluation: The resource name of the created evaluation.
  r   Nr   r   r   r   r   r    
evaluationr   r   r   rP  rP         %y$$Q'*r   rP  c                       e Zd ZdZ ej
                  dd      Z ej
                  ddd      Z ej
                  dd	d      Zy
)5GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataa  Metadata of the batch export documents operation.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    individualExportStatuses: The list of response details of each document.
    splitExportStats: The list of statistics for each dataset split type.
  r   r   KGoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatusr   Tr   DGoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStatr   N)	r   r   r   r   r   r   r   individualExportStatusessplitExportStatsr   r   r   rV  rV    sh     *9))*acde.3Y33  5B  DE  PT  U+Y++,rtu  AE  Fr   rV  c                       e Zd ZdZ ej
                  dd      Z ej                  d      Z ej
                  dd      Z	y)rW  a<  The status of each individual document in the export process.

  Fields:
    documentId: The path to source docproto of the document.
    outputGcsDestination: The output_gcs_destination of the exported document
      if it was successful, otherwise empty.
    status: The status of the exporting of the document.
  r   r   r   r   r   N)
r   r   r   r   r   r   r   r    outputGcsDestinationr   r   r   r   rW  rW    sG     &y%%&PRST*...q1!9!!"3Q7&r   rW  c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dej                  j                        Zy)rX  a  The statistic representing a dataset split type for this export.

  Enums:
    SplitTypeValueValuesEnum: The dataset split type.

  Fields:
    splitType: The dataset split type.
    totalDocumentCount: Total number of documents with the given dataset split
      type to be exported.
  c                        e Zd ZdZdZdZdZdZy)]GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat.SplitTypeValueValuesEnuma.  The dataset split type.

    Values:
      DATASET_SPLIT_TYPE_UNSPECIFIED: Default value if the enum is not set.
      DATASET_SPLIT_TRAIN: Identifies the train documents.
      DATASET_SPLIT_TEST: Identifies the test documents.
      DATASET_SPLIT_UNASSIGNED: Identifies the unassigned documents.
    r   r   r   r   Nr   r   r   r   SplitTypeValueValuesEnumr_     r   r   r`  r   r   r(   N)r   r   r   r   r   rG   r`  rJ   	splitTyper4   r+   ro   r   r   r   r   rX  rX    sO    	! ! "i!!"<a@)-y--a9J9J9P9PQr   rX  c                       e Zd ZdZy)5GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponsez-The response proto of ExportDocuments method.Nr   r   r   r   rc  rc  2  s    6r   rc  c                   6    e Zd ZdZ ej
                  dd      Zy)<GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadatazMetadata message associated with the ExportProcessorVersion operation.

  Fields:
    commonMetadata: The common metadata about the operation.
  r   r   Nr  r   r   r   re  re  6  r  r   re  c                   4    e Zd ZdZ ej
                  d      Zy)<GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponsezResponse message associated with the ExportProcessorVersion operation.

  Fields:
    gcsUri: The Cloud Storage URI containing the output artifacts.
  r   N)r   r   r   r   r   r    r?  r   r   r   rg  rg  @  s     !9  #&r   rg  c                       e Zd ZdZ ej
                  dd      Z ej
                  ddd      Z ej
                  dd	d      Z ej                  d
ej                  j                        Zy)5GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata  Metadata of the import document operation.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    importConfigValidationResults: Validation statuses of the batch documents
      import config.
    individualImportStatuses: The list of response details of each document.
    totalDocumentCount: Total number of the documents that are qualified for
      importing.
  r   r   QGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResultr   Tr   KGoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatusr   r   r(   Nr   r   r   r   r   r   r   importConfigValidationResultsindividualImportStatusesr4   r+   ro   r   r   r   r   ri  ri  J  s    	 *9))*acde."8)"8"8  :M  OP  [_  #`3Y33  5B  DE  PT  U-y--a9J9J9P9PQr   ri  c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)rk  h  The validation status of each import config. Status is set to an error
  if there are no documents to import in the `import_config`, or `OK` if the
  operation will try to proceed with at least one document.

  Fields:
    inputGcsSource: The source Cloud Storage URI specified in the import
      config.
    status: The validation status of import config.
  r   r   r   N	r   r   r   r   r   r    inputGcsSourcer   r   r   r   r   rk  rk  \  0     )9((+.!9!!"3Q7&r   rk  c                       e Zd ZdZ ej
                  d      Z ej                  dd      Z ej
                  d      Z	 ej                  dd      Z
y)	rl  a  The status of each individual document in the import process.

  Fields:
    inputGcsSource: The source Cloud Storage URI of the document.
    outputDocumentId: The document id of imported document if it was
      successful, otherwise empty.
    outputGcsDestination: The output_gcs_destination of the processed document
      if it was successful, otherwise empty.
    status: The status of the importing of the document.
  r   r   r   r   r   r   N)r   r   r   r   r   r    rs  r   outputDocumentIdr\  r   r   r   r   rl  rl  k  sZ    	 )9((+.+Y++,VXYZ...q1!9!!"3Q7&r   rl  c                       e Zd ZdZy)5GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse*Response of the import document operation.Nr   r   r   r   rx  rx  }      3r   rx  c                   6    e Zd ZdZ ej
                  dd      Zy)<GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadataThe long-running operation metadata for the ImportProcessorVersion
  method.

  Fields:
    commonMetadata: The basic metadata for the long-running operation.
  r   r   Nr  r   r   r   r|  r|    r#  r   r|  c                   4    e Zd ZdZ ej
                  d      Zy)<GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponseThe response message for the ImportProcessorVersion method.

  Fields:
    processorVersion: The destination processor version name.
  r   Nr   r   r   r   r   r    r   r   r   r   r  r         +Y**1-r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  ddd      Z ej
                  dd	d      Zy
)3GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataa  The metadata proto of `ResyncDataset` method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    datasetResyncStatuses: The list of dataset resync statuses. Not checked
      when ResyncDatasetRequest.dataset_documents is specified.
    individualDocumentResyncStatuses: The list of document resync statuses.
      The same document could have multiple
      `individual_document_resync_statuses` if it has multiple
      inconsistencies.
  r   r   FGoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatusr   Tr   QGoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatusr   N)	r   r   r   r   r   r   r   datasetResyncStatuses individualDocumentResyncStatusesr   r   r   r  r    sh    
 *9))*acde.0)001y{|  HL  M%;Y%;%;  =P  RS  ^b  &c"r   r  c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dd      Z
y)r  a  Resync status against inconsistency types on the dataset level.

  Enums:
    DatasetInconsistencyTypeValueValuesEnum: The type of the inconsistency of
      the dataset.

  Fields:
    datasetInconsistencyType: The type of the inconsistency of the dataset.
    status: The status of resyncing the dataset with regards to the detected
      inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`.
  c                       e Zd ZdZdZdZy)nGoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus.DatasetInconsistencyTypeValueValuesEnumzThe type of the inconsistency of the dataset.

    Values:
      DATASET_INCONSISTENCY_TYPE_UNSPECIFIED: Default value.
      DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER: The marker file under the
        dataset folder is not found.
    r   r   N)r   r   r   r   &DATASET_INCONSISTENCY_TYPE_UNSPECIFIED,DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKERr   r   r   'DatasetInconsistencyTypeValueValuesEnumr    s     ./*340r   r  r   r   r   N)r   r   r   r   r   rG   r  rJ   datasetInconsistencyTyper   r   r   r   r   r  r    sE    
	5	 	5 1Y001Z\]^!9!!"3Q7&r   r  c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dd      Z
 ej                  dd      Zy	)
r  a  Resync status for each document per inconsistency type.

  Enums:
    DocumentInconsistencyTypeValueValuesEnum: The type of document
      inconsistency.

  Fields:
    documentId: The document identifier.
    documentInconsistencyType: The type of document inconsistency.
    status: The status of resyncing the document with regards to the detected
      inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`.
  c                        e Zd ZdZdZdZdZdZy)zGoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus.DocumentInconsistencyTypeValueValuesEnuma  The type of document inconsistency.

    Values:
      DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED: Default value.
      DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO: The document proto is
        invalid.
      DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA: Indexed docproto
        metadata is mismatched.
      DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE: The page image or thumbnails
        are missing.
    r   r   r   r   N)r   r   r   r   'DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED,DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO/DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA)DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGEr   r   r   (DocumentInconsistencyTypeValueValuesEnumr    s!    
 /0+34067301-r   r  r   r   r   r   r   N)r   r   r   r   r   rG   r  r   r   rJ   documentInconsistencyTyper   r   r   r   r  r    s[    2 2" &y%%&PRST*1i112\^_`!9!!"3Q7&r   r  c                       e Zd ZdZy)3GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponsez+The response proto of ResyncDataset method.Nr   r   r   r   r  r    r   r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z
 ej                  d      Zy)r5  (  The revision reference specifies which revision on the document to read.

  Enums:
    RevisionCaseValueValuesEnum: Reads the revision by the predefined case.

  Fields:
    latestProcessorVersion: Reads the revision generated by the processor
      version. The format takes the full resource name of processor version. `
      projects/{project}/locations/{location}/processors/{processor}/processor
      Versions/{processorVersion}`
    revisionCase: Reads the revision by the predefined case.
    revisionId: Reads the revision given by the id.
  c                        e Zd ZdZdZdZdZdZy)EGoogleCloudDocumentaiUiv1beta3RevisionRef.RevisionCaseValueValuesEnumW  Reads the revision by the predefined case.

    Values:
      REVISION_CASE_UNSPECIFIED: Unspecified case, fall back to read the
        `LATEST_HUMAN_REVIEW`.
      LATEST_HUMAN_REVIEW: The latest revision made by a human.
      LATEST_TIMESTAMP: The latest revision based on timestamp.
      BASE_OCR_REVISION: The first (OCR) revision.
    r   r   r   r   Nr   r   r   r   REVISION_CASE_UNSPECIFIEDLATEST_HUMAN_REVIEWLATEST_TIMESTAMPBASE_OCR_REVISIONr   r   r   RevisionCaseValueValuesEnumr    !     !"r   r  r   r   r   Nr   r   r   r   r   rG   r  r    latestProcessorVersionrJ   revisionCase
revisionIdr   r   r   r5  r5    S    INN  19003$$$%BAF,$y$$Q'*r   r5  c                   6    e Zd ZdZ ej
                  dd      Zy)5GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadatazMetadata of the sample documents operation.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  ddd      Zy	)
5GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponsea  Response of the sample documents operation.

  Fields:
    sampleTestStatus: The status of sampling documents in test split.
    sampleTrainingStatus: The status of sampling documents in training split.
    selectedDocuments: The result of the sampling process.
  r   r   r   EGoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocumentr   Tr   N)	r   r   r   r   r   r   sampleTestStatussampleTrainingStatusselectedDocumentsr   r   r   r  r    sV     ,Y++,=qA///0A1E,i,,-tvw  CG  Hr   r  c                   4    e Zd ZdZ ej
                  d      Zy)r  zA GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
  object.

  Fields:
    documentId: An internal identifier for document.
  r   N)r   r   r   r   r   r    r   r   r   r   r  r  '       %y$$Q'*r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)@GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadataThe long-running operation metadata for the SetDefaultProcessorVersion
  method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r  r  2  r#  r   r  c                       e Zd ZdZy)@GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse;Response message for the SetDefaultProcessorVersion method.Nr   r   r   r   r  r  =      Dr   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy);GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata#  The metadata that represents a processor version being created.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    testDatasetValidation: The test dataset validation information.
    trainingDatasetValidation: The training dataset validation information.
  r   r   LGoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidationr   r   N	r   r   r   r   r   r   r   testDatasetValidationtrainingDatasetValidationr   r   r   r  r  A  s^     *9))*acde.0)001  BC  D4i44  6D  FG  Hr   r  c                      e Zd ZdZ ej
                  dej                  j                        Z ej                  ddd      Z
 ej
                  dej                  j                        Z ej                  dd	d      Zy
)r  `  The dataset validation information. This includes any and all errors
  with documents and the dataset.

  Fields:
    datasetErrorCount: The total number of dataset errors.
    datasetErrors: Error information for the dataset as a whole. A maximum of
      10 dataset errors will be returned. A single dataset error is terminal
      for training.
    documentErrorCount: The total number of document errors.
    documentErrors: Error information pertaining to specific documents. A
      maximum of 10 document errors will be returned. Any document with errors
      will not be used throughout training.
  r   r(   r   r   Tr   r   r   Nr   r   r   r   r   r4   r+   ro   datasetErrorCountr   datasetErrorsdocumentErrorCountdocumentErrorsr   r   r   r  r  O  y     -i,,Q	8I8I8O8OP()(():AM--y--a9J9J9P9PQ)9))*;QN.r   r  c                   4    e Zd ZdZ ej
                  d      Zy);GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponseThe response for TrainProcessorVersion.

  Fields:
    processorVersion: The resource name of the processor version produced by
      training.
  r   Nr  r   r   r   r  r  d       +Y**1-r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)>GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadataThe long-running operation metadata for the UndeployProcessorVersion
  method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r  r  o  r#  r   r  c                       e Zd ZdZy)>GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse9Response message for the UndeployProcessorVersion method.Nr   r   r   r   r  r  z      Br   r  c                   6    e Zd ZdZ ej
                  dd      Zy)<GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadatazA GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata object.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r  r  ~  r  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)=GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadatazThe long-running operation metadata for updating the human review
  configuration.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r  r    r#  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)@GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadatazThe long-running operation metadata for UpdateLabelerPool.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r   r   Nr  r   r   r   r  r    r  r   r  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy)GoogleCloudDocumentaiV1Barcodeay  Encodes the detailed information of a barcode.

  Fields:
    format: Format of a barcode. The supported formats are: - `CODE_128`: Code
      128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. -
      `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`:
      ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`:
      2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. -
      `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1
      DataBar code type.
    rawValue: Raw value encoded in the barcode. For example:
      `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
    valueFormat: Value format describes the format of the value that a barcode
      encodes. The supported formats are: - `CONTACT_INFO`: Contact
      information. - `EMAIL`: Email address. - `ISBN`: ISBN identifier. -
      `PHONE`: Phone number. - `PRODUCT`: Product. - `SMS`: SMS message. -
      `TEXT`: Text string. - `URL`: URL address. - `WIFI`: Wifi information. -
      `GEO`: Geo-localization. - `CALENDAR_EVENT`: Calendar event. -
      `DRIVER_LICENSE`: Driver's license.
  r   r   r   N)	r   r   r   r   r   r    formatrawValuevalueFormatr   r   r   r  r    s?    * !9  #&"Y""1%(%	%%a(+r   r  c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)0GoogleCloudDocumentaiV1BatchDocumentsInputConfiga  The common config to specify a set of documents used as input.

  Fields:
    gcsDocuments: The set of documents individually specified on Cloud
      Storage.
    gcsPrefix: The set of documents that match the specified Cloud Storage
      `gcs_prefix`.
  #GoogleCloudDocumentaiV1GcsDocumentsr    GoogleCloudDocumentaiV1GcsPrefixr   N)r   r   r   r   r   r   gcsDocuments	gcsPrefixr   r   r   r  r    s3     (''(MqQ,$i$$%GK)r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  ddd      Z
 ej                  dd	      Z ej                  d
      Z ej                  d      Zy)+GoogleCloudDocumentaiV1BatchProcessMetadata%  The long-running operation metadata for BatchProcessDocuments.

  Enums:
    StateValueValuesEnum: The state of the current batch processing.

  Fields:
    createTime: The creation time of the operation.
    individualProcessStatuses: The list of response details of each document.
    state: The state of the current batch processing.
    stateMessage: A message providing more details about the current state of
      processing. For example, the error message if the operation is failed.
    updateTime: The last update time of the operation.
  c                   ,    e Zd ZdZdZdZdZdZdZdZ	dZ
y	)
@GoogleCloudDocumentaiV1BatchProcessMetadata.StateValueValuesEnum  The state of the current batch processing.

    Values:
      STATE_UNSPECIFIED: The default value. This value is used if the state is
        omitted.
      WAITING: Request operation is waiting for scheduling.
      RUNNING: Request is being processed.
      SUCCEEDED: The batch processing completed successfully.
      CANCELLING: The batch processing was being cancelled.
      CANCELLED: The batch processing was cancelled.
      FAILED: The batch processing has failed.
    r   r   r   r   r   r   r=   Nr   r   r   r   r  WAITINGr	  r  r
  r  r  r   r   r   r  r    -     GGIJIFr   r  r   BGoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatusr   Tr   r   r   r   Nr   r   r   r   r   rG   r  r    r  r   individualProcessStatusesrJ   r  r  r  r   r   r   r  r    s    Y^^ * %y$$Q'*4i445y{|  HL  M
)

4a
8%&&&q),$y$$Q'*r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  d      Z ej                  d      Z	 ej
                  dd      Z
y)	r  a  The status of a each individual document in the batch process.

  Fields:
    humanReviewStatus: The status of human review on the processed document.
    inputGcsSource: The source of the document, same as the input_gcs_source
      field in the request when the batch process started.
    outputGcsDestination: The Cloud Storage output destination (in the request
      as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed
      document if it was successful, otherwise empty.
    status: The status processing the document.
  (GoogleCloudDocumentaiV1HumanReviewStatusr   r   r   r   r   N)r   r   r   r   r   r   humanReviewStatusr    rs  r\  r   r   r   r   r  r    sZ    
 -i,,-WYZ[(9((+....q1!9!!"3Q7&r   r  c                       e Zd ZdZ ej
                  d       G d dej                               Z ej                  dd      Z
 ej                  dd      Z ej                  dd	      Z ej                  d
d      Z ej                  d      Zy)r   a|  Request message for BatchProcessDocuments.

  Messages:
    LabelsValue: Optional. The labels with user-defined metadata for the
      request. Label keys and values can be no longer than 63 characters
      (Unicode codepoints) and can only contain lowercase letters, numeric
      characters, underscores, and dashes. International characters are
      allowed. Label values are optional. Label keys must start with a letter.

  Fields:
    documentOutputConfig: The output configuration for the
      BatchProcessDocuments method.
    inputDocuments: The input documents for the BatchProcessDocuments method.
    labels: Optional. The labels with user-defined metadata for the request.
      Label keys and values can be no longer than 63 characters (Unicode
      codepoints) and can only contain lowercase letters, numeric characters,
      underscores, and dashes. International characters are allowed. Label
      values are optional. Label keys must start with a letter.
    processOptions: Inference-time options for the process API
    skipHumanReview: Whether human review should be skipped for this request.
      Default to `false`.
  additionalPropertiesc                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)6GoogleCloudDocumentaiV1BatchProcessRequest.LabelsValue  Optional. The labels with user-defined metadata for the request. Label
    keys and values can be no longer than 63 characters (Unicode codepoints)
    and can only contain lowercase letters, numeric characters, underscores,
    and dashes. International characters are allowed. Label values are
    optional. Label keys must start with a letter.

    Messages:
      AdditionalProperty: An additional property for a LabelsValue object.

    Fields:
      additionalProperties: Additional properties of type LabelsValue
    c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)IGoogleCloudDocumentaiV1BatchProcessRequest.LabelsValue.AdditionalPropertyAn additional property for a LabelsValue object.

      Fields:
        key: Name of the additional property.
        value: A string attribute.
      r   r   Nr   r   r   r   r   r    keyvaluer   r   r   AdditionalPropertyr  +  -    
 "I!!!$c#i##A&er   r  r   Tr   N	r   r   r   r   r   Messager  r   r  r   r   r   LabelsValuer    4    	'Y.. 	' 29112FTXYr   r  +GoogleCloudDocumentaiV1DocumentOutputConfigr   r  r   r   %GoogleCloudDocumentaiV1ProcessOptionsr   r   N)r   r   r   r   r   MapUnrecognizedFieldsr   r  r  r   documentOutputConfiginputDocumentslabelsprocessOptionsBooleanFieldskipHumanReviewr   r   r   r   r     s    . "8!!"89ZI%% Z :Z6 0//0]_`a)9))*\^_`.!9!!-3&)9))*QSTU.*I**1-/r   r   c                       e Zd ZdZy)+GoogleCloudDocumentaiV1BatchProcessResponse+Response message for BatchProcessDocuments.Nr   r   r   r   r  r  ?  r   r   r  c                   d    e Zd ZdZ ej
                  ddd      Z ej
                  ddd      Zy)	#GoogleCloudDocumentaiV1BoundingPolyzA bounding polygon for the detected image annotation.

  Fields:
    normalizedVertices: The bounding polygon normalized vertices.
    vertices: The bounding polygon vertices.
  'GoogleCloudDocumentaiV1NormalizedVertexr   Tr   GoogleCloudDocumentaiV1Vertexr   N)r   r   r   r   r   r   normalizedVerticesverticesr   r   r   r  r  C  s;     .y--.WYZeij#Y##$CQQUV(r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  dd      Z ej                  d      Z ej                  d      Zy	)
.GoogleCloudDocumentaiV1CommonOperationMetadatar  c                   (    e Zd ZdZdZdZdZdZdZdZ	y)	CGoogleCloudDocumentaiV1CommonOperationMetadata.StateValueValuesEnumr  r   r   r   r   r   r   Nr  r   r   r   r  r  ^  r  r   r  r   r   r   r   r   Nr  r   r   r   r  r  O  r  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy).GoogleCloudDocumentaiV1DeleteProcessorMetadatar  r  r   Nr  r   r   r   r  r  w       *9))*Z\]^.r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)5GoogleCloudDocumentaiV1DeleteProcessorVersionMetadatar"  r  r   Nr  r   r   r   r"  r"         *9))*Z\]^.r   r"  c                   6    e Zd ZdZ ej
                  dd      Zy)5GoogleCloudDocumentaiV1DeployProcessorVersionMetadatar&  r  r   Nr  r   r   r   r%  r%    r#  r   r%  c                       e Zd ZdZy)r   z6Request message for the DeployProcessorVersion method.Nr   r   r   r   r   r     s    ?r   r   c                       e Zd ZdZy)5GoogleCloudDocumentaiV1DeployProcessorVersionResponser)  Nr   r   r   r   r(  r(    r*  r   r(  c                   6    e Zd ZdZ ej
                  dd      Zy)/GoogleCloudDocumentaiV1DisableProcessorMetadatar-  r  r   Nr  r   r   r   r*  r*    r   r   r*  c                       e Zd ZdZy)r   z0Request message for the DisableProcessor method.Nr   r   r   r   r   r     r   r   r   c                       e Zd ZdZy)/GoogleCloudDocumentaiV1DisableProcessorResponser0  Nr   r   r   r   r-  r-    r1  r   r-  c                   X   e Zd ZdZ ej
                  dd      Z ej                  d      Z ej                  d      Z
 ej
                  dd      Z ej
                  dd	d
      Z ej
                  ddd
      Z ej
                  dd      Z ej                  d      Z ej
                  ddd
      Z ej
                  ddd
      Z ej
                  dd      Z ej                  d      Z ej
                  ddd
      Z ej
                  ddd
      Z ej                  d      Zy)GoogleCloudDocumentaiV1Documenta  Document represents the canonical document resource in Document AI. It
  is an interchange format that provides insights into documents and allows
  for collaboration between users and Document AI to iterate and optimize for
  quality.

  Fields:
    chunkedDocument: Document chunked based on chunking config.
    content: 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.
    docid: Optional. An internal identifier for document. Should be loggable
      (no PII).
    documentLayout: Parsed layout of the document.
    entities: A list of entities detected on Document.text. For document
      shards, entities in this list may cross shard boundaries.
    entityRelations: Placeholder. Relationship among Document.entities.
    error: Any error that occurred while processing this document.
    mimeType: An IANA published [media type (MIME
      type)](https://www.iana.org/assignments/media-types/media-types.xhtml).
    pages: Visual page layout for the Document.
    revisions: Placeholder. Revision history of this document.
    shardInfo: 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.
    text: Optional. UTF-8 encoded text in reading order from the document.
    textChanges: 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.
    textStyles: Styles for the Document.text.
    uri: 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).
  .GoogleCloudDocumentaiV1DocumentChunkedDocumentr   r   r   -GoogleCloudDocumentaiV1DocumentDocumentLayoutr   %GoogleCloudDocumentaiV1DocumentEntityr   Tr   -GoogleCloudDocumentaiV1DocumentEntityRelationr=   r   rO   rP   #GoogleCloudDocumentaiV1DocumentPagerQ   'GoogleCloudDocumentaiV1DocumentRevision
   (GoogleCloudDocumentaiV1DocumentShardInfo      )GoogleCloudDocumentaiV1DocumentTextChange   $GoogleCloudDocumentaiV1DocumentStyle      N)r   r   r   r   r   r   chunkedDocument
BytesFieldcontentr    dociddocumentLayoutentitiesentityRelationserrormimeTypepages	revisions	shardInfotexttextChanges
textStylesurir   r   r   r/  r/    sN   "H +I**+[]^_/ I  #'
)


"%)9))*Y[\].#Y##$KQY]^(*I**+Z\]hlm/
 )
 
 !2A
6%"Y""1%(
 )
 
 !FTX
Y%$i$$%NPR]ab)$i$$%OQST)			r	"$&	&&'RTVaef+%y%%&Lb[_`*	b!#r   r/  c                   :    e Zd ZdZ ej
                  ddd      Zy)r0  zbRepresents the chunks that the document is divided into.

  Fields:
    chunks: List of chunks.
  3GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkr   Tr   N)r   r   r   r   r   r   chunksr   r   r   r0  r0    s"     "9!!"WYZeij&r   r0  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  ddd      Z	 ej                  dd	d      Z
 ej                  d
d      Z ej
                  dd      Zy)rP  a  Represents a chunk.

  Fields:
    chunkId: ID of the chunk.
    content: Text content of the chunk.
    pageFooters: Page footers associated with the chunk.
    pageHeaders: Page headers associated with the chunk.
    pageSpan: Page span of the chunk.
    sourceBlockIds: Unused.
  r   r   BGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooterr   Tr   BGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeaderr   @GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpanr   r=   N)r   r   r   r   r   r    chunkIdrA  r   pageFooterspageHeaderspageSpansourceBlockIdsr   r   r   rP  rP    s    	 "I!!!$'!I!!!$'&	&&'kmny}~+&	&&'kmny}~+#Y##$fhij((9((T:.r   rP  c                   Z    e Zd ZdZ ej
                  dd      Z ej                  d      Zy)rS  zRepresents the page footer associated with the chunk.

  Fields:
    pageSpan: Page span of the footer.
    text: Footer in text format.
  rU  r   r   N	r   r   r   r   r   r   rY  r    rK  r   r   r   rS  rS    1     $Y##$fhij(			q	!$r   rS  c                   Z    e Zd ZdZ ej
                  dd      Z ej                  d      Zy)rT  zRepresents the page header associated with the chunk.

  Fields:
    pageSpan: Page span of the header.
    text: Header in text format.
  rU  r   r   Nr\  r   r   r   rT  rT    r]  r   rT  c                       e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	y)rU  zRepresents where the chunk starts and ends in the document.

  Fields:
    pageEnd: Page where chunk ends in the document.
    pageStart: Page where chunk starts in the document.
  r   r(   r   N
r   r   r   r   r   r4   r+   ro   pageEnd	pageStartr   r   r   rU  rU     I     #I""1i.?.?.E.EF'$i$$Q	0A0A0G0GH)r   rU  c                   :    e Zd ZdZ ej
                  ddd      Zy)r1  zRepresents the parsed layout of a document as a collection of blocks
  that the document is divided into.

  Fields:
    blocks: List of blocks in the document.
  @GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockr   Tr   Nr   r   r   r   r   r   blocksr   r   r   r1  r1  ,  "     "9!!"dfgrvw&r   r1  c                       e Zd ZdZ ej
                  d      Z ej                  dd      Z ej                  dd      Z	 ej                  dd      Z
 ej                  d	d
      Z ej                  dd      Zy)re  a  Represents a block. A block could be one of the various types (text,
  table, list) supported.

  Fields:
    blockId: ID of the block.
    boundingBox: Identifies the bounding box for the block.
    listBlock: Block consisting of list content/structure.
    pageSpan: Page span of the block.
    tableBlock: Block consisting of table content/structure.
    textBlock: Block consisting of text content.
  r   r  r   OGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlockr   NGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpanr   PGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlockr   OGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlockr=   N)r   r   r   r   r   r    blockIdr   boundingBox	listBlockrY  
tableBlock	textBlockr   r   r   re  re  7  s    
 "I!!!$'&	&&'LaP+$i$$%vxyz)#Y##$tvwx(%y%%&xz{|*$i$$%vxyz)r   re  c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)rj  zRepresents a list type block.

  Fields:
    listEntries: List entries that constitute a list block.
    type: Type of the list_entries (if exist). Available options are `ordered`
      and `unordered`.
  OGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntryr   Tr   r   N)	r   r   r   r   r   r   listEntriesr    typer   r   r   rj  rj  L  s;     '	&&'xz{  GK  L+			q	!$r   rj  c                   :    e Zd ZdZ ej
                  ddd      Zy)rt  zRepresents an entry in the list.

  Fields:
    blocks: A list entry is a list of blocks. Repeated blocks support further
      hierarchies and nested blocks.
  re  r   Tr   Nrf  r   r   r   rt  rt  Y  rh  r   rt  c                       e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	y)rk  zRepresents where the block starts and ends in the document.

  Fields:
    pageEnd: Page where block ends in the document.
    pageStart: Page where block starts in the document.
  r   r(   r   Nr`  r   r   r   rk  rk  d  rc  r   rk  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej
                  ddd      Z	y)	rl  zRepresents a table type block.

  Fields:
    bodyRows: Body rows containing main table content.
    caption: Table caption/title.
    headerRows: Header rows at the top of the table.
  NGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRowr   Tr   r   r   N)
r   r   r   r   r   r   bodyRowsr    caption
headerRowsr   r   r   rl  rl  p  s[     $Y##$tvw  CG  H(!I!!!$'%y%%&vxy  EI  J*r   rl  c                       e Zd ZdZ ej
                  ddd      Z ej                  dej                  j                        Z
 ej                  dej                  j                        Zy	)
OGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCellzRepresents a cell in a table row.

  Fields:
    blocks: A table cell is a list of blocks. Repeated blocks support further
      hierarchies and nested blocks.
    colSpan: How many columns this cell spans.
    rowSpan: How many rows this cell spans.
  re  r   Tr   r   r(   r   N)r   r   r   r   r   r   rg  r4   r+   ro   colSpanrowSpanr   r   r   r  r  ~  sb     "9!!"dfgrvw&"I""1i.?.?.E.EF'"I""1i.?.?.E.EF'r   r  c                   :    e Zd ZdZ ej
                  ddd      Zy)rz  z[Represents a row in a table.

  Fields:
    cells: A table row is a list of table cells.
  r  r   Tr   Nr   r   r   r   r   r   cellsr   r   r   rz  rz    s)     !)
 
 !rtu  AE  F%r   rz  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej                  d      Z	y)	rm  a  Represents a text type block.

  Fields:
    blocks: A text block could further have child blocks. Repeated blocks
      support further hierarchies and nested blocks.
    text: Text content stored in the block.
    type: Type of the text in the block. Available options are: `paragraph`,
      `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`,
      `heading-5`, `header`, `footer`.
  re  r   Tr   r   r   N)
r   r   r   r   r   r   rg  r    rK  rv  r   r   r   rm  rm    sF    	 "9!!"dfgrvw&			q	!$			q	!$r   rm  c                   &   e Zd ZdZ G d dej
                        Z ej                  dej                  j                        Z
 ej                  d      Z ej                  d      Z ej                  d      Z ej                  dd	      Z ej"                  d
d      Z ej"                  dd      Z ej"                  d dd      Z ej"                  dd      Z ej,                  d      Z ej"                  dd      Z ej                  d      Zy)r2  a  An entity that could be a phrase in the text or a property that belongs
  to the document. It is a known entity type, such as a person, an
  organization, or location.

  Enums:
    MethodValueValuesEnum: Optional. Specifies how the entity's value is
      obtained.

  Fields:
    confidence: Optional. Confidence of detected Schema entity. Range `[0,
      1]`.
    id: Optional. Canonical id. This will be a unique value in the entity list
      for this document.
    mentionId: Optional. Deprecated. Use `id` field instead.
    mentionText: Optional. Text value of the entity e.g. `1600 Amphitheatre
      Pkwy`.
    method: Optional. Specifies how the entity's value is obtained.
    normalizedValue: Optional. Normalized entity value. Absent if the
      extracted value could not be converted or the type (e.g. address) is not
      supported for certain parsers. This field is also only populated for
      certain supported document types.
    pageAnchor: Optional. Represents the provenance of this entity wrt. the
      location on the page where it was found.
    properties: Optional. Entities can be nested to form a hierarchical data
      structure representing the content in the document.
    provenance: Optional. The history of this annotation.
    redacted: Optional. Whether the entity will be redacted for de-
      identification purposes.
    textAnchor: Optional. Provenance of the entity. Text anchor indexing into
      the Document.text.
    type: Required. Entity type from a schema e.g. `Address`.
  c                       e Zd ZdZdZdZdZy);GoogleCloudDocumentaiV1DocumentEntity.MethodValueValuesEnuma  Optional. Specifies how the entity's value is obtained.

    Values:
      METHOD_UNSPECIFIED: When the method is not specified, it should be
        treated as `EXTRACT`.
      EXTRACT: The entity's value is directly extracted as-is from the
        document text.
      DERIVE: The entity's value is derived through inference and is not
        necessarily an exact text extraction from the document.
    r   r   r   Nr   r   r   r   METHOD_UNSPECIFIEDEXTRACTDERIVEr   r   r   MethodValueValuesEnumr    s    	 GFr   r  r   r(   r   r   r   r   4GoogleCloudDocumentaiV1DocumentEntityNormalizedValuer=   )GoogleCloudDocumentaiV1DocumentPageAnchorrO   rP   Tr   )GoogleCloudDocumentaiV1DocumentProvenancerQ   r6  )GoogleCloudDocumentaiV1DocumentTextAnchorr8  r9  N)r   r   r   r   r   rG   r  r*   r+   r,   
confidencer    id	mentionIdmentionTextrJ   methodr   normalizedValue
pageAnchor
properties
provenancer  redacted
textAnchorrv  r   r   r   r2  r2    s   Binn  $y##Ay/@/@/F/FG*yQ"#i##A&)%	%%a(+96:&*I**+acde/%y%%&QSTU*%y%%&Mq[_`*%y%%&QSTU*#Y##B'(%y%%&QSUV*			r	"$r   r2  c                      e Zd ZdZ ej
                  dd      Z ej                  d      Z ej
                  dd      Z	 ej
                  dd      Z
 ej                  d	ej                  j                  
      Z ej                  dej                  j                   
      Z ej
                  dd      Z ej                  d      Z ej(                  d      Zy)r  a  Parsed and normalized entity value.

  Fields:
    addressValue: Postal address. See also: https://github.com/googleapis/goog
      leapis/blob/master/google/type/postal_address.proto
    booleanValue: Boolean value. Can be used for entities with binary values,
      or for checkboxes.
    dateValue: Date value. Includes year, month, day. See also: https://github
      .com/googleapis/googleapis/blob/master/google/type/date.proto
    datetimeValue: DateTime value. Includes date, time, and timezone. See
      also: https://github.com/googleapis/googleapis/blob/master/google/type/d
      atetime.proto
    floatValue: Float value.
    integerValue: Integer value.
    moneyValue: Money value. See also: https://github.com/googleapis/googleapi
      s/blob/master/google/type/money.proto
    signatureValue: A boolean attribute.
    text: Optional. An optional field to store a normalized string. For some
      entity types, one of respective `structured_value` fields may also be
      populated. Also not all the types of `structured_value` will be
      normalized. For example, some processors may not generate `float` or
      `integer` normalized text by default. Below are sample formats mapped to
      structured values. - Money/Currency type (`money_value`) is in the ISO
      4217 text format. - Date type (`date_value`) is in the ISO 8601 text
      format. - Datetime type (`datetime_value`) is in the ISO 8601 text
      format.
  GoogleTypePostalAddressr   r   GoogleTypeDater   GoogleTypeDateTimer   r   r(   r=   GoogleTypeMoneyrO   rP   rQ   N)r   r   r   r   r   r   addressValuer  booleanValue	dateValuedatetimeValuer*   r+   r,   r-   r4   ro   integerValue
moneyValuesignatureValuer    rK  r   r   r   r  r    s    8 (''(A1E,'''*,$i$$%5q9)()(()=qA-#y##Ay/@/@/F/FG*'''93D3D3J3JK,%y%%&7;*)9))!,.			q	!$r   r  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy)r3  zRelationship between Entities.

  Fields:
    objectId: Object entity id.
    relation: Relationship description.
    subjectId: Subject entity id.
  r   r   r   N)	r   r   r   r   r   r    objectIdrelation	subjectIdr   r   r   r3  r3    s?     #Y""1%("Y""1%(#i##A&)r   r3  c                   6    e Zd ZdZ ej
                  dd      Zy)r  zConfig that controls the output of documents. All documents will be
  written as a JSON file.

  Fields:
    gcsOutputConfig: Output config to write the results to Cloud Storage.
  :GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigr   N)r   r   r   r   r   r   gcsOutputConfigr   r   r   r  r    s     +I**+gijk/r   r  c                   ~    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  dd      Z	y)r  a  The configuration used when outputting documents.

  Fields:
    fieldMask: Specifies which fields to include in the output documents. Only
      supports top level document and pages field so it must be in the form of
      `{document_field_name}` or `pages.{page_field_name}`.
    gcsUri: The Cloud Storage uri (a directory) of the output.
    shardingConfig: Specifies the sharding config for the output document.
  r   r   HGoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfigr   N)
r   r   r   r   r   r    	fieldMaskr?  r   shardingConfigr   r   r   r  r  (  sC     $i##A&) 9  #&)9))*tvwx.r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	y)r  zThe sharding config for the output document.

  Fields:
    pagesOverlap: The number of overlapping pages between consecutive shards.
    pagesPerShard: The number of pages per shard.
  r   r(   r   N)
r   r   r   r   r   r4   r+   ro   pagesOverlappagesPerShardr   r   r   r  r  8  sI     (''93D3D3J3JK,()((I4E4E4K4KL-r   r  c                      e Zd ZdZ ej
                  ddd      Z ej
                  ddd      Z ej
                  dd	d      Z ej
                  d
d      Z	 ej
                  ddd      Z
 ej
                  dd      Z ej
                  dd      Z ej
                  dd      Z ej
                  ddd      Z ej                  dej                   j"                        Z ej
                  ddd      Z ej
                  dd      Z ej
                  ddd      Z ej
                  ddd      Z ej
                  d d!d      Z ej
                  d"d#d      Z ej
                  d$d%d      Zy&)'r4  aR  A page in a Document.

  Fields:
    blocks: A list of visually detected text blocks on the page. A block has a
      set of lines (collected into paragraphs) that have a common line-spacing
      and orientation.
    detectedBarcodes: A list of detected barcodes.
    detectedLanguages: A list of detected languages together with confidence.
    dimension: Physical dimension of the page.
    formFields: A list of visually detected form fields on the page.
    image: Rendered image for this page. This image is preprocessed to remove
      any skew, rotation, and distortions such that the annotation bounding
      boxes can be upright and axis-aligned.
    imageQualityScores: Image quality scores.
    layout: Layout for the page.
    lines: A list of visually detected text lines on the page. A collection of
      tokens that a human would perceive as a line.
    pageNumber: 1-based index for current Page in a parent Document. Useful
      when a page is taken out of a Document for individual processing.
    paragraphs: A list of visually detected text paragraphs on the page. A
      collection of lines that a human would perceive as a paragraph.
    provenance: The history of this page.
    symbols: A list of visually detected symbols on the page.
    tables: A list of visually detected tables on the page.
    tokens: A list of visually detected tokens on the page.
    transforms: Transformation matrices that were applied to the original
      document image to produce Page.image.
    visualElements: A list of detected non-text visual elements e.g. checkbox,
      signature etc. on the page.
  (GoogleCloudDocumentaiV1DocumentPageBlockr   Tr   2GoogleCloudDocumentaiV1DocumentPageDetectedBarcoder   3GoogleCloudDocumentaiV1DocumentPageDetectedLanguager   ,GoogleCloudDocumentaiV1DocumentPageDimensionr   ,GoogleCloudDocumentaiV1DocumentPageFormFieldr   (GoogleCloudDocumentaiV1DocumentPageImager=   5GoogleCloudDocumentaiV1DocumentPageImageQualityScoresrO   )GoogleCloudDocumentaiV1DocumentPageLayoutrP   'GoogleCloudDocumentaiV1DocumentPageLinerQ   r6  r(   ,GoogleCloudDocumentaiV1DocumentPageParagraphr8  r  r9  )GoogleCloudDocumentaiV1DocumentPageSymbolr;  (GoogleCloudDocumentaiV1DocumentPageTabler=  (GoogleCloudDocumentaiV1DocumentPageTokenr>  )GoogleCloudDocumentaiV1DocumentPageMatrix   0GoogleCloudDocumentaiV1DocumentPageVisualElement   N)r   r   r   r   r   r   rg  detectedBarcodesdetectedLanguages	dimension
formFieldsimageimageQualityScoreslayoutlinesr4   r+   ro   
pageNumber
paragraphsr  symbolstablestokens
transformsvisualElementsr   r   r   r4  r4  D  s   > "9!!"LaZ^_&+Y++,`bcnrs,i,,-bdeptu$i$$%SUVW)%y%%&TVWbfg*
 )
 
 !KQ
O%-y--.eghi!9!!"MqQ&
 )
 
 !JAX\
]%%y%%b)2C2C2I2IJ*%y%%&TVXcgh*%y%%&QSUV*"I""#NPR]ab'!9!!"Lb[_`&!9!!"Lb[_`&%y%%&QSU`de*)9))*\^`kop.r   r4  c                   :    e Zd ZdZ ej
                  ddd      Zy)r  a  Referencing the visual context of the entity in the Document.pages. Page
  anchors can be cross-page, consist of multiple bounding polygons and
  optionally reference specific layout element types.

  Fields:
    pageRefs: One or more references to visual page elements
  0GoogleCloudDocumentaiV1DocumentPageAnchorPageRefr   Tr   N)r   r   r   r   r   r   pageRefsr   r   r   r  r  w  s"     $Y##$VXYdhi(r   r  c                      e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dej                  j                        Z ej                  d      Z ej                  dd	      Z ej"                  d
      Zy)r  a  Represents a weak reference to a page element within a document.

  Enums:
    LayoutTypeValueValuesEnum: Optional. The type of the layout element that
      is being referenced if any.

  Fields:
    boundingPoly: Optional. Identifies the bounding polygon of a layout
      element on the page. If `layout_type` is set, the bounding polygon must
      be exactly the same to the layout element it's referring to.
    confidence: Optional. Confidence of detected page element, if applicable.
      Range `[0, 1]`.
    layoutId: Optional. Deprecated. Use PageRef.bounding_poly instead.
    layoutType: Optional. The type of the layout element that is being
      referenced if any.
    page: Required. Index into the Document.pages element, for example using
      `Document.pages` to locate the related page element. This field is
      skipped when its value is the default `0`. See
      https://developers.google.com/protocol-buffers/docs/proto3#json.
  c                   0    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zy
)JGoogleCloudDocumentaiV1DocumentPageAnchorPageRef.LayoutTypeValueValuesEnuma  Optional. The type of the layout element that is being referenced if
    any.

    Values:
      LAYOUT_TYPE_UNSPECIFIED: Layout Unspecified.
      BLOCK: References a Page.blocks element.
      PARAGRAPH: References a Page.paragraphs element.
      LINE: References a Page.lines element.
      TOKEN: References a Page.tokens element.
      VISUAL_ELEMENT: References a Page.visual_elements element.
      TABLE: Refrrences a Page.tables element.
      FORM_FIELD: References a Page.form_fields element.
    r   r   r   r   r   r   r=   rO   N)r   r   r   r   LAYOUT_TYPE_UNSPECIFIEDBLOCK	PARAGRAPHLINETOKENVISUAL_ELEMENTTABLE
FORM_FIELDr   r   r   LayoutTypeValueValuesEnumr    s2      EIDENEJr   r  r  r   r   r(   r   r   r   N)r   r   r   r   r   rG   r  r   boundingPolyr*   r+   r,   r  r    layoutIdrJ   
layoutTyper4   pager   r   r   r  r    s    *).. . (''(MqQ,#y##Ay/@/@/F/FG*"Y""1%("y""#>B*				"$r   r  c                       e Zd ZdZ ej
                  ddd      Z ej
                  dd      Z ej
                  dd	      Zy
)r  a  A block has a set of lines (collected into paragraphs) that have a
  common line-spacing and orientation.

  Fields:
    detectedLanguages: A list of detected languages together with confidence.
    layout: Layout for Block.
    provenance: The history of this annotation.
  r  r   Tr   r  r   r  r   N	r   r   r   r   r   r   r  r  r  r   r   r   r  r    N     -i,,-bdeptu!9!!"MqQ&%y%%&QSTU*r   r  c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)r  zA detected barcode.

  Fields:
    barcode: Detailed barcode information of the DetectedBarcode.
    layout: Layout for DetectedBarcode.
  r  r   r  r   N)r   r   r   r   r   r   barcoder  r   r   r   r  r    s3     #I""#CQG'!9!!"MqQ&r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
y)r  a  Detected language for a structural component.

  Fields:
    confidence: Confidence of detected language. Range `[0, 1]`.
    languageCode: The [BCP-47 language
      code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier),
      such as `en-US` or `sr-Latn`.
  r   r(   r   N)r   r   r   r   r   r*   r+   r,   r  r    languageCoder   r   r   r  r    s;     $y##Ay/@/@/F/FG*&&&q),r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
 ej
                  dej                  j                        Zy)r  zoDimension for the page.

  Fields:
    height: Page height.
    unit: Dimension unit.
    width: Page width.
  r   r(   r   r   N)r   r   r   r   r   r*   r+   r,   heightr    unitwidthr   r   r   r  r    s[      99+<+<+B+BC&			q	!$
)

q)*;*;*A*A
B%r   r  c                   B   e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  dd      Z	 ej                  dd      Z
 ej                  ddd	
      Z ej                  dd      Z ej                  ddd	
      Z ej
                  d      Zy)r  a.  A form field detected on the page.

  Fields:
    correctedKeyText: Created for Labeling UI to export key text. If
      corrections were made to the text identified by the
      `field_name.text_anchor`, this field will contain the correction.
    correctedValueText: Created for Labeling UI to export value text. If
      corrections were made to the text identified by the
      `field_value.text_anchor`, this field will contain the correction.
    fieldName: Layout for the FormField name. e.g. `Address`, `Email`, `Grand
      total`, `Phone number`, etc.
    fieldValue: Layout for the FormField value.
    nameDetectedLanguages: A list of detected languages for name together with
      confidence.
    provenance: The history of this annotation.
    valueDetectedLanguages: A list of detected languages for value together
      with confidence.
    valueType: If the value is non-textual, this field represents the type.
      Current valid values are: - blank (this indicates the `field_value` is
      normal text) - `unfilled_checkbox` - `filled_checkbox`
  r   r   r  r   r   r  r   Tr   r  r=   rO   rP   N)r   r   r   r   r   r    correctedKeyTextcorrectedValueTextr   r1   
fieldValuenameDetectedLanguagesr  valueDetectedLanguages	valueTyper   r   r   r  r    s    , +Y**1-,y,,Q/$i$$%PRST)%y%%&QSTU*0)001fhitxy%y%%&QSTU*19112gijuyz#i##A&)r   r  c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
 ej                  d      Z ej                  dej                  j                        Zy)r  a?  Rendered image contents for this page.

  Fields:
    content: Raw byte content of the image.
    height: Height of the image in pixels.
    mimeType: Encoding [media type (MIME
      type)](https://www.iana.org/assignments/media-types/media-types.xhtml)
      for the image.
    width: Width of the image in pixels.
  r   r   r(   r   r   N)r   r   r   r   r   r@  rA  r4   r+   ro   r  r    rG  r  r   r   r   r  r  	  sm    	 !I  #'!9!!!Y->->-D-DE&"Y""1%(
 )
 
 I,=,=,C,C
D%r   r  c                       e Zd ZdZ ej
                  ddd      Z ej                  dej                  j                        Z
y)	r  zImage quality scores for the page image.

  Fields:
    detectedDefects: A list of detected defects.
    qualityScore: The overall quality score. Range `[0, 1]` where `1` is
      perfect quality.
  CGoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectr   Tr   r   r(   N)r   r   r   r   r   r   detectedDefectsr*   r+   r,   qualityScorer   r   r   r  r  !	  sI     +I**+prs  C  D/%%%a1B1B1H1HI,r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
y)r  a  Image Quality Defects

  Fields:
    confidence: Confidence of detected defect. Range `[0, 1]` where `1`
      indicates strong confidence that the defect exists.
    type: Name of the defect type. Supported values are: -
      `quality/defect_blurry` - `quality/defect_noisy` - `quality/defect_dark`
      - `quality/defect_faint` - `quality/defect_text_too_small` -
      `quality/defect_document_cutoff` - `quality/defect_text_cutoff` -
      `quality/defect_glare`
  r   r(   r   N)r   r   r   r   r   r*   r+   r,   r  r    rv  r   r   r   r  r  .	  s;    
 $y##Ay/@/@/F/FG*			q	!$r   r  c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dej                  j                        Z ej                  dd      Z ej                  d	d
      Zy)r  a  Visual element describing a layout unit on a page.

  Enums:
    OrientationValueValuesEnum: Detected orientation for the Layout.

  Fields:
    boundingPoly: The bounding polygon for the Layout.
    confidence: Confidence of the current Layout within context of the object
      this layout is for. e.g. confidence can be for a single token, a table,
      a visual element, etc. depending on context. Range `[0, 1]`.
    orientation: Detected orientation for the Layout.
    textAnchor: Text anchor indexing into the Document.text.
  c                   $    e Zd ZdZdZdZdZdZdZy)DGoogleCloudDocumentaiV1DocumentPageLayout.OrientationValueValuesEnuma  Detected orientation for the Layout.

    Values:
      ORIENTATION_UNSPECIFIED: Unspecified orientation.
      PAGE_UP: Orientation is aligned with page up.
      PAGE_RIGHT: Orientation is aligned with page right. Turn the head 90
        degrees clockwise from upright to read.
      PAGE_DOWN: Orientation is aligned with page down. Turn the head 180
        degrees from upright to read.
      PAGE_LEFT: Orientation is aligned with page left. Turn the head 90
        degrees counterclockwise from upright to read.
    r   r   r   r   r   N)	r   r   r   r   ORIENTATION_UNSPECIFIEDPAGE_UP
PAGE_RIGHT	PAGE_DOWN	PAGE_LEFTr   r   r   OrientationValueValuesEnumr  N	  s#      GJIIr   r  r  r   r   r(   r   r  r   N)r   r   r   r   r   rG   r  r   r  r*   r+   r,   r  rJ   orientationr  r   r   r   r  r  ?	  sy    9>> & (''(MqQ,#y##Ay/@/@/F/FG*#	##$@!D+%y%%&QSTU*r   r  c                       e Zd ZdZ ej
                  ddd      Z ej
                  dd      Z ej
                  dd	      Zy
)r  a,  A collection of tokens that a human would perceive as a line. Does not
  cross column boundaries, can be horizontal, vertical, etc.

  Fields:
    detectedLanguages: A list of detected languages together with confidence.
    layout: Layout for Line.
    provenance: The history of this annotation.
  r  r   Tr   r  r   r  r   Nr  r   r   r   r  r  g	  r  r   r  c                   $   e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
 ej
                  dej                  j                        Z ej
                  dej                  j                        Zy)r  a  Representation for transformation matrix, intended to be compatible and
  used with OpenCV format for image manipulation.

  Fields:
    cols: Number of columns in the matrix.
    data: The matrix data.
    rows: Number of rows in the matrix.
    type: This encodes information about what data type the matrix uses. For
      example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of
      OpenCV primitive data types, please refer to
      https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html
  r   r(   r   r   r   N)r   r   r   r   r   r4   r+   ro   colsr@  datarowsrv  r   r   r   r  r  v	  s{     
 		9+<+<+B+B	C$			a	 $			9+<+<+B+B	C$			9+<+<+B+B	C$r   r  c                       e Zd ZdZ ej
                  ddd      Z ej
                  dd      Z ej
                  dd	      Zy
)r  zA collection of lines that a human would perceive as a paragraph.

  Fields:
    detectedLanguages: A list of detected languages together with confidence.
    layout: Layout for Paragraph.
    provenance: The history of this annotation.
  r  r   Tr   r  r   r  r   Nr  r   r   r   r  r  	  sN     -i,,-bdeptu!9!!"MqQ&%y%%&QSTU*r   r  c                   `    e Zd ZdZ ej
                  ddd      Z ej
                  dd      Zy)	r  zA detected symbol.

  Fields:
    detectedLanguages: A list of detected languages together with confidence.
    layout: Layout for Symbol.
  r  r   Tr   r  r   N)r   r   r   r   r   r   r  r  r   r   r   r  r  	  s8     -i,,-bdeptu!9!!"MqQ&r   r  c                       e Zd ZdZ ej
                  ddd      Z ej
                  ddd      Z ej
                  ddd      Z ej
                  d	d
      Z	 ej
                  dd      Z
y)r  a,  A table representation similar to HTML table structure.

  Fields:
    bodyRows: Body rows of the table.
    detectedLanguages: A list of detected languages together with confidence.
    headerRows: Header rows of the table.
    layout: Layout for Table.
    provenance: The history of this table.
  0GoogleCloudDocumentaiV1DocumentPageTableTableRowr   Tr   r  r   r   r  r   r  r   N)r   r   r   r   r   r   r{  r  r}  r  r  r   r   r   r  r  	  s     $Y##$VXYdhi(,i,,-bdeptu%y%%&XZ[fjk*!9!!"MqQ&%y%%&QSTU*r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  ddd      Z
 ej                  dd	      Z ej
                  d
ej                  j                        Zy)1GoogleCloudDocumentaiV1DocumentPageTableTableCella   A cell representation inside the table.

  Fields:
    colSpan: How many columns this cell spans.
    detectedLanguages: A list of detected languages together with confidence.
    layout: Layout for TableCell.
    rowSpan: How many rows this cell spans.
  r   r(   r  r   Tr   r  r   r   N)r   r   r   r   r   r4   r+   ro   r  r   r  r  r  r   r   r   r  r  	  sx     #I""1i.?.?.E.EF',i,,-bdeptu!9!!"MqQ&"I""1i.?.?.E.EF'r   r  c                   :    e Zd ZdZ ej
                  ddd      Zy)r  zKA row of table cells.

  Fields:
    cells: Cells that make up this row.
  r  r   Tr   Nr  r   r   r   r  r  	  s"     !)
 
 !TVWbf
g%r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  ddd      Z ej
                  dd	      Z ej
                  d
d      Z	 ej
                  dd      Z
y)r  a  A detected token.

  Fields:
    detectedBreak: Detected break at the end of a Token.
    detectedLanguages: A list of detected languages together with confidence.
    layout: Layout for Token.
    provenance: The history of this annotation.
    styleInfo: Text style attributes.
  5GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakr   r  r   Tr   r  r   r  r   1GoogleCloudDocumentaiV1DocumentPageTokenStyleInfor   N)r   r   r   r   r   r   detectedBreakr  r  r  	styleInfor   r   r   r  r  	  sz     ))(()`bcd-,i,,-bdeptu!9!!"MqQ&%y%%&QSTU*$i$$%XZ[\)r   r  c                   `    e Zd ZdZ G d dej
                        Z ej                  dd      Zy)r  zDetected break at the end of a Token.

  Enums:
    TypeValueValuesEnum: Detected break type.

  Fields:
    type: Detected break type.
  c                        e Zd ZdZdZdZdZdZy)IGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak.TypeValueValuesEnumzDetected break type.

    Values:
      TYPE_UNSPECIFIED: Unspecified break type.
      SPACE: A single whitespace.
      WIDE_SPACE: A wider whitespace.
      HYPHEN: A hyphen that indicates that a token has been split across
        lines.
    r   r   r   r   N)r   r   r   r   TYPE_UNSPECIFIEDSPACE
WIDE_SPACEHYPHENr   r   r   TypeValueValuesEnumr   	  s     EJFr   r%  r   N)	r   r   r   r   r   rG   r%  rJ   rv  r   r   r   r  r  	  s.    INN  
		2A	6$r   r  c                      e Zd ZdZ ej
                  dd      Z ej                  d      Z ej                  dej                  j                        Z ej                  d      Z ej                  dej                  j                        Z ej                  d	      Z ej                  d
      Z ej$                  d      Z ej$                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej
                  dd      Z ej                  d      Zy)r  a`  Font and other text style attributes.

  Fields:
    backgroundColor: Color of the background.
    bold: Whether the text is bold (equivalent to font_weight is at least
      `700`).
    fontSize: Font size in points (`1` point is `\xb9\u2044\u2087\u2082`
      inches).
    fontType: Name or style of the font.
    fontWeight: TrueType weight on a scale `100` (thin) to `1000` (ultra-
      heavy). Normal is `400`, bold is `700`.
    handwritten: Whether the text is handwritten.
    italic: Whether the text is italic.
    letterSpacing: Letter spacing in points.
    pixelFontSize: Font size in pixels, equal to _unrounded font_size_ *
      _resolution_ \xf7 `72.0`.
    smallcaps: Whether the text is in small caps. This feature is not
      supported yet.
    strikeout: Whether the text is strikethrough. This feature is not
      supported yet.
    subscript: Whether the text is a subscript. This feature is not supported
      yet.
    superscript: Whether the text is a superscript. This feature is not
      supported yet.
    textColor: Color of the text.
    underlined: Whether the text is underlined.
  GoogleTypeColorr   r   r   r(   r   r   r=   rO   rP   rQ   r6  r8  r9  r;  r=  r>  N)r   r   r   r   r   r   backgroundColorr  boldr4   r+   ro   fontSizer    fontType
fontWeighthandwrittenitalicr*   letterSpacingpixelFontSize	smallcaps	strikeout	subscriptsuperscript	textColor
underlinedr   r   r   r  r  	  s9   8 +I**+<a@/				"$#Y##Ay/@/@/F/FG("Y""1%(%y%%a1B1B1H1HI*&	&&q)+!9!!!$&&)&&q)-&)&&q)-$i$$R()$i$$R()$i$$R()&	&&r*+$i$$%6;)%y%%b)*r   r  c                       e Zd ZdZ ej
                  ddd      Z ej
                  dd      Z ej                  d      Z	y	)
r  zDetected non-text visual elements e.g. checkbox, signature etc. on the
  page.

  Fields:
    detectedLanguages: A list of detected languages together with confidence.
    layout: Layout for VisualElement.
    type: Type of the VisualElement.
  r  r   Tr   r  r   r   N)
r   r   r   r   r   r   r  r  r    rv  r   r   r   r  r  ,
  sJ     -i,,-bdeptu!9!!"MqQ&			q	!$r   r  c                   *   e Zd ZdZ G d dej
                        Z ej                  dej                  j                        Z
 ej                  ddd	      Z ej                  d
ej                  j                        Z ej                  dd      Zy)r  a  Structure to identify provenance relationships between annotations in
  different revisions.

  Enums:
    TypeValueValuesEnum: The type of provenance operation.

  Fields:
    id: The Id of this operation. Needs to be unique within the scope of the
      revision.
    parents: References to the original elements that are replaced.
    revision: The index of the revision that produced this element.
    type: The type of provenance operation.
  c                   0    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zy
)=GoogleCloudDocumentaiV1DocumentProvenance.TypeValueValuesEnuma  The type of provenance operation.

    Values:
      OPERATION_TYPE_UNSPECIFIED: Operation type unspecified. If no operation
        is specified a provenance entry is simply used to match against a
        `parent`.
      ADD: Add an element.
      REMOVE: Remove an element identified by `parent`.
      UPDATE: Updates any fields within the given provenance scope of the
        message. It overwrites the fields rather than replacing them. Use this
        when you want to update a field value of an entity without also
        updating all the child properties.
      REPLACE: Currently unused. Replace an element identified by `parent`.
      EVAL_REQUESTED: Deprecated. Request human review for the element
        identified by `parent`.
      EVAL_APPROVED: Deprecated. Element is reviewed and approved at human
        review, confidence will be set to 1.0.
      EVAL_SKIPPED: Deprecated. Element is skipped in the validation process.
    r   r   r   r   r   r   r=   rO   N)r   r   r   r   r>   ADDREMOVEUPDATEREPLACEEVAL_REQUESTEDEVAL_APPROVEDEVAL_SKIPPEDr   r   r   r%  r:  J
  s2    & "#
CFFGNMLr   r%  r   r(   /GoogleCloudDocumentaiV1DocumentProvenanceParentr   Tr   r   r   N)r   r   r   r   r   rG   r%  r4   r+   ro   r  r   parentsrevisionrJ   rv  r   r   r   r  r  ;
  s    INN : ya):):)@)@A""I""#TVWbfg'#Y##Ay/@/@/F/FG(			2A	6$r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	 ej
                  dej                  j                        Z
y)rB  a  The parent element the current element is based on. Used for
  referencing/aligning, removal and replacement operations.

  Fields:
    id: The id of the parent provenance.
    index: The index of the parent item in the corresponding item list (eg.
      list of entities, properties within entities, etc.) in the parent
      revision.
    revision: The index of the index into current revision's parent_ids list.
  r   r(   r   r   N)r   r   r   r   r   r4   r+   ro   r  indexrD  r   r   r   rB  rB  m
  si    	 ya):):)@)@A"
 )
 
 I,=,=,C,C
D%#Y##Ay/@/@/F/FG(r   rB  c                   @   e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  dd      Z	 ej
                  d      Z
 ej                  ddej                  j                  	      Z ej
                  d
d      Z ej
                  d      Zy)r5  a  Contains past or forward revisions of this document.

  Fields:
    agent: If the change was made by a person specify the name or id of that
      person.
    createTime: The time that the revision was created, internally generated
      by doc proto storage at the time of create.
    humanReview: Human Review information of this revision.
    id: Id of the revision, internally generated by doc proto storage. Unique
      within the context of the document.
    parent: The revisions that this revision is based on. This can include one
      or more parent (when documents are merged.) This field represents the
      index into the `revisions` field.
    parentIds: The revisions that this revision is based on. Must include all
      the ids that have anything to do with this revision - eg. there are
      `provenance.parent.revision` fields that index into this field.
    processor: If the annotation was made by processor identify the processor
      by its resource name.
  r   r   2GoogleCloudDocumentaiV1DocumentRevisionHumanReviewr   r   r   Tr   r)   r=   r   rO   N)r   r   r   r   r   r    agentr  r   humanReviewr  r4   r+   ro   rh   	parentIdsr   r   r   r   r5  r5  ~
  s    (  )


"%$y$$Q'*&	&&'[]^_+yQ"!9!!!dI<M<M<S<ST&#i##A5)#i##A&)r   r5  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)rH  a'  Human Review information of the document.

  Fields:
    state: Human review state. e.g. `requested`, `succeeded`, `rejected`.
    stateMessage: A message providing more details about the current state of
      processing. For example, the rejection reason when the state is
      `rejected`.
  r   r   N)r   r   r   r   r   r    r  r  r   r   r   rH  rH  
  s-      )


"%&&&q),r   rH  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  ddd      Z	 ej                  dd	      Z
y
)%GoogleCloudDocumentaiV1DocumentSchemaa  The schema defines the output of the processed document by a processor.

  Fields:
    description: Description of the schema.
    displayName: Display name to show to users.
    entityTypes: Entity types of the schema.
    metadata: Metadata of the schema.
  r   r   /GoogleCloudDocumentaiV1DocumentSchemaEntityTyper   Tr   -GoogleCloudDocumentaiV1DocumentSchemaMetadatar   N)r   r   r   r   r   r    r!   displayNamer   entityTypesmetadatar   r   r   rO  rO  
  s\     &	%%a(+%	%%a(+&	&&'XZ[fjk+#Y##$SUVW(r   rO  c                       e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej                  dd      Z	 ej
                  d      Z
 ej                  d	d
d      Zy)rP  a  EntityType is the wrapper of a label of the corresponding model with
  detailed attributes and limitations for entity-based processors. Multiple
  types can also compose a dependency tree to represent nested types.

  Fields:
    baseTypes: The entity type that this type is derived from. For now, one
      and only one should be set.
    displayName: User defined name for the type.
    enumValues: If specified, lists all the possible values for this entity.
      This should not be more than a handful of values. If the number of
      values is >10 or could change frequently use the
      `EntityType.value_ontology` field and specify a list of all possible
      values in a value ontology file.
    name: Name of the type. It must be unique within the schema file and
      cannot be a "Common Type". The following naming conventions are used: -
      Use `snake_casing`. - Name matching is case-sensitive. - Maximum 64
      characters. - Must start with a letter. - Allowed characters: ASCII
      letters `[a-z0-9_-]`. (For backward compatibility internal
      infrastructure and tooling can handle any ascii character.) - The `/` is
      sometimes used to denote a property of a type. For example
      `line_item/amount`. This convention is deprecated, but will still be
      honored for backward compatibility.
    properties: Description the nested structure, or composition of an entity.
  r   Tr   r   9GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValuesr   r   7GoogleCloudDocumentaiV1DocumentSchemaEntityTypePropertyr   N)r   r   r   r   r   r    	baseTypesrR  r   
enumValuesr%   r  r   r   r   rP  rP  
  sp    2 $i##A5)%	%%a(+%y%%&acde*			q	!$%y%%&_abmqr*r   rP  c                   8    e Zd ZdZ ej
                  dd      Zy)rV  zzDefines the a list of enum values.

  Fields:
    values: The individual values that this enum values type can include.
  r   Tr   N)r   r   r   r   r   r    valuesr   r   r   rV  rV  
  s     !9  T2&r   rV  c                      e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  d      Z	 ej                  dd      Z ej                  d      Z ej                  dd	      Z ej                  d
      Zy)rW  a  Defines properties that can be part of the entity type.

  Enums:
    MethodValueValuesEnum: Specifies how the entity's value is obtained.
    OccurrenceTypeValueValuesEnum: Occurrence type limits the number of
      instances an entity type appears in the document.

  Fields:
    displayName: User defined name for the property.
    method: Specifies how the entity's value is obtained.
    name: The name of the property. Follows the same guidelines as the
      EntityType name.
    occurrenceType: Occurrence type limits the number of instances an entity
      type appears in the document.
    valueType: A reference to the value type of the property. This type is
      subject to the same conventions as the `Entity.base_types` field.
  c                       e Zd ZdZdZdZdZy)MGoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.MethodValueValuesEnuman  Specifies how the entity's value is obtained.

    Values:
      METHOD_UNSPECIFIED: Unspecified method. It defaults to `EXTRACT`.
      EXTRACT: The entity's value is directly extracted as-is from the
        document text.
      DERIVE: The entity's value is derived through inference and is not
        necessarily an exact text extraction from the document.
    r   r   r   Nr  r   r   r   r  r^  
  s     GFr   r  c                   $    e Zd ZdZdZdZdZdZdZy)UGoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.OccurrenceTypeValueValuesEnumaW  Occurrence type limits the number of instances an entity type appears
    in the document.

    Values:
      OCCURRENCE_TYPE_UNSPECIFIED: Unspecified occurrence type.
      OPTIONAL_ONCE: There will be zero or one instance of this entity type.
        The same entity instance may be mentioned multiple times.
      OPTIONAL_MULTIPLE: The entity type will appear zero or multiple times.
      REQUIRED_ONCE: The entity type will only appear exactly once. The same
        entity instance may be mentioned multiple times.
      REQUIRED_MULTIPLE: The entity type will appear once or more times.
    r   r   r   r   r   N)	r   r   r   r   OCCURRENCE_TYPE_UNSPECIFIEDOPTIONAL_ONCEOPTIONAL_MULTIPLEREQUIRED_ONCEREQUIRED_MULTIPLEr   r   r   OccurrenceTypeValueValuesEnumr`    s%     #$MMr   rf  r   r   r   r   r   N)r   r   r   r   r   rG   r  rf  r    rR  rJ   r  r%   occurrenceTyper  r   r   r   rW  rW  
  s    $inn inn & &	%%a(+96:&			q	!$&9&&'FJ.#i##A&)r   rW  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	y)rQ  a  Metadata for global schema behavior.

  Fields:
    documentAllowMultipleLabels: If true, on a given page, there can be
      multiple `document` annotations covering it.
    documentSplitter: If true, a `document` entity type can be applied to
      subdocument (splitting). Otherwise, it can only be applied to the entire
      document (classification).
    prefixedNamingOnProperties: If set, all the nested entities must be
      prefixed with the parents.
    skipNamingValidation: If set, we will skip the naming format validation in
      the schema. So the string values in `DocumentSchema.EntityType.name` and
      `DocumentSchema.EntityType.Property.name` will not be checked.
  r   r   r   r   N)
r   r   r   r   r   r  documentAllowMultipleLabelsdocumentSplitterprefixedNamingOnPropertiesskipNamingValidationr   r   r   rQ  rQ     sU     !7	 6 6q 9+Y++A.5y55a8///2r   rQ  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy)r7  ap  For a large document, sharding may be performed to produce several
  document shards. Each document shard contains this field to detail which
  shard it is.

  Fields:
    shardCount: Total number of shards.
    shardIndex: The 0-based index of this shard.
    textOffset: The index of the first character in Document.text in the
      overall document global text.
  r   r   r   N)	r   r   r   r   r   r4   
shardCount
shardIndex
textOffsetr   r   r   r7  r7  6  s?    	 &y%%a(*%y%%a(*%y%%a(*r   r7  c                   8   e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej                  d      Z	 ej
                  dd      Z
 ej                  d      Z ej
                  d	d
      Z ej                  d      Z ej                  d      Zy)r<  aD  Annotation for common text style attributes. This adheres to CSS
  conventions as much as possible.

  Fields:
    backgroundColor: Text background color.
    color: Text color.
    fontFamily: Font family such as `Arial`, `Times New Roman`.
      https://www.w3schools.com/cssref/pr_font_font-family.asp
    fontSize: Font size.
    fontWeight: [Font
      weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
      values are `normal`, `bold`, `bolder`, and `lighter`.
    textAnchor: Text anchor indexing into the Document.text.
    textDecoration: [Text
      decoration](https://www.w3schools.com/cssref/pr_text_text-
      decoration.asp). Follows CSS standard.
    textStyle: [Text style](https://www.w3schools.com/cssref/pr_font_font-
      style.asp). Possible values are `normal`, `italic`, and `oblique`.
  r'  r   r   r   ,GoogleCloudDocumentaiV1DocumentStyleFontSizer   r   r  r=   rO   rP   N)r   r   r   r   r   r   r(  colorr    
fontFamilyr*  r,  r  textDecoration	textStyler   r   r   r<  r<  G  s    ( +I**+<a@/
 )
 
 !2A
6%$y$$Q'*#Y##$RTUV($y$$Q'*%y%%&QSTU*(9((+.#i##A&)r   r<  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
y)rr  zFont size with unit.

  Fields:
    size: Font size for the text.
    unit: Unit for the font size. Follows CSS naming (such as `in`, `px`, and
      `pt`).
  r   r(   r   N)r   r   r   r   r   r*   r+   r,   sizer    r  r   r   r   rr  rr  f  s;     
		a):):)@)@	A$			q	!$r   rr  c                   ^    e Zd ZdZ ej
                  d      Z ej                  ddd      Zy)r  a  Text reference indexing into the Document.text.

  Fields:
    content: Contains the content of the text span so that users do not have
      to look it up in the text_segments. It is always populated for
      formFields.
    textSegments: The text segments from the Document.text.
  r   4GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentr   Tr   N)	r   r   r   r   r   r    rA  r   textSegmentsr   r   r   r  r  s  s4     "I!!!$''''(^`alpq,r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)rz  ag  A text segment in the Document.text. The indices may be out of bounds
  which indicate that the text extends into another document shard for large
  sharded documents. See ShardInfo.text_offset

  Fields:
    endIndex: TextSegment half open end UTF-8 char index in the Document.text.
    startIndex: TextSegment start UTF-8 char index in the Document.text.
  r   r   N)r   r   r   r   r   r4   endIndex
startIndexr   r   r   rz  rz    s-     $Y##A&(%y%%a(*r   rz  c                       e Zd ZdZ ej
                  d      Z ej                  ddd      Z ej                  dd      Z	y	)
r:  a  This message is used for text changes aka. OCR corrections.

  Fields:
    changedText: The text that replaces the text identified in the
      `text_anchor`.
    provenance: The history of this annotation.
    textAnchor: Provenance of the correction. Text anchor indexing into the
      Document.text. There can only be a single `TextAnchor.text_segments`
      element. If the start and end index of the text segment are the same,
      the text change is inserted before that index.
  r   r  r   Tr   r  r   N)
r   r   r   r   r   r    changedTextr   r  r  r   r   r   r:  r:    sJ    
 &	%%a(+%y%%&QST_cd*%y%%&QSTU*r   r:  c                   6    e Zd ZdZ ej
                  dd      Zy).GoogleCloudDocumentaiV1EnableProcessorMetadatarH  r  r   Nr  r   r   r   r  r    r   r   r  c                       e Zd ZdZy)r   z/Request message for the EnableProcessor method.Nr   r   r   r   r   r     r   r   r   c                       e Zd ZdZy).GoogleCloudDocumentaiV1EnableProcessorResponserK  Nr   r   r   r   r  r    r1  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)7GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadatarN  r  r   Nr  r   r   r   r  r    r   r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)r   zEvaluates the given ProcessorVersion against the supplied documents.

  Fields:
    evaluationDocuments: Optional. The documents used in the evaluation. If
      unspecified, use the processor's dataset as evaluation input.
  r  r   N)r   r   r   r   r   r   evaluationDocumentsr   r   r   r   r     s      /	../acder   r   c                   4    e Zd ZdZ ej
                  d      Zy)7GoogleCloudDocumentaiV1EvaluateProcessorVersionResponserQ  r   NrR  r   r   r   r  r    rT  r   r  c                   f   e Zd ZdZ ej
                  d       G d dej                               Z ej                  dd      Z
 ej                  d      Z ej                  dd	      Z ej                  dd
      Z ej                  d      Z ej                  d      Z ej                  d      Zy)!GoogleCloudDocumentaiV1Evaluationa  An evaluation of a ProcessorVersion's performance.

  Messages:
    EntityMetricsValue: Metrics across confidence levels, for different
      entities.

  Fields:
    allEntitiesMetrics: Metrics for all the entities in aggregate.
    createTime: The time that the evaluation was created.
    documentCounters: Counters for the documents used in the evaluation.
    entityMetrics: Metrics across confidence levels, for different entities.
    kmsKeyName: The KMS key name used for encryption.
    kmsKeyVersionName: The KMS key version with which data is encrypted.
    name: The resource name of the evaluation. Format: `projects/{project}/loc
      ations/{location}/processors/{processor}/processorVersions/{processor_ve
      rsion}/evaluations/{evaluation}`
  r  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)4GoogleCloudDocumentaiV1Evaluation.EntityMetricsValuea  Metrics across confidence levels, for different entities.

    Messages:
      AdditionalProperty: An additional property for a EntityMetricsValue
        object.

    Fields:
      additionalProperties: Additional properties of type EntityMetricsValue
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)GGoogleCloudDocumentaiV1Evaluation.EntityMetricsValue.AdditionalPropertyzAn additional property for a EntityMetricsValue object.

      Fields:
        key: Name of the additional property.
        value: A GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics
          attribute.
      r   7GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetricsr   N	r   r   r   r   r   r    r   r   r  r   r   r   r  r    s1    
 "I!!!$c$i$$%^`aber   r  r   Tr   Nr  r   r   r   EntityMetricsValuer    s6    
cY.. 
c 29112FTXYr   r  r  r   r   )GoogleCloudDocumentaiV1EvaluationCountersr   r   r   r=   rO   N)r   r   r   r   r   r
  r   r  r  r   allEntitiesMetricsr    r  documentCountersentityMetrics
kmsKeyNamekmsKeyVersionNamer%   r   r   r   r  r    s    $ "8!!"89Z9,, Z :Z2 .y--.gijk$y$$Q'*+Y++,WYZ[()(()=qA-$y$$Q'*+i++A.			q	!$r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  dd      Z
y)7GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetricszEvaluations metrics, at a specific confidence level.

  Fields:
    confidenceLevel: The confidence level.
    metrics: The metrics at the specific confidence level.
  r   r(   (GoogleCloudDocumentaiV1EvaluationMetricsr   N)r   r   r   r   r   r*   r+   r,   confidenceLevelr   metricsr   r   r   r  r    s>     )I((I4E4E4K4KL/"I""#MqQ'r   r  c                   P   e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	 ej
                  dej                  j                        Z
 ej
                  dej                  j                        Zy)r  a  Evaluation counters for the documents that were used.

  Fields:
    evaluatedDocumentsCount: How many documents were used in the evaluation.
    failedDocumentsCount: How many documents were not included in the
      evaluation as Document AI failed to process them.
    inputDocumentsCount: How many documents were sent for evaluation.
    invalidDocumentsCount: How many documents were not included in the
      evaluation as they didn't pass validation.
  r   r(   r   r   r   N)r   r   r   r   r   r4   r+   ro   evaluatedDocumentsCountfailedDocumentsCountinputDocumentsCountinvalidDocumentsCountr   r   r   r  r    s    	 3I221i>O>O>U>UV///9;L;L;R;RS.	..q):K:K:Q:QR0)00I<M<M<S<STr   r  c                      e Zd ZdZ ej
                  dej                  j                        Z ej                  dej                  j                        Z ej                  dej                  j                        Z ej                  dej                  j                        Z ej                  dej                  j                        Z ej
                  dej                  j                        Z ej                  d	ej                  j                        Z ej                  d
ej                  j                        Z ej
                  dej                  j                        Z ej                  dej                  j                        Z ej                  dej                  j                        Zy)r  a,  Evaluation metrics, either in aggregate or about a specific entity.

  Fields:
    f1Score: The calculated f1 score.
    falseNegativesCount: The amount of false negatives.
    falsePositivesCount: The amount of false positives.
    groundTruthDocumentCount: The amount of documents with a ground truth
      occurrence.
    groundTruthOccurrencesCount: The amount of occurrences in ground truth
      documents.
    precision: The calculated precision.
    predictedDocumentCount: The amount of documents with a predicted
      occurrence.
    predictedOccurrencesCount: The amount of occurrences in predicted
      documents.
    recall: The calculated recall.
    totalDocumentsCount: The amount of documents that had an occurrence of
      this label.
    truePositivesCount: The amount of true positives.
  r   r(   r   r   r   r   r=   rO   rP   rQ   r6  r8  N)r   r   r   r   r   r*   r+   r,   f1Scorer4   ro   falseNegativesCountfalsePositivesCountgroundTruthDocumentCountgroundTruthOccurrencesCount	precisionpredictedDocumentCountpredictedOccurrencesCountrecalltotalDocumentsCounttruePositivesCountr   r   r   r  r  )  sq   * !I  I,=,=,C,CD'.	..q):K:K:Q:QR.	..q):K:K:Q:QR3Y33Ay?P?P?V?VW 6	 6 6q)BSBSBYBY Z"i""1i.?.?.E.EF)1911!Y=N=N=T=TU4i44Q	@Q@Q@W@WX99+<+<+B+BC&.	..r9;L;L;R;RS-y--b):K:K:Q:QRr   r  c                      e Zd ZdZ G d dej
                        Z ej                  dej                  j                        Z
 ej                  dej                  j                        Z ej                  ddd	
      Z ej                  ddd	
      Z ej                  dej                  j                        Z ej                  dej                  j                        Z ej"                  dd      Zy)r  a_  Metrics across multiple confidence levels.

  Enums:
    MetricsTypeValueValuesEnum: The metrics type for the label.

  Fields:
    auprc: The calculated area under the precision recall curve (AUPRC),
      computed by integrating over all confidence thresholds.
    auprcExact: The AUPRC for metrics with fuzzy matching disabled, i.e.,
      exact matching only.
    confidenceLevelMetrics: Metrics across confidence levels with fuzzy
      matching enabled.
    confidenceLevelMetricsExact: Metrics across confidence levels with only
      exact matching.
    estimatedCalibrationError: The Estimated Calibration Error (ECE) of the
      confidence of the predicted entities.
    estimatedCalibrationErrorExact: The ECE for the predicted entities with
      fuzzy matching disabled, i.e., exact matching only.
    metricsType: The metrics type for the label.
  c                       e Zd ZdZdZdZy)RGoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.MetricsTypeValueValuesEnuma  The metrics type for the label.

    Values:
      METRICS_TYPE_UNSPECIFIED: The metrics type is unspecified. By default,
        metrics without a particular specification are for leaf entity types
        (i.e., top-level entity types without child types, or child types
        which are not parent types themselves).
      AGGREGATE: Indicates whether metrics for this particular label type
        represent an aggregate of metrics for other types instead of being
        based on actual TP/FP/FN values for the label type. Metrics for parent
        (i.e., non-leaf) entity types are an aggregate of metrics for their
        children.
    r   r   N)r   r   r   r   METRICS_TYPE_UNSPECIFIED	AGGREGATEr   r   r   MetricsTypeValueValuesEnumr  b  s      !Ir   r  r   r(   r   r  r   Tr   r   r   r=   rO   N)r   r   r   r   r   rG   r  r*   r+   r,   auprc
auprcExactr   confidenceLevelMetricsconfidenceLevelMetricsExactestimatedCalibrationErrorestimatedCalibrationErrorExactrJ   metricsTyper   r   r   r  r  L  s    *9>> " )

q)*;*;*A*A
B%#y##Ay/@/@/F/FG*19112kmny}~ 6	 6 67prs  C  !D2i221i>O>O>U>UV#79#7#79CTCTCZCZ#[ #	##$@!D+r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej                  d      Z	 ej                  d      Z
y)*GoogleCloudDocumentaiV1EvaluationReferencea  Gives a short summary of an evaluation, and links to the evaluation
  itself.

  Fields:
    aggregateMetrics: An aggregate of the statistics for the evaluation with
      fuzzy matching on.
    aggregateMetricsExact: An aggregate of the statistics for the evaluation
      with fuzzy matching off.
    evaluation: The resource name of the evaluation.
    operation: The resource name of the Long Running Operation for the
      evaluation.
  r  r   r   r   r   N)r   r   r   r   r   r   aggregateMetricsaggregateMetricsExactr    rS  	operationr   r   r   r  r  |  s[     ,Y++,VXYZ0)001[]^_$y$$Q'*#i##A&)r   r  c                   :    e Zd ZdZ ej
                  ddd      Zy)2GoogleCloudDocumentaiV1FetchProcessorTypesResponsezsResponse message for the FetchProcessorTypes method.

  Fields:
    processorTypes: The list of processor types.
  $GoogleCloudDocumentaiV1ProcessorTyper   Tr   N)r   r   r   r   r   r   processorTypesr   r   r   r  r    s"     *9))*PRS^bc.r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)"GoogleCloudDocumentaiV1GcsDocumentzSpecifies a document stored on Cloud Storage.

  Fields:
    gcsUri: The Cloud Storage object uri.
    mimeType: An IANA MIME type (RFC6838) of the content.
  r   r   N)r   r   r   r   r   r    r?  rG  r   r   r   r  r    s-     !9  #&"Y""1%(r   r  c                   :    e Zd ZdZ ej
                  ddd      Zy)r  zbSpecifies a set of documents on Cloud Storage.

  Fields:
    documents: The list of documents.
  r  r   Tr   N)r   r   r   r   r   r   	documentsr   r   r   r  r    s!     %i$$%I1W[\)r   r  c                   4    e Zd ZdZ ej
                  d      Zy)r  nSpecifies all documents on Cloud Storage with a common prefix.

  Fields:
    gcsUriPrefix: The URI prefix.
  r   Nr   r   r   r   r   r    gcsUriPrefixr   r   r   r  r         '&&q),r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z
 ej                  d      Zy)r  L  The status of human review on a processed document.

  Enums:
    StateValueValuesEnum: The state of human review on the processing request.

  Fields:
    humanReviewOperation: The name of the operation triggered by the processed
      document. This field is populated only when the state is
      `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata
      as the long-running operation returned by ReviewDocument.
    state: The state of human review on the processing request.
    stateMessage: A message providing more details about the human review
      state.
  c                   $    e Zd ZdZdZdZdZdZdZy)=GoogleCloudDocumentaiV1HumanReviewStatus.StateValueValuesEnum  The state of human review on the processing request.

    Values:
      STATE_UNSPECIFIED: Human review state is unspecified. Most likely due to
        an internal error.
      SKIPPED: Human review is skipped for the document. This can happen
        because human review isn't enabled on the processor or the processing
        request has been set to skip this document.
      VALIDATION_PASSED: Human review validation is triggered and passed, so
        no review is needed.
      IN_PROGRESS: Human review validation is triggered and the document is
        under review.
      ERROR: Some error happened during triggering human review, see the
        state_message for details.
    r   r   r   r   r   N	r   r   r   r   r  SKIPPEDVALIDATION_PASSEDIN_PROGRESSERRORr   r   r   r  r    $     GKEr   r  r   r   r   Nr   r   r   r   r   rG   r  r    humanReviewOperationrJ   r  r  r   r   r   r  r    S    Y^^ , /..q1
)

4a
8%&&&q),r   r  c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy).GoogleCloudDocumentaiV1ListEvaluationsResponsezThe response from `ListEvaluations`.

  Fields:
    evaluations: The evaluations requested.
    nextPageToken: A token, which can be sent as `page_token` to retrieve the
      next page. If this field is omitted, there are no subsequent pages.
  r  r   Tr   r   N)	r   r   r   r   r   r   evaluationsr    nextPageTokenr   r   r   r  r    s3     '	&&'JAX\]+')''*-r   r  c                   ^    e Zd ZdZ ej
                  d      Z ej                  ddd      Zy)1GoogleCloudDocumentaiV1ListProcessorTypesResponsezResponse message for the ListProcessorTypes method.

  Fields:
    nextPageToken: Points to the next page, otherwise empty.
    processorTypes: The processor types.
  r   r  r   Tr   N)	r   r   r   r   r   r    r  r   r  r   r   r   r  r    s4     ()''*-)9))*PRS^bc.r   r  c                   ^    e Zd ZdZ ej
                  d      Z ej                  ddd      Zy)4GoogleCloudDocumentaiV1ListProcessorVersionsResponsezResponse message for the ListProcessorVersions method.

  Fields:
    nextPageToken: Points to the next processor, otherwise empty.
    processorVersions: The list of processors.
  r   'GoogleCloudDocumentaiV1ProcessorVersionr   Tr   N)	r   r   r   r   r   r    r  r   processorVersionsr   r   r   r  r    s5     ()''*-,i,,-VXYdhir   r  c                   ^    e Zd ZdZ ej
                  d      Z ej                  ddd      Zy)-GoogleCloudDocumentaiV1ListProcessorsResponsezResponse message for the ListProcessors method.

  Fields:
    nextPageToken: Points to the next processor, otherwise empty.
    processors: The list of processors.
  r   r   r   Tr   N)	r   r   r   r   r   r    r  r   
processorsr   r   r   r  r  
  s3     ()''*-%y%%&H!VZ[*r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	y)r  zA vertex represents a 2D point in the image. NOTE: the normalized vertex
  coordinates are relative to the original image and range from 0 to 1.

  Fields:
    x: X coordinate.
    y: Y coordinate (starts from the top of the image).
  r   r(   r   N)
r   r   r   r   r   r*   r+   r,   xyr   r   r   r  r    sI     i1i&7&7&=&=>!i1i&7&7&=&=>!r   r  c                   8   e Zd ZdZ ej
                  dd      Z ej                  d      Z ej                  d      Z	 ej                  d      Z
 ej                  d      Z ej                  d	      Z ej                  d
d      Z ej                  dd      Zy) GoogleCloudDocumentaiV1OcrConfiga2  Config for Document OCR.

  Fields:
    advancedOcrOptions: A list of advanced OCR options to further fine-tune
      OCR behavior. Current valid values are: - `legacy_layout`: a heuristics
      layout detection algorithm, which serves as an alternative to the
      current ML-based layout detection algorithm. Customers can choose the
      best suitable layout algorithm based on their situation.
    computeStyleInfo: Turn on font identification model and return font style
      information. Deprecated, use PremiumFeatures.compute_style_info instead.
    disableCharacterBoxesDetection: Turn off character box detector in OCR
      engine. Character box detection is enabled by default in OCR 2.0 (and
      later) processors.
    enableImageQualityScores: Enables intelligent document quality scores
      after OCR. Can help with diagnosing why OCR responses are of poor
      quality for a given input. Adds additional latency comparable to regular
      OCR to the process call.
    enableNativePdfParsing: Enables special handling for PDFs with existing
      text information. Results in better text extraction quality in such PDF
      inputs.
    enableSymbol: Includes symbol level OCR information if set to true.
    hints: Hints for the OCR model.
    premiumFeatures: Configurations for premium OCR features.
  r   Tr   r   r   r   r   r=   %GoogleCloudDocumentaiV1OcrConfigHintsrO   /GoogleCloudDocumentaiV1OcrConfigPremiumFeaturesrP   N)r   r   r   r   r   r    advancedOcrOptionsr  computeStyleInfodisableCharacterBoxesDetectionenableImageQualityScoresenableNativePdfParsingenableSymbolr   hintspremiumFeaturesr   r   r   r  r  #  s    2 -y,,Q>+Y++A.#99#9#9!#< 3Y33A61911!4'''*,
 )
 
 !H!
L%*I**+\^_`/r   r  c                   8    e Zd ZdZ ej
                  dd      Zy)r  a  Hints for OCR Engine

  Fields:
    languageHints: List of BCP-47 language codes to use for OCR. In most
      cases, not specifying it yields the best results since it enables
      automatic language detection. For languages based on the Latin alphabet,
      setting hints is not needed. In rare cases, when the language of the
      text in the image is known, setting a hint will help get better results
      (although it will be a significant hindrance if the hint is wrong).
  r   Tr   N)r   r   r   r   r   r    languageHintsr   r   r   r  r  G  s    	 ()''D9-r   r  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy)r  ak  Configurations for premium OCR features.

  Fields:
    computeStyleInfo: Turn on font identification model and return font style
      information.
    enableMathOcr: Turn on the model that can extract LaTeX math formulas.
    enableSelectionMarkDetection: Turn on selection mark detector in OCR
      engine. Only available in OCR 2.0 (and later) processors.
  r   r   r   N)	r   r   r   r   r   r  r  enableMathOcrenableSelectionMarkDetectionr   r   r   r  r  V  sA     ,Y++A.()((+-!7!7!7!:r   r  c                   H   e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	 ej                  dd      Z ej                  dd      Z ej                  d	d
      Z ej                  dd      Zy)r	  a  Options for Process API

  Fields:
    fromEnd: Only process certain pages from the end, same as above.
    fromStart: Only process certain pages from the start. Process all if the
      document has fewer pages.
    individualPageSelector: Which pages to process (1-indexed).
    layoutConfig: Optional. Only applicable to `LAYOUT_PARSER_PROCESSOR`.
      Returns error if set on other processor types.
    ocrConfig: Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`.
      Returns error if set on other processor types.
    schemaOverride: Optional. Override the schema of the ProcessorVersion.
      Will return an Invalid Argument error if this field is set when the
      underlying ProcessorVersion doesn't support schema override.
  r   r(   r   ;GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelectorr   1GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigr   r  r   rO  r=   N)r   r   r   r   r   r4   r+   ro   fromEnd	fromStartr   individualPageSelectorlayoutConfig	ocrConfigschemaOverrider   r   r   r	  r	  f  s      #I""1i.?.?.E.EF'$i$$Q	0A0A0G0GH)19112oqrs'''([]^_,$i$$%GK))9))*QSTU.r   r	  c                   b    e Zd ZdZ ej
                  ddej                  j                        Zy)r   zmA list of individual page numbers.

  Fields:
    pages: Optional. Indices of the pages (starting from 1).
  r   TrI  N)	r   r   r   r   r   r4   r+   ro   rH  r   r   r   r   r     s+     !)
 
 T9;L;L;R;R
S%r   r   c                   ~    e Zd ZdZ ej
                  dd      Z ej                  d      Z ej                  d      Z	y)r  aX  Serving config for layout parser processor.

  Fields:
    chunkingConfig: Optional. Config for chunking in layout parser processor.
    returnBoundingBoxes: Optional. Whether to include bounding boxes in layout
      parser processor response.
    returnImages: Optional. Whether to include images in layout parser
      processor response.
  ?GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfigr   r   r   N)
r   r   r   r   r   r   chunkingConfigr  returnBoundingBoxesreturnImagesr   r   r   r  r    sD     *9))*kmno..	..q1'''*,r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
y)r
  zServing config for chunking.

  Fields:
    chunkSize: Optional. The chunk sizes to use when splitting documents, in
      order of level.
    includeAncestorHeadings: Optional. Whether or not to include ancestor
      headings when splitting.
  r   r(   r   N)r   r   r   r   r   r4   r+   ro   	chunkSizer  includeAncestorHeadingsr   r   r   r
  r
    s<     %i$$Q	0A0A0G0GH)2I2215r   r
  c                      e Zd ZdZ ej
                  d       G d dej                               Z ej                  d      Z
 ej                  dd      Z ej                  d      Z ej                  d	d
      Z ej                  dd      Z ej                  dd      Z ej                  dd      Z ej                  d      Zy)r   a  Request message for the ProcessDocument method.

  Messages:
    LabelsValue: Optional. The labels with user-defined metadata for the
      request. Label keys and values can be no longer than 63 characters
      (Unicode codepoints) and can only contain lowercase letters, numeric
      characters, underscores, and dashes. International characters are
      allowed. Label values are optional. Label keys must start with a letter.

  Fields:
    fieldMask: Specifies which fields to include in the
      ProcessResponse.document output. Only supports top-level document and
      pages field, so it must be in the form of `{document_field_name}` or
      `pages.{page_field_name}`.
    gcsDocument: A raw document on Google Cloud Storage.
    imagelessMode: Optional. Option to remove images from the document.
    inlineDocument: An inline document proto.
    labels: Optional. The labels with user-defined metadata for the request.
      Label keys and values can be no longer than 63 characters (Unicode
      codepoints) and can only contain lowercase letters, numeric characters,
      underscores, and dashes. International characters are allowed. Label
      values are optional. Label keys must start with a letter.
    processOptions: Inference-time options for the process API
    rawDocument: A raw document content (bytes).
    skipHumanReview: Whether human review should be skipped for this request.
      Default to `false`.
  r  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)1GoogleCloudDocumentaiV1ProcessRequest.LabelsValuer  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)DGoogleCloudDocumentaiV1ProcessRequest.LabelsValue.AdditionalPropertyr  r   r   Nr  r   r   r   r  r    r  r   r  r   Tr   Nr  r   r   r   r  r    r  r   r  r   r  r   r   r/  r   r   r	  r=   "GoogleCloudDocumentaiV1RawDocumentrO   rP   N)r   r   r   r   r   r
  r   r  r  r    r  r   gcsDocumentr  imagelessModeinlineDocumentr  r  rawDocumentr  r   r   r   r   r     s    8 "8!!"89ZI%% Z :Z6 $i##A&)&	&&'KQO+()((+-)9))*KQO.!9!!-3&)9))*QSTU.&	&&'KQO+*I**1-/r   r   c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)&GoogleCloudDocumentaiV1ProcessResponsezResponse message for the ProcessDocument method.

  Fields:
    document: The document payload, will populate fields based on the
      processor's behavior.
    humanReviewStatus: The status of human review on the processed document.
  r/  r   r  r   N)r   r   r   r   r   r   documentr  r   r   r   r  r    s5     $Y##$EqI(,i,,-WYZ[r   r  c                      e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  d      Z
 ej                  d      Z ej                  d      Z ej                  d	      Z ej                  d
dd      Z ej                   d      Z ej                   d      Z ej&                  dd      Z ej                  d      Zy)r   a  The first-class citizen for Document AI. Each processor defines how to
  extract structural information from a document.

  Enums:
    StateValueValuesEnum: Output only. The state of the processor.

  Fields:
    createTime: Output only. The time the processor was created.
    defaultProcessorVersion: The default processor version.
    displayName: The display name of the processor.
    kmsKeyName: The [KMS key](https://cloud.google.com/security-key-
      management) used for encryption and decryption in CMEK scenarios.
    name: Output only. Immutable. The resource name of the processor. Format:
      `projects/{project}/locations/{location}/processors/{processor}`
    processEndpoint: Output only. Immutable. The http endpoint that can be
      called to invoke processing.
    processorVersionAliases: Output only. The processor version aliases.
    satisfiesPzi: Output only. Reserved for future use.
    satisfiesPzs: Output only. Reserved for future use.
    state: Output only. The state of the processor.
    type: The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
      To get a list of processor types, see FetchProcessorTypes.
  c                   0    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zy
)5GoogleCloudDocumentaiV1Processor.StateValueValuesEnuma  Output only. The state of the processor.

    Values:
      STATE_UNSPECIFIED: The processor is in an unspecified state.
      ENABLED: The processor is enabled, i.e., has an enabled version which
        can currently serve processing requests and all the feature
        dependencies have been successfully initialized.
      DISABLED: The processor is disabled.
      ENABLING: The processor is being enabled, will become `ENABLED` if
        successful.
      DISABLING: The processor is being disabled, will become `DISABLED` if
        successful.
      CREATING: The processor is being created, will become either `ENABLED`
        (for successful creation) or `FAILED` (for failed ones). Once a
        processor is in this state, it can then be used for document
        processing, but the feature dependencies of the processor might not be
        fully created yet.
      FAILED: The processor failed during creation or initialization of
        feature dependencies. The user should delete the processor and
        recreate one as all the functionalities of the processor are disabled.
      DELETING: The processor is being deleted, will be removed if successful.
    r   r   r   r   r   r   r=   rO   N)r   r   r   r   r  ENABLEDDISABLEDENABLING	DISABLINGCREATINGr  DELETINGr   r   r   r  r     s2    , GHHIHFHr   r  r   r   r   r   r   r=   ,GoogleCloudDocumentaiV1ProcessorVersionAliasrO   Tr   rP   rQ   r6  r8  N)r   r   r   r   r   rG   r  r    r  defaultProcessorVersionrR  r  r%   processEndpointr   processorVersionAliasesr  satisfiesPzisatisfiesPzsrJ   r  rv  r   r   r   r   r     s    0Y^^ @ %y$$Q'*1I11!4%	%%a(+$y$$Q'*			q	!$)I))!,/2I223acdost'''*,'''*,
)

4b
9%			r	"$r   r   c                   B   e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  ddd      Z
 ej                  d	      Z ej                  dd
      Z ej                  d      Z ej                  dd      Z ej                  d      Zy)r  ar  A processor type is responsible for performing a certain document
  understanding task on a certain type of document.

  Enums:
    LaunchStageValueValuesEnum: Launch stage of the processor type

  Fields:
    allowCreation: Whether the processor type allows creation. If true, users
      can create a processor of this processor type. Otherwise, users need to
      request access.
    availableLocations: The locations in which this processor is available.
    category: The processor category, used by UI to group processor types.
    launchStage: Launch stage of the processor type
    name: The resource name of the processor type. Format:
      `projects/{project}/processorTypes/{processor_type}`
    sampleDocumentUris: A set of Cloud Storage URIs of sample documents for
      this processor.
    type: The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
  c                   0    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zy
)?GoogleCloudDocumentaiV1ProcessorType.LaunchStageValueValuesEnumam  Launch stage of the processor type

    Values:
      LAUNCH_STAGE_UNSPECIFIED: Do not use this default value.
      UNIMPLEMENTED: The feature is not yet implemented. Users can not use it.
      PRELAUNCH: Prelaunch features are hidden from users and are only visible
        internally.
      EARLY_ACCESS: Early Access features are limited to a closed group of
        testers. To use these features, you must sign up in advance and sign a
        Trusted Tester agreement (which includes confidentiality provisions).
        These features may be unstable, changed in backward-incompatible ways,
        and are not guaranteed to be released.
      ALPHA: Alpha is a limited availability test for releases before they are
        cleared for widespread use. By Alpha, all significant design issues
        are resolved and we are in the process of verifying functionality.
        Alpha customers need to apply for access, agree to applicable terms,
        and have their projects allowlisted. Alpha releases don't have to be
        feature complete, no SLAs are provided, and there are no technical
        support obligations, but they will be far enough along that customers
        can actually use them in test environments or for limited-use tests --
        just like they would in normal production cases.
      BETA: Beta is the point at which we are ready to open a release for any
        customer to use. There are no SLA or technical support obligations in
        a Beta release. Products will be complete from a feature perspective,
        but may have some open outstanding issues. Beta releases are suitable
        for limited production use cases.
      GA: GA features are open to all developers and are considered stable and
        fully qualified for production use.
      DEPRECATED: Deprecated features are scheduled to be shut down and
        removed. For more information, see the "Deprecation Policy" section of
        our [Terms of Service](https://cloud.google.com/terms/) and the
        [Google Cloud Platform Subject to the Deprecation
        Policy](https://cloud.google.com/terms/deprecation) documentation.
    r   r   r   r   r   r   r=   rO   N)r   r   r   r   LAUNCH_STAGE_UNSPECIFIEDUNIMPLEMENTED	PRELAUNCHEARLY_ACCESSALPHABETAGA
DEPRECATEDr   r   r   LaunchStageValueValuesEnumr/  R  s3    !D  !MILED	
BJr   r8  r   0GoogleCloudDocumentaiV1ProcessorTypeLocationInfor   Tr   r   r   r   r=   rO   N)r   r   r   r   r   rG   r8  r  allowCreationr   availableLocationsr    categoryrJ   launchStager%   sampleDocumentUrisrv  r   r   r   r  r  =  s    (*9>> *X ))((+--y--.`bcnrs"Y""1%(#	##$@!D+			q	!$,y,,Q>			q	!$r   r  c                   4    e Zd ZdZ ej
                  d      Zy)r9  zThe location information about where the processor is available.

  Fields:
    locationId: The location ID. For supported locations, refer to [regional
      and multi-regional support](/document-ai/docs/regions).
  r   N)r   r   r   r   r   r    
locationIdr   r   r   r9  r9    r  r   r9  c                   h   e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  d      Z	 ej                  dd      Z ej                  d	      Z ej                  d
d      Z ej                  dd      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  dd      Z ej(                  dd      Z ej                  d      Z ej                  d      Z ej                  d      Z ej(                  dd      Zy)r  a  A processor version is an implementation of a processor. Each processor
  can have multiple versions, pretrained by Google internally or uptrained by
  the customer. A processor can only have one default version at a time. Its
  document-processing behavior is defined by that version.

  Enums:
    ModelTypeValueValuesEnum: Output only. The model type of this processor
      version.
    StateValueValuesEnum: Output only. The state of the processor version.

  Fields:
    createTime: Output only. The time the processor version was created.
    deprecationInfo: Output only. If set, information about the eventual
      deprecation of this version.
    displayName: The display name of the processor version.
    documentSchema: Output only. The schema of the processor version.
      Describes the output.
    genAiModelInfo: Output only. Information about Generative AI model-based
      processor versions.
    googleManaged: Output only. Denotes that this `ProcessorVersion` is
      managed by Google.
    kmsKeyName: Output only. The KMS key name used for encryption.
    kmsKeyVersionName: Output only. The KMS key version with which data is
      encrypted.
    latestEvaluation: Output only. The most recently invoked evaluation for
      the processor version.
    modelType: Output only. The model type of this processor version.
    name: Identifier. The resource name of the processor version. Format: `pro
      jects/{project}/locations/{location}/processors/{processor}/processorVer
      sions/{processor_version}`
    satisfiesPzi: Output only. Reserved for future use.
    satisfiesPzs: Output only. Reserved for future use.
    state: Output only. The state of the processor version.
  c                       e Zd ZdZdZdZdZy)@GoogleCloudDocumentaiV1ProcessorVersion.ModelTypeValueValuesEnuma4  Output only. The model type of this processor version.

    Values:
      MODEL_TYPE_UNSPECIFIED: The processor version has unspecified model
        type.
      MODEL_TYPE_GENERATIVE: The processor version has generative model type.
      MODEL_TYPE_CUSTOM: The processor version has custom model type.
    r   r   r   N)r   r   r   r   MODEL_TYPE_UNSPECIFIEDMODEL_TYPE_GENERATIVEMODEL_TYPE_CUSTOMr   r   r   ModelTypeValueValuesEnumrC    s     r   rG  c                   4    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
Zy)<GoogleCloudDocumentaiV1ProcessorVersion.StateValueValuesEnuma  Output only. The state of the processor version.

    Values:
      STATE_UNSPECIFIED: The processor version is in an unspecified state.
      DEPLOYED: The processor version is deployed and can be used for
        processing.
      DEPLOYING: The processor version is being deployed.
      UNDEPLOYED: The processor version is not deployed and cannot be used for
        processing.
      UNDEPLOYING: The processor version is being undeployed.
      CREATING: The processor version is being created.
      DELETING: The processor version is being deleted.
      FAILED: The processor version failed and is in an indeterminate state.
      IMPORTING: The processor version is being imported.
    r   r   r   r   r   r   r=   rO   rP   N)r   r   r   r   r  DEPLOYED	DEPLOYING
UNDEPLOYEDUNDEPLOYINGr%  r&  r  	IMPORTINGr   r   r   r  rI    s7     HIJKHHFIr   r  r   6GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfor   r   rO  r   5GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfor   r=   rO   rP   r  rQ   r6  r8  r9  r;  r=  N)r   r   r   r   r   rG   rG  r  r    r  r   deprecationInforR  documentSchemagenAiModelInfor  googleManagedr  r  latestEvaluationrJ   	modelTyper%   r+  r,  r  r   r   r   r  r    s>   !F Y^^ 4 %y$$Q'**I**+cefg/%	%%a(+)9))*QSTU.)9))*acde.()((+-$y$$Q'*+i++A.+Y++,XZ[\!i!!"<bA)			r	"$'''+,'''+,
)

4b
9%r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r'  zContains the alias and the aliased resource name of processor version.

  Fields:
    alias: The alias in the form of `processor_version` resource name.
    processorVersion: The resource name of aliased processor version.
  r   r   N)r   r   r   r   r   r    aliasr   r   r   r   r'  r'    s.      )


"%*Y**1-r   r'  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)rO  a  Information about the upcoming deprecation of this processor version.

  Fields:
    deprecationTime: The time at which this processor version will be
      deprecated.
    replacementProcessorVersion: If set, the processor version that will be
      used as a replacement.
  r   r   N)r   r   r   r   r   r    deprecationTimereplacementProcessorVersionr   r   r   rO  rO    s.     *I))!,/ 5	 5 5a 8r   rO  c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)rP  a  Information about Generative AI model-based processor versions.

  Fields:
    customGenAiModelInfo: Information for a custom Generative AI model created
      by the user.
    foundationGenAiModelInfo: Information for a pretrained Google-managed
      foundation model.
  IGoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfor   MGoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfor   N)r   r   r   r   r   r   customGenAiModelInfofoundationGenAiModelInfor   r   r   rP  rP    sA     0//0{}~3Y33  5D  FG  Hr   rP  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z
y)r]  a  Information for a custom Generative AI model created by the user. These
  are created with `Create New Version` in either the `Call foundation model`
  or `Fine tuning` tabs.

  Enums:
    CustomModelTypeValueValuesEnum: The type of custom model created by the
      user.

  Fields:
    baseProcessorVersionId: The base processor version ID for the custom
      model.
    customModelType: The type of custom model created by the user.
  c                       e Zd ZdZdZdZdZy)hGoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo.CustomModelTypeValueValuesEnuma  The type of custom model created by the user.

    Values:
      CUSTOM_MODEL_TYPE_UNSPECIFIED: The model type is unspecified.
      VERSIONED_FOUNDATION: The model is a versioned foundation model.
      FINE_TUNED: The model is a finetuned foundation model.
    r   r   r   N)r   r   r   r   CUSTOM_MODEL_TYPE_UNSPECIFIEDVERSIONED_FOUNDATION
FINE_TUNEDr   r   r   CustomModelTypeValueValuesEnumrc  $  s     %&!Jr   rg  r   r   N)r   r   r   r   r   rG   rg  r    baseProcessorVersionIdrJ   customModelTyper   r   r   r]  r]    sA    
y~~ 
 19003'I''(H!L/r   r]  c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
y)r^  a$  Information for a pretrained Google-managed foundation model.

  Fields:
    finetuningAllowed: Whether finetuning is allowed for this base processor
      version.
    minTrainLabeledDocuments: The minimum number of labeled documents in the
      training dataset required for finetuning.
  r   r   r(   N)r   r   r   r   r   r  finetuningAllowedr4   r+   ro   minTrainLabeledDocumentsr   r   r   r^  r^  4  s=     -i,,Q/3Y33Ay?P?P?V?VWr   r^  c                   |    e Zd ZdZ ej
                  d      Z ej                  d      Z ej                  d      Z	y)r  a  Payload message of raw document content (bytes).

  Fields:
    content: Inline document content.
    displayName: The display name of the document, it supports all Unicode
      characters except the following: `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`,
      `\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID
      is generated.
    mimeType: An IANA MIME type (RFC6838) indicating the nature and format of
      the content.
  r   r   r   N)
r   r   r   r   r   r@  rA  r    rR  rG  r   r   r   r  r  B  s?    
 !I  #'%	%%a(+"Y""1%(r   r  c                   Z    e Zd ZdZ ej
                  dd      Z ej                  d      Zy)6GoogleCloudDocumentaiV1ReviewDocumentOperationMetadatazThe long-running operation metadata for the ReviewDocument method.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    questionId: The Crowd Compute question ID.
  r  r   r   N)	r   r   r   r   r   r   r   r    
questionIdr   r   r   ro  ro  T  s1     *9))*Z\]^.$y$$Q'*r   ro  c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  d      Z
 ej                  dd      Z ej                  dd	      Zy
)r   a  Request message for the ReviewDocument method.

  Enums:
    PriorityValueValuesEnum: The priority of the human review task.

  Fields:
    documentSchema: The document schema of the human review task.
    enableSchemaValidation: Whether the validation should be performed on the
      ad-hoc review request.
    inlineDocument: An inline document proto.
    priority: The priority of the human review task.
  c                       e Zd ZdZdZdZy)DGoogleCloudDocumentaiV1ReviewDocumentRequest.PriorityValueValuesEnuma  The priority of the human review task.

    Values:
      DEFAULT: The default priority level.
      URGENT: The urgent priority level. The labeling manager should allocate
        labeler resource to the urgent task queue to respect this priority
        level.
    r   r   N)r   r   r   r   DEFAULTURGENTr   r   r   PriorityValueValuesEnumrs  n  s     GFr   rv  rO  r   r   r/  r   r   N)r   r   r   r   r   rG   rv  r   rR  r  enableSchemaValidationr  rJ   priorityr   r   r   r   r   `  sl    
	 
 *9))*QSTU.1911!4)9))*KQO. Y  !:A>(r   r   c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  dd      Zy)-GoogleCloudDocumentaiV1ReviewDocumentResponsef  Response message for the ReviewDocument method.

  Enums:
    StateValueValuesEnum: The state of the review operation.

  Fields:
    gcsDestination: The Cloud Storage uri for the human reviewed document if
      the review is succeeded.
    rejectionReason: The reason why the review is rejected by reviewer.
    state: The state of the review operation.
  c                       e Zd ZdZdZdZdZy)BGoogleCloudDocumentaiV1ReviewDocumentResponse.StateValueValuesEnum
  The state of the review operation.

    Values:
      STATE_UNSPECIFIED: The default value. This value is used if the state is
        omitted.
      REJECTED: The review operation is rejected by the reviewer.
      SUCCEEDED: The review operation is succeeded.
    r   r   r   Nr   r   r   r   r  REJECTEDr  r   r   r   r  r}         HIr   r  r   r   r   Nr   r   r   r   r   rG   r  r    gcsDestinationrejectionReasonrJ   r  r   r   r   rz  rz    R    
Y^^  )9((+.)I))!,/
)

4a
8%r   rz  c                   6    e Zd ZdZ ej
                  dd      Zy)9GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadatar  r  r   Nr  r   r   r   r  r    r#  r   r  c                   4    e Zd ZdZ ej
                  d      Zy)r   a   Request message for the SetDefaultProcessorVersion method.

  Fields:
    defaultProcessorVersion: Required. The resource name of child
      ProcessorVersion to use as default. Format: `projects/{project}/location
      s/{location}/processors/{processor}/processorVersions/{version}`
  r   N)r   r   r   r   r   r    r(  r   r   r   r   r     s     2I11!4r   r   c                       e Zd ZdZy)9GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponser  Nr   r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy)4GoogleCloudDocumentaiV1TrainProcessorVersionMetadatar  r  r   EGoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidationr   r   Nr  r   r   r   r  r    sP     *9))*Z\]^.0)001xz{|4i445|~  Ar   r  c                      e Zd ZdZ ej
                  dej                  j                        Z ej                  ddd      Z
 ej
                  dej                  j                        Z ej                  dd	d      Zy
)r  r  r   r(   r   r   Tr   r   r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  d      Z ej                  dd      Z ej                  dd      Z	 ej                  dd      Z
 ej                  d	d
      Z ej                  dd      Zy)r   a  Request message for the TrainProcessorVersion method.

  Fields:
    baseProcessorVersion: Optional. The processor version to use as a base for
      training. This processor version must be a child of `parent`. Format: `p
      rojects/{project}/locations/{location}/processors/{processor}/processorV
      ersions/{processorVersion}`.
    customDocumentExtractionOptions: Options to control Custom Document
      Extraction (CDE) Processor.
    documentSchema: Optional. The schema the processor version will be trained
      with.
    foundationModelTuningOptions: Options to control foundation model tuning
      of a processor.
    inputData: Optional. The input data used to train the ProcessorVersion.
    processorVersion: Required. The processor version to be created.
  r   RGoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptionsr   rO  r   OGoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptionsr   <GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputDatar   r  r=   N)r   r   r   r   r   r    baseProcessorVersionr   customDocumentExtractionOptionsrR  foundationModelTuningOptions	inputDatar   r   r   r   r   r     s    " /..q1$:I$:$:  <P  RS  %T!)9))*QSTU.!7!7!7  9J  LM  "N$i$$%cefg)+Y++,UWXYr   r   c                   `    e Zd ZdZ G d dej
                        Z ej                  dd      Zy)r  zOptions to control the training of the Custom Document Extraction (CDE)
  Processor.

  Enums:
    TrainingMethodValueValuesEnum: Training method to use for CDE training.

  Fields:
    trainingMethod: Training method to use for CDE training.
  c                       e Zd ZdZdZdZdZy)pGoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions.TrainingMethodValueValuesEnumzTraining method to use for CDE training.

    Values:
      TRAINING_METHOD_UNSPECIFIED: <no description>
      MODEL_BASED: <no description>
      TEMPLATE_BASED: <no description>
    r   r   r   N)r   r   r   r   TRAINING_METHOD_UNSPECIFIEDMODEL_BASEDTEMPLATE_BASEDr   r   r   TrainingMethodValueValuesEnumr    s     #$KNr   r  r   N)	r   r   r   r   r   rG   r  rJ   trainingMethodr   r   r   r  r    s.    
inn 
 '9&&'FJ.r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  dej                  j                        Zy)r  a  Options to control foundation model tuning of the processor.

  Fields:
    learningRateMultiplier: Optional. The multiplier to apply to the
      recommended learning rate. Valid values are between 0.1 and 10. If not
      provided, recommended learning rate will be used.
    trainSteps: Optional. The number of steps to run for model tuning. Valid
      values are between 1 and 400. If not provided, recommended steps will be
      used.
  r   r(   r   N)r   r   r   r   r   r*   r+   r,   learningRateMultiplierr4   ro   
trainStepsr   r   r   r  r    sJ    	 09//9;L;L;R;RS%y%%a1B1B1H1HI*r   r  c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)r  zThe input data used to train a new ProcessorVersion.

  Fields:
    testDocuments: The documents used for testing the trained version.
    trainingDocuments: The documents used for training the new version.
  r  r   r   N)r   r   r   r   r   r   testDocumentstrainingDocumentsr   r   r   r  r  !  s6     ))(()[]^_-,i,,-_abcr   r  c                   4    e Zd ZdZ ej
                  d      Zy)4GoogleCloudDocumentaiV1TrainProcessorVersionResponser  r   Nr  r   r   r   r  r  -  r  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)7GoogleCloudDocumentaiV1UndeployProcessorVersionMetadatar  r  r   Nr  r   r   r   r  r  8  r#  r   r  c                       e Zd ZdZy)r   z8Request message for the UndeployProcessorVersion method.Nr   r   r   r   r   r   C  s    Ar   r   c                       e Zd ZdZy)7GoogleCloudDocumentaiV1UndeployProcessorVersionResponser  Nr   r   r   r   r  r  G  r  r   r  c                       e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	y)r  zA vertex represents a 2D point in the image. NOTE: the vertex
  coordinates are in the same scale as the original image.

  Fields:
    x: X coordinate.
    y: Y coordinate (starts from the top of the image).
  r   r(   r   N)
r   r   r   r   r   r4   r+   ro   r  r  r   r   r   r  r  K  sI     iQ	(9(9(?(?@!iQ	(9(9(?(?@!r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dej                  j                        Z
 ej
                  ddd	      Z ej                  d
ej                  j                        Zy)8GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataa  A GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata object.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    errorDocumentCount: Total number of documents that failed to be deleted in
      storage.
    individualBatchDeleteStatuses: The list of response details of each
      document.
    totalDocumentCount: Total number of documents deleting from dataset.
  3GoogleCloudDocumentaiV1beta3CommonOperationMetadatar   r   r(   SGoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatusr   Tr   r   Nr   r   r   r   r  r  X  s    	 *9))*_abc.-y--a9J9J9P9PQ"8)"8"8  :O  QR  ]a  #b-y--a9J9J9P9PQr   r  c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)r  r   &GoogleCloudDocumentaiV1beta3DocumentIdr   r   r   Nr   r   r   r   r  r  j  s4     &y%%&NPQR*!9!!"3Q7&r   r  c                       e Zd ZdZy)8GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponser   Nr   r   r   r   r  r  v  r   r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  ddd      Z
 ej                  dd	      Z ej                  d
      Z ej                  d      Zy)0GoogleCloudDocumentaiV1beta3BatchProcessMetadatar  c                   ,    e Zd ZdZdZdZdZdZdZdZ	dZ
y	)
EGoogleCloudDocumentaiV1beta3BatchProcessMetadata.StateValueValuesEnumr  r   r   r   r   r   r   r=   Nr  r   r   r   r  r    r  r   r  r   GGoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatusr   Tr   r   r   r   Nr  r   r   r   r  r  z  s    Y^^ * %y$$Q'*4i445~  AB  MQ  R
)

4a
8%&&&q),$y$$Q'*r   r  c                       e Zd ZdZ ej
                  d      Z ej                  dd      Z ej
                  d      Z	 ej
                  d      Z
 ej                  dd      Zy	)
r  a@  The status of a each individual document in the batch process.

  Fields:
    humanReviewOperation: The name of the operation triggered by the processed
      document. If the human review process isn't triggered, this field will
      be empty. It has the same response type and metadata as the long-running
      operation returned by the ReviewDocument method.
    humanReviewStatus: The status of human review on the processed document.
    inputGcsSource: The source of the document, same as the input_gcs_source
      field in the request when the batch process started.
    outputGcsDestination: The Cloud Storage output destination (in the request
      as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed
      document if it was successful, otherwise empty.
    status: The status processing the document.
  r   -GoogleCloudDocumentaiV1beta3HumanReviewStatusr   r   r   r   r   N)r   r   r   r   r   r    r  r   r  rs  r\  r   r   r   r   r  r    sm      /..q1,i,,-\^_`(9((+....q1!9!!"3Q7&r   r  c                       e Zd ZdZy)0GoogleCloudDocumentaiV1beta3BatchProcessResponser  Nr   r   r   r   r  r    r   r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  dd      Z ej                  d      Z ej                  d      Zy	)
r  r  c                   (    e Zd ZdZdZdZdZdZdZdZ	y)	HGoogleCloudDocumentaiV1beta3CommonOperationMetadata.StateValueValuesEnumr  r   r   r   r   r   r   Nr  r   r   r   r  r    r  r   r  r   r   r   r   r   Nr  r   r   r   r  r    r  r   r  c                   d   e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dd      Z	 ej                  d      Z ej                  d	      Z ej                  d
      Z ej                  dd      Z ej                   dd      Z ej                  dd      Zy)#GoogleCloudDocumentaiV1beta3Dataseta  A singleton resource under a Processor which configures a collection of
  documents.

  Enums:
    StateValueValuesEnum: Required. State of the dataset. Ignored when
      updating dataset.

  Fields:
    documentWarehouseConfig: Optional. Deprecated. Warehouse-based dataset
      configuration is not supported.
    gcsManagedConfig: Optional. User-managed Cloud Storage dataset
      configuration. Use this configuration if the dataset documents are
      stored under a user-managed Cloud Storage location.
    name: Dataset resource name. Format:
      `projects/{project}/locations/{location}/processors/{processor}/dataset`
    satisfiesPzi: Output only. Reserved for future use.
    satisfiesPzs: Output only. Reserved for future use.
    spannerIndexingConfig: Optional. A lightweight indexing source with low
      latency and high reliability, but lacking advanced features like CMEK
      and content-based search.
    state: Required. State of the dataset. Ignored when updating dataset.
    unmanagedDatasetConfig: Optional. Unmanaged dataset configuration. Use
      this configuration if the dataset documents are managed by the document
      service internally (not user-managed).
  c                        e Zd ZdZdZdZdZdZy)8GoogleCloudDocumentaiV1beta3Dataset.StateValueValuesEnuma1  Required. State of the dataset. Ignored when updating dataset.

    Values:
      STATE_UNSPECIFIED: Default unspecified enum, should not be used.
      UNINITIALIZED: Dataset has not been initialized.
      INITIALIZING: Dataset is being initialized.
      INITIALIZED: Dataset has been initialized.
    r   r   r   r   N)r   r   r   r   r  UNINITIALIZEDINITIALIZINGINITIALIZEDr   r   r   r  r    s     MLKr   r  :GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfigr   3GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfigr   r   r   r   8GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfigr=   rO   9GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfigrP   N)r   r   r   r   r   rG   r  r   documentWarehouseConfiggcsManagedConfigr    r%   r  r+  r,  spannerIndexingConfigrJ   r  unmanagedDatasetConfigr   r   r   r  r    s    4Y^^  3I223oqrs+Y++,acde			q	!$'''*,'''*,0)001kmno
)

4a
8%19112mopqr   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r  a!  Configuration specific to the Document AI Warehouse-based
  implementation.

  Fields:
    collection: Output only. The collection in Document AI Warehouse
      associated with the dataset.
    schema: Output only. The schema in Document AI Warehouse associated with
      the dataset.
  r   r   N)r   r   r   r   r   r    
collectionschemar   r   r   r  r    s-     %y$$Q'* 9  #&r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)r  zConfiguration specific to the Cloud Storage-based implementation.

  Fields:
    gcsPrefix: Required. The Cloud Storage URI (a directory) where the
      documents belonging to the dataset must be stored.
  %GoogleCloudDocumentaiV1beta3GcsPrefixr   N)r   r   r   r   r   r   r  r   r   r   r  r  +  s     %i$$%LaP)r   r  c                       e Zd ZdZy)r  z1Configuration specific to spanner-based indexing.Nr   r   r   r   r  r  6  r  r   r  c                       e Zd ZdZy)r  z/Configuration specific to an unmanaged dataset.Nr   r   r   r   r  r  :  r   r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)3GoogleCloudDocumentaiV1beta3DeleteProcessorMetadatar  r  r   Nr  r   r   r   r  r  >       *9))*_abc.r   r  c                   6    e Zd ZdZ ej
                  dd      Zy):GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadatar"  r  r   Nr  r   r   r   r  r  H       *9))*_abc.r   r  c                   6    e Zd ZdZ ej
                  dd      Zy):GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadatar&  r  r   Nr  r   r   r   r  r  S  r  r   r  c                       e Zd ZdZy):GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponser)  Nr   r   r   r   r  r  ^  r*  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)4GoogleCloudDocumentaiV1beta3DisableProcessorMetadatar-  r  r   Nr  r   r   r   r  r  b  r  r   r  c                       e Zd ZdZy)4GoogleCloudDocumentaiV1beta3DisableProcessorResponser0  Nr   r   r   r   r  r  l  r1  r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy)	r  r3  :GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentIdr   'GoogleCloudDocumentaiV1beta3RevisionRefr   9GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentIdr   Nr7  r   r   r   r  r  s  sK     +I**+gijk/&	&&'PRST+)9))*eghi.r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r  r<  r   r   Nr=  r   r   r   r  r    r@  r   r  c                   4    e Zd ZdZ ej
                  d      Zy)r  rB  r   NrC  r   r   r   r  r    rE  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)3GoogleCloudDocumentaiV1beta3EnableProcessorMetadatarH  r  r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZy)3GoogleCloudDocumentaiV1beta3EnableProcessorResponserK  Nr   r   r   r   r  r    r1  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)<GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadatarN  r  r   Nr  r   r   r   r  r    r  r   r  c                   4    e Zd ZdZ ej
                  d      Zy)<GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponserQ  r   NrR  r   r   r   r  r    rT  r   r  c                   4    e Zd ZdZ ej
                  d      Zy)r  r  r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z
 ej                  d      Zy)r  r  c                   $    e Zd ZdZdZdZdZdZdZy)BGoogleCloudDocumentaiV1beta3HumanReviewStatus.StateValueValuesEnumr  r   r   r   r   r   Nr  r   r   r   r  r    r  r   r  r   r   r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  ddd      Z ej
                  dd	d      Z ej                  d
ej                  j                        Zy)3GoogleCloudDocumentaiV1beta3ImportDocumentsMetadatarj  r  r   OGoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResultr   Tr   IGoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatusr   r   r(   Nrm  r   r   r   r  r    s    	 *9))*_abc."8)"8"8  :K  MN  Y]  #^3Y334  BC  NR  S-y--a9J9J9P9PQr   r  c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)r  rq  r   r   r   Nrr  r   r   r   r  r    rt  r   r  c                       e Zd ZdZ ej
                  d      Z ej                  dd      Z ej                  dd      Z	y)r  a.  The status of each individual document in the import process.

  Fields:
    inputGcsSource: The source Cloud Storage URI of the document.
    outputDocumentId: The document id of imported document if it was
      successful, otherwise empty.
    status: The status of the importing of the document.
  r   r  r   r   r   N)
r   r   r   r   r   r    rs  r   rv  r   r   r   r   r  r    sG     )9((+.+Y++,TVWX!9!!"3Q7&r   r  c                       e Zd ZdZy)3GoogleCloudDocumentaiV1beta3ImportDocumentsResponsery  Nr   r   r   r   r  r  $  rz  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy):GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadatar}  r  r   Nr  r   r   r   r   r   (  r  r   r   c                   4    e Zd ZdZ ej
                  d      Zy):GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponser  r   Nr  r   r   r   r  r  3  r  r   r  c                      e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  d      Z
 ej                  d      Z ej                  dd      Z ej                  d	      Z ej                  d
      Zy);GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadataaJ  The long-running operation metadata for the ReviewDocument method.

  Enums:
    StateValueValuesEnum: Used only when Operation.done is false.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
    createTime: The creation time of the operation.
    questionId: The Crowd Compute question ID.
    state: Used only when Operation.done is false.
    stateMessage: A message providing more details about the current state of
      processing. For example, the error message if the operation is failed.
    updateTime: The last update time of the operation.
  c                   (    e Zd ZdZdZdZdZdZdZdZ	y)	PGoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata.StateValueValuesEnuma/  Used only when Operation.done is false.

    Values:
      STATE_UNSPECIFIED: Unspecified state.
      RUNNING: Operation is still running.
      CANCELLING: Operation is being cancelled.
      SUCCEEDED: Operation succeeded.
      FAILED: Operation failed.
      CANCELLED: Operation is cancelled.
    r   r   r   r   r   r   Nr  r   r   r   r  r  M  r  r   r  r  r   r   r   r   r   r=   N)r   r   r   r   r   rG   r  r   r   r    r  rp  rJ   r  r  r  r   r   r   r  r  =  s    Y^^ $ *9))*_abc.$y$$Q'*$y$$Q'*
)

4a
8%&&&q),$y$$Q'*r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  dd      Zy)2GoogleCloudDocumentaiV1beta3ReviewDocumentResponser{  c                       e Zd ZdZdZdZdZy)GGoogleCloudDocumentaiV1beta3ReviewDocumentResponse.StateValueValuesEnumr~  r   r   r   Nr  r   r   r   r  r
  t  r  r   r  r   r   r   Nr  r   r   r   r  r  g  r  r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z
 ej                  d      Zy)r  r  c                        e Zd ZdZdZdZdZdZy)CGoogleCloudDocumentaiV1beta3RevisionRef.RevisionCaseValueValuesEnumr  r   r   r   r   Nr  r   r   r   r  r    r  r   r  r   r   r   Nr  r   r   r   r  r    r  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)>GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadatar  r  r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZy)>GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponser  Nr   r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy)9GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadatar  r  r   JGoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidationr   r   Nr  r   r   r   r  r    s^     *9))*_abc.0)001}  @A  B4i44  6B  DE  Fr   r  c                      e Zd ZdZ ej
                  dej                  j                        Z ej                  ddd      Z
 ej
                  dej                  j                        Z ej                  dd	d      Zy
)r  r  r   r(   r   r   Tr   r   r   Nr  r   r   r   r  r    r  r   r  c                   4    e Zd ZdZ ej
                  d      Zy)9GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponser  r   Nr  r   r   r   r  r    r  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)<GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadatar  r  r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZy)<GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponser  Nr   r   r   r   r  r    r  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy):GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadatazA GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata object.

  Fields:
    commonMetadata: The basic metadata of the long-running operation.
  r  r   Nr  r   r   r   r  r    r  r   r  c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)(GoogleCloudLocationListLocationsResponsezThe response message for Locations.ListLocations.

  Fields:
    locations: A list of locations that matches the specified filter in the
      request.
    nextPageToken: The standard List next-page token.
  GoogleCloudLocationLocationr   Tr   r   N)	r   r   r   r   r   r   	locationsr    r  r   r   r   r  r    s3     %i$$%BAPTU)')''*-r   r  c                   p   e Zd ZdZ ej
                  d       G d dej                               Z ej
                  d       G d dej                               Z	 ej                  d      Z ej                  dd      Z ej                  d	      Z ej                  dd
      Z ej                  d      Zy)r   ao  A resource that represents a Google Cloud location.

  Messages:
    LabelsValue: Cross-service attributes for the location. For example
      {"cloud.googleapis.com/region": "us-east1"}
    MetadataValue: Service-specific metadata. For example the available
      capacity at the given location.

  Fields:
    displayName: The friendly name for this location, typically a nearby city
      name. For example, "Tokyo".
    labels: Cross-service attributes for the location. For example
      {"cloud.googleapis.com/region": "us-east1"}
    locationId: The canonical id for this location. For example: `"us-east1"`.
    metadata: Service-specific metadata. For example the available capacity at
      the given location.
    name: Resource name for the location, which may vary between
      implementations. For example: `"projects/example-project/locations/us-
      east1"`
  r  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)'GoogleCloudLocationLocation.LabelsValuea  Cross-service attributes for the location. For example
    {"cloud.googleapis.com/region": "us-east1"}

    Messages:
      AdditionalProperty: An additional property for a LabelsValue object.

    Fields:
      additionalProperties: Additional properties of type LabelsValue
    c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy):GoogleCloudLocationLocation.LabelsValue.AdditionalPropertyr  r   r   Nr  r   r   r   r  r&  .  r  r   r  r   Tr   Nr  r   r   r   r  r$  "  s4    	'Y.. 	' 29112FTXYr   r  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy))GoogleCloudLocationLocation.MetadataValuea(  Service-specific metadata. For example the available capacity at the
    given location.

    Messages:
      AdditionalProperty: An additional property for a MetadataValue object.

    Fields:
      additionalProperties: Properties of the object. Contains field @type
        with type URL.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)<GoogleCloudLocationLocation.MetadataValue.AdditionalPropertyAn additional property for a MetadataValue object.

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r   extra_types.JsonValuer   Nr  r   r   r   r  r*  H  0    
 "I!!!$c$i$$%<a@er   r  r   Tr   Nr  r   r   r   MetadataValuer(  ;  6    		AY.. 	A 29112FTXYr   r.  r   r   r   r   r   N)r   r   r   r   r   r
  r   r  r  r.  r    rR  r   r  r@  rT  r%   r   r   r   r   r     s    * "8!!"89ZI%% Z :Z0 "8!!"89Zi'' Z :Z2 &	%%a(+!9!!-3&$y$$Q'*#Y##OQ7(			q	!$r   r   c                   ^    e Zd ZdZ ej
                  d      Z ej                  ddd      Zy)'GoogleLongrunningListOperationsResponsezThe response message for Operations.ListOperations.

  Fields:
    nextPageToken: The standard List next-page token.
    operations: A list of operations that matches the specified filter in the
      request.
  r   GoogleLongrunningOperationr   Tr   N)	r   r   r   r   r   r    r  r   r_   r   r   r   r1  r1  \  s3     ()''*-%y%%&BAPTU*r   r1  c                   r   e Zd ZdZ ej
                  d       G d dej                               Z ej
                  d       G d dej                               Z	 ej                  d      Z ej                  dd	      Z ej                  dd
      Z ej                  d      Z ej                  dd      Zy)r2  a	  This resource represents a long-running operation that is the result of
  a network API call.

  Messages:
    MetadataValue: Service-specific metadata associated with the operation. It
      typically contains progress information and common metadata such as
      create time. Some services might not provide such metadata. Any method
      that returns a long-running operation should document the metadata type,
      if any.
    ResponseValue: The normal, successful response of the operation. If the
      original method returns no data on success, such as `Delete`, the
      response is `google.protobuf.Empty`. If the original method is standard
      `Get`/`Create`/`Update`, the response should be the resource. For other
      methods, the response should have the type `XxxResponse`, where `Xxx` is
      the original method name. For example, if the original method name is
      `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

  Fields:
    done: If the value is `false`, it means the operation is still in
      progress. If `true`, the operation is completed, and either `error` or
      `response` is available.
    error: The error result of the operation in case of failure or
      cancellation.
    metadata: Service-specific metadata associated with the operation. It
      typically contains progress information and common metadata such as
      create time. Some services might not provide such metadata. Any method
      that returns a long-running operation should document the metadata type,
      if any.
    name: The server-assigned name, which is only unique within the same
      service that originally returns it. If you use the default HTTP mapping,
      the `name` should be a resource name ending with
      `operations/{unique_id}`.
    response: The normal, successful response of the operation. If the
      original method returns no data on success, such as `Delete`, the
      response is `google.protobuf.Empty`. If the original method is standard
      `Get`/`Create`/`Update`, the response should be the resource. For other
      methods, the response should have the type `XxxResponse`, where `Xxx` is
      the original method name. For example, if the original method name is
      `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
  r  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)(GoogleLongrunningOperation.MetadataValuea  Service-specific metadata associated with the operation. It typically
    contains progress information and common metadata such as create time.
    Some services might not provide such metadata. Any method that returns a
    long-running operation should document the metadata type, if any.

    Messages:
      AdditionalProperty: An additional property for a MetadataValue object.

    Fields:
      additionalProperties: Properties of the object. Contains field @type
        with type URL.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy);GoogleLongrunningOperation.MetadataValue.AdditionalPropertyr+  r   r,  r   Nr  r   r   r   r  r7    r-  r   r  r   Tr   Nr  r   r   r   r.  r5    s6    	AY.. 	A 29112FTXYr   r.  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)(GoogleLongrunningOperation.ResponseValuea  The normal, successful response of the operation. If the original
    method returns no data on success, such as `Delete`, the response is
    `google.protobuf.Empty`. If the original method is standard
    `Get`/`Create`/`Update`, the response should be the resource. For other
    methods, the response should have the type `XxxResponse`, where `Xxx` is
    the original method name. For example, if the original method name is
    `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

    Messages:
      AdditionalProperty: An additional property for a ResponseValue object.

    Fields:
      additionalProperties: Properties of the object. Contains field @type
        with type URL.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy);GoogleLongrunningOperation.ResponseValue.AdditionalPropertyzAn additional property for a ResponseValue object.

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r   r,  r   Nr  r   r   r   r  r;    r-  r   r  r   Tr   Nr  r   r   r   ResponseValuer9    s6     	AY.. 	A 29112FTXYr   r<  r   r   r   r   r   r   N)r   r   r   r   r   r
  r   r  r.  r<  r  doner   rF  rT  r    r%   responser   r   r   r2  r2  i  s    'R "8!!"89Zi'' Z :Z6 "8!!"89Zi'' Z :Z< 
 			"$
 )
 
 !2A
6%#Y##OQ7(			q	!$#Y##OQ7(r   r2  c                       e Zd ZdZy)GoogleProtobufEmptya!  A generic empty message that you can re-use to avoid defining duplicated
  empty messages in your APIs. A typical example is to use it as the request
  or the response type of an API method. For instance: service Foo { rpc
  Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
  Nr   r   r   r   r@  r@    s    r   r@  c                      e Zd ZdZ ej
                  d       G d dej                               Z ej                  dej                  j                        Z ej                  ddd	      Z ej                  d
      Zy)r   a  The `Status` type defines a logical error model that is suitable for
  different programming environments, including REST APIs and RPC APIs. It is
  used by [gRPC](https://github.com/grpc). Each `Status` message contains
  three pieces of data: error code, error message, and error details. You can
  find out more about this error model and how to work with it in the [API
  Design Guide](https://cloud.google.com/apis/design/errors).

  Messages:
    DetailsValueListEntry: A DetailsValueListEntry object.

  Fields:
    code: The status code, which should be an enum value of google.rpc.Code.
    details: A list of messages that carry the error details. There is a
      common set of message types for APIs to use.
    message: A developer-facing error message, which should be in English. Any
      user-facing error message should be localized and sent in the
      google.rpc.Status.details field, or localized by the client.
  r  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)%GoogleRpcStatus.DetailsValueListEntryzA DetailsValueListEntry object.

    Messages:
      AdditionalProperty: An additional property for a DetailsValueListEntry
        object.

    Fields:
      additionalProperties: Properties of the object. Contains field @type
        with type URL.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)8GoogleRpcStatus.DetailsValueListEntry.AdditionalPropertyzAn additional property for a DetailsValueListEntry object.

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r   r,  r   Nr  r   r   r   r  rE    r-  r   r  r   Tr   Nr  r   r   r   DetailsValueListEntryrC    r/  r   rF  r   r(   r   Tr   r   N)r   r   r   r   r   r
  r   r  rF  r4   r+   ro   coder   detailsr    messager   r   r   r   r     s    & "8!!"89Zi// Z :Z2 
 		9+<+<+B+B	C$"I""#:AM'!I!!!$'r   r   c                   P   e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	 ej
                  dej                  j                        Z
 ej
                  dej                  j                        Zy)r'  a  Represents a color in the RGBA color space. This representation is
  designed for simplicity of conversion to and from color representations in
  various languages over compactness. For example, the fields of this
  representation can be trivially provided to the constructor of
  `java.awt.Color` in Java; it can also be trivially provided to UIColor's
  `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little
  work, it can be easily formatted into a CSS `rgba()` string in JavaScript.
  This reference page doesn't have information about the absolute color space
  that should be used to interpret the RGB value-for example, sRGB, Adobe RGB,
  DCI-P3, and BT.2020. By default, applications should assume the sRGB color
  space. When color equality needs to be decided, implementations, unless
  documented otherwise, treat two colors as equal if all their red, green,
  blue, and alpha values each differ by at most `1e-5`. Example (Java): import
  com.google.type.Color; // ... public static java.awt.Color fromProto(Color
  protocolor) { float alpha = protocolor.hasAlpha() ?
  protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color(
  protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); }
  public static Color toProto(java.awt.Color color) { float red = (float)
  color.getRed(); float green = (float) color.getGreen(); float blue = (float)
  color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder =
  Color .newBuilder() .setRed(red / denominator) .setGreen(green /
  denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if
  (alpha != 255) { result.setAlpha( FloatValue .newBuilder()
  .setValue(((float) alpha) / denominator) .build()); } return
  resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static
  UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float
  green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
  alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
  nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red
  green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color)
  { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green
  blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc]
  init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue];
  if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; }
  [result autorelease]; return result; } // ... Example (JavaScript): // ...
  var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red ||
  0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue
  || 0.0; var red = Math.floor(redFrac * 255); var green =
  Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if
  (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var
  alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green,
  blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
  }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new
  Number((red << 16) | (green << 8) | blue); var hexString =
  rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
  resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) {
  resultBuilder.push('0'); } resultBuilder.push(hexString); return
  resultBuilder.join(''); }; // ...

  Fields:
    alpha: The fraction of this color that should be applied to the pixel.
      That is, the final pixel color is defined by the equation: `pixel color
      = alpha * (this color) + (1.0 - alpha) * (background color)` This means
      that a value of 1.0 corresponds to a solid color, whereas a value of 0.0
      corresponds to a completely transparent color. This uses a wrapper
      message rather than a simple float scalar so that it is possible to
      distinguish between a default value and the value being unset. If
      omitted, this color object is rendered as a solid color (as if the alpha
      value had been explicitly given a value of 1.0).
    blue: The amount of blue in the color as a value in the interval [0, 1].
    green: The amount of green in the color as a value in the interval [0, 1].
    red: The amount of red in the color as a value in the interval [0, 1].
  r   r(   r   r   r   N)r   r   r   r   r   r*   r+   r,   alphabluegreenredr   r   r   r'  r'    s    >@ )

q)*;*;*A*A
B%			a):):)@)@	A$
)

q)*;*;*A*A
B%	Q	(9(9(?(?@#r   r'  c                       e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	 ej
                  dej                  j                        Z
y)r  a  Represents a whole or partial calendar date, such as a birthday. The
  time of day and time zone are either specified elsewhere or are
  insignificant. The date is relative to the Gregorian Calendar. This can
  represent one of the following: * A full date, with non-zero year, month,
  and day values. * A month and day, with a zero year (for example, an
  anniversary). * A year on its own, with a zero month and a zero day. * A
  year and month, with a zero day (for example, a credit card expiration
  date). Related types: * google.type.TimeOfDay * google.type.DateTime *
  google.protobuf.Timestamp

  Fields:
    day: Day of a month. Must be from 1 to 31 and valid for the year and
      month, or 0 to specify a year by itself or a year and month where the
      day isn't significant.
    month: Month of a year. Must be from 1 to 12, or 0 to specify a year
      without a month and day.
    year: Year of the date. Must be from 1 to 9999, or 0 to specify a date
      without a year.
  r   r(   r   r   N)r   r   r   r   r   r4   r+   ro   daymonthyearr   r   r   r  r  X  si    ( 		q)*;*;*A*AB#
 )
 
 I,=,=,C,C
D%			9+<+<+B+B	C$r   r  c                      e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	 ej
                  dej                  j                        Z
 ej
                  dej                  j                        Z ej
                  dej                  j                        Z ej
                  dej                  j                        Z ej                  d	d
      Z ej                   d      Z ej
                  dej                  j                        Zy)r  a  Represents civil time (or occasionally physical time). This type can
  represent a civil time in one of a few possible ways: * When utc_offset is
  set and time_zone is unset: a civil time on a calendar day with a particular
  offset from UTC. * When time_zone is set and utc_offset is unset: a civil
  time on a calendar day in a particular time zone. * When neither time_zone
  nor utc_offset is set: a civil time on a calendar day in local time. The
  date is relative to the Proleptic Gregorian Calendar. If year, month, or day
  are 0, the DateTime is considered not to have a specific year, month, or day
  respectively. This type may also be used to represent a physical time if all
  the date and time fields are set and either case of the `time_offset` oneof
  is set. Consider using `Timestamp` message for physical time instead. If
  your use case also would like to store the user's timezone, that can be done
  in another field. This type is more flexible than some applications may
  want. Make sure to document and validate your application's limitations.

  Fields:
    day: Optional. Day of month. Must be from 1 to 31 and valid for the year
      and month, or 0 if specifying a datetime without a day.
    hours: Optional. Hours of day in 24 hour format. Should be from 0 to 23,
      defaults to 0 (midnight). An API may choose to allow the value
      "24:00:00" for scenarios like business closing time.
    minutes: Optional. Minutes of hour of day. Must be from 0 to 59, defaults
      to 0.
    month: Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
      datetime without a month.
    nanos: Optional. Fractions of seconds in nanoseconds. Must be from 0 to
      999,999,999, defaults to 0.
    seconds: Optional. Seconds of minutes of the time. Must normally be from 0
      to 59, defaults to 0. An API may allow the value 60 if it allows leap-
      seconds.
    timeZone: Time zone.
    utcOffset: UTC offset. Must be whole seconds, between -18 hours and +18
      hours. For example, a UTC offset of -4:00 would be represented as {
      seconds: -14400 }.
    year: Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
      datetime without a year.
  r   r(   r   r   r   r   r=   GoogleTypeTimeZonerO   rP   rQ   N)r   r   r   r   r   r4   r+   ro   rP  hoursminutesrQ  nanossecondsr   timeZoner    	utcOffsetrR  r   r   r   r  r  r  s   $L 		q)*;*;*A*AB#
 )
 
 I,=,=,C,C
D%"I""1i.?.?.E.EF'
 )
 
 I,=,=,C,C
D%
 )
 
 I,=,=,C,C
D%"I""1i.?.?.E.EF'#Y##$8!<(#i##A&)			9+<+<+B+B	C$r   r  c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
 ej                  d      Zy)r  a  Represents an amount of money with its currency type.

  Fields:
    currencyCode: The three-letter currency code defined in ISO 4217.
    nanos: Number of nano (10^-9) units of the amount. The value must be
      between -999,999,999 and +999,999,999 inclusive. If `units` is positive,
      `nanos` must be positive or zero. If `units` is zero, `nanos` can be
      positive, zero, or negative. If `units` is negative, `nanos` must be
      negative or zero. For example $-1.75 is represented as `units`=-1 and
      `nanos`=-750,000,000.
    units: The whole units of the amount. For example if `currencyCode` is
      `"USD"`, then 1 unit is one US dollar.
  r   r   r(   r   N)r   r   r   r   r   r    currencyCoder4   r+   ro   rW  unitsr   r   r   r  r    sM     '&&q),
 )
 
 I,=,=,C,C
D%
 )
 
 
#%r   r  c                      e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
 ej
                  d	      Z ej
                  d
d      Z ej
                  d      Z ej                  dej                  j                         Z ej
                  d      Z ej
                  d      Zy)r  ad  Represents a postal address, such as for postal delivery or payments
  addresses. With a postal address, a postal service can deliver items to a
  premise, P.O. box, or similar. A postal address is not intended to model
  geographical locations like roads, towns, or mountains. In typical usage, an
  address would be created by user input or from importing existing data,
  depending on the type of process. Advice on address input or editing: - Use
  an internationalization-ready address widget such as
  https://github.com/google/libaddressinput. - Users should not be presented
  with UI elements for input or editing of fields outside countries where that
  field is used. For more guidance on how to use this schema, see:
  https://support.google.com/business/answer/6397478.

  Fields:
    addressLines: Unstructured address lines describing the lower levels of an
      address. Because values in `address_lines` do not have type information
      and may sometimes contain multiple values in a single field (for
      example, "Austin, TX"), it is important that the line order is clear.
      The order of address lines should be "envelope order" for the country or
      region of the address. In places where this can vary (for example,
      Japan), `address_language` is used to make it explicit (for example,
      "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-
      large). In this way, the most specific line of an address can be
      selected based on the language. The minimum permitted structural
      representation of an address consists of a `region_code` with all
      remaining information placed in the `address_lines`. It would be
      possible to format such an address very approximately without geocoding,
      but no semantic reasoning could be made about any of the address
      components until it was at least partially resolved. Creating an address
      only containing a `region_code` and `address_lines` and then geocoding
      is the recommended way to handle completely unstructured addresses (as
      opposed to guessing which parts of the address should be localities or
      administrative areas).
    administrativeArea: Optional. Highest administrative subdivision which is
      used for postal addresses of a country or region. For example, this can
      be a state, a province, an oblast, or a prefecture. For Spain, this is
      the province and not the autonomous community (for example, "Barcelona"
      and not "Catalonia"). Many countries don't use an administrative area in
      postal addresses. For example, in Switzerland, this should be left
      unpopulated.
    languageCode: Optional. BCP-47 language code of the contents of this
      address (if known). This is often the UI language of the input form or
      is expected to match one of the languages used in the address'
      country/region, or their transliterated equivalents. This can affect
      formatting in certain countries, but is not critical to the correctness
      of the data and will never affect any validation or other non-formatting
      related operations. If this value is not known, it should be omitted
      (rather than specifying a possibly incorrect default). Examples: "zh-
      Hant", "ja", "ja-Latn", "en".
    locality: Optional. Generally refers to the city or town portion of the
      address. Examples: US city, IT comune, UK post town. In regions of the
      world where localities are not well defined or do not fit into this
      structure well, leave `locality` empty and use `address_lines`.
    organization: Optional. The name of the organization at the address.
    postalCode: Optional. Postal code of the address. Not all countries use or
      require postal codes to be present, but where they are used, they may
      trigger additional validation with other parts of the address (for
      example, state or zip code validation in the United States).
    recipients: Optional. The recipient at the address. This field may, under
      certain circumstances, contain multiline information. For example, it
      might contain "care of" information.
    regionCode: Required. CLDR region code of the country/region of the
      address. This is never inferred and it is up to the user to ensure the
      value is correct. See https://cldr.unicode.org/ and https://www.unicode.
      org/cldr/charts/30/supplemental/territory_information.html for details.
      Example: "CH" for Switzerland.
    revision: The schema revision of the `PostalAddress`. This must be set to
      0, which is the latest revision. All new revisions **must** be backward
      compatible with old revisions.
    sortingCode: Optional. Additional, country-specific, sorting code. This is
      not used in most regions. Where it is used, the value is either a string
      like "CEDEX", optionally followed by a number (for example, "CEDEX 7"),
      or just a number alone, representing the "sector code" (Jamaica),
      "delivery area indicator" (Malawi) or "post office indicator" (C\xf4te
      d'Ivoire).
    sublocality: Optional. Sublocality of the address. For example, this can
      be a neighborhood, borough, or district.
  r   Tr   r   r   r   r   r=   rO   rP   rQ   r(   r6  r8  N)r   r   r   r   r   r    addressLinesadministrativeArear  localityorganization
postalCode
recipients
regionCoder4   r+   ro   rD  sortingCodesublocalityr   r   r   r  r    s    L\ '&&q48,,y,,Q/&&&q),"Y""1%(&&&q),$y$$Q'*$y$$Q6*$y$$Q'*#Y##Ay/@/@/F/FG(%	%%b)+%	%%b)+r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)rT  a  Represents a time zone from the [IANA Time Zone
  Database](https://www.iana.org/time-zones).

  Fields:
    id: IANA Time Zone Database time zone. For example "America/New_York".
    version: Optional. IANA Time Zone Database version number. For example
      "2019a".
  r   r   N)r   r   r   r   r   r    r  versionr   r   r   rT  rT    s-     yQ"!I!!!$'r   rT  c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  d      Z ej                  ddd	
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej"                  dd
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Zy)StandardQueryParametersa4  Query parameters accepted by all methods.

  Enums:
    FXgafvValueValuesEnum: V1 error format.
    AltValueValuesEnum: Data format for response.

  Fields:
    f__xgafv: V1 error format.
    access_token: OAuth access token.
    alt: Data format for response.
    callback: JSONP
    fields: Selector specifying which fields to include in a partial response.
    key: API key. Your API key identifies your project and provides you with
      API access, quota, and reports. Required unless you provide an OAuth 2.0
      token.
    oauth_token: OAuth 2.0 token for the current user.
    prettyPrint: Returns response with indentations and line breaks.
    quotaUser: Available to use for quota purposes for server-side
      applications. Can be any arbitrary string assigned to a user, but should
      not exceed 40 characters.
    trace: A tracing token of the form "token:<tokenid>" to include in api
      requests.
    uploadType: Legacy upload protocol for media (e.g. "media", "multipart").
    upload_protocol: Upload protocol for media (e.g. "raw", "multipart").
  c                       e Zd ZdZdZdZdZy)*StandardQueryParameters.AltValueValuesEnumzData format for response.

    Values:
      json: Responses with Content-Type of application/json
      media: Media download with context-dependent Content-Type
      proto: Responses with Content-Type of application/x-protobuf
    r   r   r   N)r   r   r   r   jsonmediaprotor   r   r   AltValueValuesEnumrm  =  s     DEEr   rq  c                       e Zd ZdZdZdZy)-StandardQueryParameters.FXgafvValueValuesEnumzVV1 error format.

    Values:
      _1: v1 error format
      _2: v2 error format
    r   r   N)r   r   r   r   _1_2r   r   r   FXgafvValueValuesEnumrs  I  s     
B	
Br   rv  r   r   r   rn  )defaultr   r   r=   rO   rP   TrQ   r6  r8  r9  N)r   r   r   r   r   rG   rq  rv  rJ   f__xgafvr    access_tokenaltcallbackr]   r   oauth_tokenr  prettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   rk  rk  "  s   4
9>> 
inn  !Y  !8!<(&&&q),	0!VD#"Y""1%( 9  #&	a #%	%%a(+&	&&q$7+#i##A&)
)


#%$y$$R(*)I))"-/r   rk  rx  z$.xgafvrt  1ru  2N(-  r   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   r   packager  r	   r
   r'   r/   r   r   r   rF   ra   rg   rj   rl   rs   ru   rw   ry   r{   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r!  r%  r(  r,  r/  r   r4  r6  rG  rJ  rM  rP  rV  rW  rX  rc  re  rg  ri  rk  rl  rx  r|  r  r  r  r  r  r5  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r"  r%  r   r(  r*  r   r-  r/  r0  rP  rS  rT  rU  r1  re  rj  rt  rk  rl  r  rz  rm  r2  r  r3  r  r  r  r4  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  rB  r5  rH  rO  rP  rV  rW  rQ  r7  r<  rr  r  rz  r:  r  r   r  r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r	  r   r  r
  r   r  r   r  r9  r  r'  rO  rP  r]  r^  r  ro  r   rz  r  r   r  r  r  r   r  r  r  r  r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r   r1  r2  r@  r   r'  r  r  r  r  rT  rk  AddCustomJsonFieldMappingAddCustomJsonEnumMappingrv  r   r   r   <module>r     s   ' < % ( 
EY=N=N 
E"9K\K\ ".HS\SdSd H'PYPaPa '$O[d[l[l O&%U^UfUf %&SYbYjYj &SR,Wbkbsbs ,W^1	(9(9 13I<M<M 31I,=,= 1'Y->-> '019J9J 11i6G6G 1'y7H7H ' 1):K:K 139;L;L 3$1y?P?P 1$39J9J 319J9J 11):K:K 119J9J 11i6G6G 1>R[RcRc >"3y7H7H 3&1):K:K 1&1PYPaPa 1(1)J[J[ 11)J[J[ 1=\e\m\m ="1R[RcRc 13S\SdSd 3*1yGXGX 13	HYHY 3(19K\K\ 1(3IZIZ 3"1IL]L] 16YM^M^ 6 1Y->-> 1Ry?P?P R
8XaXiXi 
8:y?P?P :RARAR R$	8\e\m\m 	85ARAR 5.^y?P?P .^b	8XaXiXi 	89y?P?P 9
dARAR 
d	8\e\m\m 	8;ARAR ;%(I<M<M %(PfyGXGX ffyGXGX ffI<M<M ff9CTCT ff9CTCT fA9CTCT AfY=N=N fY=N=N ly/@/@ l$9CTCT $#)BSBS #fI<M<M fI<M<M fYEVEV f(YEVEV (FI<M<M F8R[RcRc 8R9K\K\ R<7I<M<M 7f9CTCT f$9CTCT $RI<M<M R$8XaXiXi 88R[RcRc 8$4I<M<M 4f9CTCT f.9CTCT .c):K:K c$8YM^M^ 88!8XaXiXi !8H5):K:K 5 (	0A0A  (FfI<M<M fHI<M<M H(IL]L] (fyGXGX fEyGXGX EH)BSBS HOS\SdSd O*.)BSBS .fYEVEV fCYEVEV Cf9CTCT ffIDUDU ffyGXGX f)Y%6%6 )6Ly7H7H L(()2C2C ((V8IZIZ 8&8.1B1B 8.v5)2C2C 5	W)*;*; 	W%(Y5F5F %(P_Y5F5F __I<M<M __I<M<M _@9;L;L @AI<M<M A_i6G6G _:Y5F5F :i6G6G 3"i&7&7 3"lkY5F5F k;):K:K ;(	"IZIZ 	"	"IZIZ 	"	IyGXGX 	IxI4E4E x{yGXGX {*
"V_VgVg 
"xV_VgVg x	IU^UfUf 	IJW`WhWh JGV_VgVg GFU^UfUf F"V_VgVg ""<#I,=,= <#~%"9;L;L %"P'I4E4E 'l)2C2C lyARAR y 	MyO`O` 	M0q)*;*; 0qf	j	0A0A 	j1#y7H7H 1#hVy/@/@ V	R9J9J 	R*):K:K *C93D3D C'93D3D 'BEy/@/@ E$
JI<M<M 
J")J[J[ ""%V	0A0A %VPVi.?.? VD	0A0A D(V93D3D V	R	0A0A 	RVy/@/@ V$G	8I8I G hy7H7H h]y/@/@ ]$7I<M<M 78+*	8I8I +*\"y7H7H "/7	0A0A /7dHi6G6G H"'i.?.? '<*9J9J *XI,=,= X si6G6G sB3	@Q@Q 38'i>O>O 8'v3I4E4E 3,)y/@/@ )"'9+<+< '>
"93D3D 
"r	0A0A r)9;L;L )V	0A0A V$_Y5F5F _9I4E4E 9Y5F5F _i>O>O _fY=N=N f(i>O>O (3"	(9(9 3"l	Ri>O>O 	RU	0A0A U$ Sy/@/@  SF-Ei>O>O -E`'1B1B '(d9J9J d	&):): 	&])*;*; ]*y'8'8 *(*y/@/@ (*V
+Y5F5F 
+	d	8I8I 	d	j9;L;L 	j	\I4E4E 	\
?i.?.? 
?!ay'8'8 !aH:I,=,= :;i6G6G ; VI,=,= V2T)BSBS T+	8I8I + 6iFWFW 6@.I,=,= @.F
\Y->-> 
\C#y'8'8 C#LG"9+<+< G"T(y7H7H (X:i.?.? X:v	.93D3D 	.9Y=N=N 9HI<M<M HMPYPaPa M>XT]TeTe X&):): &$	(Y=N=N 	(?93D3D ?@9I4E4E 9>_	@Q@Q _	5y?P?P 	5E	@Q@Q EA9;L;L AOIL]L] O*Z):K:K Z4KYbYjYj K4JV_VgVg J 	d9CTCT 	d.9;L;L ._i>O>O _BY=N=N BCi>O>O C
AI$5$5 
ARy?P?P R$	8ZcZkZk 	85y?P?P 5((y7H7H ((V8iN_N_ 805y7H7H 5%():K:K %(P0r)*;*; 0rf$ARAR $Q):K:K Q;y?P?P ;9	@Q@Q 9d):K:K ddARAR ddARAR dAARAR Ad9;L;L d9;L;L jY->-> j$ARAR $#	@Q@Q #d):K:K d):K:K d9CTCT d(9CTCT (*I,=,= *(*I4E4E (*VR):K:K R$8V_VgVg 88PYPaPa 84):K:K 4dARAR d.ARAR .'()BSBS '(T99J9J 9> (i.?.?  (FdYEVEV dEYEVEV EF	@Q@Q FOQZQbQb O*.	@Q@Q .d9CTCT dC9CTCT CdARAR d
+y/@/@ 
+M")"3"3 M"`
Vi.?.? 
Vi8!2!2 i8X)++ 0%i'' 0%fDAi'' DANDY&& D4/D** /Dd$i'' $(Y*i// Y*x%** %<.i// <.~ # " "Z4 ! ! !114> ! ! !114>r   