
    Z                     B   d Z ddlmZ ddlmZ ddlmZ ddlmZ dZ	 G d dej                        Z G d	 d
ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d! d"ej                        Z G d# d$ej                        Z G d% d&ej                        Z G d' d(ej                        Z G d) d*ej                        Z G d+ d,ej                        Z G d- d.ej                        Z G d/ d0ej                        Z G d1 d2ej                        Z  G d3 d4ej                        Z! G d5 d6ej                        Z" G d7 d8ej                        Z# G d9 d:ej                        Z$ G d; d<ej                        Z% G d= d>ej                        Z& G d? d@ej                        Z' G dA dBej                        Z( G dC dDej                        Z) G dE dFej                        Z* G dG dHej                        Z+ G dI dJej                        Z, G dK dLej                        Z- G dM dNej                        Z. G dO dPej                        Z/ G dQ dRej                        Z0 G dS dTej                        Z1 ejd                  e,dUdV        ejf                  e,jh                  dWdX        ejf                  e,jh                  dYdZ       y[)\z6Generated message classes for seclm version v1alpha.

    )absolute_import)messages)encoding)extra_typesseclmc                       e Zd ZdZy)CancelOperationRequestz3The request message for Operations.CancelOperation.N__name__
__module____qualname____doc__     Qlib/googlecloudsdk/generated_clients/apis/seclm/v1alpha/seclm_v1alpha_messages.pyr	   r	      s    <r   r	   c                      e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dd      Z	 ej                  dd      Z ej                  d	d
      Z ej                  dej                  j                        Z ej                  ddd      Z ej                  dej                  j                        Zy)	Candidatea&  A response candidate generated from the model.

  Enums:
    FinishReasonValueValuesEnum: Optional. Output only. The reason why the
      model stopped generating tokens. If empty, the model has not stopped
      generating the tokens.

  Fields:
    citationMetadata: Output only. Citation information for model-generated
      candidate. This field may be populated with recitation information for
      any text included in the `content`. These are passages that are
      "recited" from copyrighted material in the foundational LLM's training
      data.
    content: Output only. Generated content returned from the model.
    finishReason: Optional. Output only. The reason why the model stopped
      generating tokens. If empty, the model has not stopped generating the
      tokens.
    groundingMetadata: Output only. Grounding metadata for model-generated
      candidate. Grounding sources returned by extensions are checked against
      the model generated candidate, return the grounding sources that are
      used to generate the candidate.
    index: Output only. Index of the candidate in the list of candidates.
    safetyRatings: List of ratings for the safety of a response candidate.
      There is at most one rating per category.
    tokenCount: Output only. Token count for this candidate.
  c                   8    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZy)%Candidate.FinishReasonValueValuesEnuma  Optional. Output only. The reason why the model stopped generating
    tokens. If empty, the model has not stopped generating the tokens.

    Values:
      FINISH_REASON_UNSPECIFIED: Default value. This value is unused.
      STOP: Natural stop point of the model or provided stop sequence.
      MAX_TOKENS: The maximum number of tokens as specified in the request was
        reached.
      SAFETY: The candidate content was flagged for safety reasons.
      RECITATION: The candidate content was flagged for recitation reasons.
      OTHER: Unknown reason.
      BLOCKLIST: Token generation stopped because the content contains
        forbidden terms.
      PROHIBITED_CONTENT: Token generation stopped for potentially containing
        prohibited content.
      SPII: Token generation stopped because the content potentially contains
        Sensitive Personally Identifiable Information (SPII).
      MALFORMED_FUNCTION_CALL: The function call generated by the model is
        invalid.
    r                           	   N)r   r   r   r   FINISH_REASON_UNSPECIFIEDSTOP
MAX_TOKENSSAFETY
RECITATIONOTHER	BLOCKLISTPROHIBITED_CONTENTSPIIMALFORMED_FUNCTION_CALLr   r   r   FinishReasonValueValuesEnumr   0   s>    ( !"DJFJEIDr   r)   CitationMetadatar   Contentr   r   GroundingMetadatar   r   variantSafetyRatingr   Trepeatedr   N)r   r   r   r   	_messagesEnumr)   MessageFieldcitationMetadatacontent	EnumFieldfinishReasongroundingMetadataIntegerFieldVariantINT32indexsafetyRatings
tokenCountr   r   r   r   r      s    6 INN  @ ,Y++,>B"I""9a0'$$$%BAF,,i,,-@!D
 )
 
 I,=,=,C,C
