1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: chromiumos/build/api/software_attribute.proto 4"""Generated protocol buffer code.""" 5from google.protobuf import descriptor as _descriptor 6from google.protobuf import message as _message 7from google.protobuf import reflection as _reflection 8from google.protobuf import symbol_database as _symbol_database 9# @@protoc_insertion_point(imports) 10 11_sym_db = _symbol_database.Default() 12 13 14 15 16DESCRIPTOR = _descriptor.FileDescriptor( 17 name='chromiumos/build/api/software_attribute.proto', 18 package='chromiumos.build.api', 19 syntax='proto3', 20 serialized_options=b'Z.go.chromium.org/chromiumos/config/go/build/api', 21 create_key=_descriptor._internal_create_key, 22 serialized_pb=b'\n-chromiumos/build/api/software_attribute.proto\x12\x14\x63hromiumos.build.api\"t\n\x11SoftwareAttribute\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.chromiumos.build.api.SoftwareAttribute.Id\x12\x12\n\nfield_path\x18\x02 \x01(\t\x1a\x13\n\x02Id\x12\r\n\x05value\x18\x01 \x01(\t\"W\n\x15SoftwareAttributeList\x12>\n\rsw_attributes\x18\x01 \x03(\x0b\x32\'.chromiumos.build.api.SoftwareAttribute\"e\n\x11SoftwareCriterion\x12@\n\x0c\x61ttribute_id\x18\x01 \x01(\x0b\x32*.chromiumos.build.api.SoftwareAttribute.Id\x12\x0e\n\x06values\x18\x02 \x03(\tB0Z.go.chromium.org/chromiumos/config/go/build/apib\x06proto3' 23) 24 25 26 27 28_SOFTWAREATTRIBUTE_ID = _descriptor.Descriptor( 29 name='Id', 30 full_name='chromiumos.build.api.SoftwareAttribute.Id', 31 filename=None, 32 file=DESCRIPTOR, 33 containing_type=None, 34 create_key=_descriptor._internal_create_key, 35 fields=[ 36 _descriptor.FieldDescriptor( 37 name='value', full_name='chromiumos.build.api.SoftwareAttribute.Id.value', index=0, 38 number=1, type=9, cpp_type=9, label=1, 39 has_default_value=False, default_value=b"".decode('utf-8'), 40 message_type=None, enum_type=None, containing_type=None, 41 is_extension=False, extension_scope=None, 42 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 43 ], 44 extensions=[ 45 ], 46 nested_types=[], 47 enum_types=[ 48 ], 49 serialized_options=None, 50 is_extendable=False, 51 syntax='proto3', 52 extension_ranges=[], 53 oneofs=[ 54 ], 55 serialized_start=168, 56 serialized_end=187, 57) 58 59_SOFTWAREATTRIBUTE = _descriptor.Descriptor( 60 name='SoftwareAttribute', 61 full_name='chromiumos.build.api.SoftwareAttribute', 62 filename=None, 63 file=DESCRIPTOR, 64 containing_type=None, 65 create_key=_descriptor._internal_create_key, 66 fields=[ 67 _descriptor.FieldDescriptor( 68 name='id', full_name='chromiumos.build.api.SoftwareAttribute.id', index=0, 69 number=1, type=11, cpp_type=10, label=1, 70 has_default_value=False, default_value=None, 71 message_type=None, enum_type=None, containing_type=None, 72 is_extension=False, extension_scope=None, 73 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 74 _descriptor.FieldDescriptor( 75 name='field_path', full_name='chromiumos.build.api.SoftwareAttribute.field_path', index=1, 76 number=2, type=9, cpp_type=9, label=1, 77 has_default_value=False, default_value=b"".decode('utf-8'), 78 message_type=None, enum_type=None, containing_type=None, 79 is_extension=False, extension_scope=None, 80 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 81 ], 82 extensions=[ 83 ], 84 nested_types=[_SOFTWAREATTRIBUTE_ID, ], 85 enum_types=[ 86 ], 87 serialized_options=None, 88 is_extendable=False, 89 syntax='proto3', 90 extension_ranges=[], 91 oneofs=[ 92 ], 93 serialized_start=71, 94 serialized_end=187, 95) 96 97 98_SOFTWAREATTRIBUTELIST = _descriptor.Descriptor( 99 name='SoftwareAttributeList', 100 full_name='chromiumos.build.api.SoftwareAttributeList', 101 filename=None, 102 file=DESCRIPTOR, 103 containing_type=None, 104 create_key=_descriptor._internal_create_key, 105 fields=[ 106 _descriptor.FieldDescriptor( 107 name='sw_attributes', full_name='chromiumos.build.api.SoftwareAttributeList.sw_attributes', index=0, 108 number=1, type=11, cpp_type=10, label=3, 109 has_default_value=False, default_value=[], 110 message_type=None, enum_type=None, containing_type=None, 111 is_extension=False, extension_scope=None, 112 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 113 ], 114 extensions=[ 115 ], 116 nested_types=[], 117 enum_types=[ 118 ], 119 serialized_options=None, 120 is_extendable=False, 121 syntax='proto3', 122 extension_ranges=[], 123 oneofs=[ 124 ], 125 serialized_start=189, 126 serialized_end=276, 127) 128 129 130_SOFTWARECRITERION = _descriptor.Descriptor( 131 name='SoftwareCriterion', 132 full_name='chromiumos.build.api.SoftwareCriterion', 133 filename=None, 134 file=DESCRIPTOR, 135 containing_type=None, 136 create_key=_descriptor._internal_create_key, 137 fields=[ 138 _descriptor.FieldDescriptor( 139 name='attribute_id', full_name='chromiumos.build.api.SoftwareCriterion.attribute_id', index=0, 140 number=1, type=11, cpp_type=10, label=1, 141 has_default_value=False, default_value=None, 142 message_type=None, enum_type=None, containing_type=None, 143 is_extension=False, extension_scope=None, 144 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 145 _descriptor.FieldDescriptor( 146 name='values', full_name='chromiumos.build.api.SoftwareCriterion.values', index=1, 147 number=2, type=9, cpp_type=9, label=3, 148 has_default_value=False, default_value=[], 149 message_type=None, enum_type=None, containing_type=None, 150 is_extension=False, extension_scope=None, 151 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 152 ], 153 extensions=[ 154 ], 155 nested_types=[], 156 enum_types=[ 157 ], 158 serialized_options=None, 159 is_extendable=False, 160 syntax='proto3', 161 extension_ranges=[], 162 oneofs=[ 163 ], 164 serialized_start=278, 165 serialized_end=379, 166) 167 168_SOFTWAREATTRIBUTE_ID.containing_type = _SOFTWAREATTRIBUTE 169_SOFTWAREATTRIBUTE.fields_by_name['id'].message_type = _SOFTWAREATTRIBUTE_ID 170_SOFTWAREATTRIBUTELIST.fields_by_name['sw_attributes'].message_type = _SOFTWAREATTRIBUTE 171_SOFTWARECRITERION.fields_by_name['attribute_id'].message_type = _SOFTWAREATTRIBUTE_ID 172DESCRIPTOR.message_types_by_name['SoftwareAttribute'] = _SOFTWAREATTRIBUTE 173DESCRIPTOR.message_types_by_name['SoftwareAttributeList'] = _SOFTWAREATTRIBUTELIST 174DESCRIPTOR.message_types_by_name['SoftwareCriterion'] = _SOFTWARECRITERION 175_sym_db.RegisterFileDescriptor(DESCRIPTOR) 176 177SoftwareAttribute = _reflection.GeneratedProtocolMessageType('SoftwareAttribute', (_message.Message,), { 178 179 'Id' : _reflection.GeneratedProtocolMessageType('Id', (_message.Message,), { 180 'DESCRIPTOR' : _SOFTWAREATTRIBUTE_ID, 181 '__module__' : 'chromiumos.build.api.software_attribute_pb2' 182 # @@protoc_insertion_point(class_scope:chromiumos.build.api.SoftwareAttribute.Id) 183 }) 184 , 185 'DESCRIPTOR' : _SOFTWAREATTRIBUTE, 186 '__module__' : 'chromiumos.build.api.software_attribute_pb2' 187 # @@protoc_insertion_point(class_scope:chromiumos.build.api.SoftwareAttribute) 188 }) 189_sym_db.RegisterMessage(SoftwareAttribute) 190_sym_db.RegisterMessage(SoftwareAttribute.Id) 191 192SoftwareAttributeList = _reflection.GeneratedProtocolMessageType('SoftwareAttributeList', (_message.Message,), { 193 'DESCRIPTOR' : _SOFTWAREATTRIBUTELIST, 194 '__module__' : 'chromiumos.build.api.software_attribute_pb2' 195 # @@protoc_insertion_point(class_scope:chromiumos.build.api.SoftwareAttributeList) 196 }) 197_sym_db.RegisterMessage(SoftwareAttributeList) 198 199SoftwareCriterion = _reflection.GeneratedProtocolMessageType('SoftwareCriterion', (_message.Message,), { 200 'DESCRIPTOR' : _SOFTWARECRITERION, 201 '__module__' : 'chromiumos.build.api.software_attribute_pb2' 202 # @@protoc_insertion_point(class_scope:chromiumos.build.api.SoftwareCriterion) 203 }) 204_sym_db.RegisterMessage(SoftwareCriterion) 205 206 207DESCRIPTOR._options = None 208# @@protoc_insertion_point(module_scope) 209