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

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0ctunnel.proto\x12\x08terminal\"w\n\x0cTunnelCreate\x12\x11\n\ttunnel_id\x18\x01 \x01(\t\x12\x15\n\rlocal_address\x18\x02 \x01(\t\x12*\n\x08protocol\x18\x03 \x01(\x0e\x32\x18.terminal.TunnelProtocol\x12\x11\n\tsubdomain\x18\x04 \x01(\t\"\x93\x02\n\nTunnelData\x12\x11\n\ttunnel_id\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x10\n\x08sequence\x18\x04 \x01(\x05\x12\x12\n\nis_request\x18\x05 \x01(\x08\x12\x10\n\x08is_close\x18\x06 \x01(\x08\x12\x0e\n\x06method\x18\x07 \x01(\t\x12\x0c\n\x04path\x18\x08 \x01(\t\x12\x13\n\x0bstatus_code\x18\t \x01(\x05\x12\x32\n\x07headers\x18\n \x03(\x0b\x32!.terminal.TunnelData.HeadersEntry\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"0\n\x0bTunnelClose\x12\x11\n\ttunnel_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"V\n\rTunnelCreated\x12\x11\n\ttunnel_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x12\n\npublic_url\x18\x04 \x01(\t\"!\n\x0cTunnelClosed\x12\x11\n\ttunnel_id\x18\x01 \x01(\t\"n\n\x0bTunnelError\x12\x11\n\ttunnel_id\x18\x01 \x01(\t\x12\x15\n\rconnection_id\x18\x02 \x01(\t\x12\x12\n\nerror_code\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\t\x12\x10\n\x08is_fatal\x18\x05 \x01(\x08*\x90\x01\n\x0bTunnelState\x12\x1c\n\x18TUNNEL_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15TUNNEL_STATE_CREATING\x10\x01\x12\x17\n\x13TUNNEL_STATE_ACTIVE\x10\x02\x12\x17\n\x13TUNNEL_STATE_CLOSED\x10\x03\x12\x16\n\x12TUNNEL_STATE_ERROR\x10\x04*^\n\x0eTunnelProtocol\x12\x18\n\x14TUNNEL_PROTOCOL_HTTP\x10\x00\x12\x19\n\x15TUNNEL_PROTOCOL_HTTPS\x10\x01\x12\x17\n\x13TUNNEL_PROTOCOL_TCP\x10\x02\x42\x10Z\x0eterminal/protob\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tunnel_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z\016terminal/proto'
  _globals['_TUNNELDATA_HEADERSENTRY']._loaded_options = None
  _globals['_TUNNELDATA_HEADERSENTRY']._serialized_options = b'8\001'
  _globals['_TUNNELSTATE']._serialized_start=711
  _globals['_TUNNELSTATE']._serialized_end=855
  _globals['_TUNNELPROTOCOL']._serialized_start=857
  _globals['_TUNNELPROTOCOL']._serialized_end=951
  _globals['_TUNNELCREATE']._serialized_start=26
  _globals['_TUNNELCREATE']._serialized_end=145
  _globals['_TUNNELDATA']._serialized_start=148
  _globals['_TUNNELDATA']._serialized_end=423
  _globals['_TUNNELDATA_HEADERSENTRY']._serialized_start=377
  _globals['_TUNNELDATA_HEADERSENTRY']._serialized_end=423
  _globals['_TUNNELCLOSE']._serialized_start=425
  _globals['_TUNNELCLOSE']._serialized_end=473
  _globals['_TUNNELCREATED']._serialized_start=475
  _globals['_TUNNELCREATED']._serialized_end=561
  _globals['_TUNNELCLOSED']._serialized_start=563
  _globals['_TUNNELCLOSED']._serialized_end=596
  _globals['_TUNNELERROR']._serialized_start=598
  _globals['_TUNNELERROR']._serialized_end=708
# @@protoc_insertion_point(module_scope)
