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

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from soulfire import api_docs_pb2 as soulfire_dot_api__docs__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17soulfire/protocol.proto\x12\x0bsoulfire.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17soulfire/api_docs.proto\"V\n\x12\x42otProtocolRequest\x12$\n\x0binstance_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\ninstanceId\x12\x1a\n\x06\x62ot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x05\x62otId\"\xfe\x03\n\x0f\x42otProtocolInfo\x12<\n\x1aminecraft_protocol_version\x18\x01 \x01(\x05R\x18minecraftProtocolVersion\x12\x34\n\x16minecraft_version_name\x18\x02 \x01(\tR\x14minecraftVersionName\x12%\n\x0eprotocol_state\x18\x03 \x01(\tR\rprotocolState\x12@\n\x1cpacket_observation_supported\x18\x04 \x01(\x08R\x1apacketObservationSupported\x12;\n\x1araw_packet_sending_enabled\x18\x05 \x01(\x08R\x17rawPacketSendingEnabled\x12\x30\n\x14maximum_packet_bytes\x18\x06 \x01(\rR\x12maximumPacketBytes\x12\x37\n\x18maximum_sends_per_second\x18\x07 \x01(\rR\x15maximumSendsPerSecond\x12\x36\n\x17remote_protocol_version\x18\x08 \x01(\x05R\x15remoteProtocolVersion\x12.\n\x13remote_version_name\x18\t \x01(\tR\x11remoteVersionName\"\x9d\x01\n\x18ListPacketSchemasRequest\x12$\n\x0binstance_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\ninstanceId\x12\x1a\n\x06\x62ot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x05\x62otId\x12?\n\tdirection\x18\x03 \x01(\x0e\x32\x1c.soulfire.v1.PacketDirectionB\x03\xe0\x41\x02R\tdirection\"\xa4\x01\n\x0cPacketSchema\x12:\n\tdirection\x18\x01 \x01(\x0e\x32\x1c.soulfire.v1.PacketDirectionR\tdirection\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n\nnetwork_id\x18\x03 \x01(\rR\tnetworkId\x12%\n\x0eprotocol_state\x18\x04 \x01(\tR\rprotocolState\"P\n\x19ListPacketSchemasResponse\x12\x33\n\x07packets\x18\x01 \x03(\x0b\x32\x19.soulfire.v1.PacketSchemaR\x07packets\"\x95\x02\n\x13WatchPacketsRequest\x12$\n\x0binstance_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\ninstanceId\x12\x1a\n\x06\x62ot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x05\x62otId\x12<\n\ndirections\x18\x03 \x03(\x0e\x32\x1c.soulfire.v1.PacketDirectionR\ndirections\x12\x14\n\x05names\x18\x04 \x03(\tR\x05names\x12\x34\n\x16include_encoded_packet\x18\x05 \x01(\x08R\x14includeEncodedPacket\x12\x32\n\x15maximum_encoded_bytes\x18\x06 \x01(\rR\x13maximumEncodedBytes\"\xaf\x03\n\x0eRawPacketEvent\x12\x1a\n\x08sequence\x18\x01 \x01(\x04R\x08sequence\x12;\n\x0bobserved_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nobservedAt\x12:\n\tdirection\x18\x03 \x01(\x0e\x32\x1c.soulfire.v1.PacketDirectionR\tdirection\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x1d\n\nnetwork_id\x18\x05 \x01(\rR\tnetworkId\x12%\n\x0eprotocol_state\x18\x06 \x01(\tR\rprotocolState\x12&\n\x0fjava_class_name\x18\x07 \x01(\tR\rjavaClassName\x12%\n\x0e\x65ncoded_packet\x18\x08 \x01(\x0cR\rencodedPacket\x12\x38\n\x18\x65ncoded_packet_truncated\x18\t \x01(\x08R\x16\x65ncodedPacketTruncated\x12%\n\x0e\x64ropped_before\x18\n \x01(\x04R\rdroppedBefore\"\xc0\x01\n\x14SendRawPacketRequest\x12$\n\x0binstance_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\ninstanceId\x12\x1a\n\x06\x62ot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x05\x62otId\x12*\n\x0e\x65ncoded_packet\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x02R\rencodedPacket\x12(\n\rexpected_name\x18\x04 \x01(\tH\x00R\x0c\x65xpectedName\x88\x01\x01\x42\x10\n\x0e_expected_name\"P\n\x15SendRawPacketResponse\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12#\n\rencoded_bytes\x18\x02 \x01(\rR\x0c\x65ncodedBytes*w\n\x0fPacketDirection\x12 \n\x1cPACKET_DIRECTION_UNSPECIFIED\x10\x00\x12 \n\x1cPACKET_DIRECTION_CLIENTBOUND\x10\x01\x12 \n\x1cPACKET_DIRECTION_SERVERBOUND\x10\x02\x32\xaa\x08\n\x12\x42otProtocolService\x12\xcb\x01\n\x0fGetProtocolInfo\x12\x1f.soulfire.v1.BotProtocolRequest\x1a\x1c.soulfire.v1.BotProtocolInfo\"y\xca\xf3\x18;\n\x1cGet bot protocol information\x1a\rREAD_BOT_INFO\"\x0cinstance.bot\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/instances/{instance_id}/bots/{bot_id}/protocol\x12\xe8\x01\n\x11ListPacketSchemas\x12%.soulfire.v1.ListPacketSchemasRequest\x1a&.soulfire.v1.ListPacketSchemasResponse\"\x83\x01\xca\xf3\x18=\n\x1eList negotiated packet schemas\x1a\rREAD_BOT_INFO\"\x0cinstance.bot\x82\xd3\xe4\x93\x02<\x12:/v1/instances/{instance_id}/bots/{bot_id}/protocol/packets\x12\xdc\x01\n\x0cWatchPackets\x12 .soulfire.v1.WatchPacketsRequest\x1a\x1b.soulfire.v1.RawPacketEvent\"\x8a\x01\xca\xf3\x18\x85\x01\n\x1bWatch raw Minecraft packets\x1a\rREAD_BOT_INFO\"\x0cinstance.bot2IStreams filtered version-dependent packet observations with backpressure.0\x01\x12\xfb\x02\n\rSendRawPacket\x12!.soulfire.v1.SendRawPacketRequest\x1a\".soulfire.v1.SendRawPacketResponse\"\xa2\x02\xca\xf3\x18\xd3\x01\n\x1bSend a raw Minecraft packet\x1a\x0cRAW_PROTOCOL\"\x0cinstance.bot2SValidates and injects one unframed packet through the negotiated serverbound codec.:CCan perform arbitrary version-dependent Minecraft protocol actions.\x82\xd3\xe4\x93\x02\x44\"?/v1/instances/{instance_id}/bots/{bot_id}/protocol/packets:send:\x01*B!\n\x1d\x63om.soulfiremc.grpc.generatedP\x01\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'soulfire.protocol_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\035com.soulfiremc.grpc.generatedP\001'
  _globals['_BOTPROTOCOLREQUEST'].fields_by_name['instance_id']._loaded_options = None
  _globals['_BOTPROTOCOLREQUEST'].fields_by_name['instance_id']._serialized_options = b'\340A\002'
  _globals['_BOTPROTOCOLREQUEST'].fields_by_name['bot_id']._loaded_options = None
  _globals['_BOTPROTOCOLREQUEST'].fields_by_name['bot_id']._serialized_options = b'\340A\002'
  _globals['_LISTPACKETSCHEMASREQUEST'].fields_by_name['instance_id']._loaded_options = None
  _globals['_LISTPACKETSCHEMASREQUEST'].fields_by_name['instance_id']._serialized_options = b'\340A\002'
  _globals['_LISTPACKETSCHEMASREQUEST'].fields_by_name['bot_id']._loaded_options = None
  _globals['_LISTPACKETSCHEMASREQUEST'].fields_by_name['bot_id']._serialized_options = b'\340A\002'
  _globals['_LISTPACKETSCHEMASREQUEST'].fields_by_name['direction']._loaded_options = None
  _globals['_LISTPACKETSCHEMASREQUEST'].fields_by_name['direction']._serialized_options = b'\340A\002'
  _globals['_WATCHPACKETSREQUEST'].fields_by_name['instance_id']._loaded_options = None
  _globals['_WATCHPACKETSREQUEST'].fields_by_name['instance_id']._serialized_options = b'\340A\002'
  _globals['_WATCHPACKETSREQUEST'].fields_by_name['bot_id']._loaded_options = None
  _globals['_WATCHPACKETSREQUEST'].fields_by_name['bot_id']._serialized_options = b'\340A\002'
  _globals['_SENDRAWPACKETREQUEST'].fields_by_name['instance_id']._loaded_options = None
  _globals['_SENDRAWPACKETREQUEST'].fields_by_name['instance_id']._serialized_options = b'\340A\002'
  _globals['_SENDRAWPACKETREQUEST'].fields_by_name['bot_id']._loaded_options = None
  _globals['_SENDRAWPACKETREQUEST'].fields_by_name['bot_id']._serialized_options = b'\340A\002'
  _globals['_SENDRAWPACKETREQUEST'].fields_by_name['encoded_packet']._loaded_options = None
  _globals['_SENDRAWPACKETREQUEST'].fields_by_name['encoded_packet']._serialized_options = b'\340A\002'
  _globals['_BOTPROTOCOLSERVICE'].methods_by_name['GetProtocolInfo']._loaded_options = None
  _globals['_BOTPROTOCOLSERVICE'].methods_by_name['GetProtocolInfo']._serialized_options = b'\312\363\030;\n\034Get bot protocol information\032\rREAD_BOT_INFO\"\014instance.bot\202\323\344\223\0024\0222/v1/instances/{instance_id}/bots/{bot_id}/protocol'
  _globals['_BOTPROTOCOLSERVICE'].methods_by_name['ListPacketSchemas']._loaded_options = None
  _globals['_BOTPROTOCOLSERVICE'].methods_by_name['ListPacketSchemas']._serialized_options = b'\312\363\030=\n\036List negotiated packet schemas\032\rREAD_BOT_INFO\"\014instance.bot\202\323\344\223\002<\022:/v1/instances/{instance_id}/bots/{bot_id}/protocol/packets'
  _globals['_BOTPROTOCOLSERVICE'].methods_by_name['WatchPackets']._loaded_options = None
  _globals['_BOTPROTOCOLSERVICE'].methods_by_name['WatchPackets']._serialized_options = b'\312\363\030\205\001\n\033Watch raw Minecraft packets\032\rREAD_BOT_INFO\"\014instance.bot2IStreams filtered version-dependent packet observations with backpressure.'
  _globals['_BOTPROTOCOLSERVICE'].methods_by_name['SendRawPacket']._loaded_options = None
  _globals['_BOTPROTOCOLSERVICE'].methods_by_name['SendRawPacket']._serialized_options = b'\312\363\030\323\001\n\033Send a raw Minecraft packet\032\014RAW_PROTOCOL\"\014instance.bot2SValidates and injects one unframed packet through the negotiated serverbound codec.:CCan perform arbitrary version-dependent Minecraft protocol actions.\202\323\344\223\002D\"?/v1/instances/{instance_id}/bots/{bot_id}/protocol/packets:send:\001*'
  _globals['_PACKETDIRECTION']._serialized_start=2162
  _globals['_PACKETDIRECTION']._serialized_end=2281
  _globals['_BOTPROTOCOLREQUEST']._serialized_start=161
  _globals['_BOTPROTOCOLREQUEST']._serialized_end=247
  _globals['_BOTPROTOCOLINFO']._serialized_start=250
  _globals['_BOTPROTOCOLINFO']._serialized_end=760
  _globals['_LISTPACKETSCHEMASREQUEST']._serialized_start=763
  _globals['_LISTPACKETSCHEMASREQUEST']._serialized_end=920
  _globals['_PACKETSCHEMA']._serialized_start=923
  _globals['_PACKETSCHEMA']._serialized_end=1087
  _globals['_LISTPACKETSCHEMASRESPONSE']._serialized_start=1089
  _globals['_LISTPACKETSCHEMASRESPONSE']._serialized_end=1169
  _globals['_WATCHPACKETSREQUEST']._serialized_start=1172
  _globals['_WATCHPACKETSREQUEST']._serialized_end=1449
  _globals['_RAWPACKETEVENT']._serialized_start=1452
  _globals['_RAWPACKETEVENT']._serialized_end=1883
  _globals['_SENDRAWPACKETREQUEST']._serialized_start=1886
  _globals['_SENDRAWPACKETREQUEST']._serialized_end=2078
  _globals['_SENDRAWPACKETRESPONSE']._serialized_start=2080
  _globals['_SENDRAWPACKETRESPONSE']._serialized_end=2160
  _globals['_BOTPROTOCOLSERVICE']._serialized_start=2284
  _globals['_BOTPROTOCOLSERVICE']._serialized_end=3350
# @@protoc_insertion_point(module_scope)
