Files
zwift-offline/protobuf/goal_pb2.py
Юрий Першин f94263b5ae new version and proto++
2022-02-20 13:34:04 +05:00

45 lines
1.9 KiB
Python

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: goal.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
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\ngoal.proto\"\x80\x02\n\x04Goal\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x11\n\tplayer_id\x18\x02 \x01(\x04\x12\n\n\x02\x66\x33\x18\x03 \x01(\x03\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0c\n\x04type\x18\x05 \x01(\x03\x12\x13\n\x0bperiodicity\x18\x06 \x01(\x03\x12\x17\n\x0ftarget_distance\x18\x07 \x01(\x02\x12\x17\n\x0ftarget_duration\x18\x08 \x01(\x02\x12\x17\n\x0f\x61\x63tual_distance\x18\t \x01(\x02\x12\x17\n\x0f\x61\x63tual_duration\x18\n \x01(\x02\x12\x12\n\ncreated_on\x18\x0b \x01(\x04\x12\x17\n\x0fperiod_end_date\x18\x0c \x01(\x04\x12\x0b\n\x03\x66\x31\x33\x18\r \x01(\x04\"\x1d\n\x05Goals\x12\x14\n\x05goals\x18\x01 \x03(\x0b\x32\x05.Goal')
_GOAL = DESCRIPTOR.message_types_by_name['Goal']
_GOALS = DESCRIPTOR.message_types_by_name['Goals']
Goal = _reflection.GeneratedProtocolMessageType('Goal', (_message.Message,), {
'DESCRIPTOR' : _GOAL,
'__module__' : 'goal_pb2'
# @@protoc_insertion_point(class_scope:Goal)
})
_sym_db.RegisterMessage(Goal)
Goals = _reflection.GeneratedProtocolMessageType('Goals', (_message.Message,), {
'DESCRIPTOR' : _GOALS,
'__module__' : 'goal_pb2'
# @@protoc_insertion_point(class_scope:Goals)
})
_sym_db.RegisterMessage(Goals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_GOAL._serialized_start=15
_GOAL._serialized_end=271
_GOALS._serialized_start=273
_GOALS._serialized_end=302
# @@protoc_insertion_point(module_scope)