
    ŉ                    n   S r SSKJr  SSKJr  SSKJr  SSKJr  Sr	 " S S\R                  5      r " S	 S
\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S \R                  5      r " S! S"\R                  5      r " S# S$\R                  5      r " S% S&\R                  5      r " S' S(\R                  5      r " S) S*\R                  5      r " S+ S,\R                  5      r " S- S.\R                  5      r " S/ S0\R                  5      r " S1 S2\R                  5      r  " S3 S4\R                  5      r! " S5 S6\R                  5      r" " S7 S8\R                  5      r# " S9 S:\R                  5      r$ " S; S<\R                  5      r% " S= S>\R                  5      r& " S? S@\R                  5      r' " SA SB\R                  5      r( " SC SD\R                  5      r) " SE SF\R                  5      r* " SG SH\R                  5      r+ " SI SJ\R                  5      r, " SK SL\R                  5      r- " SM SN\R                  5      r. " SO SP\R                  5      r/ " SQ SR\R                  5      r0 " SS ST\R                  5      r1 " SU SV\R                  5      r2 " SW SX\R                  5      r3 " SY SZ\R                  5      r4 " S[ S\\R                  5      r5 " S] S^\R                  5      r6 " S_ S`\R                  5      r7 " Sa Sb\R                  5      r8 " Sc Sd\R                  5      r9 " Se Sf\R                  5      r: " Sg Sh\R                  5      r; " Si Sj\R                  5      r< " Sk Sl\R                  5      r= " Sm Sn\R                  5      r> " So Sp\R                  5      r? " Sq Sr\R                  5      r@ " Ss St\R                  5      rA " Su Sv\R                  5      rB " Sw Sx\R                  5      rC " Sy Sz\R                  5      rD " S{ S|\R                  5      rE " S} S~\R                  5      rF " S S\R                  5      rG " S S\R                  5      rH " S S\R                  5      rI " S S\R                  5      rJ " S S\R                  5      rK " S S\R                  5      rL " S S\R                  5      rM " S S\R                  5      rN " S S\R                  5      rO " S S\R                  5      rP " S S\R                  5      rQ " S S\R                  5      rR " S S\R                  5      rS " S S\R                  5      rT " S S\R                  5      rU " S S\R                  5      rV " S S\R                  5      rW " S S\R                  5      rX " S S\R                  5      rY " S S\R                  5      rZ " S S\R                  5      r[ " S S\R                  5      r\ " S S\R                  5      r] " S S\R                  5      r^ " S S\R                  5      r_ " S S\R                  5      r` " S S\R                  5      ra " S S\R                  5      rb " S S\R                  5      rc " S S\R                  5      rd " S S\R                  5      re " S S\R                  5      rf " S S\R                  5      rg " S S\R                  5      rh " S S\R                  5      ri " S S\R                  5      rj " S S\R                  5      rk " S S\R                  5      rl " S S\R                  5      rm " S S\R                  5      rn " S S\R                  5      ro\R                  " \oSS5        \R                  " \oR                  SS5        \R                  " \oR                  SS5        g)zGenerated message classes for bigquerymigration version v2.

The migration service, exposing apis for migration jobs operations, and agent
management.
    )absolute_import)messages)encoding)extra_typesbigquerymigrationc                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
BBigquerymigrationProjectsLocationsSubtaskTypesFinishSubtaskRequest   a  A BigquerymigrationProjectsLocationsSubtaskTypesFinishSubtaskRequest
object.

Fields:
  googleCloudBigqueryMigrationV2FinishSubtaskRequest: A
    GoogleCloudBigqueryMigrationV2FinishSubtaskRequest resource to be passed
    as the request body.
  subtaskType: Required. The type of the subtask to update. The name of the
    subtask type to which the task belongs. The project number is owned by
    the worker, not the customer. Example:
    `projects/123/locations/us/subtaskTypes/st1`
2GoogleCloudBigqueryMigrationV2FinishSubtaskRequest      Trequired N)__name__
__module____qualname____firstlineno____doc__	_messagesMessageField2googleCloudBigqueryMigrationV2FinishSubtaskRequestStringFieldsubtaskType__static_attributes__r       _lib/googlecloudsdk/generated_clients/apis/bigquerymigration/v2/bigquerymigration_v2_messages.pyr	   r	      s<     8A7M7M  OC  EF  8G4%%a$7+r   r	   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
LBigquerymigrationProjectsLocationsSubtaskTypesReceiveMigrationSubtaskRequest$   a  A
BigquerymigrationProjectsLocationsSubtaskTypesReceiveMigrationSubtaskRequest
object.

Fields:
  googleCloudBigqueryMigrationV2ReceiveMigrationSubtaskRequest: A
    GoogleCloudBigqueryMigrationV2ReceiveMigrationSubtaskRequest resource to
    be passed as the request body.
  projectLocation: Required. The project location for which to assign a
    subtask. The project number is owned by the worker, not the customer.
    Example: `projects/123/locations/us`
<GoogleCloudBigqueryMigrationV2ReceiveMigrationSubtaskRequestr   r   Tr   r   N)r   r   r   r   r   r   r   <googleCloudBigqueryMigrationV2ReceiveMigrationSubtaskRequestr   projectLocationr   r   r   r   r   r   $   s>     BKAWAW  YW  YZ  B[>))!d;/r   r   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
FBigquerymigrationProjectsLocationsSubtaskTypesRenewSubtaskLeaseRequest6   a  A BigquerymigrationProjectsLocationsSubtaskTypesRenewSubtaskLeaseRequest
object.

Fields:
  googleCloudBigqueryMigrationV2RenewSubtaskLeaseRequest: A
    GoogleCloudBigqueryMigrationV2RenewSubtaskLeaseRequest resource to be
    passed as the request body.
  subtaskType: Required. The unique identifier for the migration subtask
    type. The project number is owned by the worker, not the customer.
    Example: `projects/123/locations/us/subtaskTypes/st1`
6GoogleCloudBigqueryMigrationV2RenewSubtaskLeaseRequestr   r   Tr   r   N)r   r   r   r   r   r   r   6googleCloudBigqueryMigrationV2RenewSubtaskLeaseRequestr   r   r   r   r   r   r%   r%   6   s<    
 <E;Q;Q  SK  MN  <O8%%a$7+r   r%   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
RBigquerymigrationProjectsLocationsTaskTypesFinishMigrationTaskOrchestrationRequestG   a  A BigquerymigrationProjectsLocationsTaskTypesFinishMigrationTaskOrchestr
ationRequest object.

Fields:
  googleCloudBigqueryMigrationV2FinishMigrationTaskOrchestrationRequest: A
    GoogleCloudBigqueryMigrationV2FinishMigrationTaskOrchestrationRequest
    resource to be passed as the request body.
  taskType: Required. The type of the task to update. The name of the task
    type to which the task belongs. The project number is owned by the
    orchestrator, not the customer. Example:
    `projects/123/locations/us/taskTypes/t1`
EGoogleCloudBigqueryMigrationV2FinishMigrationTaskOrchestrationRequestr   r   Tr   r   N)r   r   r   r   r   r   r   EgoogleCloudBigqueryMigrationV2FinishMigrationTaskOrchestrationRequestr   taskTyper   r   r   r   r*   r*   G   s>     KTJ`J`  bi  kl  KmG""1t4(r   r*   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
FBigquerymigrationProjectsLocationsTaskTypesReceiveMigrationTaskRequestY   a  A BigquerymigrationProjectsLocationsTaskTypesReceiveMigrationTaskRequest
object.

Fields:
  googleCloudBigqueryMigrationV2ReceiveMigrationTaskRequest: A
    GoogleCloudBigqueryMigrationV2ReceiveMigrationTaskRequest resource to be
    passed as the request body.
  projectLocation: Required. The project location of the task type for which
    to assign a task. The project number is owned by the orchestrator, not
    the customer. Example: `projects/123/locations/us`
9GoogleCloudBigqueryMigrationV2ReceiveMigrationTaskRequestr   r   Tr   r   N)r   r   r   r   r   r   r   9googleCloudBigqueryMigrationV2ReceiveMigrationTaskRequestr   r#   r   r   r   r   r0   r0   Y   s<    
 ?H>T>T  VQ  ST  ?U;))!d;/r   r0   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
@BigquerymigrationProjectsLocationsTaskTypesRenewTaskLeaseRequestj   a  A BigquerymigrationProjectsLocationsTaskTypesRenewTaskLeaseRequest
object.

Fields:
  googleCloudBigqueryMigrationV2RenewTaskLeaseRequest: A
    GoogleCloudBigqueryMigrationV2RenewTaskLeaseRequest resource to be
    passed as the request body.
  taskType: Required. The unique identifier for the migration task type. The
    project number is owned by the worker, not the customer. Example:
    `projects/123/locations/us/taskTypes/st1`
3GoogleCloudBigqueryMigrationV2RenewTaskLeaseRequestr   r   Tr   r   N)r   r   r   r   r   r   r   3googleCloudBigqueryMigrationV2RenewTaskLeaseRequestr   r.   r   r   r   r   r5   r5   j   s<    
 9B8N8N  PE  GH  9I5""1t4(r   r5   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
7BigquerymigrationProjectsLocationsTranslateQueryRequest{   al  A BigquerymigrationProjectsLocationsTranslateQueryRequest object.

Fields:
  googleCloudBigqueryMigrationV2TranslateQueryRequest: A
    GoogleCloudBigqueryMigrationV2TranslateQueryRequest resource to be
    passed as the request body.
  parent: Required. The name of the project to which this translation
    request belongs. Example: `projects/foo/locations/bar`
3GoogleCloudBigqueryMigrationV2TranslateQueryRequestr   r   Tr   r   N)r   r   r   r   r   r   r   3googleCloudBigqueryMigrationV2TranslateQueryRequestr   parentr   r   r   r   r:   r:   {   s<     9B8N8N  PE  GH  9I5  T2&r   r:   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
8BigquerymigrationProjectsLocationsWorkflowsCreateRequest   ad  A BigquerymigrationProjectsLocationsWorkflowsCreateRequest object.

Fields:
  googleCloudBigqueryMigrationV2MigrationWorkflow: A
    GoogleCloudBigqueryMigrationV2MigrationWorkflow resource to be passed as
    the request body.
  parent: Required. The name of the project to which this migration workflow
    belongs. Example: `projects/foo/locations/bar`
/GoogleCloudBigqueryMigrationV2MigrationWorkflowr   r   Tr   r   N)r   r   r   r   r   r   r   /googleCloudBigqueryMigrationV2MigrationWorkflowr   r>   r   r   r   r   r@   r@      s3     5>4J4JK|~  5A1  T2&r   r@   c                   :    \ rS rSrSr\R                  " SSS9rSrg)8BigquerymigrationProjectsLocationsWorkflowsDeleteRequest   zA BigquerymigrationProjectsLocationsWorkflowsDeleteRequest object.

Fields:
  name: Required. The unique identifier for the migration workflow. Example:
    `projects/123/locations/us/workflows/1234`
r   Tr   r   N)	r   r   r   r   r   r   r   namer   r   r   r   rE   rE      s     
		q4	0$r   rE   c                   ^    \ rS rSrSr\R                  " SSS9r\R                  " S5      rSr	g)	5BigquerymigrationProjectsLocationsWorkflowsGetRequest   zA BigquerymigrationProjectsLocationsWorkflowsGetRequest object.

Fields:
  name: Required. The unique identifier for the migration workflow. Example:
    `projects/123/locations/us/workflows/1234`
  readMask: The list of fields to be retrieved.
r   Tr   r   r   N
r   r   r   r   r   r   r   rG   readMaskr   r   r   r   rI   rI      +     
		q4	0$""1%(r   rI   c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S5      r\R                  " SSS9r\R                  " S	5      rS
rg)6BigquerymigrationProjectsLocationsWorkflowsListRequest   ap  A BigquerymigrationProjectsLocationsWorkflowsListRequest object.

Fields:
  pageSize: The maximum number of migration workflows to return. The service
    may return fewer than this number.
  pageToken: A page token, received from previous `ListMigrationWorkflows`
    call. Provide this to retrieve the subsequent page. When paginating, all
    other parameters provided to `ListMigrationWorkflows` must match the
    call that provided the page token.
  parent: Required. The project and location of the migration workflows to
    list. Example: `projects/123/locations/us`
  readMask: The list of fields to be retrieved.
r   variantr      Tr      r   N)r   r   r   r   r   r   IntegerFieldVariantINT32pageSizer   	pageTokenr>   rL   r   r   r   r   rO   rO      sY     ##Ay/@/@/F/FG(##A&)  T2&""1%(r   rO   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
7BigquerymigrationProjectsLocationsWorkflowsStartRequest   aw  A BigquerymigrationProjectsLocationsWorkflowsStartRequest object.

Fields:
  googleCloudBigqueryMigrationV2StartMigrationWorkflowRequest: A
    GoogleCloudBigqueryMigrationV2StartMigrationWorkflowRequest resource to
    be passed as the request body.
  name: Required. The unique identifier for the migration workflow. Example:
    `projects/123/locations/us/workflows/1234`