D%()((TJ-%y%%a1B1B1H1HI*r   r   c                   @   e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
 ej                  d      Z ej
                  dej                  j                        Z ej                  d      Z ej                  d      Zy	)
Citationa,  Metadata of one citation.

  Fields:
    endIndex: Index in the prediction output where the citation ends
      (exclusive). Must be > start_index and < len(output).
    license: License associated with this recitation. If present, it refers to
      the license of the source of this citation. Possible licenses include
      code licenses, e.g., mit license.
    publicationDate: Publication date associated with this citation. If
      present, it refers to the date at which the source of this citation was
      published. Possible formats are YYYY, YYYY-MM, YYYY-MM-DD.
    startIndex: Index in the prediction output where the citation starts
      (inclusive). Must be >= 0 and < end_index.
    title: Title associated with this citation. If present, it refers to the
      title of the source of this citation. Possible titles include news
      titles, book titles, etc.
    url: URL associated with this citation. If present, this URL links to the
      webpage of the source of this citation. Possible URLs include news
      websites, GitHub repos, etc.
  r   r-   r   r   r   r   r   N)r   r   r   r   r2   r:   r;   r<   endIndexStringFieldlicensepublicationDate
startIndextitleurlr   r   r   rA   rA   Y   s    * $Y##Ay/@/@/F/FG(!I!!!$')I))!,/%y%%a1B1B1H1HI*
)


"%	a #r   rA   c                   :    e Zd ZdZ ej
                  ddd      Zy)r*   zThe schema of citations found in textual prediction outputs. Citations
  originate from various sources and indicate that these contents should be
  cited properly.

  Fields:
    citations: Metadata of all citations found in this prediction output.
  rA   r   Tr0   N)r   r   r   r   r2   r4   	citationsr   r   r   r*   r*   w   s     %i$$ZTB)r   r*   c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)r+   a0  The base structured datatype containing multi-part content of a message.
  A `Content` includes a `role` field designating the producer of the
  `Content` and a `parts` field containing multi-part data that contains the
  content of the message turn.

  Fields:
    parts: Required. Ordered `Parts` that constitute a single message. Parts
      may have different IANA MIME types.
    role: Optional. The producer of the content. Must be either 'user' or
      'model'. Useful to set for multi-turn conversations, otherwise can be
      left blank or unset.
  Partr   Tr0   r   N)	r   r   r   r   r2   r4   partsrC   roler   r   r   r+   r+      s1     !)
 
 T
:%			q	!$r   r+   c                       e Zd ZdZy)Emptya!  A generic empty message that you can re-use to avoid defining duplicated
  empty messages in your APIs. A typical example is to use it as the request
  or the response type of an API method. For instance: service Foo { rpc
  Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
  Nr
   r   r   r   rP   rP      s    r   rP   c                   \    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)GroundingChunkzGrounding chunk.

  Fields:
    retrievedContext: Grounding chunk from context retrieved by the retrieval
      tools.
    web: Grounding chunk from the web.
  RetrievedContextr   Webr   N)r   r   r   r   r2   r4   retrievedContextwebr   r   r   rR   rR      s3     ,Y++,>B	ua(#r   rR   c                       e Zd ZdZ ej
                  ddd      Z ej
                  ddd      Z ej
                  dd	      Z ej                  d
d      Z
y)r,   a<  Grounding metadata for model-generated candidate. Grounding sources
  returned by extensions are checked against the model generated candidate,
  return the grounding sources that are used to generate the candidate.

  Fields:
    groundingChunks: List of supporting references retrieved from specified
      grounding source.
    groundingSupports: Optional. List of grounding support.
    searchEntryPoint: Optional. Google search entry for the following-up web
      searches.
    webSearchQueries: Optional. Web search queries for the following-up web
      search.
  rR   r   Tr0   GroundingSupportr   SearchEntryPointr   r   N)r   r   r   r   r2   r4   groundingChunksgroundingSupportssearchEntryPointrC   webSearchQueriesr   r   r   r,   r,      sc     +I**+;QN/,i,,-?TR+Y++,>B*Y**1t<r   r,   c                       e Zd ZdZ ej
                  ddej                  j                        Z ej                  ddej                  j                        Z ej                  dd      Zy)	rX   a4  Grounding support.

  Fields:
    confidenceScores: Confidence score of the support references. Ranges from
      0 to 1. 1 is the most confident. This list must have the same size as
      the grounding_chunk_indices.
    groundingChunkIndices: A list of indices (into 'grounding_chunk')
      specifying the citations associated with the claim. For instance [1,3,4]
      means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4]
      are the retrieved content attributed to the claim.
    segment: Segment of the content this support belongs to.
  r   T)r1   r.   r   Segmentr   N)r   r   r   r   r2   
