# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: third_party/metrics_proto/translate_event.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,
    '',
    'third_party/metrics_proto/translate_event.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/third_party/metrics_proto/translate_event.proto\x12\x07metrics\"\x99\x0b\n\x13TranslateEventProto\x12\x17\n\x0fsource_language\x18\x01 \x01(\t\x12\x17\n\x0ftarget_language\x18\x02 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x0e \x01(\t\x12\x14\n\x0c\x61\x63\x63\x65pt_count\x18\x03 \x01(\x05\x12\x15\n\rdecline_count\x18\x04 \x01(\x05\x12\x14\n\x0cignore_count\x18\x05 \x01(\x05\x12\x15\n\rlanguage_list\x18\x06 \x03(\t\x12\x16\n\x0eranker_version\x18\x07 \x01(\r\x12$\n\x1cranker_request_timestamp_sec\x18\x08 \x01(\x03\x12Q\n\x0franker_response\x18\t \x01(\x0e\x32+.metrics.TranslateEventProto.RankerResponse:\x0bNOT_QUERIED\x12:\n\nevent_type\x18\n \x01(\x0e\x32&.metrics.TranslateEventProto.EventType\x12\x42\n\x12\x64\x65\x63ision_overrides\x18\x0f \x03(\x0e\x32&.metrics.TranslateEventProto.EventType\x12\x1b\n\x13\x65vent_timestamp_sec\x18\x0b \x01(\x03\x12 \n\x18modified_source_language\x18\x0c \x01(\t\x12 \n\x18modified_target_language\x18\r \x01(\t\"@\n\x0eRankerResponse\x12\x08\n\x04SHOW\x10\x00\x12\r\n\tDONT_SHOW\x10\x01\x12\x0f\n\x0bNOT_QUERIED\x10\x02\x1a\x04:\x02\x10\x02\"\xb0\x06\n\tEventType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0cUSER_DECLINE\x10\x01\x12\x0f\n\x0bUSER_ACCEPT\x10\x02\x12\x10\n\x0cUSER_DISMISS\x10\x03\x12\x0f\n\x0bUSER_IGNORE\x10\x04\x12!\n\x1dUSER_NEVER_TRANSLATE_LANGUAGE\x10\x05\x12\x1d\n\x19USER_NEVER_TRANSLATE_SITE\x10\x06\x12\"\n\x1eUSER_ALWAYS_TRANSLATE_LANGUAGE\x10\x07\x12\x1f\n\x1bUSER_CONTEXT_MENU_TRANSLATE\x10\x08\x12\x0f\n\x0bUSER_REVERT\x10\t\x12\x1c\n\x18\x41UTOMATICALLY_TRANSLATED\x10\n\x12\x1c\n\x18\x41UTO_TRANSLATION_BY_PREF\x10\x19\x12\x1c\n\x18\x41UTO_TRANSLATION_BY_LINK\x10\x1a\x12\x14\n\x10\x44ISABLED_BY_PREF\x10\x0b\x12$\n LANGUAGE_DISABLED_BY_USER_CONFIG\x10\x0c\x12\x1f\n\x1bURL_DISABLED_BY_USER_CONFIG\x10\r\x12\'\n#LANGUAGE_DISABLED_BY_AUTO_BLACKLIST\x10\x0e\x12\x16\n\x12\x44ISABLED_BY_RANKER\x10\x0f\x12\x18\n\x14UNSUPPORTED_LANGUAGE\x10\x10\x12\x13\n\x0fUNSUPPORTED_URL\x10\x11\x12\x1d\n\x19MATCHES_PREVIOUS_LANGUAGE\x10\x12\x12\x1d\n\x19\x42ROWSER_WINDOW_IS_INVALID\x10\x13\x12\x1d\n\x19\x42ROWSER_WINDOW_NOT_ACTIVE\x10\x14\x12\x1f\n\x1b\x42ROWSER_WINDOW_IS_MINIMIZED\x10\x15\x12\x1b\n\x17WEB_CONTENTS_NOT_ACTIVE\x10\x16\x12\x1c\n\x18\x45\x44ITABLE_FIELD_IS_ACTIVE\x10\x17\x12\x13\n\x0fLANGUAGE_IN_ULP\x10\x18\x12\x18\n\x14INITIALIZATION_ERROR\x10\x1b\x12#\n\x1f\x41UTO_TRANSLATION_BY_COMMANDLINE\x10\x1c\x1a\x04:\x02\x10\x02\x42>\n\x1forg.chromium.components.metricsB\x14TranslateEventProtosH\x03\x92\x03\x02 \x03\x62\x08\x65\x64itionsp\xe8\x07')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'third_party.metrics_proto.translate_event_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\037org.chromium.components.metricsB\024TranslateEventProtosH\003\222\003\002 \003'
  _globals['_TRANSLATEEVENTPROTO_RANKERRESPONSE']._loaded_options = None
  _globals['_TRANSLATEEVENTPROTO_RANKERRESPONSE']._serialized_options = b':\002\020\002'
  _globals['_TRANSLATEEVENTPROTO_EVENTTYPE']._loaded_options = None
  _globals['_TRANSLATEEVENTPROTO_EVENTTYPE']._serialized_options = b':\002\020\002'
  _globals['_TRANSLATEEVENTPROTO']._serialized_start=61
  _globals['_TRANSLATEEVENTPROTO']._serialized_end=1494
  _globals['_TRANSLATEEVENTPROTO_RANKERRESPONSE']._serialized_start=611
  _globals['_TRANSLATEEVENTPROTO_RANKERRESPONSE']._serialized_end=675
  _globals['_TRANSLATEEVENTPROTO_EVENTTYPE']._serialized_start=678
  _globals['_TRANSLATEEVENTPROTO_EVENTTYPE']._serialized_end=1494
# @@protoc_insertion_point(module_scope)