;GoogleCloudBigqueryMigrationV2StartMigrationWorkflowRequestr   r   Tr   r   N)r   r   r   r   r   r   r   ;googleCloudBigqueryMigrationV2StartMigrationWorkflowRequestr   rG   r   r   r   r   r[   r[      s>     AJ@V@V  XU  WX  AY=			q4	0$r   r[   c                   ^    \ rS rSrSr\R                  " SSS9r\R                  " S5      rSr	g)	=BigquerymigrationProjectsLocationsWorkflowsSubtasksGetRequest   a  A BigquerymigrationProjectsLocationsWorkflowsSubtasksGetRequest object.

Fields:
  name: Required. The unique identifier for the migration subtask. Example:
    `projects/123/locations/us/workflows/1234/subtasks/543`
  readMask: Optional. The list of fields to be retrieved.
r   Tr   r   r   NrK   r   r   r   r`   r`      rM   r   r`   c                       \ rS rSrSr\R                  " S5      r\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " SSS	9r\R                  " S
5      rSrg)>BigquerymigrationProjectsLocationsWorkflowsSubtasksListRequest   ak  A BigquerymigrationProjectsLocationsWorkflowsSubtasksListRequest object.

Fields:
  filter: Optional. The filter to apply. This can be used to get the
    subtasks of a specific tasks in a workflow, e.g. `migration_task =
    "ab012"` where `"ab012"` is the task ID (not the name in the named map).
  pageSize: Optional. The maximum number of migration tasks to return. The
    service may return fewer than this number.
  pageToken: Optional. A page token, received from previous
    `ListMigrationSubtasks` call. Provide this to retrieve the subsequent
    page. When paginating, all other parameters provided to
    `ListMigrationSubtasks` must match the call that provided the page
    token.
  parent: Required. The migration task of the subtasks to list. Example:
    `projects/123/locations/us/workflows/1234`
  readMask: Optional. The list of fields to be retrieved.
r   r   rQ   rS   rT   Tr      r   N)r   r   r   r   r   r   r   filterrU   rV   rW   rX   rY   r>   rL   r   r   r   r   rc   rc      si    $   #&##Ay/@/@/F/FG(##A&)  T2&""1%(r   rc   c                      \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	\R                  " S5      r
\R                  " S	S
SS9r\R                  " S5      r\R                  " SS5      r\R                  " S5      rSrg)GoogleApiDistribution   a`
  `Distribution` contains summary statistics for a population of values.
It optionally contains a histogram representing the distribution of those
values across a set of buckets. The summary statistics are the count, mean,
sum of the squared deviation from the mean, the minimum, and the maximum of
the set of population of values. The histogram is based on a sequence of
buckets and gives a count of values that fall into each bucket. The
boundaries of the buckets are given either explicitly or by formulas for
buckets of fixed or exponentially increasing widths. Although it is not
forbidden, it is generally a bad idea to include non-finite values
(infinities or NaNs) in the population of values, as this will render the
`mean` and `sum_of_squared_deviation` fields meaningless.

Fields:
  bucketCounts: The number of values in each bucket of the histogram, as
    described in `bucket_options`. If the distribution does not have a
    histogram, then omit this field. If there is a histogram, then the sum
    of the values in `bucket_counts` must equal the value in the `count`
    field of the distribution. If present, `bucket_counts` should contain N
    values, where N is the number of buckets specified in `bucket_options`.
    If you supply fewer than N values, the remaining values are assumed to
    be 0. The order of the values in `bucket_counts` follows the bucket
    numbering schemes described for the three bucket types. The first value
    must be the count for the underflow bucket (number 0). The next N-2
    values are the counts for the finite buckets (number 1 through N-2). The
    N'th value in `bucket_counts` is the count for the overflow bucket
    (number N-1).
  bucketOptions: Defines the histogram bucket boundaries. If the
    distribution does not contain a histogram, then omit this field.
  count: The number of values in the population. Must be non-negative. This
    value must equal the sum of the values in `bucket_counts` if a histogram
    is provided.
  exemplars: Must be in increasing order of `value` field.
  mean: The arithmetic mean of the values in the population. If `count` is
    zero then this field must be zero.
  range: If specified, contains the range of the population values. The
    field must not be present if the `count` is zero.
  sumOfSquaredDeviation: The sum of squared deviations from the mean of the
    values in the population. For values x_i this is: Sum[i=1..n]((x_i -
    mean)^2) Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd
    edition describes Welford's method for accumulating this sum in one
    pass. If `count` is zero then this field must be zero.
r   Trepeated"GoogleApiDistributionBucketOptionsr   rS   GoogleApiDistributionExemplarrT   re   GoogleApiDistributionRange      r   N)r   r   r   r   r   r   rU   bucketCountsr   bucketOptionscount	exemplars
FloatFieldmeanrangesumOfSquaredDeviationr   r   r   r   rh   rh      s    )V ''D9,(()MqQ-

 
 
#%$$%DaRVW)			a	 $

 
 !=q
A%#..q1r   rh   c                       \ rS rSrSr\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r	S	r
g
)rl   i1  aY  `BucketOptions` describes the bucket boundaries used to create a
histogram for the distribution. The buckets can be in a linear sequence, an
exponential sequence, or each bucket can be specified explicitly.
`BucketOptions` does not include the number of values in each bucket. A
bucket has an inclusive lower bound and exclusive upper bound for the values
that are counted for that bucket. The upper bound of a bucket must be
strictly greater than the lower bound. The sequence of N buckets for a
distribution consists of an underflow bucket (number 0), zero or more finite
buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The
buckets are contiguous: the lower bound of bucket i (i > 0) is the same as
the upper bound of bucket i - 1. The buckets span the whole range of finite
values: lower bound of the underflow bucket is -infinity and the upper bound
of the overflow bucket is +infinity. The finite buckets are so-called
because both bounds are finite.

Fields:
  explicitBuckets: The explicit buckets.
  exponentialBuckets: The exponential buckets.
  linearBuckets: The linear bucket.
*GoogleApiDistributionBucketOptionsExplicitr   -GoogleApiDistributionBucketOptionsExponentialr   (GoogleApiDistributionBucketOptionsLinearrS   r   N)r   r   r   r   r   r   r   explicitBucketsexponentialBucketslinearBucketsr   r   r   r   rl   rl   1  sF    * **+WYZ[/ --.]_`a(()SUVW-r   rl   c                   :    \ rS rSrSr\R                  " SSS9rSrg)rz   iL  a  Specifies a set of buckets with arbitrary widths. There are
`size(bounds) + 1` (= N) buckets. Bucket `i` has the following boundaries:
Upper bound (0 <= i < N-1): bounds[i] Lower bound (1 <= i < N); bounds[i -
1] The `bounds` field must contain at least one element. If `bounds` has
only one element, then there are no finite buckets, and that single element
is the common boundary of the overflow and underflow buckets.

Fields:
  bounds: The values must be monotonically increasing.
r   Trj   r   N)	r   r   r   r   r   r   ru   boundsr   r   r   r   rz   rz   L  s    	 D1&r   rz   c                       \ rS rSrSr\R                  " S5      r\R                  " S\R                  R                  S9r\R                  " S5      rSrg)	r{   i[  a  Specifies an exponential sequence of buckets that have a width that is
proportional to the value of the lower bound. Each bucket represents a
constant relative uncertainty on a specific value in the bucket. There are
`num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following
boundaries: Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower
bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

Fields:
  growthFactor: Must be greater than 1.
  numFiniteBuckets: Must be greater than 0.
  scale: Must be greater than 0.
r   r   rQ   rS   r   N)r   r   r   r   r   r   ru   growthFactorrU   rV   rW   numFiniteBucketsscaler   r   r   r   r{   r{   [  sH     %%a(,++Ay7H7H7N7NO


q
!%r   r{   c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S5      r\R                  " S5      rSrg)	r|   in  a  Specifies a linear sequence of buckets that all have the same width
(except overflow and underflow). Each bucket represents a constant absolute
uncertainty on the specific value in the bucket. There are
`num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following
boundaries: Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1
<= i < N): offset + (width * (i - 1)).

Fields:
  numFiniteBuckets: Must be greater than 0.
  offset: Lower bound of the first bucket.
  width: Must be greater than 0.
r   rQ   r   rS   r   N)r   r   r   r   r   r   rU   rV   rW   r   ru   offsetwidthr   r   r   r   r|   r|   n  sH     ++Ay7H7H7N7NO"&


q
!%r   r|   c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " SSSS9r\R                  " S	5      r\R                  " S
5      rSrg)rm   i  a  Exemplars are example points that may be used to annotate aggregated
distribution values. They are metadata that gives information about a
particular value added to a Distribution bucket, such as a trace ID that was
active when a value was added. They may contain further information, such as
a example values and timestamps, origin, etc.

Messages:
  AttachmentsValueListEntry: A AttachmentsValueListEntry object.

Fields:
  attachments: Contextual information about the example value. Examples are:
    Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal
    string: type.googleapis.com/google.protobuf.StringValue Labels dropped
    during aggregation:
    type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only
    a single attachment of any given message type in a single exemplar, and
    this is enforced by the system.
  timestamp: The observation (sampling) time of the above value.
  value: Value of the exemplar point. This value determines to which bucket
    the exemplar belongs.
additionalPropertiesc                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
7GoogleApiDistributionExemplar.AttachmentsValueListEntryi  zA AttachmentsValueListEntry object.

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

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)JGoogleApiDistributionExemplar.AttachmentsValueListEntry.AdditionalPropertyi  zAn additional property for a AttachmentsValueListEntry object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   extra_types.JsonValuer   r   Nr   r   r   r   r   r   r   keyr   valuer   r   r   r   AdditionalPropertyr     ,    
 !!!$c$$%<a@er   r   r   Trj   r   Nr   r   r   r   r   r   Messager   r   r   r   r   r   r   AttachmentsValueListEntryr     4    		AY.. 	A %112FTXYr   r   r   Trj   r   rS   r   N)r   r   r   r   r   r   MapUnrecognizedFieldsr   r   r   r   attachmentsr   	timestampru   r   r   r   r   r   rm   rm     so    , !!"89Z)"3"3 Z :Z2 &&'BAPTU+##A&)


q
!%r   rm   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)rn   i  zThe range of the population values.

Fields:
  max: The maximum of the population values.
  min: The minimum of the population values.
r   r   r   N)
r   r   r   r   r   r   ru   maxminr   r   r   r   rn   rn     s)     	Q#Q#r   rn   c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)	GGoogleCloudBigqueryMigrationTasksAssessmentV2alphaAssessmentTaskDetailsi  a?  DEPRECATED! Use the AssessmentTaskDetails defined in
com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails instead.
Assessment task details.

Fields:
  dataSource: Required. The data source or data warehouse type (eg:
    TERADATA/REDSHIFT) from which the input data is extracted.
  inputPath: Required. The Cloud Storage path for assessment input files.
  outputDataset: Required. The BigQuery dataset for output.
  querylogsPath: Optional. An optional Cloud Storage path to write the query
    logs (which is then used as an input path on the translation task)
r   r   rS   rT   r   N)r   r   r   r   r   r   r   
dataSource	inputPathoutputDatasetquerylogsPathr   r   r   r   r   r     sI     $$Q'*##A&)''*-''*-r   r   c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S5      r\R                  " SS5      r\R                  " SS	5      rS
rg)>GoogleCloudBigqueryMigrationTasksTranslationV2alphaBteqOptionsi  a  BTEQ translation task related settings.

Messages:
  FileReplacementMapValue: Maps the local paths that are used in BTEQ
    scripts (the keys) to the paths in Cloud Storage that should be used in
    their stead in the translation (the value).

Fields:
  defaultPathUri: The Cloud Storage location to be used as the default path
    for files that are not otherwise specified in the file replacement map.
  fileReplacementMap: Maps the local paths that are used in BTEQ scripts
    (the keys) to the paths in Cloud Storage that should be used in their
    stead in the translation (the value).
  projectDataset: Specifies the project and dataset in BigQuery that will be
    used for external table creation during the translation.
r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
VGoogleCloudBigqueryMigrationTasksTranslationV2alphaBteqOptions.FileReplacementMapValuei  a\  Maps the local paths that are used in BTEQ scripts (the keys) to the
paths in Cloud Storage that should be used in their stead in the
translation (the value).

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

Fields:
  additionalProperties: Additional properties of type
    FileReplacementMapValue
c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)iGoogleCloudBigqueryMigrationTasksTranslationV2alphaBteqOptions.FileReplacementMapValue.AdditionalPropertyi  zAn additional property for a FileReplacementMapValue object.

Fields:
  key: Name of the additional property.
  value: A string attribute.
r   r   r   N
r   r   r   r   r   r   r   r   r   r   r   r   r   r   r     )    
 !!!$c##A&er   r   r   Trj   r   Nr   r   r   r   FileReplacementMapValuer     s2    	'Y.. 	' %112FTXYr   r   r   r   CGoogleCloudBigqueryMigrationTasksTranslationV2alphaDatasetReferencerS   r   N)r   r   r   r   r   r   r   r   r   r   r   defaultPathUrir   fileReplacementMapprojectDatasetr   r   r   r   r   r     sq    " !!"89Z	 1 1 Z :Z6 ((+. --.GK))*oqrs.r   r   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r   i
  al  A GoogleCloudBigqueryMigrationTasksTranslationV2alphaDatasetReference
object.

Fields:
  datasetId: Required. A unique ID for this dataset, without the project
    name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or
    underscores (_). The maximum length is 1,024 characters.
  projectId: Optional. The ID of the project containing this dataset.
r   r   r   N)
r   r   r   r   r   r   r   	datasetId	projectIdr   r   r   r   r   r   
  s)     ##A&)##A&)r   r   c                   :    \ rS rSrSr\R                  " SSS9rSrg)9GoogleCloudBigqueryMigrationTasksTranslationV2alphaFilteri  zThe filter applied to fields of translation details.

Fields:
  inputFileExclusionPrefixes: The list of prefixes used to exclude
    processing for input files.
r   Trj   r   N)	r   r   r   r   r   r   r   inputFileExclusionPrefixesr   r   r   r   r   r     s      )44QFr   r   c                       \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " SS5      rS	rg
)EGoogleCloudBigqueryMigrationTasksTranslationV2alphaIdentifierSettingsi$  a  Settings related to SQL identifiers.

Enums:
  IdentifierRewriteModeValueValuesEnum: Specifies the rewrite mode for SQL
    identifiers.
  OutputIdentifierCaseValueValuesEnum: The setting to control output
    queries' identifier case.

Fields:
  identifierRewriteMode: Specifies the rewrite mode for SQL identifiers.
  outputIdentifierCase: The setting to control output queries' identifier
    case.
c                   $    \ rS rSrSrSrSrSrSrg)jGoogleCloudBigqueryMigrationTasksTranslationV2alphaIdentifierSettings.IdentifierRewriteModeValueValuesEnumi3  zSpecifies the rewrite mode for SQL identifiers.

Values:
  IDENTIFIER_REWRITE_MODE_UNSPECIFIED: SQL Identifier rewrite mode is
    unspecified.
  NONE: SQL identifiers won't be rewrite.
  REWRITE_ALL: All SQL identifiers will be rewrite.
r   r   r   r   N)	r   r   r   r   r   #IDENTIFIER_REWRITE_MODE_UNSPECIFIEDNONEREWRITE_ALLr   r   r   r   $IdentifierRewriteModeValueValuesEnumr   3  s     +,'DKr   r   c                   (    \ rS rSrSrSrSrSrSrSr	g)	iGoogleCloudBigqueryMigrationTasksTranslationV2alphaIdentifierSettings.OutputIdentifierCaseValueValuesEnumi@  a#  The setting to control output queries' identifier case.

Values:
  IDENTIFIER_CASE_UNSPECIFIED: The identifier case is not specified.
  ORIGINAL: Identifiers' cases will be kept as the original cases.
  UPPER: Identifiers will be in upper cases.
  LOWER: Identifiers will be in lower cases.
r   r   r   rS   r   N)
r   r   r   r   r   IDENTIFIER_CASE_UNSPECIFIEDORIGINALUPPERLOWERr   r   r   r   #OutputIdentifierCaseValueValuesEnumr   @  s     #$HEEr   r   r   r   r   N)r   r   r   r   r   r   Enumr   r   	EnumFieldidentifierRewriteModeoutputIdentifierCaser   r   r   r   r   r   $  sS    Y^^ INN  $--.TVWX",,-RTUVr   r   c                       \ rS rSrSrSrg)BGoogleCloudBigqueryMigrationTasksTranslationV2alphaTeradataOptionsiR  z8Teradata SQL specific translation task related settings.r   Nr   r   r   r   r   r   r   r   r   r   r   R  s    Ar   r   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)IGoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationFileMappingiV  zMapping between an input and output file to be translated in a subtask.

Fields:
  inputPath: The Cloud Storage path for a file to translation in a subtask.
  outputPath: The Cloud Storage path to write back the corresponding input
    file to.
r   r   r   N)
r   r   r   r   r   r   r   r   
outputPathr   r   r   r   r   r   V  s)     ##A&)$$Q'*r   r   c                   .   \ rS rSrSr " S S\R                  5      r\R                  " S5       " S S\R                  5      5       r\R                  " SS	5      r\R                  " SS
5      r\R                  " SSSS9r\R                  " SS5      r\R                  " SS5      r\R&                  " S5      r\R&                  " S5      r\R&                  " S5      r\R                  " SS5      r\R                  " SS5      r\R&                  " S5      rSrg)IGoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationTaskDetailsic  a  DEPRECATED! Use TranslationTaskDetails defined in
com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails instead.
The translation task details to capture necessary settings for a translation
task and subtask.

Enums:
  FileEncodingValueValuesEnum: The file encoding type.

Messages:
  SpecialTokenMapValue: The map capturing special tokens to be replaced
    during translation. The key is special token in string. The value is the
    token data type. This is used to translate SQL query template which
    contains special token as place holder. The special token makes a query
    invalid to parse. This map will be applied to annotate those special
    token with types to let parser understand how to parse them into proper
    structure with type information.

Fields:
  bteqOptions: The BTEQ specific settings for the translation task.
  fileEncoding: The file encoding type.
  filePaths: Cloud Storage files to be processed for translation.
  filter: The filter applied to translation details.
  identifierSettings: The settings for SQL identifiers.
  inputPath: The Cloud Storage path for translation input files.
  outputPath: The Cloud Storage path for translation output files.
  schemaPath: The Cloud Storage path to DDL files as table schema to assist
    semantic translation.
  specialTokenMap: The map capturing special tokens to be replaced during
    translation. The key is special token in string. The value is the token
    data type. This is used to translate SQL query template which contains
    special token as place holder. The special token makes a query invalid
    to parse. This map will be applied to annotate those special token with
    types to let parser understand how to parse them into proper structure
    with type information.
  teradataOptions: The Teradata SQL specific settings for the translation
    task.
  translationExceptionTable: Specifies the exact name of the bigquery table
    ("dataset.table") to be used for surfacing raw translation errors. If
    the table does not exist, we will create it. If it already exists and
    the schema is the same, we will re-use. If the table exists and the
    schema is different, we will throw an error.
c                   4    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rg)eGoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationTaskDetails.FileEncodingValueValuesEnumi  aJ  The file encoding type.

Values:
  FILE_ENCODING_UNSPECIFIED: File encoding setting is not specified.
  UTF_8: File encoding is UTF_8.
  ISO_8859_1: File encoding is ISO_8859_1.
  US_ASCII: File encoding is US_ASCII.
  UTF_16: File encoding is UTF_16.
  UTF_16LE: File encoding is UTF_16LE.
  UTF_16BE: File encoding is UTF_16BE.
r   r   r   rS   rT   re   ro   r   N)r   r   r   r   r   FILE_ENCODING_UNSPECIFIEDUTF_8
ISO_8859_1US_ASCIIUTF_16UTF_16LEUTF_16BEr   r   r   r   FileEncodingValueValuesEnumr     s-    
 !"EJHFHHr   r   r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
^GoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationTaskDetails.SpecialTokenMapValuei  af  The map capturing special tokens to be replaced during translation.
The key is special token in string. The value is the token data type. This
is used to translate SQL query template which contains special token as
place holder. The special token makes a query invalid to parse. This map
will be applied to annotate those special token with types to let parser
understand how to parse them into proper structure with type information.

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

Fields:
  additionalProperties: Additional properties of type SpecialTokenMapValue
c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " SS5      rSrg)	qGoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationTaskDetails.SpecialTokenMapValue.AdditionalPropertyi  zAn additional property for a SpecialTokenMapValue object.

Enums:
  ValueValueValuesEnum:

Fields:
  key: Name of the additional property.
  value: A ValueValueValuesEnum attribute.
c                   8    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrg)چGoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationTaskDetails.SpecialTokenMapValue.AdditionalProperty.ValueValueValuesEnumi  aC  ValueValueValuesEnum enum type.

Values:
  TOKEN_TYPE_UNSPECIFIED: Token type is not specified.
  STRING: Token type as string.
  INT64: Token type as integer.
  NUMERIC: Token type as numeric.
  BOOL: Token type as boolean.
  FLOAT64: Token type as float.
  DATE: Token type as date.
  TIMESTAMP: Token type as timestamp.
r   r   r   rS   rT   re   ro   rp   r   N)r   r   r   r   r   TOKEN_TYPE_UNSPECIFIEDSTRINGINT64NUMERICBOOLFLOAT64DATE	TIMESTAMPr   r   r   r   ValueValueValuesEnumr     s2    	 "#	r   r   r   r   r   N)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r     s<    
 , !!!$c!!"8!<er   r   r   Trj   r   Nr   r   r   r   SpecialTokenMapValuer     s3    "=Y.. "=H %112FTXYr   r   r   r   r   r   rS   Trj   r   rT   r   re   ro   rp      	   r   
      r   N)r   r   r   r   r   r   r   r   r   r   r   r   r   bteqOptionsr   fileEncoding	filePathsrf   identifierSettingsr   r   r   
schemaPathspecialTokenMapteradataOptionstranslationExceptionTabler   r   r   r   r   r   c  s!   )VINN ( !!"894ZY.. 4Z :4Zl &&'gijk+$$%BAF,$$%prs  C  D)!!"]_`a& --.uwxy##A&)$$Q'*$$Q'***+A1E/**+oqst/'33B7r   r   c                   <    \ rS rSrSr\R                  " S5      rSrg)5GoogleCloudBigqueryMigrationV2AssessmentFeatureHandlei  zUser-definable feature flags for assessment tasks.

Fields:
  addShareableDataset: Optional. Whether to create a dataset containing non-
    PII data in addition to the output dataset.
r   r   N)	r   r   r   r   r   r   BooleanFieldaddShareableDatasetr   r   r   r   r   r     s     "..q1r   r   c                       \ rS rSrSr\R                  " S5      r\R                  " SS5      r	\R                  " S5      r
\R                  " S5      r\R                  " S5      rS	rg
)3GoogleCloudBigqueryMigrationV2AssessmentTaskDetailsi  a  Assessment task config.

Fields:
  dataSource: Required. The data source or data warehouse type (eg:
    TERADATA/REDSHIFT) from which the input data is extracted.
  featureHandle: Optional. A collection of additional feature flags for this
    assessment.
  inputPath: Required. The Cloud Storage path for assessment input files.
  outputDataset: Required. The BigQuery dataset for output.
  querylogsPath: Optional. An optional Cloud Storage path to write the query
    logs (which is then used as an input path on the translation task)
r   r   r   rS   rT   re   r   N)r   r   r   r   r   r   r   r   r   featureHandler   r   r   r   r   r   r   r   r     s]     $$Q'*(()`bcd-##A&)''*-''*-r   r   c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S5      r\R                  " S5      rSrg)	,GoogleCloudBigqueryMigrationV2AssignmentInfoi  aN  Information about assignments.

Fields:
  executionCount: A counter tracking how often an item was assigned for
    execution.
  firstAssignedTime: Time when of the task / subtask was first assigned.
    Empty if not assigned yet.
  lastAssignedTime: Time when of the task / subtask was first assigned.
    Empty if not assigned yet.
r   rQ   r   rS   r   N)r   r   r   r   r   r   rU   rV   rW   executionCountr   firstAssignedTimelastAssignedTimer   r   r   r   r  r    sI    	 ))!Y5F5F5L5LM.++A.**1-r   r  c                       \ rS rSrSrSrg)1GoogleCloudBigqueryMigrationV2AzureSynapseDialecti  z)The dialect definition for Azure Synapse.r   Nr   r   r   r   r  r    s    2r   r  c                       \ rS rSrSrSrg)-GoogleCloudBigqueryMigrationV2BigQueryDialecti  z$The dialect definition for BigQuery.r   Nr   r   r   r   r  r        -r   r  c                       \ rS rSrSrSrg)(GoogleCloudBigqueryMigrationV2DB2Dialecti   zThe dialect definition for DB2.r   Nr   r   r   r   r  r     s    (r   r  c                      \ rS rSrSr\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r	\R                  " S	S
5      r
\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r\R                  " SS 5      r\R                  " S!S"5      r\R                  " S#S$5      r\R                  " S%S&5      rS'rg())%GoogleCloudBigqueryMigrationV2Dialecti$  a  The possible dialect options for translation.

Fields:
  azureSynapseDialect: The Azure Synapse dialect
  bigqueryDialect: The BigQuery dialect
  db2Dialect: DB2 dialect
  greenplumDialect: Greenplum dialect
  hiveqlDialect: The HiveQL dialect
  impalaDialect: Impala dialect
  mysqlDialect: The MySQL dialect
  netezzaDialect: The Netezza dialect
  oracleDialect: The Oracle dialect
  postgresqlDialect: The Postgresql dialect
  prestoDialect: The Presto dialect
  redshiftDialect: The Redshift dialect
  snowflakeDialect: The Snowflake dialect
  sparksqlDialect: The SparkSQL dialect
  sqlServerDialect: The SQL Server dialect
  sqliteDialect: SQLite dialect
  teradataDialect: The Teradata dialect
  verticaDialect: The Vertica dialect
r  r   r  r   r  rS   .GoogleCloudBigqueryMigrationV2GreenplumDialectrT   +GoogleCloudBigqueryMigrationV2HiveQLDialectre   +GoogleCloudBigqueryMigrationV2ImpalaDialectro   *GoogleCloudBigqueryMigrationV2MySQLDialectrp   ,GoogleCloudBigqueryMigrationV2NetezzaDialectr   +GoogleCloudBigqueryMigrationV2OracleDialectr   /GoogleCloudBigqueryMigrationV2PostgresqlDialectr   +GoogleCloudBigqueryMigrationV2PrestoDialectr   -GoogleCloudBigqueryMigrationV2RedshiftDialect   .GoogleCloudBigqueryMigrationV2SnowflakeDialect   -GoogleCloudBigqueryMigrationV2SparkSQLDialect   .GoogleCloudBigqueryMigrationV2SQLServerDialect   +GoogleCloudBigqueryMigrationV2SQLiteDialect   -GoogleCloudBigqueryMigrationV2TeradataDialect   ,GoogleCloudBigqueryMigrationV2VerticaDialectr
   r   N)r   r   r   r   r   r   r   azureSynapseDialectbigqueryDialect
db2DialectgreenplumDialecthiveqlDialectimpalaDialectmysqlDialectnetezzaDialectoracleDialectpostgresqlDialectprestoDialectredshiftDialectsnowflakeDialectsparksqlDialectsqlServerDialectsqliteDialectteradataDialectverticaDialectr   r   r   r   r  r  $  sv   . "../bdef**+Z\]^/%%&PRST*++,\^_`(()VXYZ-(()VXYZ-''(TVWX,))*XZ[\.(()VXYZ-,,-^`bc(()VXZ[-**+Z\^_/++,\^`a**+Z\^_/++,\^`a(()VXZ[-**+Z\^_/))*XZ\].r   r  c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)	)GoogleCloudBigqueryMigrationV2ErrorDetailiP  a
  Provides details for errors, e.g. issues that where encountered when
processing a subtask.

Fields:
  errorInfo: Required. Describes the cause of the error with structured
    detail.
  location: Optional. The exact location within the resource (if
    applicable).
GoogleRpcErrorInfor   +GoogleCloudBigqueryMigrationV2ErrorLocationr   r   N)
r   r   r   r   r   r   r   	errorInfolocationr   r   r   r   r6  r6  P  s0     $$%91=)##$QSTU(r   r6  c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S\R                  R                  S9r
Srg)r8  i_  aP  Holds information about where the error is located.

