ref: master
yats-connector-python/yats_grpc_pb2.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: yats-grpc.proto """Generated protocol buffer code.""" from google.protobuf.internal import builder as _builder 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 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fyats-grpc.proto\x12\x04yats\"G\n\x06Metric\x12\x11\n\tid_client\x18\x01 \x01(\t\x12\r\n\x05mtime\x18\x02 \x01(\x03\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\r\n\x05value\x18\x04 \x01(\t\"7\n\x05\x45vent\x12\x11\n\tid_client\x18\x01 \x01(\t\x12\r\n\x05\x65time\x18\x02 \x01(\x03\x12\x0c\n\x04name\x18\x03 \x01(\t\"3\n\x13\x43reateMetricRequest\x12\x1c\n\x06metric\x18\x01 \x01(\x0b\x32\x0c.yats.Metric\"4\n\x14\x43reateMetricResponse\x12\x1c\n\x06metric\x18\x01 \x01(\x0b\x32\x0c.yats.Metric\"0\n\x12\x43reateEventRequest\x12\x1a\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x0b.yats.Event\"1\n\x13\x43reateEventResponse\x12\x1a\n\x05\x65vent\x18\x01 \x01(\x0b\x32\x0b.yats.Event2\x9c\x01\n\x0fYatsGrpcService\x12\x45\n\x0c\x43reateMetric\x12\x19.yats.CreateMetricRequest\x1a\x1a.yats.CreateMetricResponse\x12\x42\n\x0b\x43reateEvent\x12\x18.yats.CreateEventRequest\x1a\x19.yats.CreateEventResponseB\'\n\x17\x63om.kevwe.yats.protobufP\x01Z\nyats/protob\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yats_grpc_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\027com.kevwe.yats.protobufP\001Z\nyats/proto' _METRIC._serialized_start=25 _METRIC._serialized_end=96 _EVENT._serialized_start=98 _EVENT._serialized_end=153 _CREATEMETRICREQUEST._serialized_start=155 _CREATEMETRICREQUEST._serialized_end=206 _CREATEMETRICRESPONSE._serialized_start=208 _CREATEMETRICRESPONSE._serialized_end=260 _CREATEEVENTREQUEST._serialized_start=262 _CREATEEVENTREQUEST._serialized_end=310 _CREATEEVENTRESPONSE._serialized_start=312 _CREATEEVENTRESPONSE._serialized_end=361 _YATSGRPCSERVICE._serialized_start=364 _YATSGRPCSERVICE._serialized_end=520 # @@protoc_insertion_point(module_scope) |