FloatFieldr;   FLOATconfidenceScoresr:   r<   groundingChunkIndicesr4   segmentr   r   r   rX   rX      sc     *Y))!dIDUDUD[D[\0)00T9K\K\KbKbc"I""9a0'r   rX   c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)ListLocationsResponsezThe response message for Locations.ListLocations.

  Fields:
    locations: A list of locations that matches the specified filter in the
      request.
    nextPageToken: The standard List next-page token.
  Locationr   Tr0   r   N)	r   r   r   r   r2   r4   	locationsrC   nextPageTokenr   r   r   rf   rf      s1     %i$$ZTB)')''*-r   rf   c                   ^    e Zd ZdZ ej
                  d      Z ej                  ddd      Zy)ListOperationsResponsezThe response message for Operations.ListOperations.

  Fields:
    nextPageToken: The standard List next-page token.
    operations: A list of operations that matches the specified filter in the
      request.
  r   	Operationr   Tr0   N)	r   r   r   r   r2   rC   ri   r4   
operationsr   r   r   rk   rk      s1     ()''*-%y%%k1tD*r   rk   c                       e Zd ZdZ ej
                  d      Z ej
                  dd      Z ej                  ddd      Z	y)	ListWorkbenchesResponsezMessage for response to listing Workbenches.

  Fields:
    nextPageToken: A token identifying a page of results the server should
      return.
    unreachable: Locations that could not be reached.
    workbenches: The list of Workbench
  r   r   Tr0   	Workbenchr   N)
r   r   r   r   r2   rC   ri   unreachabler4   workbenchesr   r   r   ro   ro      sE     ()''*-%	%%a$7+&	&&{AE+r   ro   c                   p   e Zd ZdZ ej
                  d       G d dej                               Z ej
                  d       G d dej                               Z	 ej                  d      Z ej                  dd      Z ej                  d	      Z ej                  dd
      Z ej                  d      Zy)rg   ao  A resource that represents a Google Cloud location.

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

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

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

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

      Fields:
        key: Name of the additional property.
        value: A string attribute.
      r   r   Nr   r   r   r   r2   rC   keyvaluer   r   r   AdditionalPropertyrx     -    
 "I!!!$c#i##A&er   r}   r   Tr0   N	r   r   r   r   r2   Messager}   r4   rt   r   r   r   LabelsValuerv     s4    	'Y.. 	' 29112FTXYr   r   c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)Location.MetadataValuea(  Service-specific metadata. For example the available capacity at the
    given location.

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

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

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r   extra_types.JsonValuer   N	r   r   r   r   r2   rC   r{   r4   r|   r   r   r   r}   r   8  0    
 "I!!!$c$i$$%<a@er   r}   r   Tr0   Nr   r   r   r   MetadataValuer   +  6    		AY.. 	A 29112FTXYr   r   r   r   r   r   r   N)r   r   r   r   r   MapUnrecognizedFieldsr2   r   r   r   rC   displayNamer4   labels
locationIdmetadatanamer   r   r   rg   rg      s    * "8!!"89ZI%% Z :Z0 "8!!"89Zi'' Z :Z2 &	%%a(+!9!!-3&$y$$Q'*#Y##OQ7(			q	!$r   rg   c                   r   e Zd ZdZ ej
                  d       G d dej                               Z ej
                  d       G d dej                               Z	 ej                  d      Z ej                  dd	      Z ej                  dd
      Z ej                  d      Z ej                  dd      Zy)rl   a	  This resource represents a long-running operation that is the result of
  a network API call.

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

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

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

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

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

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

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r   r   r   Nr   r   r   r   r}   r     r   r   r}   r   Tr0   Nr   r   r   r   ResponseValuer     s6     	AY.. 	A 29112FTXYr   r   r   Statusr   r   r   r   N)r   r   r   r   r   r   r2   r   r   r   BooleanFielddoner4   errorr   rC   r   responser   r   r   rl   rl   L  s    'R "8!!"89Zi'' Z :Z6 "8!!"89Zi'' Z :Z< 
 			"$
 )
 
 1