Fields:
  column: Optional. If applicable, denotes the column where the error
    occurred. A zero value means that there is no columns information.
  line: Optional. If applicable, denotes the line where the error occurred.
    A zero value means that there is no line information.
r   rQ   r   r   N)r   r   r   r   r   r   rU   rV   rW   columnliner   r   r   r   r8  r8  _  sE     !!!Y->->-D-DE&			9+<+<+B+B	C$r   r8  c                   h   \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	\R                  " S	S
SS9r
\R                  " S5      r\R                  " S5      r\R                  " SS5      r\R                  " SS5      r\R                   " SS5      r\R                  " S5      rSrg)r,   im  a  A request to transition from ORCHESTRATING to RUNNING via task type.

Enums:
  StateValueValuesEnum: Required. The terminal state of the subtask.

Fields:
  metrics: Optional. Metrics to be set for the orchestrated task.
  migrationSubtasks: Optional. A list of subtasks that the service shall
    create before transitioning the task to RUNNING. The operation will fail
    if creating any of the subtasks fails.
  migrationWorkflow: Required. The workflow to update. The name of the
    workflow to which the task belongs.
  orchestratorId: Required. The ID of the orchestrator that processed the
    task. This must match the `orchestrator_id` that currently holds the
    lease for the `MigrationTask` (acquired via `ReceiveMigrationTask`).
  processingError: Optional. A processing error can be provided when the
    finish state is FAILED to let the user know what went wrong.
  result: Optional. Additional result information from the orchestrator.
  state: Required. The terminal state of the subtask.
  taskId: Required. The task ID. Note: This is not the key in the
    workflows's `tasks` field, but the unique ID of the task as defined in
    the tasks's `id` field.
