# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: components/optimization_guide/proto/model_execution.proto
# Protobuf Python Version: 7.35.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,
    7,
    35,
    1,
    '',
    'components/optimization_guide/proto/model_execution.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from components.optimization_guide.proto import common_types_pb2 as components_dot_optimization__guide_dot_proto_dot_common__types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9components/optimization_guide/proto/model_execution.proto\x12\x18optimization_guide.proto\x1a\x36\x63omponents/optimization_guide/proto/common_types.proto\"\x91\x01\n\x0e\x45xecuteRequest\x12@\n\x07\x66\x65\x61ture\x18\x01 \x01(\x0e\x32/.optimization_guide.proto.ModelExecutionFeature\x12\x37\n\x10request_metadata\x18\x02 \x01(\x0b\x32\x1d.optimization_guide.proto.AnyJ\x04\x08\x03\x10\x04\"f\n\x15PrivateExecuteRequest\x12\x39\n\x07request\x18\x01 \x01(\x0b\x32(.optimization_guide.proto.ExecuteRequest\x12\x12\n\nvariations\x18\x02 \x03(\x05\"\xd6\x01\n\x0f\x45xecuteResponse\x12\x15\n\rmodel_version\x18\x01 \x01(\x03\x12:\n\x11response_metadata\x18\x02 \x01(\x0b\x32\x1d.optimization_guide.proto.AnyH\x00\x12\x41\n\x0e\x65rror_response\x18\x05 \x01(\x0b\x32\'.optimization_guide.proto.ErrorResponseH\x00\x12\x1b\n\x13server_execution_id\x18\x04 \x01(\tB\n\n\x08responseJ\x04\x08\x03\x10\x04\"J\n\rErrorResponse\x12\x39\n\x0b\x65rror_state\x18\x01 \x01(\x0e\x32$.optimization_guide.proto.ErrorState*\xc5\x02\n\nErrorState\x12\x1b\n\x17\x45RROR_STATE_UNSPECIFIED\x10\x00\x12+\n\'ERROR_STATE_INTERNAL_SERVER_ERROR_RETRY\x10\x01\x12.\n*ERROR_STATE_INTERNAL_SERVER_ERROR_NO_RETRY\x10\x02\x12$\n ERROR_STATE_UNSUPPORTED_LANGUAGE\x10\x03\x12\x18\n\x14\x45RROR_STATE_FILTERED\x10\x04\x12!\n\x1d\x45RROR_STATE_REQUEST_THROTTLED\x10\x05\x12\x18\n\x14\x45RROR_STATE_DISABLED\x10\x06\x12 \n\x1c\x45RROR_STATE_REQUEST_DISABLED\x10\x07\x12\x1e\n\x1a\x45RROR_STATE_QUOTA_EXCEEDED\x10\x08*\x85\x0e\n\x15ModelExecutionFeature\x12\'\n#MODEL_EXECUTION_FEATURE_UNSPECIFIED\x10\x00\x12#\n\x1fMODEL_EXECUTION_FEATURE_COMPOSE\x10\x01\x12,\n(MODEL_EXECUTION_FEATURE_WALLPAPER_SEARCH\x10\x03\x12 \n\x1cMODEL_EXECUTION_FEATURE_TEST\x10\x04\x12\'\n#MODEL_EXECUTION_FEATURE_TEXT_SAFETY\x10\x05\x12&\n\"MODEL_EXECUTION_FEATURE_PROMPT_API\x10\x06\x12*\n&MODEL_EXECUTION_FEATURE_HISTORY_SEARCH\x10\x07\x12%\n!MODEL_EXECUTION_FEATURE_SUMMARIZE\x10\x08\x12\x30\n,MODEL_EXECUTION_FEATURE_HISTORY_QUERY_INTENT\x10\x0c\x12-\n)MODEL_EXECUTION_FEATURE_BLING_PROTOTYPING\x10\r\x12\x36\n2MODEL_EXECUTION_FEATURE_PASSWORD_CHANGE_SUBMISSION\x10\x0e\x12*\n&MODEL_EXECUTION_FEATURE_SCAM_DETECTION\x10\x0f\x12*\n&MODEL_EXECUTION_FEATURE_PERMISSIONS_AI\x10\x11\x12\x32\n.MODEL_EXECUTION_FEATURE_WRITING_ASSISTANCE_API\x10\x12\x12\x31\n-MODEL_EXECUTION_FEATURE_FORMS_CLASSIFICATIONS\x10\x14\x12-\n)MODEL_EXECUTION_FEATURE_ENHANCED_CALENDAR\x10\x17\x12\x32\n.MODEL_EXECUTION_FEATURE_ZERO_STATE_SUGGESTIONS\x10\x18\x12+\n\'MODEL_EXECUTION_FEATURE_PROOFREADER_API\x10\x1a\x12-\n)MODEL_EXECUTION_FEATURE_AMOUNT_EXTRACTION\x10\x1b\x12\x36\n2MODEL_EXECUTION_FEATURE_WALLETABLE_PASS_EXTRACTION\x10\x1c\x12\x38\n4MODEL_EXECUTION_FEATURE_ON_DEVICE_SPEECH_RECOGNITION\x10\x1d\x12\x32\n.MODEL_EXECUTION_FEATURE_IOS_SMART_TAB_GROUPING\x10\x1e\x12\"\n\x1eMODEL_EXECUTION_FEATURE_SKILLS\x10\x1f\x12\x36\n2MODEL_EXECUTION_FEATURE_GEMINI_ANTISCAM_PROTECTION\x10 \x12&\n\"MODEL_EXECUTION_FEATURE_CLASSIFIER\x10!\x12.\n*MODEL_EXECUTION_FEATURE_CONTENT_ANNOTATION\x10\"\x12!\n\x1dMODEL_EXECUTION_FEATURE_FINDS\x10#\x12=\n9MODEL_EXECUTION_FEATURE_ANNOTATION_REDUCER_ONE_P_RESOLVER\x10$\x12?\n;MODEL_EXECUTION_FEATURE_ANNOTATION_REDUCER_QUERY_CLASSIFIER\x10%\x12-\n)MODEL_EXECUTION_FEATURE_CONTEXTUAL_CUEING\x10&\x12\x43\n?MODEL_EXECUTION_FEATURE_ON_DEVICE_SPEECH_RECOGNITION_TINY_GEMMA\x10\'\x12(\n$MODEL_EXECUTION_FEATURE_UPDATER_CHAT\x10(\x12\x30\n,MODEL_EXECUTION_FEATURE_CARD_RECOMMENDATIONS\x10*\x12\x31\n-MODEL_EXECUTION_FEATURE_READ_ALOUD_SYNTHESIZE\x10+\x12\x34\n0MODEL_EXECUTION_FEATURE_READ_ALOUD_GENERATE_TEXT\x10,\x12\'\n#MODEL_EXECUTION_FEATURE_CONTEXT_HUB\x10-\"\x04\x08\x02\x10\x02\"\x04\x08\t\x10\t\"\x04\x08\n\x10\n\"\x04\x08\x0b\x10\x0b\"\x04\x08\x10\x10\x10\"\x04\x08\x13\x10\x13\"\x04\x08\x15\x10\x15\"\x04\x08\x16\x10\x16\"\x04\x08\x19\x10\x19\x42I\n0org.chromium.components.optimization_guide.protoB\x13ModelExecutionProtoH\x03')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'components.optimization_guide.proto.model_execution_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n0org.chromium.components.optimization_guide.protoB\023ModelExecutionProtoH\003'
  _globals['_ERRORSTATE']._serialized_start=689
  _globals['_ERRORSTATE']._serialized_end=1014
  _globals['_MODELEXECUTIONFEATURE']._serialized_start=1017
  _globals['_MODELEXECUTIONFEATURE']._serialized_end=2814
  _globals['_EXECUTEREQUEST']._serialized_start=144
  _globals['_EXECUTEREQUEST']._serialized_end=289
  _globals['_PRIVATEEXECUTEREQUEST']._serialized_start=291
  _globals['_PRIVATEEXECUTEREQUEST']._serialized_end=393
  _globals['_EXECUTERESPONSE']._serialized_start=396
  _globals['_EXECUTERESPONSE']._serialized_end=610
  _globals['_ERRORRESPONSE']._serialized_start=612
  _globals['_ERRORRESPONSE']._serialized_end=686
# @@protoc_insertion_point(module_scope)
