example_pb2.py 4.7 KB
Newer Older
C
chenxuyi 已提交
1 2
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
M
Meiyim 已提交
3
# source: propeller/data/example.proto
C
chenxuyi 已提交
4 5 6 7 8 9 10 11 12 13 14 15

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()

M
Meiyim 已提交
16
from propeller.data import feature_pb2 as propeller_dot_data_dot_feature__pb2
C
chenxuyi 已提交
17 18

DESCRIPTOR = _descriptor.FileDescriptor(
M
Meiyim 已提交
19
    name='propeller/data/example.proto',
C
chenxuyi 已提交
20 21 22 23
    package='propeller',
    syntax='proto3',
    serialized_options=None,
    serialized_pb=_b(
M
Meiyim 已提交
24
        '\n\x1cpropeller/data/example.proto\x12\tpropeller\x1a\x1cpropeller/data/feature.proto\"0\n\x07\x45xample\x12%\n\x08\x66\x65\x61tures\x18\x01 \x01(\x0b\x32\x13.propeller.Features\"g\n\x0fSequenceExample\x12$\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\x13.propeller.Features\x12.\n\rfeature_lists\x18\x02 \x01(\x0b\x32\x17.propeller.FeatureListsb\x06proto3'
C
chenxuyi 已提交
25
    ),
M
Meiyim 已提交
26
    dependencies=[propeller_dot_data_dot_feature__pb2.DESCRIPTOR, ])
C
chenxuyi 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

_EXAMPLE = _descriptor.Descriptor(
    name='Example',
    full_name='propeller.Example',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='features',
            full_name='propeller.Example.features',
            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),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[],
M
Meiyim 已提交
61 62
    serialized_start=73,
    serialized_end=121, )
C
chenxuyi 已提交
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113

_SEQUENCEEXAMPLE = _descriptor.Descriptor(
    name='SequenceExample',
    full_name='propeller.SequenceExample',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='context',
            full_name='propeller.SequenceExample.context',
            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),
        _descriptor.FieldDescriptor(
            name='feature_lists',
            full_name='propeller.SequenceExample.feature_lists',
            index=1,
            number=2,
            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),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[],
M
Meiyim 已提交
114 115
    serialized_start=123,
    serialized_end=226, )
C
chenxuyi 已提交
116 117

_EXAMPLE.fields_by_name[
M
Meiyim 已提交
118
    'features'].message_type = propeller_dot_data_dot_feature__pb2._FEATURES
C
chenxuyi 已提交
119
_SEQUENCEEXAMPLE.fields_by_name[
M
Meiyim 已提交
120
    'context'].message_type = propeller_dot_data_dot_feature__pb2._FEATURES
C
chenxuyi 已提交
121
_SEQUENCEEXAMPLE.fields_by_name[
M
Meiyim 已提交
122
    'feature_lists'].message_type = propeller_dot_data_dot_feature__pb2._FEATURELISTS
C
chenxuyi 已提交
123 124 125 126 127 128 129 130 131
DESCRIPTOR.message_types_by_name['Example'] = _EXAMPLE
DESCRIPTOR.message_types_by_name['SequenceExample'] = _SEQUENCEEXAMPLE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Example = _reflection.GeneratedProtocolMessageType(
    'Example',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_EXAMPLE,
M
Meiyim 已提交
132
        __module__='propeller.data.example_pb2'
C
chenxuyi 已提交
133 134 135 136 137 138 139 140 141
        # @@protoc_insertion_point(class_scope:propeller.Example)
    ))
_sym_db.RegisterMessage(Example)

SequenceExample = _reflection.GeneratedProtocolMessageType(
    'SequenceExample',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_SEQUENCEEXAMPLE,
M
Meiyim 已提交
142
        __module__='propeller.data.example_pb2'
C
chenxuyi 已提交
143 144 145 146 147
        # @@protoc_insertion_point(class_scope:propeller.SequenceExample)
    ))
_sym_db.RegisterMessage(SequenceExample)

# @@protoc_insertion_point(module_scope)