c                   $    \ rS rSrSrSrSrSrSrg)ZGoogleCloudBigqueryMigrationV2FinishMigrationTaskOrchestrationRequest.StateValueValuesEnumi  zRequired. The terminal state of the subtask.

Values:
  STATE_UNSPECIFIED: State is unspecified. Clients should not use this.
  SUCCEEDED: The orchestration finished successfully.
  FAILED: The orchestration finished unsuccessfully.
r   r   r   r   N	r   r   r   r   r   STATE_UNSPECIFIED	SUCCEEDEDFAILEDr   r   r   r   StateValueValuesEnumr@         IFr   rE  (GoogleCloudBigqueryMigrationV2TimeSeriesr   Trj   .GoogleCloudBigqueryMigrationV2MigrationSubtaskr   rS   rT   r7  re   1GoogleCloudBigqueryMigrationV2MigrationTaskResultro   rp   r   r   N)r   r   r   r   r   r   r   rE  r   metricsmigrationSubtasksr   migrationWorkfloworchestratorIdprocessingErrorresultr   statetaskIdr   r   r   r   r,   r,   m  s    0
Y^^ 
 ""#Mq[_`',,-]_`kop++A.((+.**+?C/!!"UWXY&


4a
8%  #&r   r,   c                      \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	\R                  " S	5      r\R                  " S
S5      r\R                  " SS5      r\R                  " S\R                  R                   S9r\R                  " SSSS9r\R&                  " SS5      r\R                  " S5      rSrg)r   i  a  A request to update a migration subtask by subtask type.

Enums:
  StateValueValuesEnum: Required. The terminal state of the subtask.

Fields:
  metrics: Optional. Metrics to be set for the finished subtask.
  migrationSubtask: Required. The unique identifier for the migration
    subtask. Example:
    `projects/123/locations/us/workflows/1234/subtasks/543`
  orchestrationResult: Optional. Additional orchestration result information
    from the subtask.
  processingError: Optional. A processing error can be provided when the
    finish state is FAILED to let the user know what went wrong.
  resourceErrorCount: Optional. The number or resources with errors. Note:
    This is not the total number of errors as each resource can have more
    than one error. This can be used to indicate truncation by having a
    `resource_error_count` that is higher than the size of
    `resource_error_details`.
  resourceErrorDetails: Optional. Provides details to errors and issues
    encountered while processing the subtask. Presence of error details does
    not mean that the subtask failed. To limit size, there must not be more
    than 100 ErrorDetail objects in total.
  state: Required. The terminal state of the subtask.
  workerId: Required. The ID of the worker that processed the subtask. This
    must match the `worker_id` that currently holds the lease for the
    `MigrationSubtask` (acquired via `ReceiveMigrationSubtask`).
c                   $    \ rS rSrSrSrSrSrSrg)GGoogleCloudBigqueryMigrationV2FinishSubtaskRequest.StateValueValuesEnumi  zRequired. The terminal state of the subtask.

Values:
  STATE_UNSPECIFIED: State is unspecified. Clients should not use this.
  SUCCEEDED: The subtask finished successfully.
  FAILED: The subtask finished unsuccessfully.
r   r   r   r   NrA  r   r   r   rE  rT    rF  r   rE  rG  r   Trj   r   AGoogleCloudBigqueryMigrationV2MigrationSubtaskOrchestrationResultrS   r7  rT   re   rQ   1GoogleCloudBigqueryMigrationV2ResourceErrorDetailro   rp   r   r   N)r   r   r   r   r   r   r   rE  r   rJ  r   migrationSubtaskorchestrationResultrN  rU   rV   rW   resourceErrorCountresourceErrorDetailsr   rP  workerIdr   r   r   r   r   r     s    :
Y^^ 
 ""#Mq[_`'**1-!../rtuv**+?C/ --a9J9J9P9PQ"//0cefquv


4a
8%""1%(r   r   c                      \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " S5      r
\R                  " S5      r\R                  " S	5      r\R                  " S
5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R"                  " SS5      r\R                  " S5      r\R                  " S5      r\R*                  " S\R,                  R.                  S9r\R*                  " S\R,                  R.                  S9r\R"                  " SS5      rSrg)1GoogleCloudBigqueryMigrationV2GcsReportLogMessagei  a  A record in the aggregate CSV report for a migration workflow

Enums:
  RetentionStatusValueValuesEnum: Whether the impacted lines of code are
    DROPPED or RETAINED at this stage.
  SourceTypeValueValuesEnum: The type of the source file.

Fields:
  action: Category of the error/warning. Example: SyntaxError
  category: Category of the error/warning. Example: SyntaxError
  effect: Effect of the error/warning. Example: COMPATIBILITY
  filePath: The file path in which the error occurred
  filename: The file name in which the error occurred
  message: Detailed message of the record.
  objectName: Name of the affected object in the log message.
  retentionStatus: Whether the impacted lines of code are DROPPED or
    RETAINED at this stage.
  scriptContext: The script context (obfuscated) in which the error occurred
  severity: Severity of the translation record.
  sourceScriptColumn: Specifies the column from the source texts where the
    error occurred. (0 based, -1 for messages without column location)
    example: 6
  sourceScriptLine: Specifies the row from the source text where the error
    occurred (0 based, -1 for messages without line location). Example: 2
  sourceType: The type of the source file.
c                   $    \ rS rSrSrSrSrSrSrg)PGoogleCloudBigqueryMigrationV2GcsReportLogMessage.RetentionStatusValueValuesEnumi  a  Whether the impacted lines of code are DROPPED or RETAINED at this
stage.

Values:
  RETENTION_STATUS_UNSPECIFIED: Undefined status.
  RETAINED: The impacted code of this issue is retained at this stage.
  DROPPED: The impacted code of this issue is dropped at this stage.
r   r   r   r   N)	r   r   r   r   r   RETENTION_STATUS_UNSPECIFIEDRETAINEDDROPPEDr   r   r   r   RetentionStatusValueValuesEnumr_    s     $% HGr   rc  c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
KGoogleCloudBigqueryMigrationV2GcsReportLogMessage.SourceTypeValueValuesEnumi  zThe type of the source file.

Values:
  SOURCE_TYPE_UNSPECIFIED: Undefined source type.
  SQL: The source is a SQL file.
  LITERAL: The source is a literal.
  METADATA: The source is a metadata file.
  CONFIGURATION: The source is a configuration file.
r   r   r   rS   rT   r   N)r   r   r   r   r   SOURCE_TYPE_UNSPECIFIEDSQLLITERALMETADATACONFIGURATIONr   r   r   r   SourceTypeValueValuesEnumre    s#      
CGHMr   rk  r   r   rS   rT   re   ro   rp   r   r   r   r   rQ   r  r  r   N)r   r   r   r   r   r   r   rc  rk  r   actioncategoryeffectfilePathfilenamemessage
objectNamer   retentionStatusscriptContextseverityrU   rV   rW   sourceScriptColumnsourceScriptLine
sourceTyper   r   r   r   r]  r]    s   6y~~ )..     #&""1%(  #&""1%(""1%(!!!$'$$Q'*''(H!L/''*-""2&( --b):K:K:Q:QR++B	8I8I8O8OP""#>C*r   r]  c                       \ rS rSrSrSrg)r  i  z%The dialect definition for Greenplum.r   Nr   r   r   r   r  r        .r   r  c                       \ rS rSrSrSrg)r  i  z"The dialect definition for HiveQL.r   Nr   r   r   r   r  r        +r   r  c                       \ rS rSrSrSrg)r  i   z"The dialect definition for Impala.r   Nr   r   r   r   r  r     r|  r   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)#GoogleCloudBigqueryMigrationV2Leasei$  zLease for a task or subtask.

Fields:
  callerId: The ID of the caller that is assigned the task.
  expireTime: Output only. Timestamp when the lease expries.
r   r   r   N)
r   r   r   r   r   r   r   callerId
expireTimer   r   r   r   r  r  $  s)     ""1%($$Q'*r   r  c                   `    \ rS rSrSr\R                  " SSSS9r\R                  " S5      r	Sr
g	)
;GoogleCloudBigqueryMigrationV2ListMigrationSubtasksResponsei0  a  Response object for a `ListMigrationSubtasks` call.

Fields:
  migrationSubtasks: The migration subtasks for the specified task.
  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.
rH  r   Trj   r   r   N)r   r   r   r   r   r   r   rK  r   nextPageTokenr   r   r   r   r  r  0  s1      ,,-]_`kop''*-r   r  c                   `    \ rS rSrSr\R                  " SSSS9r\R                  " S5      r	Sr
g	)
<GoogleCloudBigqueryMigrationV2ListMigrationWorkflowsResponsei=  a*  Response object for a `ListMigrationWorkflows` call.

Fields:
  migrationWorkflows: The migration workflows for the specified project /
    location.
  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.
rB   r   Trj   r   r   N)r   r   r   r   r   r   r   migrationWorkflowsr   r  r   r   r   r   r  r  =  s1     !--._abmqr''*-r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)%GoogleCloudBigqueryMigrationV2LiteraliK  zLiteral data.

Fields:
  literalBytes: Literal byte data.
  literalString: Literal string data.
  relativePath: Required. The identifier of the literal entry.
r   r   rS   r   N)r   r   r   r   r   r   
BytesFieldliteralBytesr   literalStringrelativePathr   r   r   r   r  r  K  s9     %%a(,''*-&&q),r   r  c                      \ rS rSrSr " S S\R                  5      r\R                  " S5       " S S\R                  5      5       r\R                  " SS	5      r\R                  " S
5      r\R                  " SS5      r\R                  " S5      r\R                  " SS5      r\R                  " SSSS9r\R                  " S5      r\R                  " SS5      r\R,                  " S\R.                  R0                  S9r\R                  " SSSS9r\R6                  " SS5      r\R                  " S5      r\R                  " S5      rSrg)rH  iY  a  A subtask for a migration which carries details about the configuration
of the subtask. The content of the details should not matter to the end
user, but is a contract between the subtask creator and subtask worker.

Enums:
  StateValueValuesEnum: Output only. The current state of the subtask.

