319 lines
11 KiB
Python
319 lines
11 KiB
Python
# -*- 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',
|
|
package='databoard',
|
|
syntax='proto3',
|
|
serialized_options=b'Z\020learning/predict',
|
|
create_key=_descriptor._internal_create_key,
|
|
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'
|
|
)
|
|
|
|
|
|
|
|
|
|
_REQUESTPAY = _descriptor.Descriptor(
|
|
name='RequestPay',
|
|
full_name='databoard.RequestPay',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='Hour', full_name='databoard.RequestPay.Hour', index=0,
|
|
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(
|
|
name='Coin', full_name='databoard.RequestPay.Coin', index=1,
|
|
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(
|
|
name='YesterdayCoin', full_name='databoard.RequestPay.YesterdayCoin', index=2,
|
|
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=[
|
|
],
|
|
serialized_start=28,
|
|
serialized_end=91,
|
|
)
|
|
|
|
|
|
_REQUESTGIFT = _descriptor.Descriptor(
|
|
name='RequestGift',
|
|
full_name='databoard.RequestGift',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='Hour', full_name='databoard.RequestGift.Hour', index=0,
|
|
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(
|
|
name='Coin', full_name='databoard.RequestGift.Coin', index=1,
|
|
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(
|
|
name='YesterdayCoin', full_name='databoard.RequestGift.YesterdayCoin', index=2,
|
|
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=[
|
|
],
|
|
serialized_start=93,
|
|
serialized_end=157,
|
|
)
|
|
|
|
|
|
_REPLYHEADER = _descriptor.Descriptor(
|
|
name='ReplyHeader',
|
|
full_name='databoard.ReplyHeader',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='Code', full_name='databoard.ReplyHeader.Code', index=0,
|
|
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(
|
|
name='Message', full_name='databoard.ReplyHeader.Message', index=1,
|
|
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=[
|
|
],
|
|
serialized_start=159,
|
|
serialized_end=203,
|
|
)
|
|
|
|
|
|
_REPLYPAY = _descriptor.Descriptor(
|
|
name='ReplyPay',
|
|
full_name='databoard.ReplyPay',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='Header', full_name='databoard.ReplyPay.Header', index=0,
|
|
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(
|
|
name='Result', full_name='databoard.ReplyPay.Result', index=1,
|
|
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=[
|
|
],
|
|
serialized_start=205,
|
|
serialized_end=271,
|
|
)
|
|
|
|
|
|
_REPLYGIFT = _descriptor.Descriptor(
|
|
name='ReplyGift',
|
|
full_name='databoard.ReplyGift',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='Header', full_name='databoard.ReplyGift.Header', index=0,
|
|
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(
|
|
name='Result', full_name='databoard.ReplyGift.Result', index=1,
|
|
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=[
|
|
],
|
|
serialized_start=273,
|
|
serialized_end=340,
|
|
)
|
|
|
|
_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'
|
|
# @@protoc_insertion_point(class_scope:databoard.RequestPay)
|
|
})
|
|
_sym_db.RegisterMessage(RequestPay)
|
|
|
|
RequestGift = _reflection.GeneratedProtocolMessageType('RequestGift', (_message.Message,), {
|
|
'DESCRIPTOR' : _REQUESTGIFT,
|
|
'__module__' : 'predict_pb2'
|
|
# @@protoc_insertion_point(class_scope:databoard.RequestGift)
|
|
})
|
|
_sym_db.RegisterMessage(RequestGift)
|
|
|
|
ReplyHeader = _reflection.GeneratedProtocolMessageType('ReplyHeader', (_message.Message,), {
|
|
'DESCRIPTOR' : _REPLYHEADER,
|
|
'__module__' : 'predict_pb2'
|
|
# @@protoc_insertion_point(class_scope:databoard.ReplyHeader)
|
|
})
|
|
_sym_db.RegisterMessage(ReplyHeader)
|
|
|
|
ReplyPay = _reflection.GeneratedProtocolMessageType('ReplyPay', (_message.Message,), {
|
|
'DESCRIPTOR' : _REPLYPAY,
|
|
'__module__' : 'predict_pb2'
|
|
# @@protoc_insertion_point(class_scope:databoard.ReplyPay)
|
|
})
|
|
_sym_db.RegisterMessage(ReplyPay)
|
|
|
|
ReplyGift = _reflection.GeneratedProtocolMessageType('ReplyGift', (_message.Message,), {
|
|
'DESCRIPTOR' : _REPLYGIFT,
|
|
'__module__' : 'predict_pb2'
|
|
# @@protoc_insertion_point(class_scope:databoard.ReplyGift)
|
|
})
|
|
_sym_db.RegisterMessage(ReplyGift)
|
|
|
|
|
|
DESCRIPTOR._options = None
|
|
|
|
_PREDICT = _descriptor.ServiceDescriptor(
|
|
name='Predict',
|
|
full_name='databoard.Predict',
|
|
file=DESCRIPTOR,
|
|
index=0,
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
serialized_start=342,
|
|
serialized_end=466,
|
|
methods=[
|
|
_descriptor.MethodDescriptor(
|
|
name='PayDay',
|
|
full_name='databoard.Predict.PayDay',
|
|
index=0,
|
|
containing_service=None,
|
|
input_type=_REQUESTPAY,
|
|
output_type=_REPLYPAY,
|
|
serialized_options=None,
|
|
create_key=_descriptor._internal_create_key,
|
|
),
|
|
_descriptor.MethodDescriptor(
|
|
name='GiftDay',
|
|
full_name='databoard.Predict.GiftDay',
|
|
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)
|