• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler.  DO NOT EDIT!
3# source: trillian.proto
4
5import sys
6_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
7from google.protobuf.internal import enum_type_wrapper
8from google.protobuf import descriptor as _descriptor
9from google.protobuf import message as _message
10from google.protobuf import reflection as _reflection
11from google.protobuf import symbol_database as _symbol_database
12# @@protoc_insertion_point(imports)
13
14_sym_db = _symbol_database.Default()
15
16
17from crypto.keyspb import keyspb_pb2 as crypto_dot_keyspb_dot_keyspb__pb2
18from crypto.sigpb import sigpb_pb2 as crypto_dot_sigpb_dot_sigpb__pb2
19from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
20from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
21from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
22
23
24DESCRIPTOR = _descriptor.FileDescriptor(
25  name='trillian.proto',
26  package='trillian',
27  syntax='proto3',
28  serialized_options=_b('\n\031com.google.trillian.protoB\rTrillianProtoP\001Z\032github.com/google/trillian'),
29  serialized_pb=_b('\n\x0etrillian.proto\x12\x08trillian\x1a\x1a\x63rypto/keyspb/keyspb.proto\x1a\x18\x63rypto/sigpb/sigpb.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x05\n\x04Tree\x12\x0f\n\x07tree_id\x18\x01 \x01(\x03\x12\'\n\ntree_state\x18\x02 \x01(\x0e\x32\x13.trillian.TreeState\x12%\n\ttree_type\x18\x03 \x01(\x0e\x32\x12.trillian.TreeType\x12-\n\rhash_strategy\x18\x04 \x01(\x0e\x32\x16.trillian.HashStrategy\x12<\n\x0ehash_algorithm\x18\x05 \x01(\x0e\x32$.sigpb.DigitallySigned.HashAlgorithm\x12\x46\n\x13signature_algorithm\x18\x06 \x01(\x0e\x32).sigpb.DigitallySigned.SignatureAlgorithm\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12)\n\x0bprivate_key\x18\x0c \x01(\x0b\x32\x14.google.protobuf.Any\x12.\n\x10storage_settings\x18\r \x01(\x0b\x32\x14.google.protobuf.Any\x12%\n\npublic_key\x18\x0e \x01(\x0b\x32\x11.keyspb.PublicKey\x12\x34\n\x11max_root_duration\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0b\x63reate_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x64\x65leted\x18\x13 \x01(\x08\x12/\n\x0b\x64\x65lete_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x12\x10\x13J\x04\x08\x07\x10\x08J\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0c\"j\n\x14SignedEntryTimestamp\x12\x17\n\x0ftimestamp_nanos\x18\x01 \x01(\x03\x12\x0e\n\x06log_id\x18\x02 \x01(\x03\x12)\n\tsignature\x18\x03 \x01(\x0b\x32\x16.sigpb.DigitallySigned\"s\n\rSignedLogRoot\x12\x10\n\x08key_hint\x18\x07 \x01(\x0c\x12\x10\n\x08log_root\x18\x08 \x01(\x0c\x12\x1a\n\x12log_root_signature\x18\t \x01(\x0cJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"^\n\rSignedMapRoot\x12\x10\n\x08map_root\x18\t \x01(\x0c\x12\x11\n\tsignature\x18\x04 \x01(\x0cJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\t\"1\n\x05Proof\x12\x12\n\nleaf_index\x18\x01 \x01(\x03\x12\x0e\n\x06hashes\x18\x03 \x03(\x0cJ\x04\x08\x02\x10\x03*D\n\rLogRootFormat\x12\x1b\n\x17LOG_ROOT_FORMAT_UNKNOWN\x10\x00\x12\x16\n\x12LOG_ROOT_FORMAT_V1\x10\x01*D\n\rMapRootFormat\x12\x1b\n\x17MAP_ROOT_FORMAT_UNKNOWN\x10\x00\x12\x16\n\x12MAP_ROOT_FORMAT_V1\x10\x01*\x97\x01\n\x0cHashStrategy\x12\x19\n\x15UNKNOWN_HASH_STRATEGY\x10\x00\x12\x12\n\x0eRFC6962_SHA256\x10\x01\x12\x13\n\x0fTEST_MAP_HASHER\x10\x02\x12\x19\n\x15OBJECT_RFC6962_SHA256\x10\x03\x12\x15\n\x11\x43ONIKS_SHA512_256\x10\x04\x12\x11\n\rCONIKS_SHA256\x10\x05*\x8b\x01\n\tTreeState\x12\x16\n\x12UNKNOWN_TREE_STATE\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x46ROZEN\x10\x02\x12\x1f\n\x17\x44\x45PRECATED_SOFT_DELETED\x10\x03\x1a\x02\x08\x01\x12\x1f\n\x17\x44\x45PRECATED_HARD_DELETED\x10\x04\x1a\x02\x08\x01\x12\x0c\n\x08\x44RAINING\x10\x05*G\n\x08TreeType\x12\x15\n\x11UNKNOWN_TREE_TYPE\x10\x00\x12\x07\n\x03LOG\x10\x01\x12\x07\n\x03MAP\x10\x02\x12\x12\n\x0ePREORDERED_LOG\x10\x03\x42H\n\x19\x63om.google.trillian.protoB\rTrillianProtoP\x01Z\x1agithub.com/google/trillianb\x06proto3')
30  ,
31  dependencies=[crypto_dot_keyspb_dot_keyspb__pb2.DESCRIPTOR,crypto_dot_sigpb_dot_sigpb__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
32
33_LOGROOTFORMAT = _descriptor.EnumDescriptor(
34  name='LogRootFormat',
35  full_name='trillian.LogRootFormat',
36  filename=None,
37  file=DESCRIPTOR,
38  values=[
39    _descriptor.EnumValueDescriptor(
40      name='LOG_ROOT_FORMAT_UNKNOWN', index=0, number=0,
41      serialized_options=None,
42      type=None),
43    _descriptor.EnumValueDescriptor(
44      name='LOG_ROOT_FORMAT_V1', index=1, number=1,
45      serialized_options=None,
46      type=None),
47  ],
48  containing_type=None,
49  serialized_options=None,
50  serialized_start=1248,
51  serialized_end=1316,
52)
53_sym_db.RegisterEnumDescriptor(_LOGROOTFORMAT)
54
55LogRootFormat = enum_type_wrapper.EnumTypeWrapper(_LOGROOTFORMAT)
56_MAPROOTFORMAT = _descriptor.EnumDescriptor(
57  name='MapRootFormat',
58  full_name='trillian.MapRootFormat',
59  filename=None,
60  file=DESCRIPTOR,
61  values=[
62    _descriptor.EnumValueDescriptor(
63      name='MAP_ROOT_FORMAT_UNKNOWN', index=0, number=0,
64      serialized_options=None,
65      type=None),
66    _descriptor.EnumValueDescriptor(
67      name='MAP_ROOT_FORMAT_V1', index=1, number=1,
68      serialized_options=None,
69      type=None),
70  ],
71  containing_type=None,
72  serialized_options=None,
73  serialized_start=1318,
74  serialized_end=1386,
75)
76_sym_db.RegisterEnumDescriptor(_MAPROOTFORMAT)
77
78MapRootFormat = enum_type_wrapper.EnumTypeWrapper(_MAPROOTFORMAT)
79_HASHSTRATEGY = _descriptor.EnumDescriptor(
80  name='HashStrategy',
81  full_name='trillian.HashStrategy',
82  filename=None,
83  file=DESCRIPTOR,
84  values=[
85    _descriptor.EnumValueDescriptor(
86      name='UNKNOWN_HASH_STRATEGY', index=0, number=0,
87      serialized_options=None,
88      type=None),
89    _descriptor.EnumValueDescriptor(
90      name='RFC6962_SHA256', index=1, number=1,
91      serialized_options=None,
92      type=None),
93    _descriptor.EnumValueDescriptor(
94      name='TEST_MAP_HASHER', index=2, number=2,
95      serialized_options=None,
96      type=None),
97    _descriptor.EnumValueDescriptor(
98      name='OBJECT_RFC6962_SHA256', index=3, number=3,
99      serialized_options=None,
100      type=None),
101    _descriptor.EnumValueDescriptor(
102      name='CONIKS_SHA512_256', index=4, number=4,
103      serialized_options=None,
104      type=None),
105    _descriptor.EnumValueDescriptor(
106      name='CONIKS_SHA256', index=5, number=5,
107      serialized_options=None,
108      type=None),
109  ],
110  containing_type=None,
111  serialized_options=None,
112  serialized_start=1389,
113  serialized_end=1540,
114)
115_sym_db.RegisterEnumDescriptor(_HASHSTRATEGY)
116
117HashStrategy = enum_type_wrapper.EnumTypeWrapper(_HASHSTRATEGY)
118_TREESTATE = _descriptor.EnumDescriptor(
119  name='TreeState',
120  full_name='trillian.TreeState',
121  filename=None,
122  file=DESCRIPTOR,
123  values=[
124    _descriptor.EnumValueDescriptor(
125      name='UNKNOWN_TREE_STATE', index=0, number=0,
126      serialized_options=None,
127      type=None),
128    _descriptor.EnumValueDescriptor(
129      name='ACTIVE', index=1, number=1,
130      serialized_options=None,
131      type=None),
132    _descriptor.EnumValueDescriptor(
133      name='FROZEN', index=2, number=2,
134      serialized_options=None,
135      type=None),
136    _descriptor.EnumValueDescriptor(
137      name='DEPRECATED_SOFT_DELETED', index=3, number=3,
138      serialized_options=_b('\010\001'),
139      type=None),
140    _descriptor.EnumValueDescriptor(
141      name='DEPRECATED_HARD_DELETED', index=4, number=4,
142      serialized_options=_b('\010\001'),
143      type=None),
144    _descriptor.EnumValueDescriptor(
145      name='DRAINING', index=5, number=5,
146      serialized_options=None,
147      type=None),
148  ],
149  containing_type=None,
150  serialized_options=None,
151  serialized_start=1543,
152  serialized_end=1682,
153)
154_sym_db.RegisterEnumDescriptor(_TREESTATE)
155
156TreeState = enum_type_wrapper.EnumTypeWrapper(_TREESTATE)
157_TREETYPE = _descriptor.EnumDescriptor(
158  name='TreeType',
159  full_name='trillian.TreeType',
160  filename=None,
161  file=DESCRIPTOR,
162  values=[
163    _descriptor.EnumValueDescriptor(
164      name='UNKNOWN_TREE_TYPE', index=0, number=0,
165      serialized_options=None,
166      type=None),
167    _descriptor.EnumValueDescriptor(
168      name='LOG', index=1, number=1,
169      serialized_options=None,
170      type=None),
171    _descriptor.EnumValueDescriptor(
172      name='MAP', index=2, number=2,
173      serialized_options=None,
174      type=None),
175    _descriptor.EnumValueDescriptor(
176      name='PREORDERED_LOG', index=3, number=3,
177      serialized_options=None,
178      type=None),
179  ],
180  containing_type=None,
181  serialized_options=None,
182  serialized_start=1684,
183  serialized_end=1755,
184)
185_sym_db.RegisterEnumDescriptor(_TREETYPE)
186
187TreeType = enum_type_wrapper.EnumTypeWrapper(_TREETYPE)
188LOG_ROOT_FORMAT_UNKNOWN = 0
189LOG_ROOT_FORMAT_V1 = 1
190MAP_ROOT_FORMAT_UNKNOWN = 0
191MAP_ROOT_FORMAT_V1 = 1
192UNKNOWN_HASH_STRATEGY = 0
193RFC6962_SHA256 = 1
194TEST_MAP_HASHER = 2
195OBJECT_RFC6962_SHA256 = 3
196CONIKS_SHA512_256 = 4
197CONIKS_SHA256 = 5
198UNKNOWN_TREE_STATE = 0
199ACTIVE = 1
200FROZEN = 2
201DEPRECATED_SOFT_DELETED = 3
202DEPRECATED_HARD_DELETED = 4
203DRAINING = 5
204UNKNOWN_TREE_TYPE = 0
205LOG = 1
206MAP = 2
207PREORDERED_LOG = 3
208
209
210
211_TREE = _descriptor.Descriptor(
212  name='Tree',
213  full_name='trillian.Tree',
214  filename=None,
215  file=DESCRIPTOR,
216  containing_type=None,
217  fields=[
218    _descriptor.FieldDescriptor(
219      name='tree_id', full_name='trillian.Tree.tree_id', index=0,
220      number=1, type=3, cpp_type=2, label=1,
221      has_default_value=False, default_value=0,
222      message_type=None, enum_type=None, containing_type=None,
223      is_extension=False, extension_scope=None,
224      serialized_options=None, file=DESCRIPTOR),
225    _descriptor.FieldDescriptor(
226      name='tree_state', full_name='trillian.Tree.tree_state', index=1,
227      number=2, type=14, cpp_type=8, label=1,
228      has_default_value=False, default_value=0,
229      message_type=None, enum_type=None, containing_type=None,
230      is_extension=False, extension_scope=None,
231      serialized_options=None, file=DESCRIPTOR),
232    _descriptor.FieldDescriptor(
233      name='tree_type', full_name='trillian.Tree.tree_type', index=2,
234      number=3, type=14, cpp_type=8, label=1,
235      has_default_value=False, default_value=0,
236      message_type=None, enum_type=None, containing_type=None,
237      is_extension=False, extension_scope=None,
238      serialized_options=None, file=DESCRIPTOR),
239    _descriptor.FieldDescriptor(
240      name='hash_strategy', full_name='trillian.Tree.hash_strategy', index=3,
241      number=4, type=14, cpp_type=8, label=1,
242      has_default_value=False, default_value=0,
243      message_type=None, enum_type=None, containing_type=None,
244      is_extension=False, extension_scope=None,
245      serialized_options=None, file=DESCRIPTOR),
246    _descriptor.FieldDescriptor(
247      name='hash_algorithm', full_name='trillian.Tree.hash_algorithm', index=4,
248      number=5, type=14, cpp_type=8, label=1,
249      has_default_value=False, default_value=0,
250      message_type=None, enum_type=None, containing_type=None,
251      is_extension=False, extension_scope=None,
252      serialized_options=None, file=DESCRIPTOR),
253    _descriptor.FieldDescriptor(
254      name='signature_algorithm', full_name='trillian.Tree.signature_algorithm', index=5,
255      number=6, type=14, cpp_type=8, label=1,
256      has_default_value=False, default_value=0,
257      message_type=None, enum_type=None, containing_type=None,
258      is_extension=False, extension_scope=None,
259      serialized_options=None, file=DESCRIPTOR),
260    _descriptor.FieldDescriptor(
261      name='display_name', full_name='trillian.Tree.display_name', index=6,
262      number=8, type=9, cpp_type=9, label=1,
263      has_default_value=False, default_value=_b("").decode('utf-8'),
264      message_type=None, enum_type=None, containing_type=None,
265      is_extension=False, extension_scope=None,
266      serialized_options=None, file=DESCRIPTOR),
267    _descriptor.FieldDescriptor(
268      name='description', full_name='trillian.Tree.description', index=7,
269      number=9, type=9, cpp_type=9, label=1,
270      has_default_value=False, default_value=_b("").decode('utf-8'),
271      message_type=None, enum_type=None, containing_type=None,
272      is_extension=False, extension_scope=None,
273      serialized_options=None, file=DESCRIPTOR),
274    _descriptor.FieldDescriptor(
275      name='private_key', full_name='trillian.Tree.private_key', index=8,
276      number=12, type=11, cpp_type=10, label=1,
277      has_default_value=False, default_value=None,
278      message_type=None, enum_type=None, containing_type=None,
279      is_extension=False, extension_scope=None,
280      serialized_options=None, file=DESCRIPTOR),
281    _descriptor.FieldDescriptor(
282      name='storage_settings', full_name='trillian.Tree.storage_settings', index=9,
283      number=13, type=11, cpp_type=10, label=1,
284      has_default_value=False, default_value=None,
285      message_type=None, enum_type=None, containing_type=None,
286      is_extension=False, extension_scope=None,
287      serialized_options=None, file=DESCRIPTOR),
288    _descriptor.FieldDescriptor(
289      name='public_key', full_name='trillian.Tree.public_key', index=10,
290      number=14, type=11, cpp_type=10, label=1,
291      has_default_value=False, default_value=None,
292      message_type=None, enum_type=None, containing_type=None,
293      is_extension=False, extension_scope=None,
294      serialized_options=None, file=DESCRIPTOR),
295    _descriptor.FieldDescriptor(
296      name='max_root_duration', full_name='trillian.Tree.max_root_duration', index=11,
297      number=15, type=11, cpp_type=10, label=1,
298      has_default_value=False, default_value=None,
299      message_type=None, enum_type=None, containing_type=None,
300      is_extension=False, extension_scope=None,
301      serialized_options=None, file=DESCRIPTOR),
302    _descriptor.FieldDescriptor(
303      name='create_time', full_name='trillian.Tree.create_time', index=12,
304      number=16, type=11, cpp_type=10, label=1,
305      has_default_value=False, default_value=None,
306      message_type=None, enum_type=None, containing_type=None,
307      is_extension=False, extension_scope=None,
308      serialized_options=None, file=DESCRIPTOR),
309    _descriptor.FieldDescriptor(
310      name='update_time', full_name='trillian.Tree.update_time', index=13,
311      number=17, type=11, cpp_type=10, label=1,
312      has_default_value=False, default_value=None,
313      message_type=None, enum_type=None, containing_type=None,
314      is_extension=False, extension_scope=None,
315      serialized_options=None, file=DESCRIPTOR),
316    _descriptor.FieldDescriptor(
317      name='deleted', full_name='trillian.Tree.deleted', index=14,
318      number=19, type=8, cpp_type=7, label=1,
319      has_default_value=False, default_value=False,
320      message_type=None, enum_type=None, containing_type=None,
321      is_extension=False, extension_scope=None,
322      serialized_options=None, file=DESCRIPTOR),
323    _descriptor.FieldDescriptor(
324      name='delete_time', full_name='trillian.Tree.delete_time', index=15,
325      number=20, type=11, cpp_type=10, label=1,
326      has_default_value=False, default_value=None,
327      message_type=None, enum_type=None, containing_type=None,
328      is_extension=False, extension_scope=None,
329      serialized_options=None, file=DESCRIPTOR),
330  ],
331  extensions=[
332  ],
333  nested_types=[],
334  enum_types=[
335  ],
336  serialized_options=None,
337  is_extendable=False,
338  syntax='proto3',
339  extension_ranges=[],
340  oneofs=[
341  ],
342  serialized_start=175,
343  serialized_end=874,
344)
345
346
347_SIGNEDENTRYTIMESTAMP = _descriptor.Descriptor(
348  name='SignedEntryTimestamp',
349  full_name='trillian.SignedEntryTimestamp',
350  filename=None,
351  file=DESCRIPTOR,
352  containing_type=None,
353  fields=[
354    _descriptor.FieldDescriptor(
355      name='timestamp_nanos', full_name='trillian.SignedEntryTimestamp.timestamp_nanos', index=0,
356      number=1, type=3, cpp_type=2, label=1,
357      has_default_value=False, default_value=0,
358      message_type=None, enum_type=None, containing_type=None,
359      is_extension=False, extension_scope=None,
360      serialized_options=None, file=DESCRIPTOR),
361    _descriptor.FieldDescriptor(
362      name='log_id', full_name='trillian.SignedEntryTimestamp.log_id', index=1,
363      number=2, type=3, cpp_type=2, label=1,
364      has_default_value=False, default_value=0,
365      message_type=None, enum_type=None, containing_type=None,
366      is_extension=False, extension_scope=None,
367      serialized_options=None, file=DESCRIPTOR),
368    _descriptor.FieldDescriptor(
369      name='signature', full_name='trillian.SignedEntryTimestamp.signature', index=2,
370      number=3, type=11, cpp_type=10, label=1,
371      has_default_value=False, default_value=None,
372      message_type=None, enum_type=None, containing_type=None,
373      is_extension=False, extension_scope=None,
374      serialized_options=None, file=DESCRIPTOR),
375  ],
376  extensions=[
377  ],
378  nested_types=[],
379  enum_types=[
380  ],
381  serialized_options=None,
382  is_extendable=False,
383  syntax='proto3',
384  extension_ranges=[],
385  oneofs=[
386  ],
387  serialized_start=876,
388  serialized_end=982,
389)
390
391
392_SIGNEDLOGROOT = _descriptor.Descriptor(
393  name='SignedLogRoot',
394  full_name='trillian.SignedLogRoot',
395  filename=None,
396  file=DESCRIPTOR,
397  containing_type=None,
398  fields=[
399    _descriptor.FieldDescriptor(
400      name='key_hint', full_name='trillian.SignedLogRoot.key_hint', index=0,
401      number=7, type=12, cpp_type=9, label=1,
402      has_default_value=False, default_value=_b(""),
403      message_type=None, enum_type=None, containing_type=None,
404      is_extension=False, extension_scope=None,
405      serialized_options=None, file=DESCRIPTOR),
406    _descriptor.FieldDescriptor(
407      name='log_root', full_name='trillian.SignedLogRoot.log_root', index=1,
408      number=8, type=12, cpp_type=9, label=1,
409      has_default_value=False, default_value=_b(""),
410      message_type=None, enum_type=None, containing_type=None,
411      is_extension=False, extension_scope=None,
412      serialized_options=None, file=DESCRIPTOR),
413    _descriptor.FieldDescriptor(
414      name='log_root_signature', full_name='trillian.SignedLogRoot.log_root_signature', index=2,
415      number=9, type=12, cpp_type=9, label=1,
416      has_default_value=False, default_value=_b(""),
417      message_type=None, enum_type=None, containing_type=None,
418      is_extension=False, extension_scope=None,
419      serialized_options=None, file=DESCRIPTOR),
420  ],
421  extensions=[
422  ],
423  nested_types=[],
424  enum_types=[
425  ],
426  serialized_options=None,
427  is_extendable=False,
428  syntax='proto3',
429  extension_ranges=[],
430  oneofs=[
431  ],
432  serialized_start=984,
433  serialized_end=1099,
434)
435
436
437_SIGNEDMAPROOT = _descriptor.Descriptor(
438  name='SignedMapRoot',
439  full_name='trillian.SignedMapRoot',
440  filename=None,
441  file=DESCRIPTOR,
442  containing_type=None,
443  fields=[
444    _descriptor.FieldDescriptor(
445      name='map_root', full_name='trillian.SignedMapRoot.map_root', index=0,
446      number=9, type=12, cpp_type=9, label=1,
447      has_default_value=False, default_value=_b(""),
448      message_type=None, enum_type=None, containing_type=None,
449      is_extension=False, extension_scope=None,
450      serialized_options=None, file=DESCRIPTOR),
451    _descriptor.FieldDescriptor(
452      name='signature', full_name='trillian.SignedMapRoot.signature', index=1,
453      number=4, type=12, cpp_type=9, label=1,
454      has_default_value=False, default_value=_b(""),
455      message_type=None, enum_type=None, containing_type=None,
456      is_extension=False, extension_scope=None,
457      serialized_options=None, file=DESCRIPTOR),
458  ],
459  extensions=[
460  ],
461  nested_types=[],
462  enum_types=[
463  ],
464  serialized_options=None,
465  is_extendable=False,
466  syntax='proto3',
467  extension_ranges=[],
468  oneofs=[
469  ],
470  serialized_start=1101,
471  serialized_end=1195,
472)
473
474
475_PROOF = _descriptor.Descriptor(
476  name='Proof',
477  full_name='trillian.Proof',
478  filename=None,
479  file=DESCRIPTOR,
480  containing_type=None,
481  fields=[
482    _descriptor.FieldDescriptor(
483      name='leaf_index', full_name='trillian.Proof.leaf_index', index=0,
484      number=1, type=3, cpp_type=2, label=1,
485      has_default_value=False, default_value=0,
486      message_type=None, enum_type=None, containing_type=None,
487      is_extension=False, extension_scope=None,
488      serialized_options=None, file=DESCRIPTOR),
489    _descriptor.FieldDescriptor(
490      name='hashes', full_name='trillian.Proof.hashes', index=1,
491      number=3, type=12, cpp_type=9, label=3,
492      has_default_value=False, default_value=[],
493      message_type=None, enum_type=None, containing_type=None,
494      is_extension=False, extension_scope=None,
495      serialized_options=None, file=DESCRIPTOR),
496  ],
497  extensions=[
498  ],
499  nested_types=[],
500  enum_types=[
501  ],
502  serialized_options=None,
503  is_extendable=False,
504  syntax='proto3',
505  extension_ranges=[],
506  oneofs=[
507  ],
508  serialized_start=1197,
509  serialized_end=1246,
510)
511
512_TREE.fields_by_name['tree_state'].enum_type = _TREESTATE
513_TREE.fields_by_name['tree_type'].enum_type = _TREETYPE
514_TREE.fields_by_name['hash_strategy'].enum_type = _HASHSTRATEGY
515_TREE.fields_by_name['hash_algorithm'].enum_type = crypto_dot_sigpb_dot_sigpb__pb2._DIGITALLYSIGNED_HASHALGORITHM
516_TREE.fields_by_name['signature_algorithm'].enum_type = crypto_dot_sigpb_dot_sigpb__pb2._DIGITALLYSIGNED_SIGNATUREALGORITHM
517_TREE.fields_by_name['private_key'].message_type = google_dot_protobuf_dot_any__pb2._ANY
518_TREE.fields_by_name['storage_settings'].message_type = google_dot_protobuf_dot_any__pb2._ANY
519_TREE.fields_by_name['public_key'].message_type = crypto_dot_keyspb_dot_keyspb__pb2._PUBLICKEY
520_TREE.fields_by_name['max_root_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
521_TREE.fields_by_name['create_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
522_TREE.fields_by_name['update_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
523_TREE.fields_by_name['delete_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
524_SIGNEDENTRYTIMESTAMP.fields_by_name['signature'].message_type = crypto_dot_sigpb_dot_sigpb__pb2._DIGITALLYSIGNED
525DESCRIPTOR.message_types_by_name['Tree'] = _TREE
526DESCRIPTOR.message_types_by_name['SignedEntryTimestamp'] = _SIGNEDENTRYTIMESTAMP
527DESCRIPTOR.message_types_by_name['SignedLogRoot'] = _SIGNEDLOGROOT
528DESCRIPTOR.message_types_by_name['SignedMapRoot'] = _SIGNEDMAPROOT
529DESCRIPTOR.message_types_by_name['Proof'] = _PROOF
530DESCRIPTOR.enum_types_by_name['LogRootFormat'] = _LOGROOTFORMAT
531DESCRIPTOR.enum_types_by_name['MapRootFormat'] = _MAPROOTFORMAT
532DESCRIPTOR.enum_types_by_name['HashStrategy'] = _HASHSTRATEGY
533DESCRIPTOR.enum_types_by_name['TreeState'] = _TREESTATE
534DESCRIPTOR.enum_types_by_name['TreeType'] = _TREETYPE
535_sym_db.RegisterFileDescriptor(DESCRIPTOR)
536
537Tree = _reflection.GeneratedProtocolMessageType('Tree', (_message.Message,), {
538  'DESCRIPTOR' : _TREE,
539  '__module__' : 'trillian_pb2'
540  # @@protoc_insertion_point(class_scope:trillian.Tree)
541  })
542_sym_db.RegisterMessage(Tree)
543
544SignedEntryTimestamp = _reflection.GeneratedProtocolMessageType('SignedEntryTimestamp', (_message.Message,), {
545  'DESCRIPTOR' : _SIGNEDENTRYTIMESTAMP,
546  '__module__' : 'trillian_pb2'
547  # @@protoc_insertion_point(class_scope:trillian.SignedEntryTimestamp)
548  })
549_sym_db.RegisterMessage(SignedEntryTimestamp)
550
551SignedLogRoot = _reflection.GeneratedProtocolMessageType('SignedLogRoot', (_message.Message,), {
552  'DESCRIPTOR' : _SIGNEDLOGROOT,
553  '__module__' : 'trillian_pb2'
554  # @@protoc_insertion_point(class_scope:trillian.SignedLogRoot)
555  })
556_sym_db.RegisterMessage(SignedLogRoot)
557
558SignedMapRoot = _reflection.GeneratedProtocolMessageType('SignedMapRoot', (_message.Message,), {
559  'DESCRIPTOR' : _SIGNEDMAPROOT,
560  '__module__' : 'trillian_pb2'
561  # @@protoc_insertion_point(class_scope:trillian.SignedMapRoot)
562  })
563_sym_db.RegisterMessage(SignedMapRoot)
564
565Proof = _reflection.GeneratedProtocolMessageType('Proof', (_message.Message,), {
566  'DESCRIPTOR' : _PROOF,
567  '__module__' : 'trillian_pb2'
568  # @@protoc_insertion_point(class_scope:trillian.Proof)
569  })
570_sym_db.RegisterMessage(Proof)
571
572
573DESCRIPTOR._options = None
574_TREESTATE.values_by_name["DEPRECATED_SOFT_DELETED"]._options = None
575_TREESTATE.values_by_name["DEPRECATED_HARD_DELETED"]._options = None
576# @@protoc_insertion_point(module_scope)
577