Messages:
  DetailsValue: The details of the sub task. This is opaque to migration
    service and entirely between orchestrator and worker.

Fields:
  assignmentInfo: Output only. Information about the assignment status.
  createTime: Output only. Time when the subtask was created.
  details: The details of the sub task. This is opaque to migration service
    and entirely between orchestrator and worker.
  lastUpdateTime: Output only. Time when the subtask was last updated.
  lease: Output only. A lease, if this is currently assigned.
  metrics: Output only. The metrics for the subtask.
  name: Output only. Immutable. The resource name for the migration subtask.
    The ID is server-generated. Example:
    `projects/123/locations/us/workflows/345/subtasks/678`
  processingError: Output only. An explanation that may be populated when
    the task is in FAILED state.
  resourceErrorCount: Output only. The number or resources with errors.
    Note: This is not the total number of errors as each resource can have
    more than one error. This is used to indicate truncation by having a
    `resource_error_count` that is higher than the size of
    `resource_error_details`.
  resourceErrorDetails: Output only. Provides details to errors and issues
    encountered while processing the subtask. Presence of error details does
    not mean that the subtask failed.
  state: Output only. The current state of the subtask.
  taskId: The unique ID of the task to which this subtask belongs.
  type: The type of the Subtask. The migration service does not check
    whether this is a known type. It is up to the task creator (i.e.
    orchestrator or worker) to ensure it only creates subtasks for which
    there are compatible workers polling for Subtasks.
c                   4    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rg)CGoogleCloudBigqueryMigrationV2MigrationSubtask.StateValueValuesEnumi  au  Output only. The current state of the subtask.

Values:
  STATE_UNSPECIFIED: The state is unspecified.
  ACTIVE: The subtask is ready, i.e. it is ready for execution.
  RUNNING: The subtask is running, i.e. it is assigned to a worker for
    execution.
  SUCCEEDED: The subtask finished successfully.
  FAILED: The subtask finished unsuccessfully.
  PAUSED: The subtask is paused, i.e., it will not be scheduled. If it was
    already assigned,it might still finish but no new lease renewals will
    be granted.
  PENDING_DEPENDENCY: The subtask is pending a dependency. It will be
    scheduled once its dependencies are done.
r   r   r   rS   rT   re   ro   r   N)r   r   r   r   r   rB  ACTIVERUNNINGrC  rD  PAUSEDPENDING_DEPENDENCYr   r   r   r   rE  r    s.     FGIFFr   rE  r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
;GoogleCloudBigqueryMigrationV2MigrationSubtask.DetailsValuei  a%  The details of the sub task. This is opaque to migration service and
entirely between orchestrator and worker.

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

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)NGoogleCloudBigqueryMigrationV2MigrationSubtask.DetailsValue.AdditionalPropertyi  zAn additional property for a DetailsValue object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   r   r   r   Nr   r   r   r   r   r    r   r   r   r   Trj   r   Nr   r   r   r   DetailsValuer    r   r   r  r  r   r   rS   rT   r  re   rG  ro   Trj   rp   r7  r   r   rQ   rV  r   r   r  r  r   N) r   r   r   r   r   r   r   rE  r   r   r   r  r   assignmentInfor   
createTimedetailslastUpdateTimeleaserJ  rG   rN  rU   rV   rW   rY  rZ  r   rP  rQ  typer   r   r   r   rH  rH  Y  sF   &PY^^ 0 !!"89ZY&& Z :Z2 ))*XZ[\.$$Q'*"">15'((+.

 
 !F
J%""#Mq[_`'			q	!$**+?C/ --a9J9J9P9PQ"//0cegrvw


4b
9%  $&			r	"$r   rH  c                   <    \ rS rSrSr\R                  " SSSS9rSrg)	rU  i  a  Additional orchestration information from the subtask at time of
completion.

Fields:
  newMigrationSubtasks: Optional. A list of subtasks that the service shall
    create before transitioning the subtask to SUCCEEDED. The operation will
    fail if creating any of the subtasks fails.
rH  r   Trj   r   N)	r   r   r   r   r   r   r   newMigrationSubtasksr   r   r   r   rU  rU    s!     #//0`bcnrsr   rU  c                   (   \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SS5      r
\R                  " S	5      r\R                  " S
5      r\R                  " S5      r\R                  " SS5      r\R                  " SSSS9r\R                  " SS5      r\R$                  " S\R&                  R(                  S9r\R                  " SSSS9r\R.                  " SS5      r\R                  " SS5      r\R$                  " S\R&                  R(                  S9r\R$                  " S\R&                  R(                  S9r\R                  " SS5      r\R                  " SS 5      r\R                  " S!5      rS"rg#)$+GoogleCloudBigqueryMigrationV2MigrationTaski  a  A single task for a migration which has details about the configuration
of the task.

Enums:
  StateValueValuesEnum: Output only. The current state of the task.

Fields:
  assessmentTaskDetails: Task configuration for Assessment.
  assignmentInfo: Output only. Information about the assignment status.
  createTime: Output only. Time when the task was created.
  id: Output only. Immutable. The unique identifier for the migration task.
    The ID is server-generated.
  lastUpdateTime: Output only. Time when the task was last updated.
  lease: Output only. A lease, if this is currently assigned.
  metrics: Output only. The metrics for the task.
  processingError: Output only. An explanation that may be populated when
    the task is in FAILED state.
  resourceErrorCount: Output only. The number or resources with errors.
    Note: This is not the total number of errors as each resource can have
    more than one error. This is used to indicate truncation by having a
    `resource_error_count` that is higher than the size of
    `resource_error_details`.
  resourceErrorDetails: Output only. Provides details to errors and issues
    encountered while processing the task. Presence of error details does
    not mean that the task failed.
  state: Output only. The current state of the task.
  taskResult: Output only. The result of the task.
  totalProcessingErrorCount: Output only. Count of all the processing errors
    in this task and its subtasks.
  totalResourceErrorCount: Output only. Count of all the resource errors in
    this task and its subtasks.
  translationConfigDetails: Task configuration for CW Batch/Offline SQL
    Translation.
  translationDetails: Task details for unified SQL Translation.
  type: The type of the task. This must be one of the supported task types:
    Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
    Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
    Translation_Snowflake2BQ, Translation_Netezza2BQ,
    Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
    Translation_SQLServer2BQ, Translation_SQLServer2Postgresql,
    Translation_Presto2BQ, Translation_MySQL2BQ, Translation_Postgresql2BQ,
    Translation_SQLite2BQ, Translation_Greenplum2BQ, Translation_Impala2BQ.
c                   4    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rg)@GoogleCloudBigqueryMigrationV2MigrationTask.StateValueValuesEnumi  a  Output only. The current state of the task.

Values:
  STATE_UNSPECIFIED: The state is unspecified.
  PENDING: The task is waiting for orchestration.
  ORCHESTRATING: The task is assigned to an orchestrator.
  RUNNING: The task is running, i.e. its subtasks are ready for execution.
  PAUSED: The task is paused. Assigned subtasks can continue, but no new
    subtasks will be scheduled.
  SUCCEEDED: The task finished successfully.
  FAILED: The task finished unsuccessfully.
r   r   r   rS   rT   re   ro   r   N)r   r   r   r   r   rB  PENDINGORCHESTRATINGr  r  rC  rD  r   r   r   r   rE  r    s-     GMGFIFr   rE  r   r   r  r   rS   rT   re   r  ro   rG  rp   Trj   r7  r   r   rQ   rV  r   r   rI  r  r  r  6GoogleCloudBigqueryMigrationV2TranslationConfigDetailsr  0GoogleCloudBigqueryMigrationV2TranslationDetailsr  r!  r   N) r   r   r   r   r   r   r   rE  r   assessmentTaskDetailsr  r   r  idr  r  rJ  rN  rU   rV   rW   rY  rZ  r   rP  
taskResulttotalProcessingErrorCounttotalResourceErrorCounttranslationConfigDetailstranslationDetailsr  r   r   r   r   r  r    s   *XY^^ * $001fhij))*XZ[\.$$Q'*Q"((+.

 
 !F
J%""#Mq[_`'**+?C/ --a9J9J9P9PQ"//0cegrvw


4b
9%%%&Y[]^*'44RARARAXAXY%222y?P?P?V?VW&334lnpq --.`bde			r	"$r   r  c                   >    \ rS rSrSr\R                  " SS5      rSrg)rI  i%  ziThe migration task result.

Fields:
  translationTaskResult: Details specific to translation task types.
3GoogleCloudBigqueryMigrationV2TranslationTaskResultr   r   N)	r   r   r   r   r   r   r   translationTaskResultr   r   r   r   rI  rI  %  s     $001fhijr   rI  c                   r   \ rS rSrSr " S S\R                  5      r\R                  " S5       " S S\R                  5      5       r\R                  " S5      r\R                  " S	5      r\R                  " S
5      r\R                  " S5      r\R"                  " SS5      r\R&                  " SS5      rSrg)rB   i/  a  A migration workflow which specifies what needs to be done for an EDW
migration.

Enums:
  StateValueValuesEnum: Output only. That status of the workflow.

Messages:
  TasksValue: The tasks in a workflow in a named map. The name (i.e. key)
    has no meaning and is merely a convenient way to address a specific task
    in a workflow.

Fields:
  createTime: Output only. Time when the workflow was created.
  displayName: The display name of the workflow. This can be set to give a
    workflow a descriptive name. There is no guarantee or enforcement of
    uniqueness.
  lastUpdateTime: Output only. Time when the workflow was last updated.
  name: Output only. Immutable. Identifier. The unique identifier for the
    migration workflow. The ID is server-generated. Example:
    `projects/123/locations/us/workflows/345`
  state: Output only. That status of the workflow.
  tasks: The tasks in a workflow in a named map. The name (i.e. key) has no
    meaning and is merely a convenient way to address a specific task in a
    workflow.
c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
DGoogleCloudBigqueryMigrationV2MigrationWorkflow.StateValueValuesEnumiJ  a%  Output only. That status of the workflow.

Values:
  STATE_UNSPECIFIED: Workflow state is unspecified.
  DRAFT: Workflow is in draft status, i.e. tasks are not yet eligible for
    execution.
  RUNNING: Workflow is running (i.e. tasks are eligible for execution).
  PAUSED: Workflow is paused. Tasks currently in progress may continue,
    but no further tasks will be scheduled.
  COMPLETED: Workflow is complete. There should not be any task in a non-
    terminal state, but if they are (e.g. forced termination), they will
    not be scheduled.
r   r   r   rS   rT   r   N)r   r   r   r   r   rB  DRAFTr  r  	COMPLETEDr   r   r   r   rE  r  J  s#     EGFIr   rE  r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
:GoogleCloudBigqueryMigrationV2MigrationWorkflow.TasksValuei^  a/  The tasks in a workflow in a named map. The name (i.e. key) has no
meaning and is merely a convenient way to address a specific task in a
workflow.

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

Fields:
  additionalProperties: Additional properties of type TasksValue
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)MGoogleCloudBigqueryMigrationV2MigrationWorkflow.TasksValue.AdditionalPropertyik  zAn additional property for a TasksValue object.

Fields:
  key: Name of the additional property.
  value: A GoogleCloudBigqueryMigrationV2MigrationTask attribute.
r   r  r   r   Nr   r   r   r   r   r  k  s-    
 !!!$c$$%RTUVer   r   r   Trj   r   Nr   r   r   r   
TasksValuer  ^  s4    		WY.. 	W %112FTXYr   r  r   r   rS   rT   re   ro   r   N)r   r   r   r   r   r   r   rE  r   r   r   r  r   r  displayNamer  rG   r   rP  r   tasksr   r   r   r   rB   rB   /  s    4Y^^ ( !!"89Z9$$ Z :Z2 $$Q'*%%a(+((+.			q	!$


4a
8%

 
 q
1%r   rB   c                       \ rS rSrSrSrg)r  i  z!The dialect definition for MySQL.r   Nr   r   r   r   r  r    s    *r   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " S5      r
\R                  " S5      r\R                  " S5      r\R                  " SS	5      rS
rg),GoogleCloudBigqueryMigrationV2NameMappingKeyi  au  The potential components of a full name mapping that will be mapped
during translation in the source data warehouse.

Enums:
  TypeValueValuesEnum: The type of object that is being mapped.

Fields:
  attribute: The attribute name (BigQuery column equivalent in the source
    data warehouse).
  database: The database name (BigQuery project ID equivalent in the source
    data warehouse).
  relation: The relation name (BigQuery table or view equivalent in the
    source data warehouse).
  schema: The schema name (BigQuery dataset equivalent in the source data
    warehouse).
  type: The type of object that is being mapped.
c                   8    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrg)@GoogleCloudBigqueryMigrationV2NameMappingKey.TypeValueValuesEnumi  a  The type of object that is being mapped.

Values:
  TYPE_UNSPECIFIED: Unspecified name mapping type.
  DATABASE: The object being mapped is a database.
  SCHEMA: The object being mapped is a schema.
  RELATION: The object being mapped is a relation.
  ATTRIBUTE: The object being mapped is an attribute.
  RELATION_ALIAS: The object being mapped is a relation alias.
  ATTRIBUTE_ALIAS: The object being mapped is a an attribute alias.
  FUNCTION: The object being mapped is a function.