-%#Y##OQ7(			q	!$#Y##OQ7(r   rl   c                      e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej                  d      Z
 ej
                  d      Z ej
                  d      Z ej
                  d      Zy	)
OperationMetadataa  Represents the metadata of the long-running operation.

  Fields:
    apiVersion: Output only. API version used to start the operation.
    createTime: Output only. The time the operation was created.
    endTime: Output only. The time the operation finished running.
    requestedCancellation: Output only. Identifies whether the user has
      requested cancellation of the operation. Operations that have been
      cancelled successfully have Operation.error value with a
      google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
    statusMessage: Output only. Human-readable status of the operation, if
      any.
    target: Output only. Server-defined resource path for the target of the
      operation.
    verb: Output only. Name of the verb executed by the operation.
  r   r   r   r   r   r   r   N)r   r   r   r   r2   rC   
apiVersion
createTimeendTimer   requestedCancellationstatusMessagetargetverbr   r   r   r   r     s    " %y$$Q'*$y$$Q'*!I!!!$'0)003')''*- 9  #&			q	!$r   r   c                   4    e Zd ZdZ ej
                  d      Zy)rL   a
  A datatype containing media that is part of a multi-part `Content`
  message. A `Part` consists of data which has an associated datatype. A
  `Part` can only contain one of the accepted types in `Part.data`.

  Fields:
    text: Optional. Text part (can be code).
  r   N)r   r   r   r   r2   rC   textr   r   r   rL   rL     s     
		q	!$r   rL   c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)rS   zChunk from context retrieved by the retrieval tools.

  Fields:
    title: Title of the attribution.
    uri: URI reference of the attribution.
  r   r   Nr   r   r   r   r2   rC   rG   urir   r   r   rS   rS     -      )


"%	a #r   rS   c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  d      Z	 ej                  dd      Z ej                  dd      Zy	)
r/   a  Safety rating for a piece of content. The safety rating contains the
  category of harm and the harm probability level in that category for a piece
  of content. Content is classified for safety across a number of harm
  categories and the probability of the harm classification is included here.

  Enums:
    CategoryValueValuesEnum: Required. The category for this rating.
    ProbabilityValueValuesEnum: Required. The probability of harm for this
      content.

  Fields:
    blocked: Was this content blocked because of this rating?
    category: Required. The category for this rating.
    probability: Required. The probability of harm for this content.
  c                   $    e Zd ZdZdZdZdZdZdZy)$SafetyRating.CategoryValueValuesEnuma  Required. The category for this rating.

    Values:
      HARM_CATEGORY_UNSPECIFIED: The harm category is unspecified.
      HARM_CATEGORY_HATE_SPEECH: The harm category is hate speech.
      HARM_CATEGORY_DANGEROUS_CONTENT: The harm category is dangerous content.
      HARM_CATEGORY_HARASSMENT: The harm category is harassment.
      HARM_CATEGORY_SEXUALLY_EXPLICIT: The harm category is sexually explicit
        content.
    r   r   r   r   r   N	r   r   r   r   HARM_CATEGORY_UNSPECIFIEDHARM_CATEGORY_HATE_SPEECHHARM_CATEGORY_DANGEROUS_CONTENTHARM_CATEGORY_HARASSMENTHARM_CATEGORY_SEXUALLY_EXPLICITr   r   r   CategoryValueValuesEnumr     '    	 !" !&'# &'#r   r   c                   $    e Zd ZdZdZdZdZdZdZy)'SafetyRating.ProbabilityValueValuesEnumao  Required. The probability of harm for this content.

    Values:
      HARM_PROBABILITY_UNSPECIFIED: Probability is unspecified.
      NEGLIGIBLE: Content has a negligible chance of being unsafe.
      LOW: Content has a low chance of being unsafe.
      MEDIUM: Content has a medium chance of being unsafe.
      HIGH: Content has a high chance of being unsafe.
    r   r   r   r   r   N)	r   r   r   r   HARM_PROBABILITY_UNSPECIFIED
