# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: sys-mon-agent-api.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() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17sys-mon-agent-api.proto\x12\x11sys_mon_agent_api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\"M\n\x12\x41gentConfiguration\x12\x1b\n\x13services_to_monitor\x18\x02 \x03(\t\x12\x1a\n\x12storage_to_monitor\x18\x03 \x03(\t\".\n\x1a\x41gentConfigurationResponse\x12\x10\n\x08hostname\x18\x01 \x01(\t\"~\n\x0fMonitoringStats\x12\x35\n\x08services\x18\x01 \x03(\x0b\x32#.sys_mon_agent_api.MonitoredService\x12\x34\n\x07storage\x18\x02 \x03(\x0b\x32#.sys_mon_agent_api.MonitoredStorage\"\xff\x01\n\x10MonitoredService\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x05state\x18\x02 \x01(\x0e\x32(.sys_mon_agent_api.MonitoredServiceState\x12\x16\n\x0eresult_success\x18\x03 \x01(\x08\x12\x35\n\x0cmain_started\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x34\n\x0bmain_exited\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x42\x0f\n\r_main_startedB\x0e\n\x0c_main_exited\"E\n\x10MonitoredStorage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nsmart_pass\x18\x02 \x01(\x08\x12\x0f\n\x07present\x18\x03 \x01(\x08*n\n\x15MonitoredServiceState\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\r\n\tRELOADING\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0e\n\nACTIVATING\x10\x04\x12\x10\n\x0c\x44\x45\x41\x43TIVATING\x10\x05\x32\xae\x01\n\x05\x41gent\x12\x61\n\tConfigure\x12%.sys_mon_agent_api.AgentConfiguration\x1a-.sys_mon_agent_api.AgentConfigurationResponse\x12\x42\n\x04Poll\x12\x16.google.protobuf.Empty\x1a\".sys_mon_agent_api.MonitoringStatsb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sys_mon_agent_api_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _globals['_MONITOREDSERVICESTATE']._serialized_start=692 _globals['_MONITOREDSERVICESTATE']._serialized_end=802 _globals['_AGENTCONFIGURATION']._serialized_start=108 _globals['_AGENTCONFIGURATION']._serialized_end=185 _globals['_AGENTCONFIGURATIONRESPONSE']._serialized_start=187 _globals['_AGENTCONFIGURATIONRESPONSE']._serialized_end=233 _globals['_MONITORINGSTATS']._serialized_start=235 _globals['_MONITORINGSTATS']._serialized_end=361 _globals['_MONITOREDSERVICE']._serialized_start=364 _globals['_MONITOREDSERVICE']._serialized_end=619 _globals['_MONITOREDSTORAGE']._serialized_start=621 _globals['_MONITOREDSTORAGE']._serialized_end=690 _globals['_AGENT']._serialized_start=805 _globals['_AGENT']._serialized_end=979 # @@protoc_insertion_point(module_scope)