r   r   r   rS   rT   re   ro   rp   r   N)r   r   r   r   r   TYPE_UNSPECIFIEDDATABASESCHEMARELATION	ATTRIBUTERELATION_ALIASATTRIBUTE_ALIASFUNCTIONr   r   r   r   TypeValueValuesEnumr    s2     HFHINOHr   r  r   r   rS   rT   re   r   N)r   r   r   r   r   r   r   r  r   	attributedatabaserelationschemar   r  r   r   r   r   r  r    sl    $INN , ##A&)""1%(""1%(  #&			2A	6$r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)	.GoogleCloudBigqueryMigrationV2NameMappingValuei  a  The potential components of a full name mapping that will be mapped
during translation in the target data warehouse.

Fields:
  attribute: The attribute name (BigQuery column equivalent in the target
    data warehouse).
  database: The database name (BigQuery project ID equivalent in the target
    data warehouse).
  relation: The relation name (BigQuery table or view equivalent in the
    target data warehouse).
  schema: The schema name (BigQuery dataset equivalent in the target data
    warehouse).
r   r   rS   rT   r   N)r   r   r   r   r   r   r   r  r  r  r  r   r   r   r   r  r    sI     ##A&)""1%(""1%(  #&r   r  c                       \ rS rSrSrSrg)r  i  z#The dialect definition for Netezza.r   Nr   r   r   r   r  r        ,r   r  c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)	/GoogleCloudBigqueryMigrationV2ObjectNameMappingi  a   Represents a key-value pair of NameMappingKey to NameMappingValue to
represent the mapping of SQL names from the input value to desired output.

Fields:
  source: The name of the object in source that is being mapped.
  target: The desired target name of the object that is being mapped.
r  r   r  r   r   N)
r   r   r   r   r   r   r   sourcetargetr   r   r   r   r  r    s1     !!"PRST&!!"RTUV&r   r  c                   <    \ rS rSrSr\R                  " SSSS9rSrg)	3GoogleCloudBigqueryMigrationV2ObjectNameMappingListi  zRepresents a map of name mappings using a list of key:value proto
messages of existing name to desired output name.

Fields:
  nameMap: The elements of the object name map.
r  r   Trj   r   N)	r   r   r   r   r   r   r   nameMapr   r   r   r   r  r    s      ""#TVWbfg'r   r  c                       \ rS rSrSrSrg)r  i  z"The dialect definition for Oracle.r   Nr   r   r   r   r  r    r|  r   r  c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)	#GoogleCloudBigqueryMigrationV2Pointi  a  A single data point in a time series.

Fields:
  interval: The time interval to which the data point applies. For `GAUGE`
    metrics, the start time does not need to be supplied, but if it is
    supplied, it must equal the end time. For `DELTA` metrics, the start and
    end time should specify a non-zero interval, with subsequent points
    specifying contiguous and non-overlapping intervals. For `CUMULATIVE`
    metrics, the start and end time should specify a non-zero interval, with
    subsequent points specifying the same start time and increasing end
    times, until an event resets the cumulative value to zero and sets a new
    start time for the following points.
  value: The value of the data point.
*GoogleCloudBigqueryMigrationV2TimeIntervalr   (GoogleCloudBigqueryMigrationV2TypedValuer   r   N)
r   r   r   r   r   r   r   intervalr   r   r   r   r   r  r    s0     ##$PRST(

 
 !KQ
O%r   r  c                       \ rS rSrSrSrg)r  i  z&The dialect definition for Postgresql.r   Nr   r   r   r   r  r        /r   r  c                       \ rS rSrSrSrg)r  i  z"The dialect definition for Presto.r   Nr   r   r   r   r  r    r|  r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " SSS9r\R                  " S5      r	Sr
g	)
r!   i  a  A request to assign a subtask to the caller by subtask type.

Fields:
  filter: Optional. The filter to apply in AIP-160 format. This can be used
    to get the subtasks of a specific project_number or workflow_id, e.g.
    `project_number = 123`.
  types: Required. The types of subtasks the caller is willing to accepts.
    At least one type must be provided.
  workerId: The ID of the worker that will process the task.
r   r   Trj   rS   r   N)r   r   r   r   r   r   r   rf   typesr[  r   r   r   r   r!   r!     s;    	   #&


D
1%""1%(r   r!   c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SS5      rSrg	)
=GoogleCloudBigqueryMigrationV2ReceiveMigrationSubtaskResponsei  a  Response object for an `ReceiveMigrationSubtask` call.

Enums:
  AssignmentStateValueValuesEnum: The status of the subtask assignment. If
    the `filter` field was provided in the request, then the
    `assignment_state` represents the assignment of the filtered subtasks,
    which might not be all the subtasks.

Fields:
  assignmentState: The status of the subtask assignment. If the `filter`
    field was provided in the request, then the `assignment_state`
    represents the assignment of the filtered subtasks, which might not be
    all the subtasks.
  migrationSubtask: The assigned subtask, if available. If there was already
    a subtask assigned for the given worker ID, the same subtask will be
    returned.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	\GoogleCloudBigqueryMigrationV2ReceiveMigrationSubtaskResponse.AssignmentStateValueValuesEnumi)  a  The status of the subtask assignment. If the `filter` field was
provided in the request, then the `assignment_state` represents the
assignment of the filtered subtasks, which might not be all the subtasks.

Values:
  ASSIGNMENT_STATE_UNSPECIFIED: State is unspecified.
  NO_ASSIGNMENT: No assignment is available.
  NEW_ASSIGNMENT: New task was assigned.
  EXISTING_ASSIGNMENT: There was already an assignment for the caller.
r   r   r   rS   r   N
r   r   r   r   r   ASSIGNMENT_STATE_UNSPECIFIEDNO_ASSIGNMENTNEW_ASSIGNMENTEXISTING_ASSIGNMENTr   r   r   r   AssignmentStateValueValuesEnumr  )  s    	 $% MNr   r  r   rH  r   r   N)r   r   r   r   r   r   r   r  r   assignmentStater   rW  r   r   r   r   r  r    sA    $y~~   ''(H!L/++,\^_`r   r  c                   ^    \ rS rSrSr\R                  " S5      r\R                  " SSS9rSr	g)	r2   i=  a(  A request to assign a task to the caller by task type.

Fields:
  orchestratorId: The ID of the orchestrator that will process the task. The
    service does not validate the ID or keep track of orchestrators. It is
    up to the orchestrator to provide a unique ID. This is used for
    operational purposes and to ensure that an orchestrator does not get
    more than one task assigned at a time (which also helps with
    idempotency).
  types: Required. The types of tasks the caller is willing to accepts. At
    least one type must be provided.
r   r   Trj   r   N)
r   r   r   r   r   r   r   rM  r  r   r   r   r   r2   r2   =  s+     ((+.


D
1%r   r2   c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SS5      r\R                  " S5      rS	rg
):GoogleCloudBigqueryMigrationV2ReceiveMigrationTaskResponseiO  a  Response object for an `ReceiveMigrationTask` call.

Enums:
  AssignmentStateValueValuesEnum: The status of the task assignment.

Fields:
  assignmentState: The status of the task assignment.
  migrationTask: The assigned task, if available. If there was already a
    task assigned for the given orchestrator ID, the same task will be
    returned.
  migrationWorkflow: The name of the migration workflow to which the task
    belongs or an empty string if `assignment_state` is `NO_ASSIGNMENT`.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	YGoogleCloudBigqueryMigrationV2ReceiveMigrationTaskResponse.AssignmentStateValueValuesEnumi^  zThe status of the task assignment.

Values:
  ASSIGNMENT_STATE_UNSPECIFIED: State is unspecified.
  NO_ASSIGNMENT: No assignment is available.
  NEW_ASSIGNMENT: New task was assigned.
  EXISTING_ASSIGNMENT: There was already an assignment for the caller.
r   r   r   rS   r   Nr  r   r   r   r  r  ^  s     $% MNr   r  r   r  r   rS   r   N)r   r   r   r   r   r   r   r  r   r  r   migrationTaskr   rL  r   r   r   r   r  r  O  sQ    y~~  ''(H!L/(()VXYZ-++A.r   r  c                       \ rS rSrSrSrg)r  iq  z$The dialect definition for Redshift.r   Nr   r   r   r   r  r  q  r	  r   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r'   iu  a  Request to renew the lease of a subtask by subtask type.

Fields:
  migrationSubtask: Required. The unique identifier for the migration
    subtask. Example:
    `projects/123/locations/us/workflows/1234/subtasks/543`
  workerId: Required. The ID of the worker that is renewing the subtask
    lease. This must match the `worker_id` that currently holds the lease
    for the `MigrationSubtask` (acquired via `ReceiveNextMigrationSubtask`).
r   r   r   N)
r   r   r   r   r   r   r   rW  r[  r   r   r   r   r'   r'   u  s*    	 **1-""1%(r   r'   c                   >    \ rS rSrSr\R                  " SS5      rSrg)7GoogleCloudBigqueryMigrationV2RenewSubtaskLeaseResponsei  nResponse to renew the lease of a subtask by type.

Fields:
  lease: Optional. The renewed lease if available.
r  r   r   N	r   r   r   r   r   r   r   r  r   r   r   r   r  r         
 
 !F
J%r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	Sr
g)r7   i  a$  Request to renew the lease of a task by task type.

Fields:
  migrationWorkflow: Required. The unique identifier for the migration
    workflow. Example: `projects/123/locations/us/workflows/1234`
  orchestratorId: Required. The ID of the worker that is renewing the
    subtask lease. This must match the `orchestrator_id` that currently
    holds the lease for the `MigrationTask` (acquired via
    `ReceiveNextMigrationTask`).
  taskId: Required. The unique identifier for the migration task. Example:
    `0b2e6759-f320-4f76-bad7-8b2b48e65b5c`
r   r   rS   r   N)r   r   r   r   r   r   r   rL  rM  rQ  r   r   r   r   r7   r7     s:      ++A.((+.  #&r   r7   c                   >    \ rS rSrSr\R                  " SS5      rSrg)4GoogleCloudBigqueryMigrationV2RenewTaskLeaseResponsei  r  r  r   r   Nr  r   r   r   r  r    r  r   r  c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " SSSS9r\R                  " S	S
5      rSrg)rV  i  a  Provides details for errors and the corresponding resources.

Fields:
  errorCount: Required. How many errors there are in total for the resource.
    Truncation can be indicated by having an `error_count` that is higher
    than the size of `error_details`.
  errorDetails: Required. The error details for the resource.
  resourceInfo: Required. Information about the resource where the error is
    located.
r   rQ   r6  r   Trj   GoogleRpcResourceInforS   r   N)r   r   r   r   r   r   rU   rV   rW   
errorCountr   errorDetailsresourceInfor   r   r   r   rV  rV    sQ    	 %%a1B1B1H1HI*''(SUVaef,''(?C,r   rV  c                       \ rS rSrSrSrg)r  i  z&The dialect definition for SQL Server.r   Nr   r   r   r   r  r    r  r   r  c                       \ rS rSrSrSrg)r  i  z"The dialect definition for SQLite.r   Nr   r   r   r   r  r    r|  r   r  c                       \ rS rSrSrSrg)r  i  z%The dialect definition for Snowflake.r   Nr   r   r   r   r  r    rz  r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SSS9r	Sr
g	)
'GoogleCloudBigqueryMigrationV2SourceEnvi  a  Represents the default source environment values for the translation.

Fields:
  defaultDatabase: The default database name to fully qualify SQL objects
    when their database name is missing.
  metadataStoreDataset: Optional. Expects a valid BigQuery dataset ID that
    exists, e.g., project-123.metadata_store_123. If specified, translation
    will search and read the required schema information from a metadata
    store in this dataset. If metadata store doesn't exist, translation will
    parse the metadata file and upload the schema info to a temp table in
    the dataset to speed up future translation jobs.
  schemaSearchPath: The schema search path. When SQL objects are missing
    schema name, translation engine will search through this list to find
    the value.
r   r   rS   Trj   r   Nr   r   r   r   r   r   r   defaultDatabasemetadataStoreDatasetschemaSearchPathr   r   r   r   r  r    =      ))!,/"..q1**1t<r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SSS9r	Sr
g	)
/GoogleCloudBigqueryMigrationV2SourceEnvironmenti  a  Represents the default source environment values for the translation.

Fields:
  defaultDatabase: The default database name to fully qualify SQL objects
    when their database name is missing.
  metadataStoreDataset: Optional. Expects a validQ BigQuery dataset ID that
    exists, e.g., project-123.metadata_store_123. If specified, translation
    will search and read the required schema information from a metadata
    store in this dataset. If metadata store doesn't exist, translation will
    parse the metadata file and upload the schema info to a temp table in
    the dataset to speed up future translation jobs.
  schemaSearchPath: The schema search path. When SQL objects are missing
    schema name, translation engine will search through this list to find
    the value.
r   r   rS   Trj   r   Nr  r   r   r   r  r    r  r   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SS5      r
Srg)	(GoogleCloudBigqueryMigrationV2SourceSpeci  a  Represents one path to the location that holds source data.

Fields:
  baseUri: The base URI for all files to be read in as sources for
    translation.
  encoding: Optional. The optional field to specify the encoding of the sql
    bytes.
  literal: Source literal.
r   r   r  rS   r   N)r   r   r   r   r   r   r   baseUrir   r   literalr   r   r   r   r  r    s<     !!!$'""1%(""#JAN'r   r  c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)	1GoogleCloudBigqueryMigrationV2SourceTargetMappingi  zRepresents one mapping from a source SQL to a target SQL.

Fields:
  sourceSpec: The source SQL or the path to it.
  targetSpec: The target SQL or the path for it.
r  r   (GoogleCloudBigqueryMigrationV2TargetSpecr   r   N)
r   r   r   r   r   r   r   
sourceSpec
targetSpecr   r   r   r   r  r    s1     %%&PRST*%%&PRST*r   r  c                       \ rS rSrSrSrg)r  i  z$The dialect definition for SparkSQL.r   Nr   r   r   r   r  r    r	  r   r  c                       \ rS rSrSrSrg)r]   i  z;A request to start a previously created migration workflow.r   Nr   r   r   r   r]   r]     s    Dr   r]   c                   <    \ rS rSrSr\R                  " SSSS9rSrg)	.GoogleCloudBigqueryMigrationV2SuggestionConfigi  zThe configuration for the suggestion if requested as a target type.

Fields:
  skipSuggestionSteps: The list of suggestion steps to skip.
,GoogleCloudBigqueryMigrationV2SuggestionStepr   Trj   r   N)	r   r   r   r   r   r   r   skipSuggestionStepsr   r   r   r   r   r     s!     "../]_`kopr   r   c                       \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " SS5      rS	rg
)r!  i#  zSuggestion step to skip.

