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

_sym_db = _symbol_database.Default()


from soulfire import api_docs_pb2 as soulfire_dot_api__docs__pb2
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


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bsoulfire/plugin_stats.proto\x12\x0bsoulfire.v1\x1a\x17soulfire/api_docs.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9e\x01\n\x0cPluginMetric\x12\x15\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x03key\x12&\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0b\x64isplayName\x12\x19\n\x05value\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02R\x05value\x12\x12\n\x04unit\x18\x04 \x01(\tR\x04unit\x12\x17\n\x04icon\x18\x05 \x01(\tH\x00R\x04icon\x88\x01\x01\x42\x07\n\x05_icon\"\xf9\x01\n\x11PluginRuntimeStat\x12 \n\tplugin_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x08pluginId\x12\x1d\n\x07\x65nabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02R\x07\x65nabled\x12-\n\x10\x61\x63tive_bot_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02R\x0e\x61\x63tiveBotCount\x12?\n\rrunning_since\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0crunningSince\x12\x33\n\x07metrics\x18\x05 \x03(\x0b\x32\x19.soulfire.v1.PluginMetricR\x07metrics\"O\n\x1dGetInstancePluginStatsRequest\x12.\n\x0binstance_id\x18\x01 \x01(\tB\r\xe0\x41\x02\xd2\xf3\x18\x06\n\x04uuidR\ninstanceId\"[\n\x1eGetInstancePluginStatsResponse\x12\x39\n\x05stats\x18\x01 \x03(\x0b\x32\x1e.soulfire.v1.PluginRuntimeStatB\x03\xe0\x41\x02R\x05stats2\xf2\x01\n\x12PluginStatsService\x12\xdb\x01\n\x16GetInstancePluginStats\x12*.soulfire.v1.GetInstancePluginStatsRequest\x1a+.soulfire.v1.GetInstancePluginStatsResponse\"h\xca\xf3\x18\x34\n\x19Get instance plugin stats\x1a\rREAD_BOT_INFO\"\x08instance\x82\xd3\xe4\x93\x02*\x12(/v1/instances/{instance_id}/plugin-statsB!\n\x1d\x63om.soulfiremc.grpc.generatedP\x01\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'soulfire.plugin_stats_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['_PLUGINMETRIC'].fields_by_name['key']._loaded_options = None
  _globals['_PLUGINMETRIC'].fields_by_name['key']._serialized_options = b'\340A\002'
  _globals['_PLUGINMETRIC'].fields_by_name['display_name']._loaded_options = None
  _globals['_PLUGINMETRIC'].fields_by_name['display_name']._serialized_options = b'\340A\002'
  _globals['_PLUGINMETRIC'].fields_by_name['value']._loaded_options = None
  _globals['_PLUGINMETRIC'].fields_by_name['value']._serialized_options = b'\340A\002'
  _globals['_PLUGINRUNTIMESTAT'].fields_by_name['plugin_id']._loaded_options = None
  _globals['_PLUGINRUNTIMESTAT'].fields_by_name['plugin_id']._serialized_options = b'\340A\002'
  _globals['_PLUGINRUNTIMESTAT'].fields_by_name['enabled']._loaded_options = None
  _globals['_PLUGINRUNTIMESTAT'].fields_by_name['enabled']._serialized_options = b'\340A\002'
  _globals['_PLUGINRUNTIMESTAT'].fields_by_name['active_bot_count']._loaded_options = None
  _globals['_PLUGINRUNTIMESTAT'].fields_by_name['active_bot_count']._serialized_options = b'\340A\002'
  _globals['_GETINSTANCEPLUGINSTATSREQUEST'].fields_by_name['instance_id']._loaded_options = None
  _globals['_GETINSTANCEPLUGINSTATSREQUEST'].fields_by_name['instance_id']._serialized_options = b'\340A\002\322\363\030\006\n\004uuid'
  _globals['_GETINSTANCEPLUGINSTATSRESPONSE'].fields_by_name['stats']._loaded_options = None
  _globals['_GETINSTANCEPLUGINSTATSRESPONSE'].fields_by_name['stats']._serialized_options = b'\340A\002'
  _globals['_PLUGINSTATSSERVICE'].methods_by_name['GetInstancePluginStats']._loaded_options = None
  _globals['_PLUGINSTATSSERVICE'].methods_by_name['GetInstancePluginStats']._serialized_options = b'\312\363\0304\n\031Get instance plugin stats\032\rREAD_BOT_INFO\"\010instance\202\323\344\223\002*\022(/v1/instances/{instance_id}/plugin-stats'
  _globals['_PLUGINMETRIC']._serialized_start=166
  _globals['_PLUGINMETRIC']._serialized_end=324
  _globals['_PLUGINRUNTIMESTAT']._serialized_start=327
  _globals['_PLUGINRUNTIMESTAT']._serialized_end=576
  _globals['_GETINSTANCEPLUGINSTATSREQUEST']._serialized_start=578
  _globals['_GETINSTANCEPLUGINSTATSREQUEST']._serialized_end=657
  _globals['_GETINSTANCEPLUGINSTATSRESPONSE']._serialized_start=659
  _globals['_GETINSTANCEPLUGINSTATSRESPONSE']._serialized_end=750
  _globals['_PLUGINSTATSSERVICE']._serialized_start=753
  _globals['_PLUGINSTATSSERVICE']._serialized_end=995
# @@protoc_insertion_point(module_scope)
