1# Generated by the protocol buffer compiler. DO NOT EDIT! 2# source: VtsProfilingMessage.proto 3 4import sys 5_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 6from google.protobuf.internal import enum_type_wrapper 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import message as _message 9from google.protobuf import reflection as _reflection 10from google.protobuf import symbol_database as _symbol_database 11from google.protobuf import descriptor_pb2 12# @@protoc_insertion_point(imports) 13 14_sym_db = _symbol_database.Default() 15 16 17import ComponentSpecificationMessage_pb2 as ComponentSpecificationMessage__pb2 18 19 20DESCRIPTOR = _descriptor.FileDescriptor( 21 name='VtsProfilingMessage.proto', 22 package='android.vts', 23 syntax='proto2', 24 serialized_pb=_b('\n\x19VtsProfilingMessage.proto\x12\x0b\x61ndroid.vts\x1a#ComponentSpecificationMessage.proto\"\x89\x02\n\x12VtsProfilingRecord\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12\x34\n\x05\x65vent\x18\x02 \x01(\x0e\x32%.android.vts.InstrumentationEventType\x12\x0f\n\x07package\x18\x03 \x01(\x0c\x12\x13\n\x07version\x18\x04 \x01(\x02\x42\x02\x18\x01\x12\x11\n\tinterface\x18\x05 \x01(\x0c\x12;\n\x08\x66unc_msg\x18\x06 \x01(\x0b\x32).android.vts.FunctionSpecificationMessage\x12\x19\n\rversion_major\x18\x07 \x01(\x05:\x02-1\x12\x19\n\rversion_minor\x18\x08 \x01(\x05:\x02-1\"G\n\x13VtsProfilingMessage\x12\x30\n\x07records\x18\x01 \x03(\x0b\x32\x1f.android.vts.VtsProfilingRecord*\x81\x02\n\x18InstrumentationEventType\x12\x14\n\x10SERVER_API_ENTRY\x10\x00\x12\x13\n\x0fSERVER_API_EXIT\x10\x01\x12\x14\n\x10\x43LIENT_API_ENTRY\x10\x02\x12\x13\n\x0f\x43LIENT_API_EXIT\x10\x03\x12\x17\n\x13SYNC_CALLBACK_ENTRY\x10\x04\x12\x16\n\x12SYNC_CALLBACK_EXIT\x10\x05\x12\x18\n\x14\x41SYNC_CALLBACK_ENTRY\x10\x06\x12\x17\n\x13\x41SYNC_CALLBACK_EXIT\x10\x07\x12\x15\n\x11PASSTHROUGH_ENTRY\x10\x08\x12\x14\n\x10PASSTHROUGH_EXIT\x10\tB1\n\x15\x63om.android.vts.protoB\x18VtsProfilingMessageClass') 25 , 26 dependencies=[ComponentSpecificationMessage__pb2.DESCRIPTOR,]) 27_sym_db.RegisterFileDescriptor(DESCRIPTOR) 28 29_INSTRUMENTATIONEVENTTYPE = _descriptor.EnumDescriptor( 30 name='InstrumentationEventType', 31 full_name='android.vts.InstrumentationEventType', 32 filename=None, 33 file=DESCRIPTOR, 34 values=[ 35 _descriptor.EnumValueDescriptor( 36 name='SERVER_API_ENTRY', index=0, number=0, 37 options=None, 38 type=None), 39 _descriptor.EnumValueDescriptor( 40 name='SERVER_API_EXIT', index=1, number=1, 41 options=None, 42 type=None), 43 _descriptor.EnumValueDescriptor( 44 name='CLIENT_API_ENTRY', index=2, number=2, 45 options=None, 46 type=None), 47 _descriptor.EnumValueDescriptor( 48 name='CLIENT_API_EXIT', index=3, number=3, 49 options=None, 50 type=None), 51 _descriptor.EnumValueDescriptor( 52 name='SYNC_CALLBACK_ENTRY', index=4, number=4, 53 options=None, 54 type=None), 55 _descriptor.EnumValueDescriptor( 56 name='SYNC_CALLBACK_EXIT', index=5, number=5, 57 options=None, 58 type=None), 59 _descriptor.EnumValueDescriptor( 60 name='ASYNC_CALLBACK_ENTRY', index=6, number=6, 61 options=None, 62 type=None), 63 _descriptor.EnumValueDescriptor( 64 name='ASYNC_CALLBACK_EXIT', index=7, number=7, 65 options=None, 66 type=None), 67 _descriptor.EnumValueDescriptor( 68 name='PASSTHROUGH_ENTRY', index=8, number=8, 69 options=None, 70 type=None), 71 _descriptor.EnumValueDescriptor( 72 name='PASSTHROUGH_EXIT', index=9, number=9, 73 options=None, 74 type=None), 75 ], 76 containing_type=None, 77 options=None, 78 serialized_start=421, 79 serialized_end=678, 80) 81_sym_db.RegisterEnumDescriptor(_INSTRUMENTATIONEVENTTYPE) 82 83InstrumentationEventType = enum_type_wrapper.EnumTypeWrapper(_INSTRUMENTATIONEVENTTYPE) 84SERVER_API_ENTRY = 0 85SERVER_API_EXIT = 1 86CLIENT_API_ENTRY = 2 87CLIENT_API_EXIT = 3 88SYNC_CALLBACK_ENTRY = 4 89SYNC_CALLBACK_EXIT = 5 90ASYNC_CALLBACK_ENTRY = 6 91ASYNC_CALLBACK_EXIT = 7 92PASSTHROUGH_ENTRY = 8 93PASSTHROUGH_EXIT = 9 94 95 96 97_VTSPROFILINGRECORD = _descriptor.Descriptor( 98 name='VtsProfilingRecord', 99 full_name='android.vts.VtsProfilingRecord', 100 filename=None, 101 file=DESCRIPTOR, 102 containing_type=None, 103 fields=[ 104 _descriptor.FieldDescriptor( 105 name='timestamp', full_name='android.vts.VtsProfilingRecord.timestamp', index=0, 106 number=1, type=3, cpp_type=2, label=1, 107 has_default_value=False, default_value=0, 108 message_type=None, enum_type=None, containing_type=None, 109 is_extension=False, extension_scope=None, 110 options=None), 111 _descriptor.FieldDescriptor( 112 name='event', full_name='android.vts.VtsProfilingRecord.event', index=1, 113 number=2, type=14, cpp_type=8, label=1, 114 has_default_value=False, default_value=0, 115 message_type=None, enum_type=None, containing_type=None, 116 is_extension=False, extension_scope=None, 117 options=None), 118 _descriptor.FieldDescriptor( 119 name='package', full_name='android.vts.VtsProfilingRecord.package', index=2, 120 number=3, type=12, cpp_type=9, label=1, 121 has_default_value=False, default_value=_b(""), 122 message_type=None, enum_type=None, containing_type=None, 123 is_extension=False, extension_scope=None, 124 options=None), 125 _descriptor.FieldDescriptor( 126 name='version', full_name='android.vts.VtsProfilingRecord.version', index=3, 127 number=4, type=2, cpp_type=6, label=1, 128 has_default_value=False, default_value=float(0), 129 message_type=None, enum_type=None, containing_type=None, 130 is_extension=False, extension_scope=None, 131 options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))), 132 _descriptor.FieldDescriptor( 133 name='interface', full_name='android.vts.VtsProfilingRecord.interface', index=4, 134 number=5, type=12, cpp_type=9, label=1, 135 has_default_value=False, default_value=_b(""), 136 message_type=None, enum_type=None, containing_type=None, 137 is_extension=False, extension_scope=None, 138 options=None), 139 _descriptor.FieldDescriptor( 140 name='func_msg', full_name='android.vts.VtsProfilingRecord.func_msg', index=5, 141 number=6, type=11, cpp_type=10, label=1, 142 has_default_value=False, default_value=None, 143 message_type=None, enum_type=None, containing_type=None, 144 is_extension=False, extension_scope=None, 145 options=None), 146 _descriptor.FieldDescriptor( 147 name='version_major', full_name='android.vts.VtsProfilingRecord.version_major', index=6, 148 number=7, type=5, cpp_type=1, label=1, 149 has_default_value=True, default_value=-1, 150 message_type=None, enum_type=None, containing_type=None, 151 is_extension=False, extension_scope=None, 152 options=None), 153 _descriptor.FieldDescriptor( 154 name='version_minor', full_name='android.vts.VtsProfilingRecord.version_minor', index=7, 155 number=8, type=5, cpp_type=1, label=1, 156 has_default_value=True, default_value=-1, 157 message_type=None, enum_type=None, containing_type=None, 158 is_extension=False, extension_scope=None, 159 options=None), 160 ], 161 extensions=[ 162 ], 163 nested_types=[], 164 enum_types=[ 165 ], 166 options=None, 167 is_extendable=False, 168 syntax='proto2', 169 extension_ranges=[], 170 oneofs=[ 171 ], 172 serialized_start=80, 173 serialized_end=345, 174) 175 176 177_VTSPROFILINGMESSAGE = _descriptor.Descriptor( 178 name='VtsProfilingMessage', 179 full_name='android.vts.VtsProfilingMessage', 180 filename=None, 181 file=DESCRIPTOR, 182 containing_type=None, 183 fields=[ 184 _descriptor.FieldDescriptor( 185 name='records', full_name='android.vts.VtsProfilingMessage.records', index=0, 186 number=1, type=11, cpp_type=10, label=3, 187 has_default_value=False, default_value=[], 188 message_type=None, enum_type=None, containing_type=None, 189 is_extension=False, extension_scope=None, 190 options=None), 191 ], 192 extensions=[ 193 ], 194 nested_types=[], 195 enum_types=[ 196 ], 197 options=None, 198 is_extendable=False, 199 syntax='proto2', 200 extension_ranges=[], 201 oneofs=[ 202 ], 203 serialized_start=347, 204 serialized_end=418, 205) 206 207_VTSPROFILINGRECORD.fields_by_name['event'].enum_type = _INSTRUMENTATIONEVENTTYPE 208_VTSPROFILINGRECORD.fields_by_name['func_msg'].message_type = ComponentSpecificationMessage__pb2._FUNCTIONSPECIFICATIONMESSAGE 209_VTSPROFILINGMESSAGE.fields_by_name['records'].message_type = _VTSPROFILINGRECORD 210DESCRIPTOR.message_types_by_name['VtsProfilingRecord'] = _VTSPROFILINGRECORD 211DESCRIPTOR.message_types_by_name['VtsProfilingMessage'] = _VTSPROFILINGMESSAGE 212DESCRIPTOR.enum_types_by_name['InstrumentationEventType'] = _INSTRUMENTATIONEVENTTYPE 213 214VtsProfilingRecord = _reflection.GeneratedProtocolMessageType('VtsProfilingRecord', (_message.Message,), dict( 215 DESCRIPTOR = _VTSPROFILINGRECORD, 216 __module__ = 'VtsProfilingMessage_pb2' 217 # @@protoc_insertion_point(class_scope:android.vts.VtsProfilingRecord) 218 )) 219_sym_db.RegisterMessage(VtsProfilingRecord) 220 221VtsProfilingMessage = _reflection.GeneratedProtocolMessageType('VtsProfilingMessage', (_message.Message,), dict( 222 DESCRIPTOR = _VTSPROFILINGMESSAGE, 223 __module__ = 'VtsProfilingMessage_pb2' 224 # @@protoc_insertion_point(class_scope:android.vts.VtsProfilingMessage) 225 )) 226_sym_db.RegisterMessage(VtsProfilingMessage) 227 228 229DESCRIPTOR.has_options = True 230DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\025com.android.vts.protoB\030VtsProfilingMessageClass')) 231_VTSPROFILINGRECORD.fields_by_name['version'].has_options = True 232_VTSPROFILINGRECORD.fields_by_name['version']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) 233# @@protoc_insertion_point(module_scope) 234