Enums:
  RewriteTargetValueValuesEnum: The rewrite target.
  SuggestionTypeValueValuesEnum: The type of suggestion.

Fields:
  rewriteTarget: The rewrite target.
  suggestionType: The type of suggestion.
c                   $    \ rS rSrSrSrSrSrSrg)IGoogleCloudBigqueryMigrationV2SuggestionStep.RewriteTargetValueValuesEnumi/  zThe rewrite target.

Values:
  REWRITE_TARGET_UNSPECIFIED: Rewrite target unspecified.
  SOURCE_SQL: Source SQL.
  TARGET_SQL: Target SQL.
r   r   r   r   N)	r   r   r   r   r   REWRITE_TARGET_UNSPECIFIED
SOURCE_SQL
TARGET_SQLr   r   r   r   RewriteTargetValueValuesEnumr%  /  s     "#JJr   r)  c                   $    \ rS rSrSrSrSrSrSrg)JGoogleCloudBigqueryMigrationV2SuggestionStep.SuggestionTypeValueValuesEnumi;  zThe type of suggestion.

Values:
  SUGGESTION_TYPE_UNSPECIFIED: Suggestion type unspecified.
  QUERY_CUSTOMIZATION: Query customization.
  TRANSLATION_EXPLANATION: Translation explanation.
r   r   r   r   N)	r   r   r   r   r   SUGGESTION_TYPE_UNSPECIFIEDQUERY_CUSTOMIZATIONTRANSLATION_EXPLANATIONr   r   r   r   SuggestionTypeValueValuesEnumr+  ;  s     #$r   r/  r   r   r   N)r   r   r   r   r   r   r   r)  r/  r   rewriteTargetsuggestionTyper   r   r   r   r!  r!  #  sO    	
Y^^ 

 inn 
  %%&DaH-&&'FJ.r   r!  c                   <    \ rS rSrSr\R                  " S5      rSrg)r  iK  zRepresents one path to the location that holds target data.

Fields:
  relativePath: The relative path for the target data. Given source file
    `base_uri/input/sql`, the output would be
    `target_base_uri/sql/relative_path/input.sql`.
r   r   N)	r   r   r   r   r   r   r   r  r   r   r   r   r  r  K  s     &&q),r   r  c                   h    \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	Sr
g)r   iW  zThe dialect definition for Teradata.

Enums:
  ModeValueValuesEnum: Which Teradata sub-dialect mode the user specifies.

Fields:
  mode: Which Teradata sub-dialect mode the user specifies.
c                   $    \ rS rSrSrSrSrSrSrg)AGoogleCloudBigqueryMigrationV2TeradataDialect.ModeValueValuesEnumia  zWhich Teradata sub-dialect mode the user specifies.

Values:
  MODE_UNSPECIFIED: Unspecified mode.
  SQL: Teradata SQL mode.
  BTEQ: BTEQ mode (which includes SQL).
r   r   r   r   N)	r   r   r   r   r   MODE_UNSPECIFIEDrg  BTEQr   r   r   r   ModeValueValuesEnumr5  a  s     
CDr   r8  r   r   N)r   r   r   r   r   r   r   r8  r   moder   r   r   r   r   r   W  s,    
INN 
 
		2A	6$r   r   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r  ip  a  A time interval extending just after a start time through an end time.
If the start time is the same as the end time, then the interval represents
a single point in time.

Fields:
  endTime: Required. The end of the time interval.
  startTime: Optional. The beginning of the time interval. The default value
    for the start time is the end time. The start time must not be later
    than the end time.
r   r   r   N)
r   r   r   r   r   r   r   endTime	startTimer   r   r   r   r  r  p  s)    	 !!!$'##A&)r   r  c                       \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " S5      r
\R                  " SS5      r\R                  " S	S
SS9r\R                  " SS5      rSrg)rG  i  a  The metrics object for a SubTask.

Enums:
  MetricKindValueValuesEnum: Optional. The metric kind of the time series.
    If present, it must be the same as the metric kind of the associated
    metric. If the associated metric's descriptor must be auto-created, then
    this field specifies the metric kind of the new descriptor and must be
    either `GAUGE` (the default) or `CUMULATIVE`.
  ValueTypeValueValuesEnum: Required. The value type of the time series.

Fields:
  metric: Required. The name of the metric. If the metric is not known by
    the service yet, it will be auto-created.
  metricKind: Optional. The metric kind of the time series. If present, it
    must be the same as the metric kind of the associated metric. If the
    associated metric's descriptor must be auto-created, then this field
    specifies the metric kind of the new descriptor and must be either
    `GAUGE` (the default) or `CUMULATIVE`.
  points: Required. The data points of this time series. When listing time
    series, points are returned in reverse time order. When creating a time
    series, this field must contain exactly one point and the point's type
    must be the same as the value type of the associated metric. If the
    associated metric's descriptor must be auto-created, then the value type
    of the descriptor is determined by the point's type, which must be
    `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
  valueType: Required. The value type of the time series.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	BGoogleCloudBigqueryMigrationV2TimeSeries.MetricKindValueValuesEnumi  a  Optional. The metric kind of the time series. If present, it must be
the same as the metric kind of the associated metric. If the associated
metric's descriptor must be auto-created, then this field specifies the
metric kind of the new descriptor and must be either `GAUGE` (the default)
or `CUMULATIVE`.

Values:
  METRIC_KIND_UNSPECIFIED: Do not use this default value.
  GAUGE: An instantaneous measurement of a value.
  DELTA: The change in a value during a time interval.
  CUMULATIVE: A value accumulated over a time interval. Cumulative
    measurements in a time series should have the same start time and
    increasing end times, until an event resets the cumulative value to
    zero and sets a new start time for the following points.
r   r   r   rS   r   N)
r   r   r   r   r   METRIC_KIND_UNSPECIFIEDGAUGEDELTA
CUMULATIVEr   r   r   r   MetricKindValueValuesEnumr?    s      EEJr   rD  c                   4    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rg)AGoogleCloudBigqueryMigrationV2TimeSeries.ValueTypeValueValuesEnumi  a  Required. The value type of the time series.

Values:
  VALUE_TYPE_UNSPECIFIED: Do not use this default value.
  BOOL: The value is a boolean. This value type can be used only if the
    metric kind is `GAUGE`.
  INT64: The value is a signed 64-bit integer.
  DOUBLE: The value is a double precision floating point number.
  STRING: The value is a text string. This value type can be used only if
    the metric kind is `GAUGE`.
  DISTRIBUTION: The value is a `Distribution`.
  MONEY: The value is money.
r   r   r   rS   rT   re   ro   r   N)r   r   r   r   r   VALUE_TYPE_UNSPECIFIEDr   r   DOUBLEr   DISTRIBUTIONMONEYr   r   r   r   ValueTypeValueValuesEnumrF    s-     DEFFLEr   rK  r   r   r  rS   Trj   rT   r   N)r   r   r   r   r   r   r   rD  rK  r   metricr   
metricKindr   points	valueTyper   r   r   r   rG  rG    su    8).. * ,   #&""#>B*!!"GUYZ&!!"<a@)r   rG  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " SS5      rSrg)	r<   i  a  The request of translating a SQL query to GoogleSQL.

Enums:
  SourceDialectValueValuesEnum: Required. The source SQL dialect of
    `queries`.

Fields:
  query: Required. The query to be translated.
  sourceDialect: Required. The source SQL dialect of `queries`.
c                   d    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrSrSrSrSrSrSrSrSrSrSrg)PGoogleCloudBigqueryMigrationV2TranslateQueryRequest.SourceDialectValueValuesEnumi  aI  Required. The source SQL dialect of `queries`.

Values:
  SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIED: SqlTranslationSourceDialect
    not specified.
  TERADATA: Teradata SQL.
  REDSHIFT: Redshift SQL.
  ORACLE: Oracle SQL.
  HIVEQL: HiveQL SQL.
  SPARKSQL: SPARK SQL.
  SNOWFLAKE: Snowflake SQL.
  NETEZZA: IBM Netezza SQL.
  AZURESYNAPSE: Azure Synapse
  VERTICA: Vertica.
  SQLSERVER: SQL Server dialect.
  PRESTO: Presto.
  POSTGRESQL: PostgreSQL.
  MYSQL: MySQL.
  BTEQ: BTEQ.
  SQLITE: SQLite dialect.
  DB2: DB2 dialect.
  GREENPLUM: Greenplum dialect.
  IMPALA: Impala dialect.
r   r   r   rS   rT   re   ro   rp   r   r   r   r   r  r  r  r  r  r!  r
   r   N)r   r   r   r   r   *SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIEDTERADATAREDSHIFTORACLEHIVEQLSPARKSQL	SNOWFLAKENETEZZAAZURESYNAPSEVERTICA	SQLSERVERPRESTO
POSTGRESQLMYSQLr7  SQLITEDB2	GREENPLUMIMPALAr   r   r   r   SourceDialectValueValuesEnumrR    si    0 23.HHFFHIGLGIFJEDF
CIFr   re  r   r   r   N)r   r   r   r   r   r   r   re  r   queryr   sourceDialectr   r   r   r   r<   r<     s=    	+Y^^ +Z 


"%%%&DaH-r   r<   c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SS5      r
Srg)	4GoogleCloudBigqueryMigrationV2TranslateQueryResponsei  a{  The response of translating a SQL query to GoogleSQL.

Fields:
  translatedQuery: The translated result. It may contain error/warning
    messages as comments.
  translationJob: Output only. Immutable. The unique identifier for the SQL
    translation job. Example: `projects/123/locations/us/translation/1234`
  translationResultDetails: The details of the translation results.
r   r   6GoogleCloudBigqueryMigrationV2TranslationResultDetailsrS   r   N)r   r   r   r   r   r   r   translatedQuerytranslationJobr   translationResultDetailsr   r   r   r   ri  ri    s>     ))!,/((+.&334lnopr   ri  c                   >   \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SS5      r
\R                  " S5      r\R                  " SS	5      r\R                  " S
S5      r\R                  " SS5      r\R                  " SSS9rSrg)r  i  a  The translation config to capture necessary settings for a translation
task and subtask.

Fields:
  gcsSourcePath: The Cloud Storage path for a directory of files to
    translate in a task.
  gcsTargetPath: The Cloud Storage path to write back the corresponding
    input files to.
  nameMappingList: The mapping of objects to their desired output names in
    list form.
  requestSource: The indicator to show translation request initiator.
  sourceDialect: The dialect of the input files.
  sourceEnv: The default source environment values for the translation.
  targetDialect: The target dialect for the engine to translate the input
    to.
  targetTypes: The types of output to generate, e.g. sql, metadata etc. If
    not specified, a default set of targets will be generated. Some
    additional target types may be slower to generate. See the documentation
    for the set of available target types.
r   r   r  rS   rT   r  re   r  ro   rp   r   Trj   r   N)r   r   r   r   r   r   r   gcsSourcePathgcsTargetPathr   nameMappingListrequestSourcerg  	sourceEnvtargetDialecttargetTypesr   r   r   r   r  r    s    * ''*-''*-**+`bcd/''*-(()PRST-$$%NPQR)(()PRST-%%a$7+r   r  c                       \ rS rSrSr\R                  " SS5      r\R                  " SSSS9r\R                  " S	S
5      r	\R                  " S5      r\R                  " SSS9r\R                  " SSS9rSrg)r  i;  a  The translation details to capture the necessary settings for a
translation job.

Fields:
  sourceEnvironment: The default source environment values for the
    translation.
  sourceTargetMapping: The mapping from source to target SQL.
  suggestionConfig: The configuration for the suggestion if requested as a
    target type.
  targetBaseUri: The base URI for all writes to persistent storage.
  targetReturnLiterals: The list of literal targets that will be directly
    returned to the response. Each entry consists of the constructed path,
    EXCLUDING the base path. Not providing a target_base_uri will prevent
    writing to persistent storage.
  targetTypes: The types of output to generate, e.g. sql, metadata,
    lineage_from_sql_scripts, etc. If not specified, a default set of
    targets will be generated. Some additional target types may be slower to
    generate. See the documentation for the set of available target types.
r  r   r  r   Trj   r   rS   rT   re   ro   r   N)r   r   r   r   r   r   r   sourceEnvironmentsourceTargetMappingsuggestionConfigr   targetBaseUritargetReturnLiteralsru  r   r   r   r   r  r  ;  s    (  ,,-^`ab!../bdeptu++,\^_`''*-"..q4@%%a$7+r   r  c                   D   \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " S5      r
\R                  " S\R                  R                  S9r\R                  " S	\R                  R                  S9r\R                   " SS
5      rSrg)5GoogleCloudBigqueryMigrationV2TranslationReportRecordiX  a  Details about a record.