NEGLIGIBLELOWMEDIUMHIGHr   r   r   ProbabilityValueValuesEnumr     s#     $% J
CFDr   r   r   r   r   N)r   r   r   r   r2   r3   r   r   r   blockedr7   categoryprobabilityr   r   r   r/   r/     se     (	 ("9>>   #I""1%' Y  !:A>(#	##$@!D+r   r/   c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  dd      Z
y)	SafetySettinga  Safety setting, affecting the safety-blocking behavior. Passing a safety
  setting for a category changes the allowed proability that content is
  blocked.

  Enums:
    CategoryValueValuesEnum: Required. The category for this setting.
    ThresholdValueValuesEnum: Required. Controls the probability threshold at
      which harm is blocked.

  Fields:
    category: Required. The category for this setting.
    threshold: Required. Controls the probability threshold at which harm is
      blocked.
  c                   $    e Zd ZdZdZdZdZdZdZy)%SafetySetting.CategoryValueValuesEnuma  Required. The category for this setting.

    Values:
      HARM_CATEGORY_UNSPECIFIED: The harm category is unspecified.
      HARM_CATEGORY_HATE_SPEECH: The harm category is hate speech.
      HARM_CATEGORY_DANGEROUS_CONTENT: The harm category is dangerous content.
      HARM_CATEGORY_HARASSMENT: The harm category is harassment.
      HARM_CATEGORY_SEXUALLY_EXPLICIT: The harm category is sexually explicit
        content.
    r   r   r   r   r   Nr   r   r   r   r   r   2  r   r   r   c                   (    e Zd ZdZdZdZdZdZdZdZ	y)	&SafetySetting.ThresholdValueValuesEnuma  Required. Controls the probability threshold at which harm is blocked.

    Values:
      HARM_BLOCK_THRESHOLD_UNSPECIFIED: Threshold is unspecified.
      BLOCK_LOW_AND_ABOVE: Content with NEGLIGIBLE will be allowed.
      BLOCK_MEDIUM_AND_ABOVE: Content with NEGLIGIBLE and LOW will be allowed.
      BLOCK_ONLY_HIGH: Content with NEGLIGIBLE, LOW, and MEDIUM will be
        allowed.
      BLOCK_NONE: All content will be allowed.
      OFF: Turn off the safety filter.
    r   r   r   r   r   r   N)
r   r   r   r    HARM_BLOCK_THRESHOLD_UNSPECIFIEDBLOCK_LOW_AND_ABOVEBLOCK_MEDIUM_AND_ABOVEBLOCK_ONLY_HIGH
BLOCK_NONEOFFr   r   r   ThresholdValueValuesEnumr   C  s*    
 ()$OJ
Cr   r   r   r   N)r   r   r   r   r2   r3   r   r   r7   r   	thresholdr   r   r   r   r   "  sS    (	 (" & !Y  !:A>(!i!!"<a@)r   r   c                   X    e Zd ZdZ ej
                  d      Z ej                  d      Zy)rY   zGoogle search entry point.

  Fields:
    renderedContent: Optional. Web content snippet that can be embedded in a
      web page or an app webview.
    sdkBlob: Optional. Base64 encoded JSON representing array of tuple.
  r   r   N)	r   r   r   r   r2   rC   renderedContent
BytesFieldsdkBlobr   r   r   rY   rY   Z  s-     *I))!,/ I  #'r   rY   c                   8    e Zd ZdZ ej
                  dd      Zy) SeclmProjectsLocationsGetRequestzbA SeclmProjectsLocationsGetRequest object.

  Fields:
    name: Resource name for the location.
  r   TrequiredNr   r   r   r   r2   rC   r   r   r   r   r   r   g       
		q4	0$r   r   c                       e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej
                  dd      Z ej                  dej                  j                  	      Z ej
                  d
      Zy)!SeclmProjectsLocationsListRequesta  A SeclmProjectsLocationsListRequest object.

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

  Fields:
    cancelOperationRequest: A CancelOperationRequest resource to be passed as
      the request body.
    name: The name of the operation resource to be cancelled.
  r	   r   r   Tr   N)	r   r   r   r   r2   r4   cancelOperationRequestrC   r   r   r   r   r   r     s3     29112JAN			q4	0$r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)-SeclmProjectsLocationsOperationsDeleteRequestzA SeclmProjectsLocationsOperationsDeleteRequest object.

  Fields:
    name: The name of the operation resource to be deleted.
  r   Tr   Nr   r   r   r   r   r     r   r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)*SeclmProjectsLocationsOperationsGetRequestzpA SeclmProjectsLocationsOperationsGetRequest object.

  Fields:
    name: The name of the operation resource.
  r   Tr   Nr   r   r   r   r   r     r   r   r   c                       e Zd ZdZ ej
                  d      Z ej
                  dd      Z ej                  dej                  j                        Z ej
                  d      Zy	)
