• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated by the protocol buffer compiler.  DO NOT EDIT!
2# source: TestSchedulingPolicyMessage.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
17
18
19DESCRIPTOR = _descriptor.FileDescriptor(
20  name='TestSchedulingPolicyMessage.proto',
21  package='android.vts',
22  syntax='proto2',
23  serialized_pb=_b('\n!TestSchedulingPolicyMessage.proto\x12\x0b\x61ndroid.vts\"\x98\x01\n\x1bTestSchedulingPolicyMessage\x12\x14\n\x0ctarget_plans\x18\x01 \x03(\x0c\x12\x14\n\x0ctarget_tests\x18\x02 \x03(\x0c\x12\x38\n\x0fscheduling_mode\x18\x65 \x01(\x0e\x32\x1f.android.vts.TestSchedulingMode\x12\x13\n\x0bperiod_secs\x18n \x01(\r*\x87\x01\n\x12TestSchedulingMode\x12$\n UKNOWN_TEST_SCHEDULING_MODE_TYPE\x10\x00\x12(\n$TEST_SCHEDULING_MODE_TOT_BEST_EFFORT\x10\x01\x12!\n\x1dTEST_SCHEDULING_MODE_PERIODIC\x10\x02\x42\x37\n\x15\x63om.android.vts.protoB\x1eVtsTestSchedulingPolicyMessage')
24)
25_sym_db.RegisterFileDescriptor(DESCRIPTOR)
26
27_TESTSCHEDULINGMODE = _descriptor.EnumDescriptor(
28  name='TestSchedulingMode',
29  full_name='android.vts.TestSchedulingMode',
30  filename=None,
31  file=DESCRIPTOR,
32  values=[
33    _descriptor.EnumValueDescriptor(
34      name='UKNOWN_TEST_SCHEDULING_MODE_TYPE', index=0, number=0,
35      options=None,
36      type=None),
37    _descriptor.EnumValueDescriptor(
38      name='TEST_SCHEDULING_MODE_TOT_BEST_EFFORT', index=1, number=1,
39      options=None,
40      type=None),
41    _descriptor.EnumValueDescriptor(
42      name='TEST_SCHEDULING_MODE_PERIODIC', index=2, number=2,
43      options=None,
44      type=None),
45  ],
46  containing_type=None,
47  options=None,
48  serialized_start=206,
49  serialized_end=341,
50)
51_sym_db.RegisterEnumDescriptor(_TESTSCHEDULINGMODE)
52
53TestSchedulingMode = enum_type_wrapper.EnumTypeWrapper(_TESTSCHEDULINGMODE)
54UKNOWN_TEST_SCHEDULING_MODE_TYPE = 0
55TEST_SCHEDULING_MODE_TOT_BEST_EFFORT = 1
56TEST_SCHEDULING_MODE_PERIODIC = 2
57
58
59
60_TESTSCHEDULINGPOLICYMESSAGE = _descriptor.Descriptor(
61  name='TestSchedulingPolicyMessage',
62  full_name='android.vts.TestSchedulingPolicyMessage',
63  filename=None,
64  file=DESCRIPTOR,
65  containing_type=None,
66  fields=[
67    _descriptor.FieldDescriptor(
68      name='target_plans', full_name='android.vts.TestSchedulingPolicyMessage.target_plans', index=0,
69      number=1, type=12, cpp_type=9, label=3,
70      has_default_value=False, default_value=[],
71      message_type=None, enum_type=None, containing_type=None,
72      is_extension=False, extension_scope=None,
73      options=None),
74    _descriptor.FieldDescriptor(
75      name='target_tests', full_name='android.vts.TestSchedulingPolicyMessage.target_tests', index=1,
76      number=2, type=12, cpp_type=9, label=3,
77      has_default_value=False, default_value=[],
78      message_type=None, enum_type=None, containing_type=None,
79      is_extension=False, extension_scope=None,
80      options=None),
81    _descriptor.FieldDescriptor(
82      name='scheduling_mode', full_name='android.vts.TestSchedulingPolicyMessage.scheduling_mode', index=2,
83      number=101, type=14, cpp_type=8, label=1,
84      has_default_value=False, default_value=0,
85      message_type=None, enum_type=None, containing_type=None,
86      is_extension=False, extension_scope=None,
87      options=None),
88    _descriptor.FieldDescriptor(
89      name='period_secs', full_name='android.vts.TestSchedulingPolicyMessage.period_secs', index=3,
90      number=110, type=13, cpp_type=3, label=1,
91      has_default_value=False, default_value=0,
92      message_type=None, enum_type=None, containing_type=None,
93      is_extension=False, extension_scope=None,
94      options=None),
95  ],
96  extensions=[
97  ],
98  nested_types=[],
99  enum_types=[
100  ],
101  options=None,
102  is_extendable=False,
103  syntax='proto2',
104  extension_ranges=[],
105  oneofs=[
106  ],
107  serialized_start=51,
108  serialized_end=203,
109)
110
111_TESTSCHEDULINGPOLICYMESSAGE.fields_by_name['scheduling_mode'].enum_type = _TESTSCHEDULINGMODE
112DESCRIPTOR.message_types_by_name['TestSchedulingPolicyMessage'] = _TESTSCHEDULINGPOLICYMESSAGE
113DESCRIPTOR.enum_types_by_name['TestSchedulingMode'] = _TESTSCHEDULINGMODE
114
115TestSchedulingPolicyMessage = _reflection.GeneratedProtocolMessageType('TestSchedulingPolicyMessage', (_message.Message,), dict(
116  DESCRIPTOR = _TESTSCHEDULINGPOLICYMESSAGE,
117  __module__ = 'TestSchedulingPolicyMessage_pb2'
118  # @@protoc_insertion_point(class_scope:android.vts.TestSchedulingPolicyMessage)
119  ))
120_sym_db.RegisterMessage(TestSchedulingPolicyMessage)
121
122
123DESCRIPTOR.has_options = True
124DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\025com.android.vts.protoB\036VtsTestSchedulingPolicyMessage'))
125# @@protoc_insertion_point(module_scope)
126