Enums:
  SeverityValueValuesEnum: Severity of the translation record.

Fields:
  category: Category of the error/warning. Example: SyntaxError
  message: Detailed message of the record.
  scriptColumn: Specifies the column from the source texts where the error
    occurred. (0 based) example: 6
  scriptLine: Specifies the row from the source text where the error
    occurred (0 based). Example: 2
  severity: Severity of the translation record.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	MGoogleCloudBigqueryMigrationV2TranslationReportRecord.SeverityValueValuesEnumih  a  Severity of the translation record.

Values:
  SEVERITY_UNSPECIFIED: SeverityType not specified.
  INFO: INFO type.
  WARNING: WARNING type. The translated query may still provide useful
    information if all the report records are WARNING.
  ERROR: ERROR type. Translation failed.
r   r   r   rS   r   N)
r   r   r   r   r   SEVERITY_UNSPECIFIEDINFOWARNINGERRORr   r   r   r   SeverityValueValuesEnumr  h  s     DGEr   r  r   r   rS   rQ   rT   re   r   N)r   r   r   r   r   r   r   r  r   rm  rq  rU   rV   rW   scriptColumn
scriptLiner   ru  r   r   r   r   r}  r}  X  s    	  ""1%(!!!$'''93D3D3J3JK,%%a1B1B1H1HI*  !:A>(r   r}  c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " SSSS	9r\R                  " SS
5      rSrg)rj  i~  a  Translation details like metrics, warning/error records.

Messages:
  TranslationMetricsValue: Translation metrics. E.g., Compiler_Clean: 5,
    Compiler_BestEffort: 2, Emitter_Clean: 1,Emitter_Error: 3, etc.

Fields:
  reportRecords: Translation details about warning/error records.
  translationMetrics: Translation metrics. E.g., Compiler_Clean: 5,
    Compiler_BestEffort: 2, Emitter_Clean: 1,Emitter_Error: 3, etc.
r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
NGoogleCloudBigqueryMigrationV2TranslationResultDetails.TranslationMetricsValuei  a+  Translation metrics. E.g., Compiler_Clean: 5, Compiler_BestEffort: 2,
Emitter_Clean: 1,Emitter_Error: 3, etc.

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

Fields:
  additionalProperties: Additional properties of type
    TranslationMetricsValue
c                       \ rS rSrSr\R                  " S5      r\R                  " S\R                  R                  S9rSrg)aGoogleCloudBigqueryMigrationV2TranslationResultDetails.TranslationMetricsValue.AdditionalPropertyi  zAn additional property for a TranslationMetricsValue object.

Fields:
  key: Name of the additional property.
  value: A integer attribute.
r   r   rQ   r   N)r   r   r   r   r   r   r   r   rU   rV   rW   r   r   r   r   r   r   r    s7    
 !!!$c$$Q	0A0A0G0GHer   r   r   Trj   r   Nr   r   r   r   TranslationMetricsValuer    s4    
	IY.. 	I %112FTXYr   r  r}  r   Trj   r   r   N)r   r   r   r   r   r   r   r   r   r  r   reportRecordstranslationMetricsr   r   r   r   rj  rj  ~  sd    
 !!"89Z	 1 1 Z :Z4 (()`bcnrs- --.GKr   rj  c                       \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	\R                  " SS	SS9r
S
rg)r  i  a  Translation specific result details from the migration task.

Fields:
  consoleUri: The Cloud Console URI for the migration workflow.
  reportLogMessages: The records from the aggregate CSV report for a
    migration workflow.
  translatedLiterals: The list of the translated literals.
r   r]  r   Trj   r  rS   r   N)r   r   r   r   r   r   r   
consoleUrir   reportLogMessagestranslatedLiteralsr   r   r   r   r  r    sI     $$Q'*,,-`bcnrs --.UWXcghr   r  c                       \ rS rSrSr\R                  " S5      r\R                  " SS5      r	\R                  " S5      r\R                  " S5      r\R                  " S5      rS	rg
)r  i  a  A single strongly-typed value.

Fields:
  boolValue: A Boolean value: `true` or `false`.
  distributionValue: A distribution value.
  doubleValue: A 64-bit double-precision floating-point number. Its
    magnitude is approximately `+/-10^(+/-300)` and it has 16 significant
    digits of precision.
  int64Value: A 64-bit integer. Its range is approximately `+/-9.2x10^18`.
  stringValue: A variable-length string value.
r   rh   r   rS   rT   re   r   N)r   r   r   r   r   r   r   	boolValuer   distributionValueru   doubleValuerU   
int64Valuer   stringValuer   r   r   r   r  r    s]    
 $$Q'),,-DaH$$Q'+%%a(*%%a(+r   r  c                       \ rS rSrSrSrg)r"  i  z#The dialect definition for Vertica.r   Nr   r   r   r   r"  r"    r  r   r"  c                       \ rS rSrSrSrg)GoogleProtobufEmptyi  a  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); }
r   Nr   r   r   r   r  r    s    r   r  c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S5      r\R                  " SS5      r\R                  " S5      rS	rg
)r7  i  a	  Describes the cause of the error with structured details. Example of an
error when contacting the "pubsub.googleapis.com" API when it is not
enabled: { "reason": "API_DISABLED" "domain": "googleapis.com" "metadata": {
"resource": "projects/123", "service": "pubsub.googleapis.com" } } This
response indicates that the pubsub.googleapis.com API is not enabled.
Example of an error that is returned when attempting to create a Spanner
instance in a region that is out of stock: { "reason": "STOCKOUT" "domain":
"spanner.googleapis.com", "metadata": { "availableRegions": "us-central1,us-
east2" } }

Messages:
  MetadataValue: Additional structured details about this error. Keys must
    match a regular expression of `a-z+` but should ideally be
    lowerCamelCase. Also, they must be limited to 64 characters in length.
    When identifying the current value of an exceeded limit, the units
    should be contained in the key, not the value. For example, rather than
    `{"instanceLimit": "100/request"}`, should be returned as,
    `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number
    of instances that can be created in a single (batch) request.

Fields:
  domain: The logical grouping to which the "reason" belongs. The error
    domain is typically the registered service name of the tool or product
    that generates the error. Example: "pubsub.googleapis.com". If the error
    is generated by some common infrastructure, the error domain must be a
    globally unique value that identifies the infrastructure. For Google API
    infrastructure, the error domain is "googleapis.com".
  metadata: Additional structured details about this error. Keys must match
    a regular expression of `a-z+` but should ideally be lowerCamelCase.
    Also, they must be limited to 64 characters in length. When identifying
    the current value of an exceeded limit, the units should be contained in
    the key, not the value. For example, rather than `{"instanceLimit":
    "100/request"}`, should be returned as, `{"instanceLimitPerRequest":
    "100"}`, if the client exceeds the number of instances that can be
    created in a single (batch) request.
  reason: The reason of the error. This is a constant value that identifies
    the proximate cause of the error. Error reasons are unique within a
    particular domain of errors. This should be at most 63 characters and
    match a regular expression of `A-Z+[A-Z0-9]`, which represents
    UPPER_SNAKE_CASE.
r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
 GoogleRpcErrorInfo.MetadataValuei	  a  Additional structured details about this error. Keys must match a
regular expression of `a-z+` but should ideally be lowerCamelCase. Also,
they must be limited to 64 characters in length. When identifying the
current value of an exceeded limit, the units should be contained in the
key, not the value. For example, rather than `{"instanceLimit":
"100/request"}`, should be returned as, `{"instanceLimitPerRequest":
"100"}`, if the client exceeds the number of instances that can be created
in a single (batch) request.

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

Fields:
  additionalProperties: Additional properties of type MetadataValue
c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)3GoogleRpcErrorInfo.MetadataValue.AdditionalPropertyi	  zAn additional property for a MetadataValue object.

Fields:
  key: Name of the additional property.
  value: A string attribute.
r   r   r   Nr   r   r   r   r   r  	  r   r   r   r   Trj   r   Nr   r   r   r   MetadataValuer  	  s2     	'Y.. 	' %112FTXYr   r  r   r   rS   r   N)r   r   r   r   r   r   r   r   r   r  r   domainr   metadatareasonr   r   r   r   r7  r7    sl    (T !!"89Zi'' Z :Z<   #&##OQ7(  #&r   r7  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)	r  i)	  a  Describes the resource that is being accessed.

Fields:
  description: Describes what error is encountered when accessing this
    resource. For example, updating a cloud project may require the `writer`
    permission on the developer console project.
  owner: The owner of the resource (optional). For example, "user:" or
    "project:".
  resourceName: The name of the resource being accessed. For example, a
    shared calendar name:
    "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
    error is google.rpc.Code.PERMISSION_DENIED.
  resourceType: A name for the type of resource being accessed, e.g. "sql
    table", "cloud storage bucket", "file", "Google calendar"; or the type
    URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
r   r   rS   rT   r   N)r   r   r   r   r   r   r   descriptionownerresourceNameresourceTyper   r   r   r   r  r  )	  sI    " %%a(+



"%&&q),&&q),r   r  c                      \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " SS	S
S9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R$                  " SSS9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)StandardQueryParametersiA	  a  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                   $    \ rS rSrSrSrSrSrSrg)*StandardQueryParameters.AltValueValuesEnumi\	  zData 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   r   N)	r   r   r   r   r   jsonmediaprotor   r   r   r   AltValueValuesEnumr  \	  s     DEEr   r  c                        \ rS rSrSrSrSrSrg)-StandardQueryParameters.FXgafvValueValuesEnumih	  zFV1 error format.

Values:
  _1: v1 error format
  _2: v2 error format
r   r   r   N)r   r   r   r   r   _1_2r   r   r   r   FXgafvValueValuesEnumr  h	  s     
B	
Br   r  r   r   rS   r  )defaultrT   re   ro   rp   r   Tr   r   r   r  r   N)r   r   r   r   r   r   r   r  r  r   f__xgafvr   access_tokenaltcallbackfieldsr   oauth_tokenr   prettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   r   r  r  A	  s    4
9>> 
inn    !8!<(&&q),0!VD#""1%(  #&a #%%a(+&&q$7+##A&)



#%$$R(*))"-/r   r  r  z$.xgafvr  1r  2N)sr   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   r   packager   r	   r   r%   r*   r0   r5   r:   r@   rE   rI   rO   r[   r`   rc   rh   rl   rz   r{   r|   rm   rn   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r6  r8  r,   r   r]  r  r  r  r  r  r  r  rH  rU  r  rI  rB   r  r  r  r  r  r  r  r  r  r  r!   r  r2   r  r  r'   r  r7   r  rV  r  r  r  r  r  r  r  r  r]   r   r!  r  r   r  rG  r<   ri  r  r  r}  rj  r  r  r"  r  r7  r  r  AddCustomJsonFieldMappingAddCustomJsonEnumMappingr  r   r   r   <module>r     s   ' < % ( 8IZIZ 8$<S\SdSd <$8YM^M^ 8"5YbYjYj 5$<YM^M^ <"5yGXGX 5"3i>O>O 33y?P?P 31y?P?P 1
&I<M<M 
&&Y=N=N &*1i>O>O 1
&IDUDU 
&&YEVEV &422I-- 22jX):): X621B1B 2"I4E4E "&"y/@/@ "&3"I$5$5 3"l	 !2!2 	 +iN_N_ +(0tYEVEV 0tf')J[J[ 'G	@Q@Q G+WIL]L] +W\BIZIZ B
(PYPaPa 
(A8PYPaPa A8H2I<M<M 2+):K:K +*.93D3D ."3	8I8I 3.I4E4E .)y/@/@ ))^I,=,= )^XV	0A0A VD)2C2C D,$IL]L] ,$^1&9J9J 1&hED	8I8I EDP/Y5F5F /,)2C2C ,,)2C2C ,	()*;*; 	(
+)BSBS 
++9CTCT +*I,=,= *g#Y5F5F g#T
t	HYHY 
tR#)2C2C R#jk	8I8I kN2i6G6G N2b+1B1B +-793D3D -7`$Y5F5F $*-93D3D -
Wi6G6G 
Wh):K:K h,)2C2C ,P)*;*; P(0i6G6G 0,)2C2C ,&9CTCT &"$aIDUDU $aN2	@Q@Q 2$/ARAR /D.I4E4E .&Y=N=N & Ki>O>O K$):K:K $&K9;L;L KD	8I8I D"0Y5F5F 0,)2C2C ,/Y5F5F /=i.?.? =,=i6G6G =,Oy/@/@ O 	U	8I8I 	U.I4E4E .E)BSBS EqY5F5F q%K93D3D %KP	*y/@/@ 	*7I4E4E 72'1B1B ' KAy/@/@ KA\:I):K:K :Izq9;L;L q 8Y=N=N 8@8y7H7H 8:#?I<M<M #?L)LY=N=N )LXi):K:K i)y/@/@ )(-93D3D -)++ L$** L$^*I-- *0<.i// <.~ 	 " "Z4  ! !114>  ! !114>r   