forked from amkovkov/GranuSightSoftware2
75 lines
9.9 KiB
Python
75 lines
9.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: lights.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,
|
|
'',
|
|
'lights.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0clights.proto\x12\x12GSS2.LightsControl\"\x07\n\x05\x45mpty\"I\n\x12StaticColorRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\t\n\x01r\x18\x02 \x01(\x05\x12\t\n\x01g\x18\x03 \x01(\x05\x12\t\n\x01\x62\x18\x04 \x01(\x05\"\x8f\x01\n\x16StaticGradient2Request\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\x0e\n\x06left_r\x18\x02 \x01(\x05\x12\x0e\n\x06left_g\x18\x03 \x01(\x05\x12\x0e\n\x06left_b\x18\x04 \x01(\x05\x12\x0f\n\x07right_r\x18\x05 \x01(\x05\x12\x0f\n\x07right_g\x18\x06 \x01(\x05\x12\x0f\n\x07right_b\x18\x07 \x01(\x05\"\xc5\x01\n\x16StaticGradient3Request\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\x0e\n\x06left_r\x18\x02 \x01(\x05\x12\x0e\n\x06left_g\x18\x03 \x01(\x05\x12\x0e\n\x06left_b\x18\x04 \x01(\x05\x12\x10\n\x08middle_r\x18\x05 \x01(\x05\x12\x10\n\x08middle_g\x18\x06 \x01(\x05\x12\x10\n\x08middle_b\x18\x07 \x01(\x05\x12\x0f\n\x07right_r\x18\x08 \x01(\x05\x12\x0f\n\x07right_g\x18\t \x01(\x05\x12\x0f\n\x07right_b\x18\n \x01(\x05\"*\n\x14StaticRainbowRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\"[\n\x15\x42reathingColorRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\t\n\x01r\x18\x03 \x01(\x05\x12\t\n\x01g\x18\x04 \x01(\x05\x12\t\n\x01\x62\x18\x05 \x01(\x05\"\xa1\x01\n\x19\x42reathingGradient2Request\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\x0e\n\x06left_r\x18\x03 \x01(\x05\x12\x0e\n\x06left_g\x18\x04 \x01(\x05\x12\x0e\n\x06left_b\x18\x05 \x01(\x05\x12\x0f\n\x07right_r\x18\x06 \x01(\x05\x12\x0f\n\x07right_g\x18\x07 \x01(\x05\x12\x0f\n\x07right_b\x18\x08 \x01(\x05\"\xd7\x01\n\x19\x42reathingGradient3Request\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\x0e\n\x06left_r\x18\x03 \x01(\x05\x12\x0e\n\x06left_g\x18\x04 \x01(\x05\x12\x0e\n\x06left_b\x18\x05 \x01(\x05\x12\x10\n\x08middle_r\x18\x06 \x01(\x05\x12\x10\n\x08middle_g\x18\x07 \x01(\x05\x12\x10\n\x08middle_b\x18\x08 \x01(\x05\x12\x0f\n\x07right_r\x18\t \x01(\x05\x12\x0f\n\x07right_g\x18\n \x01(\x05\x12\x0f\n\x07right_b\x18\x0b \x01(\x05\"<\n\x17\x42reathingRainbowRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\"w\n\x13RunningColorRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12\x0c\n\x04\x66\x61\x64\x65\x18\x04 \x01(\x05\x12\t\n\x01r\x18\x05 \x01(\x05\x12\t\n\x01g\x18\x06 \x01(\x05\x12\t\n\x01\x62\x18\x07 \x01(\x05\"\x9f\x01\n\x17RunningGradient2Request\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\x0e\n\x06left_r\x18\x03 \x01(\x05\x12\x0e\n\x06left_g\x18\x04 \x01(\x05\x12\x0e\n\x06left_b\x18\x05 \x01(\x05\x12\x0f\n\x07right_r\x18\x06 \x01(\x05\x12\x0f\n\x07right_g\x18\x07 \x01(\x05\x12\x0f\n\x07right_b\x18\x08 \x01(\x05\"\xd5\x01\n\x17RunningGradient3Request\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\x0e\n\x06left_r\x18\x03 \x01(\x05\x12\x0e\n\x06left_g\x18\x04 \x01(\x05\x12\x0e\n\x06left_b\x18\x05 \x01(\x05\x12\x10\n\x08middle_r\x18\x06 \x01(\x05\x12\x10\n\x08middle_g\x18\x07 \x01(\x05\x12\x10\n\x08middle_b\x18\x08 \x01(\x05\x12\x0f\n\x07right_r\x18\t \x01(\x05\x12\x0f\n\x07right_g\x18\n \x01(\x05\x12\x0f\n\x07right_b\x18\x0b \x01(\x05\":\n\x15RunningRainbowRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\"\xbb\x01\n\x0cSnakeRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\x13\n\x0bhead_length\x18\x03 \x01(\x05\x12\x13\n\x0btail_length\x18\x04 \x01(\x05\x12\x0e\n\x06head_r\x18\x05 \x01(\x05\x12\x0e\n\x06head_g\x18\x06 \x01(\x05\x12\x0e\n\x06head_b\x18\x07 \x01(\x05\x12\x0e\n\x06tail_r\x18\x08 \x01(\x05\x12\x0e\n\x06tail_g\x18\t \x01(\x05\x12\x0e\n\x06tail_b\x18\n \x01(\x05\"Q\n\x0b\x46ireRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\t\n\x01r\x18\x03 \x01(\x05\x12\t\n\x01g\x18\x04 \x01(\x05\x12\t\n\x01\x62\x18\x05 \x01(\x05\"U\n\x0fSnowfallRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\t\n\x01r\x18\x03 \x01(\x05\x12\t\n\x01g\x18\x04 \x01(\x05\x12\t\n\x01\x62\x18\x05 \x01(\x05\"R\n\x0c\x46lashRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\t\n\x01r\x18\x03 \x01(\x05\x12\t\n\x01g\x18\x04 \x01(\x05\x12\t\n\x01\x62\x18\x05 \x01(\x05\"x\n\x0bLoadRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\x0f\n\x07percent\x18\x03 \x01(\x01\x12\x14\n\x0clast_percent\x18\x04 \x01(\x01\x12\t\n\x01r\x18\x05 \x01(\x05\x12\t\n\x01g\x18\x06 \x01(\x05\x12\t\n\x01\x62\x18\x07 \x01(\x05\"T\n\x0e\x43puLoadRequest\x12\x12\n\nbrightness\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\t\n\x01r\x18\x03 \x01(\x05\x12\t\n\x01g\x18\x04 \x01(\x05\x12\t\n\x01\x62\x18\x05 \x01(\x05\x32\x9a\r\n\x06Lights\x12<\n\x04Ping\x12\x19.GSS2.LightsControl.Empty\x1a\x19.GSS2.LightsControl.Empty\x12>\n\x06SetOff\x12\x19.GSS2.LightsControl.Empty\x1a\x19.GSS2.LightsControl.Empty\x12S\n\x0eSetStaticColor\x12&.GSS2.LightsControl.StaticColorRequest\x1a\x19.GSS2.LightsControl.Empty\x12[\n\x12SetStaticGradient2\x12*.GSS2.LightsControl.StaticGradient2Request\x1a\x19.GSS2.LightsControl.Empty\x12[\n\x12SetStaticGradient3\x12*.GSS2.LightsControl.StaticGradient3Request\x1a\x19.GSS2.LightsControl.Empty\x12W\n\x10SetStaticRainbow\x12(.GSS2.LightsControl.StaticRainbowRequest\x1a\x19.GSS2.LightsControl.Empty\x12Y\n\x11SetBreathingColor\x12).GSS2.LightsControl.BreathingColorRequest\x1a\x19.GSS2.LightsControl.Empty\x12\x61\n\x15SetBreathingGradient2\x12-.GSS2.LightsControl.BreathingGradient2Request\x1a\x19.GSS2.LightsControl.Empty\x12\x61\n\x15SetBreathingGradient3\x12-.GSS2.LightsControl.BreathingGradient3Request\x1a\x19.GSS2.LightsControl.Empty\x12]\n\x13SetBreathingRainbow\x12+.GSS2.LightsControl.BreathingRainbowRequest\x1a\x19.GSS2.LightsControl.Empty\x12U\n\x0fSetRunningColor\x12\'.GSS2.LightsControl.RunningColorRequest\x1a\x19.GSS2.LightsControl.Empty\x12]\n\x13SetRunningGradient2\x12+.GSS2.LightsControl.RunningGradient2Request\x1a\x19.GSS2.LightsControl.Empty\x12]\n\x13SetRunningGradient3\x12+.GSS2.LightsControl.RunningGradient3Request\x1a\x19.GSS2.LightsControl.Empty\x12Y\n\x11SetRunningRainbow\x12).GSS2.LightsControl.RunningRainbowRequest\x1a\x19.GSS2.LightsControl.Empty\x12G\n\x08SetSnake\x12 .GSS2.LightsControl.SnakeRequest\x1a\x19.GSS2.LightsControl.Empty\x12\x45\n\x07SetFire\x12\x1f.GSS2.LightsControl.FireRequest\x1a\x19.GSS2.LightsControl.Empty\x12M\n\x0bSetSnowfall\x12#.GSS2.LightsControl.SnowfallRequest\x1a\x19.GSS2.LightsControl.Empty\x12G\n\x08SetFlash\x12 .GSS2.LightsControl.FlashRequest\x1a\x19.GSS2.LightsControl.Empty\x12\x45\n\x07SetLoad\x12\x1f.GSS2.LightsControl.LoadRequest\x1a\x19.GSS2.LightsControl.Empty\x12K\n\nSetCpuLoad\x12\".GSS2.LightsControl.CpuLoadRequest\x1a\x19.GSS2.LightsControl.Emptyb\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'lights_pb2', _globals)
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
DESCRIPTOR._loaded_options = None
|
|
_globals['_EMPTY']._serialized_start=36
|
|
_globals['_EMPTY']._serialized_end=43
|
|
_globals['_STATICCOLORREQUEST']._serialized_start=45
|
|
_globals['_STATICCOLORREQUEST']._serialized_end=118
|
|
_globals['_STATICGRADIENT2REQUEST']._serialized_start=121
|
|
_globals['_STATICGRADIENT2REQUEST']._serialized_end=264
|
|
_globals['_STATICGRADIENT3REQUEST']._serialized_start=267
|
|
_globals['_STATICGRADIENT3REQUEST']._serialized_end=464
|
|
_globals['_STATICRAINBOWREQUEST']._serialized_start=466
|
|
_globals['_STATICRAINBOWREQUEST']._serialized_end=508
|
|
_globals['_BREATHINGCOLORREQUEST']._serialized_start=510
|
|
_globals['_BREATHINGCOLORREQUEST']._serialized_end=601
|
|
_globals['_BREATHINGGRADIENT2REQUEST']._serialized_start=604
|
|
_globals['_BREATHINGGRADIENT2REQUEST']._serialized_end=765
|
|
_globals['_BREATHINGGRADIENT3REQUEST']._serialized_start=768
|
|
_globals['_BREATHINGGRADIENT3REQUEST']._serialized_end=983
|
|
_globals['_BREATHINGRAINBOWREQUEST']._serialized_start=985
|
|
_globals['_BREATHINGRAINBOWREQUEST']._serialized_end=1045
|
|
_globals['_RUNNINGCOLORREQUEST']._serialized_start=1047
|
|
_globals['_RUNNINGCOLORREQUEST']._serialized_end=1166
|
|
_globals['_RUNNINGGRADIENT2REQUEST']._serialized_start=1169
|
|
_globals['_RUNNINGGRADIENT2REQUEST']._serialized_end=1328
|
|
_globals['_RUNNINGGRADIENT3REQUEST']._serialized_start=1331
|
|
_globals['_RUNNINGGRADIENT3REQUEST']._serialized_end=1544
|
|
_globals['_RUNNINGRAINBOWREQUEST']._serialized_start=1546
|
|
_globals['_RUNNINGRAINBOWREQUEST']._serialized_end=1604
|
|
_globals['_SNAKEREQUEST']._serialized_start=1607
|
|
_globals['_SNAKEREQUEST']._serialized_end=1794
|
|
_globals['_FIREREQUEST']._serialized_start=1796
|
|
_globals['_FIREREQUEST']._serialized_end=1877
|
|
_globals['_SNOWFALLREQUEST']._serialized_start=1879
|
|
_globals['_SNOWFALLREQUEST']._serialized_end=1964
|
|
_globals['_FLASHREQUEST']._serialized_start=1966
|
|
_globals['_FLASHREQUEST']._serialized_end=2048
|
|
_globals['_LOADREQUEST']._serialized_start=2050
|
|
_globals['_LOADREQUEST']._serialized_end=2170
|
|
_globals['_CPULOADREQUEST']._serialized_start=2172
|
|
_globals['_CPULOADREQUEST']._serialized_end=2256
|
|
_globals['_LIGHTS']._serialized_start=2259
|
|
_globals['_LIGHTS']._serialized_end=3949
|
|
# @@protoc_insertion_point(module_scope)
|