# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: cloudcode.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'cloudcode.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x63loudcode.proto\x12%google.internal.cloud.code.v1internal\x1a\x1cgoogle/protobuf/struct.proto\"S\n\x07\x43ontent\x12\x0c\n\x04role\x18\x01 \x01(\t\x12:\n\x05parts\x18\x02 \x03(\x0b\x32+.google.internal.cloud.code.v1internal.Part\"\xb8\x02\n\x04Part\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12H\n\x0binline_data\x18\x02 \x01(\x0b\x32\x31.google.internal.cloud.code.v1internal.InlineDataH\x00\x12L\n\rfunction_call\x18\x03 \x01(\x0b\x32\x33.google.internal.cloud.code.v1internal.FunctionCallH\x00\x12T\n\x11\x66unction_response\x18\x04 \x01(\x0b\x32\x37.google.internal.cloud.code.v1internal.FunctionResponseH\x00\x12\x19\n\x11thought_signature\x18\n \x01(\t\x12\x0f\n\x07thought\x18\x0b \x01(\x08\x42\x06\n\x04\x64\x61ta\"-\n\nInlineData\x12\x11\n\tmime_type\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"O\n\x0c\x46unctionCall\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x03 \x01(\t\"W\n\x10\x46unctionResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\x12)\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\n\n\x02id\x18\x03 \x01(\t\"4\n\rSafetySetting\x12\x10\n\x08\x63\x61tegory\x18\x01 \x01(\t\x12\x11\n\tthreshold\x18\x02 \x01(\t\"\xc2\x02\n\x10GenerationConfig\x12\x19\n\x11max_output_tokens\x18\x01 \x01(\x05\x12\x13\n\x0btemperature\x18\x02 \x01(\x02\x12\r\n\x05top_p\x18\x03 \x01(\x02\x12\x17\n\x0fthinking_budget\x18\x04 \x01(\x05\x12\x18\n\x10include_thoughts\x18\x05 \x01(\x08\x12\x16\n\x0estop_sequences\x18\x06 \x03(\t\x12_\n\x0fthinking_config\x18\x07 \x01(\x0b\x32\x46.google.internal.cloud.code.v1internal.GenerationConfig.ThinkingConfig\x1a\x43\n\x0eThinkingConfig\x12\x18\n\x10include_thoughts\x18\x01 \x01(\x08\x12\x17\n\x0fthinking_budget\x18\x02 \x01(\x05\"a\n\x04Tool\x12Y\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32:.google.internal.cloud.code.v1internal.FunctionDeclaration\"e\n\x13\x46unctionDeclaration\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12+\n\nparameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xbd\x01\n\nToolConfig\x12h\n\x17\x66unction_calling_config\x18\x01 \x01(\x0b\x32G.google.internal.cloud.code.v1internal.ToolConfig.FunctionCallingConfig\x1a\x45\n\x15\x46unctionCallingConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12\x1e\n\x16\x61llowed_function_names\x18\x02 \x03(\t\"r\n\tCandidate\x12?\n\x07\x63ontent\x18\x01 \x01(\x0b\x32..google.internal.cloud.code.v1internal.Content\x12\x15\n\rfinish_reason\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x05\"\xad\x05\n\x16GenerateContentRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\r\n\x05model\x18\x02 \x01(\t\x12\x14\n\x0crequest_type\x18\x03 \x01(\t\x12\x12\n\nuser_agent\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12[\n\x07request\x18\n \x01(\x0b\x32J.google.internal.cloud.code.v1internal.GenerateContentRequest.InnerRequest\x1a\xd7\x03\n\x0cInnerRequest\x12@\n\x08\x63ontents\x18\x01 \x03(\x0b\x32..google.internal.cloud.code.v1internal.Content\x12J\n\x12system_instruction\x18\x02 \x01(\x0b\x32..google.internal.cloud.code.v1internal.Content\x12R\n\x11generation_config\x18\x03 \x01(\x0b\x32\x37.google.internal.cloud.code.v1internal.GenerationConfig\x12:\n\x05tools\x18\x04 \x03(\x0b\x32+.google.internal.cloud.code.v1internal.Tool\x12M\n\x0fsafety_settings\x18\x05 \x03(\x0b\x32\x34.google.internal.cloud.code.v1internal.SafetySetting\x12\x46\n\x0btool_config\x18\x06 \x01(\x0b\x32\x31.google.internal.cloud.code.v1internal.ToolConfig\x12\x12\n\nsession_id\x18\x07 \x01(\t\"\xc6\x01\n\x17GenerateContentResponse\x12Y\n\x08response\x18\x01 \x01(\x0b\x32G.google.internal.cloud.code.v1internal.GenerateContentResponse.Response\x1aP\n\x08Response\x12\x44\n\ncandidates\x18\x01 \x03(\x0b\x32\x30.google.internal.cloud.code.v1internal.Candidate\"w\n\x1aStreamGenerateContentChunk\x12Y\n\x08response\x18\x01 \x01(\x0b\x32G.google.internal.cloud.code.v1internal.GenerateContentResponse.Response\".\n\x1b\x46\x65tchAvailableModelsRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\"\xdb\x01\n\x1c\x46\x65tchAvailableModelsResponse\x12]\n\x06models\x18\x01 \x03(\x0b\x32M.google.internal.cloud.code.v1internal.FetchAvailableModelsResponse.ModelInfo\x1a\\\n\tModelInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x16\n\x0e\x63ontext_window\x18\x04 \x01(\x03\"v\n\x12\x43ountTokensRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\r\n\x05model\x18\x02 \x01(\t\x12@\n\x08\x63ontents\x18\x03 \x03(\x0b\x32..google.internal.cloud.code.v1internal.Content\"+\n\x13\x43ountTokensResponse\x12\x14\n\x0ctotal_tokens\x18\x01 \x01(\x05\"+\n\x18RetrieveUserQuotaRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\"^\n\x19RetrieveUserQuotaResponse\x12\x13\n\x0b\x64\x61ily_limit\x18\x01 \x01(\x03\x12\x13\n\x0b\x64\x61ily_usage\x18\x02 \x01(\x03\x12\x17\n\x0f\x64\x61ily_remaining\x18\x03 \x01(\x03\x32\x86\x06\n\x11PredictionService\x12\x90\x01\n\x0fGenerateContent\x12=.google.internal.cloud.code.v1internal.GenerateContentRequest\x1a>.google.internal.cloud.code.v1internal.GenerateContentResponse\x12\x9b\x01\n\x15StreamGenerateContent\x12=.google.internal.cloud.code.v1internal.GenerateContentRequest\x1a\x41.google.internal.cloud.code.v1internal.StreamGenerateContentChunk0\x01\x12\x9f\x01\n\x14\x46\x65tchAvailableModels\x12\x42.google.internal.cloud.code.v1internal.FetchAvailableModelsRequest\x1a\x43.google.internal.cloud.code.v1internal.FetchAvailableModelsResponse\x12\x84\x01\n\x0b\x43ountTokens\x12\x39.google.internal.cloud.code.v1internal.CountTokensRequest\x1a:.google.internal.cloud.code.v1internal.CountTokensResponse\x12\x96\x01\n\x11RetrieveUserQuota\x12?.google.internal.cloud.code.v1internal.RetrieveUserQuotaRequest\x1a@.google.internal.cloud.code.v1internal.RetrieveUserQuotaResponseB2Z0google.golang.org/internal/cloud/code/v1internalb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cloudcode_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z0google.golang.org/internal/cloud/code/v1internal'
  _globals['_CONTENT']._serialized_start=88
  _globals['_CONTENT']._serialized_end=171
  _globals['_PART']._serialized_start=174
  _globals['_PART']._serialized_end=486
  _globals['_INLINEDATA']._serialized_start=488
  _globals['_INLINEDATA']._serialized_end=533
  _globals['_FUNCTIONCALL']._serialized_start=535
  _globals['_FUNCTIONCALL']._serialized_end=614
  _globals['_FUNCTIONRESPONSE']._serialized_start=616
  _globals['_FUNCTIONRESPONSE']._serialized_end=703
  _globals['_SAFETYSETTING']._serialized_start=705
  _globals['_SAFETYSETTING']._serialized_end=757
  _globals['_GENERATIONCONFIG']._serialized_start=760
  _globals['_GENERATIONCONFIG']._serialized_end=1082
  _globals['_GENERATIONCONFIG_THINKINGCONFIG']._serialized_start=1015
  _globals['_GENERATIONCONFIG_THINKINGCONFIG']._serialized_end=1082
  _globals['_TOOL']._serialized_start=1084
  _globals['_TOOL']._serialized_end=1181
  _globals['_FUNCTIONDECLARATION']._serialized_start=1183
  _globals['_FUNCTIONDECLARATION']._serialized_end=1284
  _globals['_TOOLCONFIG']._serialized_start=1287
  _globals['_TOOLCONFIG']._serialized_end=1476
  _globals['_TOOLCONFIG_FUNCTIONCALLINGCONFIG']._serialized_start=1407
  _globals['_TOOLCONFIG_FUNCTIONCALLINGCONFIG']._serialized_end=1476
  _globals['_CANDIDATE']._serialized_start=1478
  _globals['_CANDIDATE']._serialized_end=1592
  _globals['_GENERATECONTENTREQUEST']._serialized_start=1595
  _globals['_GENERATECONTENTREQUEST']._serialized_end=2280
  _globals['_GENERATECONTENTREQUEST_INNERREQUEST']._serialized_start=1809
  _globals['_GENERATECONTENTREQUEST_INNERREQUEST']._serialized_end=2280
  _globals['_GENERATECONTENTRESPONSE']._serialized_start=2283
  _globals['_GENERATECONTENTRESPONSE']._serialized_end=2481
  _globals['_GENERATECONTENTRESPONSE_RESPONSE']._serialized_start=2401
  _globals['_GENERATECONTENTRESPONSE_RESPONSE']._serialized_end=2481
  _globals['_STREAMGENERATECONTENTCHUNK']._serialized_start=2483
  _globals['_STREAMGENERATECONTENTCHUNK']._serialized_end=2602
  _globals['_FETCHAVAILABLEMODELSREQUEST']._serialized_start=2604
  _globals['_FETCHAVAILABLEMODELSREQUEST']._serialized_end=2650
  _globals['_FETCHAVAILABLEMODELSRESPONSE']._serialized_start=2653
  _globals['_FETCHAVAILABLEMODELSRESPONSE']._serialized_end=2872
  _globals['_FETCHAVAILABLEMODELSRESPONSE_MODELINFO']._serialized_start=2780
  _globals['_FETCHAVAILABLEMODELSRESPONSE_MODELINFO']._serialized_end=2872
  _globals['_COUNTTOKENSREQUEST']._serialized_start=2874
  _globals['_COUNTTOKENSREQUEST']._serialized_end=2992
  _globals['_COUNTTOKENSRESPONSE']._serialized_start=2994
  _globals['_COUNTTOKENSRESPONSE']._serialized_end=3037
  _globals['_RETRIEVEUSERQUOTAREQUEST']._serialized_start=3039
  _globals['_RETRIEVEUSERQUOTAREQUEST']._serialized_end=3082
  _globals['_RETRIEVEUSERQUOTARESPONSE']._serialized_start=3084
  _globals['_RETRIEVEUSERQUOTARESPONSE']._serialized_end=3178
  _globals['_PREDICTIONSERVICE']._serialized_start=3181
  _globals['_PREDICTIONSERVICE']._serialized_end=3955
# @@protoc_insertion_point(module_scope)
