Newer
Older
cortex-hub / ai-hub / app / protos / browser_pb2.py
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: app/protos/browser.proto
# Protobuf Python Version: 4.25.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 symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x61pp/protos/browser.proto\x12\x07\x62rowser\"K\n\x0fNavigateRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x17\n\x0fwait_until_idle\x18\x03 \x01(\x08\"J\n\x0c\x43lickRequest\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\t\n\x01x\x18\x03 \x01(\x05\x12\t\n\x01y\x18\x04 \x01(\x05\"V\n\x0bTypeRequest\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x13\n\x0bpress_enter\x18\x04 \x01(\x08\"4\n\x0cHoverRequest\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\"W\n\rScrollRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x65lta_x\x18\x02 \x01(\x05\x12\x0f\n\x07\x64\x65lta_y\x18\x03 \x01(\x05\x12\x10\n\x08selector\x18\x04 \x01(\t\"1\n\x0b\x45valRequest\x12\x0e\n\x06script\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\"l\n\x0fSnapshotRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x1a\n\x12include_screenshot\x18\x02 \x01(\x08\x12\x13\n\x0binclude_dom\x18\x03 \x01(\x08\x12\x14\n\x0cinclude_a11y\x18\x04 \x01(\x08\"\"\n\x0c\x43loseRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\" \n\rCloseResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"j\n\x14ParallelFetchRequest\x12\x0c\n\x04urls\x18\x01 \x03(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x16\n\x0emax_concurrent\x18\x03 \x01(\x05\x12\x18\n\x10\x65xtract_markdown\x18\x04 \x01(\x08\"\xb9\x01\n\x15ParallelFetchResponse\x12;\n\x07results\x18\x01 \x03(\x0b\x32*.browser.ParallelFetchResponse.FetchResult\x1a\x63\n\x0b\x46\x65tchResult\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x18\n\x10\x63ontent_markdown\x18\x03 \x01(\t\x12\x0f\n\x07success\x18\x04 \x01(\x08\x12\r\n\x05\x65rror\x18\x05 \x01(\t\"\xbb\x01\n\x0f\x42rowserResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t\x12\x15\n\rerror_message\x18\x05 \x01(\t\x12\x10\n\x08\x64om_path\x18\x06 \x01(\t\x12\x17\n\x0fscreenshot_path\x18\x07 \x01(\t\x12\x11\n\ta11y_path\x18\x08 \x01(\t\x12\x13\n\x0b\x65val_result\x18\t \x01(\t2\xc6\x04\n\x0e\x42rowserService\x12>\n\x08Navigate\x12\x18.browser.NavigateRequest\x1a\x18.browser.BrowserResponse\x12\x38\n\x05\x43lick\x12\x15.browser.ClickRequest\x1a\x18.browser.BrowserResponse\x12\x36\n\x04Type\x12\x14.browser.TypeRequest\x1a\x18.browser.BrowserResponse\x12\x38\n\x05Hover\x12\x15.browser.HoverRequest\x1a\x18.browser.BrowserResponse\x12:\n\x06Scroll\x12\x16.browser.ScrollRequest\x1a\x18.browser.BrowserResponse\x12:\n\x08\x45valuate\x12\x14.browser.EvalRequest\x1a\x18.browser.BrowserResponse\x12\x41\n\x0bGetSnapshot\x12\x18.browser.SnapshotRequest\x1a\x18.browser.BrowserResponse\x12=\n\x0c\x43loseSession\x12\x15.browser.CloseRequest\x1a\x16.browser.CloseResponse\x12N\n\rParallelFetch\x12\x1d.browser.ParallelFetchRequest\x1a\x1e.browser.ParallelFetchResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.protos.browser_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  DESCRIPTOR._options = None
  _globals['_NAVIGATEREQUEST']._serialized_start=37
  _globals['_NAVIGATEREQUEST']._serialized_end=112
  _globals['_CLICKREQUEST']._serialized_start=114
  _globals['_CLICKREQUEST']._serialized_end=188
  _globals['_TYPEREQUEST']._serialized_start=190
  _globals['_TYPEREQUEST']._serialized_end=276
  _globals['_HOVERREQUEST']._serialized_start=278
  _globals['_HOVERREQUEST']._serialized_end=330
  _globals['_SCROLLREQUEST']._serialized_start=332
  _globals['_SCROLLREQUEST']._serialized_end=419
  _globals['_EVALREQUEST']._serialized_start=421
  _globals['_EVALREQUEST']._serialized_end=470
  _globals['_SNAPSHOTREQUEST']._serialized_start=472
  _globals['_SNAPSHOTREQUEST']._serialized_end=580
  _globals['_CLOSEREQUEST']._serialized_start=582
  _globals['_CLOSEREQUEST']._serialized_end=616
  _globals['_CLOSERESPONSE']._serialized_start=618
  _globals['_CLOSERESPONSE']._serialized_end=650
  _globals['_PARALLELFETCHREQUEST']._serialized_start=652
  _globals['_PARALLELFETCHREQUEST']._serialized_end=758
  _globals['_PARALLELFETCHRESPONSE']._serialized_start=761
  _globals['_PARALLELFETCHRESPONSE']._serialized_end=946
  _globals['_PARALLELFETCHRESPONSE_FETCHRESULT']._serialized_start=847
  _globals['_PARALLELFETCHRESPONSE_FETCHRESULT']._serialized_end=946
  _globals['_BROWSERRESPONSE']._serialized_start=949
  _globals['_BROWSERRESPONSE']._serialized_end=1136
  _globals['_BROWSERSERVICE']._serialized_start=1139
  _globals['_BROWSERSERVICE']._serialized_end=1721
# @@protoc_insertion_point(module_scope)