+SeclmProjectsLocationsOperationsListRequestzA SeclmProjectsLocationsOperationsListRequest object.

  Fields:
    filter: The standard list filter.
    name: The name of the operation's parent resource.
    pageSize: The standard list page size.
    pageToken: The standard list page token.
  r   r   Tr   r   r-   r   N)r   r   r   r   r2   rC   r   r   r:   r;   r<   r   r   r   r   r   r   r     sa     !9  #&			q4	0$#Y##Ay/@/@/F/FG(#i##A&)r   r   c                       e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej                  dd      Z	 ej
                  d      Z
y	)
.SeclmProjectsLocationsWorkbenchesCreateRequesta  A SeclmProjectsLocationsWorkbenchesCreateRequest object.

  Fields:
    parent: Required. Value for parent.
    requestId: Optional. An optional request ID to identify requests. Specify
      a unique request ID so that if you must retry your request, the server
      will know to ignore the request if it has already been completed. The
      server will guarantee that for at least 60 minutes since the first
      request. For example, consider a situation where you make an initial
      request and the request times out. If you make the request again with
      the same request ID, the server can check if original operation with the
      same request ID was received, and if so, will ignore the second request.
      This prevents clients from accidentally creating duplicate commitments.
      The request ID must be a valid UUID with the exception that zero UUID is
      not supported (00000000-0000-0000-0000-000000000000).
    workbench: A Workbench resource to be passed as the request body.
    workbenchId: Required. Id of the requesting object. If auto-generating Id
      server-side, remove this field and workbench_id from the
      method_signature of Create RPC.
  r   Tr   r   rp   r   r   N)r   r   r   r   r2   rC   parent	requestIdr4   	workbenchworkbenchIdr   r   r   r   r     sU    * !9  T2&#i##A&)$i$$[!4)%	%%a(+r   r   c                   \    e Zd ZdZ ej
                  dd      Z ej
                  d      Zy).SeclmProjectsLocationsWorkbenchesDeleteRequesta  A SeclmProjectsLocationsWorkbenchesDeleteRequest object.

  Fields:
    name: Required. Name of the resource.
    requestId: Optional. An optional request ID to identify requests. Specify
      a unique request ID so that if you must retry your request, the server
      will know to ignore the request if it has already been completed. The
      server will guarantee that for at least 60 minutes after the first
      request. For example, consider a situation where you make an initial
      request and the request times out. If you make the request again with
      the same request ID, the server can check if original operation with the
      same request ID was received, and if so, will ignore the second request.
      This prevents clients from accidentally creating duplicate commitments.
      The request ID must be a valid UUID with the exception that zero UUID is
      not supported (00000000-0000-0000-0000-000000000000).
  r   Tr   r   N)r   r   r   r   r2   rC   r   r   r   r   r   r   r     s/    " 
		q4	0$#i##A&)r   r   c                   8    e Zd ZdZ ej
                  dd      Zy)+SeclmProjectsLocationsWorkbenchesGetRequestzmA SeclmProjectsLocationsWorkbenchesGetRequest object.

  Fields:
    name: Required. Name of the resource.
  r   Tr   Nr   r   r   r   r   r     r   r   r   c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  dej                  j                        Z ej
                  d      Z ej
                  dd	      Zy
),SeclmProjectsLocationsWorkbenchesListRequesta  A SeclmProjectsLocationsWorkbenchesListRequest object.

  Fields:
    filter: Optional. String for filtering results.
    orderBy: Optional. Hint for how to order the results.
    pageSize: Optional. Requested page size. Server may return fewer items
      than requested. If unspecified, server will pick an appropriate default.
    pageToken: Optional. A token identifying a page of results the server
      should return.
    parent: Required. Parent value for ListWorkbenchesRequest.
  r   r   r   r-   r   r   Tr   N)r   r   r   r   r2   rC   r   orderByr:   r;   r<   r   r   r   r   r   r   r   r     ss    
 !9  #&!I!!!$'#Y##Ay/@/@/F/FG(#i##A&) 9  T2&r   r   c                       e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej
                  d      Z ej                  dd      Z
