predict-coin/predict_pb2.py

319 lines
11 KiB
Python
Raw Normal View History

2021-03-25 09:36:09 +00:00
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: predict.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
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.FileDescriptor(
name='predict.proto',
2021-03-26 03:55:17 +00:00
package='databoard',
2021-03-25 09:36:09 +00:00
syntax='proto3',
2021-03-26 03:55:17 +00:00
serialized_options=b'Z\020learning/predict',
2021-03-25 09:36:09 +00:00
create_key=_descriptor._internal_create_key,
2021-03-26 03:55:17 +00:00
serialized_pb=b'\n\rpredict.proto\x12\tdataboard\"?\n\nRequestPay\x12\x0c\n\x04Hour\x18\x01 \x01(\x05\x12\x0c\n\x04\x43oin\x18\x02 \x01(\x03\x12\x15\n\rYesterdayCoin\x18\x03 \x01(\x03\"@\n\x0bRequestGift\x12\x0c\n\x04Hour\x18\x01 \x01(\x05\x12\x0c\n\x04\x43oin\x18\x02 \x01(\x03\x12\x15\n\rYesterdayCoin\x18\x03 \x01(\x03\",\n\x0bReplyHeader\x12\x0c\n\x04\x43ode\x18\x01 \x01(\x05\x12\x0f\n\x07Message\x18\x02 \x01(\t\"B\n\x08ReplyPay\x12&\n\x06Header\x18\x01 \x01(\x0b\x32\x16.databoard.ReplyHeader\x12\x0e\n\x06Result\x18\x02 \x01(\x03\"C\n\tReplyGift\x12&\n\x06Header\x18\x01 \x01(\x0b\x32\x16.databoard.ReplyHeader\x12\x0e\n\x06Result\x18\x02 \x01(\x03\x32|\n\x07Predict\x12\x36\n\x06PayDay\x12\x15.databoard.RequestPay\x1a\x13.databoard.ReplyPay\"\x00\x12\x39\n\x07GiftDay\x12\x16.databoard.RequestGift\x1a\x14.databoard.ReplyGift\"\x00\x42\x12Z\x10learning/predictb\x06proto3'
2021-03-25 09:36:09 +00:00
)
_REQUESTPAY = _descriptor.Descriptor(
name='RequestPay',
2021-03-26 03:55:17 +00:00
full_name='databoard.RequestPay',
2021-03-25 09:36:09 +00:00
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Hour', full_name='databoard.RequestPay.Hour', index=0,
2021-03-25 09:36:09 +00:00
number=1, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Coin', full_name='databoard.RequestPay.Coin', index=1,
2021-03-25 09:36:09 +00:00
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='YesterdayCoin', full_name='databoard.RequestPay.YesterdayCoin', index=2,
2021-03-25 09:36:09 +00:00
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
2021-03-26 03:55:17 +00:00
serialized_start=28,
serialized_end=91,
2021-03-25 09:36:09 +00:00
)
_REQUESTGIFT = _descriptor.Descriptor(
name='RequestGift',
2021-03-26 03:55:17 +00:00
full_name='databoard.RequestGift',
2021-03-25 09:36:09 +00:00
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Hour', full_name='databoard.RequestGift.Hour', index=0,
2021-03-25 09:36:09 +00:00
number=1, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Coin', full_name='databoard.RequestGift.Coin', index=1,
2021-03-25 09:36:09 +00:00
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='YesterdayCoin', full_name='databoard.RequestGift.YesterdayCoin', index=2,
2021-03-25 09:36:09 +00:00
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
2021-03-26 03:55:17 +00:00
serialized_start=93,
serialized_end=157,
2021-03-25 09:36:09 +00:00
)
_REPLYHEADER = _descriptor.Descriptor(
name='ReplyHeader',
2021-03-26 03:55:17 +00:00
full_name='databoard.ReplyHeader',
2021-03-25 09:36:09 +00:00
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Code', full_name='databoard.ReplyHeader.Code', index=0,
2021-03-25 09:36:09 +00:00
number=1, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Message', full_name='databoard.ReplyHeader.Message', index=1,
2021-03-25 09:36:09 +00:00
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
2021-03-26 03:55:17 +00:00
serialized_start=159,
serialized_end=203,
2021-03-25 09:36:09 +00:00
)
_REPLYPAY = _descriptor.Descriptor(
name='ReplyPay',
2021-03-26 03:55:17 +00:00
full_name='databoard.ReplyPay',
2021-03-25 09:36:09 +00:00
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Header', full_name='databoard.ReplyPay.Header', index=0,
2021-03-25 09:36:09 +00:00
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Result', full_name='databoard.ReplyPay.Result', index=1,
2021-03-25 09:36:09 +00:00
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
2021-03-26 03:55:17 +00:00
serialized_start=205,
serialized_end=271,
2021-03-25 09:36:09 +00:00
)
_REPLYGIFT = _descriptor.Descriptor(
name='ReplyGift',
2021-03-26 03:55:17 +00:00
full_name='databoard.ReplyGift',
2021-03-25 09:36:09 +00:00
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Header', full_name='databoard.ReplyGift.Header', index=0,
2021-03-25 09:36:09 +00:00
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
2021-03-26 03:55:17 +00:00
name='Result', full_name='databoard.ReplyGift.Result', index=1,
2021-03-25 09:36:09 +00:00
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
2021-03-26 03:55:17 +00:00
serialized_start=273,
serialized_end=340,
2021-03-25 09:36:09 +00:00
)
_REPLYPAY.fields_by_name['Header'].message_type = _REPLYHEADER
_REPLYGIFT.fields_by_name['Header'].message_type = _REPLYHEADER
DESCRIPTOR.message_types_by_name['RequestPay'] = _REQUESTPAY
DESCRIPTOR.message_types_by_name['RequestGift'] = _REQUESTGIFT
DESCRIPTOR.message_types_by_name['ReplyHeader'] = _REPLYHEADER
DESCRIPTOR.message_types_by_name['ReplyPay'] = _REPLYPAY
DESCRIPTOR.message_types_by_name['ReplyGift'] = _REPLYGIFT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
RequestPay = _reflection.GeneratedProtocolMessageType('RequestPay', (_message.Message,), {
'DESCRIPTOR' : _REQUESTPAY,
'__module__' : 'predict_pb2'
2021-03-26 03:55:17 +00:00
# @@protoc_insertion_point(class_scope:databoard.RequestPay)
2021-03-25 09:36:09 +00:00
})
_sym_db.RegisterMessage(RequestPay)
RequestGift = _reflection.GeneratedProtocolMessageType('RequestGift', (_message.Message,), {
'DESCRIPTOR' : _REQUESTGIFT,
'__module__' : 'predict_pb2'
2021-03-26 03:55:17 +00:00
# @@protoc_insertion_point(class_scope:databoard.RequestGift)
2021-03-25 09:36:09 +00:00
})
_sym_db.RegisterMessage(RequestGift)
ReplyHeader = _reflection.GeneratedProtocolMessageType('ReplyHeader', (_message.Message,), {
'DESCRIPTOR' : _REPLYHEADER,
'__module__' : 'predict_pb2'
2021-03-26 03:55:17 +00:00
# @@protoc_insertion_point(class_scope:databoard.ReplyHeader)
2021-03-25 09:36:09 +00:00
})
_sym_db.RegisterMessage(ReplyHeader)
ReplyPay = _reflection.GeneratedProtocolMessageType('ReplyPay', (_message.Message,), {
'DESCRIPTOR' : _REPLYPAY,
'__module__' : 'predict_pb2'
2021-03-26 03:55:17 +00:00
# @@protoc_insertion_point(class_scope:databoard.ReplyPay)
2021-03-25 09:36:09 +00:00
})
_sym_db.RegisterMessage(ReplyPay)
ReplyGift = _reflection.GeneratedProtocolMessageType('ReplyGift', (_message.Message,), {
'DESCRIPTOR' : _REPLYGIFT,
'__module__' : 'predict_pb2'
2021-03-26 03:55:17 +00:00
# @@protoc_insertion_point(class_scope:databoard.ReplyGift)
2021-03-25 09:36:09 +00:00
})
_sym_db.RegisterMessage(ReplyGift)
2021-03-26 03:55:17 +00:00
DESCRIPTOR._options = None
2021-03-25 09:36:09 +00:00
_PREDICT = _descriptor.ServiceDescriptor(
name='Predict',
2021-03-26 03:55:17 +00:00
full_name='databoard.Predict',
2021-03-25 09:36:09 +00:00
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
2021-03-26 03:55:17 +00:00
serialized_start=342,
serialized_end=466,
2021-03-25 09:36:09 +00:00
methods=[
_descriptor.MethodDescriptor(
name='PayDay',
2021-03-26 03:55:17 +00:00
full_name='databoard.Predict.PayDay',
2021-03-25 09:36:09 +00:00
index=0,
containing_service=None,
input_type=_REQUESTPAY,
output_type=_REPLYPAY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='GiftDay',
2021-03-26 03:55:17 +00:00
full_name='databoard.Predict.GiftDay',
2021-03-25 09:36:09 +00:00
index=1,
containing_service=None,
input_type=_REQUESTGIFT,
output_type=_REPLYGIFT,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_PREDICT)
DESCRIPTOR.services_by_name['Predict'] = _PREDICT
# @@protoc_insertion_point(module_scope)