2018-09-17 22:13:30 +02:00
|
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2018-11-04 09:45:58 +01:00
|
|
|
# source: lbrynet/schema/proto/fee.proto
|
2018-09-17 22:13:30 +02:00
|
|
|
|
|
|
|
import sys
|
|
|
|
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
|
|
|
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(
|
2018-11-04 09:45:58 +01:00
|
|
|
name='lbrynet/schema/proto/fee.proto',
|
2018-09-17 22:13:30 +02:00
|
|
|
package='',
|
2018-11-04 09:45:58 +01:00
|
|
|
syntax='proto2',
|
|
|
|
serialized_options=None,
|
|
|
|
serialized_pb=_b('\n\x1elbrynet/schema/proto/fee.proto\"\xcf\x01\n\x03\x46\x65\x65\x12\x1d\n\x07version\x18\x01 \x02(\x0e\x32\x0c.Fee.Version\x12\x1f\n\x08\x63urrency\x18\x02 \x02(\x0e\x32\r.Fee.Currency\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x02(\x0c\x12\x0e\n\x06\x61mount\x18\x04 \x02(\x02\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01\";\n\x08\x43urrency\x12\x14\n\x10UNKNOWN_CURRENCY\x10\x00\x12\x07\n\x03LBC\x10\x01\x12\x07\n\x03\x42TC\x10\x02\x12\x07\n\x03USD\x10\x03')
|
2018-09-17 22:13:30 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_FEE_VERSION = _descriptor.EnumDescriptor(
|
|
|
|
name='Version',
|
|
|
|
full_name='Fee.Version',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
values=[
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='UNKNOWN_VERSION', index=0, number=0,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='_0_0_1', index=1, number=1,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
],
|
|
|
|
containing_type=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
|
|
|
serialized_start=139,
|
|
|
|
serialized_end=181,
|
2018-09-17 22:13:30 +02:00
|
|
|
)
|
|
|
|
_sym_db.RegisterEnumDescriptor(_FEE_VERSION)
|
|
|
|
|
|
|
|
_FEE_CURRENCY = _descriptor.EnumDescriptor(
|
|
|
|
name='Currency',
|
|
|
|
full_name='Fee.Currency',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
values=[
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='UNKNOWN_CURRENCY', index=0, number=0,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='LBC', index=1, number=1,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='BTC', index=2, number=2,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='USD', index=3, number=3,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
type=None),
|
|
|
|
],
|
|
|
|
containing_type=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
|
|
|
serialized_start=183,
|
|
|
|
serialized_end=242,
|
2018-09-17 22:13:30 +02:00
|
|
|
)
|
|
|
|
_sym_db.RegisterEnumDescriptor(_FEE_CURRENCY)
|
|
|
|
|
|
|
|
|
|
|
|
_FEE = _descriptor.Descriptor(
|
|
|
|
name='Fee',
|
|
|
|
full_name='Fee',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='version', full_name='Fee.version', index=0,
|
|
|
|
number=1, type=14, cpp_type=8, label=2,
|
|
|
|
has_default_value=False, default_value=0,
|
|
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
|
|
is_extension=False, extension_scope=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='currency', full_name='Fee.currency', index=1,
|
|
|
|
number=2, type=14, cpp_type=8, label=2,
|
|
|
|
has_default_value=False, default_value=0,
|
|
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
|
|
is_extension=False, extension_scope=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='address', full_name='Fee.address', index=2,
|
|
|
|
number=3, type=12, cpp_type=9, label=2,
|
|
|
|
has_default_value=False, default_value=_b(""),
|
|
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
|
|
is_extension=False, extension_scope=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='amount', full_name='Fee.amount', index=3,
|
|
|
|
number=4, type=2, cpp_type=6, label=2,
|
2018-11-04 09:45:58 +01:00
|
|
|
has_default_value=False, default_value=float(0),
|
2018-09-17 22:13:30 +02:00
|
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
|
|
is_extension=False, extension_scope=None,
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None, file=DESCRIPTOR),
|
2018-09-17 22:13:30 +02:00
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
_FEE_VERSION,
|
|
|
|
_FEE_CURRENCY,
|
|
|
|
],
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_options=None,
|
2018-09-17 22:13:30 +02:00
|
|
|
is_extendable=False,
|
2018-11-04 09:45:58 +01:00
|
|
|
syntax='proto2',
|
2018-09-17 22:13:30 +02:00
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2018-11-04 09:45:58 +01:00
|
|
|
serialized_start=35,
|
|
|
|
serialized_end=242,
|
2018-09-17 22:13:30 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
_FEE.fields_by_name['version'].enum_type = _FEE_VERSION
|
|
|
|
_FEE.fields_by_name['currency'].enum_type = _FEE_CURRENCY
|
|
|
|
_FEE_VERSION.containing_type = _FEE
|
|
|
|
_FEE_CURRENCY.containing_type = _FEE
|
|
|
|
DESCRIPTOR.message_types_by_name['Fee'] = _FEE
|
2018-11-04 09:45:58 +01:00
|
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
2018-09-17 22:13:30 +02:00
|
|
|
|
|
|
|
Fee = _reflection.GeneratedProtocolMessageType('Fee', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _FEE,
|
2018-09-17 22:31:44 +02:00
|
|
|
__module__ = 'lbrynet.schema.proto.fee_pb2'
|
2018-09-17 22:13:30 +02:00
|
|
|
# @@protoc_insertion_point(class_scope:Fee)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(Fee)
|
|
|
|
|
|
|
|
|
|
|
|
# @@protoc_insertion_point(module_scope)
|