y	)
-SeclmProjectsLocationsWorkbenchesPatchRequesta^  A SeclmProjectsLocationsWorkbenchesPatchRequest object.

  Fields:
    name: Identifier. Name of resource.
    requestId: Optional. An optional request ID to identify requests. Specify
      a unique request ID so that if you must retry your request, the server
      will know to ignore the request if it has already been completed. The
      server will guarantee that for at least 60 minutes since the first
      request. For example, consider a situation where you make an initial
      request and the request times out. If you make the request again with
      the same request ID, the server can check if original operation with the
      same request ID was received, and if so, will ignore the second request.
      This prevents clients from accidentally creating duplicate commitments.
      The request ID must be a valid UUID with the exception that zero UUID is
      not supported (00000000-0000-0000-0000-000000000000).
    updateMask: Optional. Field mask is used to specify the fields to be
      overwritten in the Workbench resource by the update. The fields
      specified in the update_mask are relative to the resource, not the full
      request. A field will be overwritten if it is in the mask. If the user
      does not provide a mask then all fields will be overwritten.
    workbench: A Workbench resource to be passed as the request body.
  r   Tr   r   r   rp   r   N)r   r   r   r   r2   rC   r   r   
updateMaskr4   r   r   r   r   r   r   
  sU    . 
		q4	0$#i##A&)$y$$Q'*$i$$[!4)r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)-SeclmProjectsLocationsWorkbenchesQueryRequestzA SeclmProjectsLocationsWorkbenchesQueryRequest object.

  Fields:
    name: Required. Name of the resource.
    workbenchQueryRequest: A WorkbenchQueryRequest resource to be passed as
      the request body.
  r   Tr   WorkbenchQueryRequestr   N)	r   r   r   r   r2   rC   r   r4   workbenchQueryRequestr   r   r   r   r   (  s3     
		q4	0$0)001H!Lr   r   c                   $   e Zd ZdZ ej
                  dej                  j                        Z ej
                  dej                  j                        Z	 ej
                  dej                  j                        Z
 ej                  d      Zy)r_   a   Segment of the content.

  Fields:
    endIndex: Output only. End index in the given Part, measured in bytes.
      Offset from the start of the Part, exclusive, starting at zero.
    partIndex: Output only. The index of a Part object within its parent
      Content object.
    startIndex: Output only. Start index in the given Part, measured in bytes.
      Offset from the start of the Part, inclusive, starting at zero.
    text: Output only. The text corresponding to the segment from the
      response.
  r   r-   r   r   r   N)r   r   r   r   r2   r:   r;   r<   rB   	partIndexrF   rC   r   r   r   r   r_   r_   5  s{     $Y##Ay/@/@/F/FG($i$$Q	0A0A0G0GH)%y%%a1B1B1H1HI*			q	!$r   r_   c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  d      Z ej                  ddd	
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej"                  dd
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Zy)StandardQueryParametersa4  Query parameters accepted by all methods.

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

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

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

    Values:
      _1: v1 error format
      _2: v2 error format
    r   r   N)r   r   r   r   _1_2r   r   r   FXgafvValueValuesEnumr  p  s     
B	
Br   r  r   r   r   r  )defaultr   r   r   r   r   Tr   
         N)r   r   r   r   r2   r3   r
  r  r7   f__xgafvrC   access_tokenaltcallbackfieldsr{   oauth_tokenr   prettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   r  r  I  s   4
9>> 
inn  !Y  !8!<(&&&q),	0!VD#"Y""1%( 9  #&	a #%	%%a(+&	&&q$7+#i##A&)
)


#%$y$$R(*)I))"-/r   r  c                      e Zd ZdZ ej
                  d       G d dej                               Z ej                  dej                  j                        Z ej                  ddd	      Z ej                  d
      Zy)r   a  The `Status` type defines a logical error model that is suitable for
  different programming environments, including REST APIs and RPC APIs. It is
  used by [gRPC](https://github.com/grpc). Each `Status` message contains
  three pieces of data: error code, error message, and error details. You can
  find out more about this error model and how to work with it in the [API
  Design Guide](https://cloud.google.com/apis/design/errors).

  Messages:
    DetailsValueListEntry: A DetailsValueListEntry object.

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

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

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

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r   r   r   Nr   r   r   r   r}   r#    r   r   r}   r   Tr0   Nr   r   r   r   DetailsValueListEntryr!    r   r   r$  r   r-   r   Tr0   r   N)r   r   r   r   r   r   r2   r   r$  r:   r;   r<   coder4   detailsrC   messager   r   r   r   r     s    & "8!!"89Zi// Z :Z2 
 		9+<+<+B+B	C$"I""#:AM'!I!!!$'r   r   c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)rT   zeChunk from the web.

  Fields:
    title: Title of the chunk.
    uri: URI reference of the chunk.
  r   r   Nr   r   r   r   rT   rT     r   r   rT   c                       e Zd ZdZ ej
                  d       G d dej                               Z ej                  d      Z
 ej                  dd      Z ej                  d      Z ej                  d      Zy	)
rp   a.  Message describing Workbench object.

  Messages:
    LabelsValue: Optional. Labels as key value pairs.

  Fields:
    createTime: Output only. Create time stamp.
    labels: Optional. Labels as key value pairs.
    name: Identifier. Name of resource.
    updateTime: Output only. Update time stamp.
  rt   c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)Workbench.LabelsValuezOptional. Labels as key value pairs.

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

    Fields:
      additionalProperties: Additional properties of type LabelsValue
    c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)(Workbench.LabelsValue.AdditionalPropertyry   r   r   Nrz   r   r   r   r}   r-    r~   r   r}   r   Tr0   Nr   r   r   r   r   r+    s4    	'Y.. 	' 29112FTXYr   r   r   r   r   r   N)r   r   r   r   r   r   r2   r   r   rC   r   r4   r   r   
updateTimer   r   r   rp   rp     s    
 "8!!"89ZI%% Z :Z. %y$$Q'*!9!!-3&			q	!$$y$$Q'*r   rp   c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej
                  ddd      Z	y	)
r   a  Message for querying a Workbench.

  Fields:
    contents: Optional. The content of the current conversation with the
      model. For single-turn queries, this is a single instance. For multi-
      turn queries, this is a repeated field that contains conversation
      history + latest request.
    query: Required. The query from user.
    safetySettings: Optional. Per request settings for blocking unsafe
      content. Enforced on GenerateContentResponse.candidates.
  r+   r   Tr0   r   r   r   N)
r   r   r   r   r2   r4   contentsrC   querysafetySettingsr   r   r   r   r     sG    
 $Y##Iq4@(
)


"%)9))/1tL.r   r   c                       e Zd ZdZ ej
                  ddd      Z ej
                  dd      Z ej                  d      Z	y	)
WorkbenchQueryResponsea  Response to querying a Workbench.

  Fields:
    candidates: Output only. Candidate responses from the model.
    citationMetadata: Output only. Citation metadata. Contains citation
      information of `content`.
    response: Output only. Response to the user's query.
  r   r   Tr0   r*   r   r   N)
r   r   r   r   r2   r4   
candidatesr5   rC   r   r   r   r   r4  r4    sG     &y%%k1tD*+Y++,>B"Y""1%(r   r4  r  z$.xgafvr  1r  2N)5r   
__future__r   apitools.base.protorpcliter   r2   apitools.base.pyr   r   packager   r	   r   rA   r*   r+   rP   rR   r,   rX   rf   rk   ro   rg   rl   r   rL   rS   r/   r   rY   r   r   r   r   r   r   r   r   r   r   r   r   r_   r  r   rT   rp   r   r4  AddCustomJsonFieldMappingAddCustomJsonEnumMappingr  r   r   r   <module>r>     sN  
 ' < % ( =Y.. =BJ	!! BJJ!y   !<	Cy(( 	C"i "$I 
)Y&& 
)=	)) =*1y(( 1&
+I-- 
+
EY.. 
EFi// FM"y   M"`i8	!! i8X"	)) "6	"9 	"	!y(( 	!4E9$$ 4En5AI%% 5Ap
$y(( 
$1y'8'8 1'	(9(9 '0
1I4E4E 
11I4E4E 111B1B 1')2C2C ' )Y5F5F )8'Y5F5F ',1)2C2C 1393D3D 3(5I4E4E 5<
MI4E4E 
M"i "(<.i// <.~0%Y 0%f	!)

 	!((	!! ((VMI-- M$&Y.. & # " "Z4 ! ! !114> ! ! !114>r   