| # -*- coding: utf-8 -*- |
| # Generated by the protocol buffer compiler. DO NOT EDIT! |
| # source: api.proto |
| |
| 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() |
| |
| |
| import trillian_pb2 as trillian__pb2 |
| |
| |
| DESCRIPTOR = _descriptor.FileDescriptor( |
| name='api.proto', |
| package='aftl', |
| syntax='proto3', |
| serialized_options=_b('Z\005proto'), |
| serialized_pb=_b('\n\tapi.proto\x12\x04\x61\x66tl\x1a\x0etrillian.proto\"V\n\x0eInclusionProof\x12\x1e\n\x05proof\x18\x01 \x01(\x0b\x32\x0f.trillian.Proof\x12$\n\x03sth\x18\x02 \x01(\x0b\x32\x17.trillian.SignedLogRoot\"L\n\x10\x41\x64\x64VBMetaRequest\x12\x0e\n\x06vbmeta\x18\x01 \x01(\x0c\x12(\n signed_vbmeta_primary_annotation\x18\x02 \x01(\x0c\"\x9d\x01\n\x11\x41\x64\x64VBMetaResponse\x12.\n\x10\x61nnotation_proof\x18\x01 \x01(\x0b\x32\x14.aftl.InclusionProof\x12\x17\n\x0f\x61nnotation_leaf\x18\x02 \x01(\x0c\x12*\n\x0cvbmeta_proof\x18\x03 \x01(\x0b\x32\x14.aftl.InclusionProof\x12\x13\n\x0bvbmeta_leaf\x18\x04 \x01(\x0c\"q\n\x1e\x41nnotateVBMetaWithBuildRequest\x12&\n\x1esigned_vbmeta_build_annotation\x18\x01 \x01(\x0c\x12\x13\n\x0bimage_chunk\x18\x02 \x01(\x0c\x12\x12\n\norigin_url\x18\x03 \x01(\t\"j\n\x1f\x41nnotateVBMetaWithBuildResponse\x12.\n\x10\x61nnotation_proof\x18\x01 \x01(\x0b\x32\x14.aftl.InclusionProof\x12\x17\n\x0f\x61nnotation_leaf\x18\x02 \x01(\x0c\x32\xb5\x01\n\x06\x41\x46TLog\x12>\n\tAddVBMeta\x12\x16.aftl.AddVBMetaRequest\x1a\x17.aftl.AddVBMetaResponse\"\x00\x12k\n\x17\x41nnotateVBMetaWithBuild\x12%.aftl.AnnotateVBMetaWithBuildResponse\x1a%.aftl.AnnotateVBMetaWithBuildResponse\"\x00(\x01\x42\x07Z\x05protob\x06proto3') |
| , |
| dependencies=[trillian__pb2.DESCRIPTOR,]) |
| |
| |
| |
| |
| _INCLUSIONPROOF = _descriptor.Descriptor( |
| name='InclusionProof', |
| full_name='aftl.InclusionProof', |
| filename=None, |
| file=DESCRIPTOR, |
| containing_type=None, |
| fields=[ |
| _descriptor.FieldDescriptor( |
| name='proof', full_name='aftl.InclusionProof.proof', 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='sth', full_name='aftl.InclusionProof.sth', 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=[ |
| ], |
| serialized_start=35, |
| serialized_end=121, |
| ) |
| |
| |
| _ADDVBMETAREQUEST = _descriptor.Descriptor( |
| name='AddVBMetaRequest', |
| full_name='aftl.AddVBMetaRequest', |
| filename=None, |
| file=DESCRIPTOR, |
| containing_type=None, |
| fields=[ |
| _descriptor.FieldDescriptor( |
| name='vbmeta', full_name='aftl.AddVBMetaRequest.vbmeta', index=0, |
| number=1, type=12, cpp_type=9, label=1, |
| has_default_value=False, default_value=_b(""), |
| message_type=None, enum_type=None, containing_type=None, |
| is_extension=False, extension_scope=None, |
| serialized_options=None, file=DESCRIPTOR), |
| _descriptor.FieldDescriptor( |
| name='signed_vbmeta_primary_annotation', full_name='aftl.AddVBMetaRequest.signed_vbmeta_primary_annotation', index=1, |
| number=2, type=12, cpp_type=9, label=1, |
| has_default_value=False, default_value=_b(""), |
| 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=[ |
| ], |
| serialized_start=123, |
| serialized_end=199, |
| ) |
| |
| |
| _ADDVBMETARESPONSE = _descriptor.Descriptor( |
| name='AddVBMetaResponse', |
| full_name='aftl.AddVBMetaResponse', |
| filename=None, |
| file=DESCRIPTOR, |
| containing_type=None, |
| fields=[ |
| _descriptor.FieldDescriptor( |
| name='annotation_proof', full_name='aftl.AddVBMetaResponse.annotation_proof', 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='annotation_leaf', full_name='aftl.AddVBMetaResponse.annotation_leaf', index=1, |
| number=2, type=12, cpp_type=9, label=1, |
| has_default_value=False, default_value=_b(""), |
| message_type=None, enum_type=None, containing_type=None, |
| is_extension=False, extension_scope=None, |
| serialized_options=None, file=DESCRIPTOR), |
| _descriptor.FieldDescriptor( |
| name='vbmeta_proof', full_name='aftl.AddVBMetaResponse.vbmeta_proof', index=2, |
| number=3, 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='vbmeta_leaf', full_name='aftl.AddVBMetaResponse.vbmeta_leaf', index=3, |
| number=4, type=12, cpp_type=9, label=1, |
| has_default_value=False, default_value=_b(""), |
| 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=[ |
| ], |
| serialized_start=202, |
| serialized_end=359, |
| ) |
| |
| |
| _ANNOTATEVBMETAWITHBUILDREQUEST = _descriptor.Descriptor( |
| name='AnnotateVBMetaWithBuildRequest', |
| full_name='aftl.AnnotateVBMetaWithBuildRequest', |
| filename=None, |
| file=DESCRIPTOR, |
| containing_type=None, |
| fields=[ |
| _descriptor.FieldDescriptor( |
| name='signed_vbmeta_build_annotation', full_name='aftl.AnnotateVBMetaWithBuildRequest.signed_vbmeta_build_annotation', index=0, |
| number=1, type=12, cpp_type=9, label=1, |
| has_default_value=False, default_value=_b(""), |
| message_type=None, enum_type=None, containing_type=None, |
| is_extension=False, extension_scope=None, |
| serialized_options=None, file=DESCRIPTOR), |
| _descriptor.FieldDescriptor( |
| name='image_chunk', full_name='aftl.AnnotateVBMetaWithBuildRequest.image_chunk', index=1, |
| number=2, type=12, cpp_type=9, label=1, |
| has_default_value=False, default_value=_b(""), |
| message_type=None, enum_type=None, containing_type=None, |
| is_extension=False, extension_scope=None, |
| serialized_options=None, file=DESCRIPTOR), |
| _descriptor.FieldDescriptor( |
| name='origin_url', full_name='aftl.AnnotateVBMetaWithBuildRequest.origin_url', index=2, |
| number=3, type=9, cpp_type=9, label=1, |
| has_default_value=False, default_value=_b("").decode('utf-8'), |
| 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=[ |
| ], |
| serialized_start=361, |
| serialized_end=474, |
| ) |
| |
| |
| _ANNOTATEVBMETAWITHBUILDRESPONSE = _descriptor.Descriptor( |
| name='AnnotateVBMetaWithBuildResponse', |
| full_name='aftl.AnnotateVBMetaWithBuildResponse', |
| filename=None, |
| file=DESCRIPTOR, |
| containing_type=None, |
| fields=[ |
| _descriptor.FieldDescriptor( |
| name='annotation_proof', full_name='aftl.AnnotateVBMetaWithBuildResponse.annotation_proof', 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='annotation_leaf', full_name='aftl.AnnotateVBMetaWithBuildResponse.annotation_leaf', index=1, |
| number=2, type=12, cpp_type=9, label=1, |
| has_default_value=False, default_value=_b(""), |
| 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=[ |
| ], |
| serialized_start=476, |
| serialized_end=582, |
| ) |
| |
| _INCLUSIONPROOF.fields_by_name['proof'].message_type = trillian__pb2._PROOF |
| _INCLUSIONPROOF.fields_by_name['sth'].message_type = trillian__pb2._SIGNEDLOGROOT |
| _ADDVBMETARESPONSE.fields_by_name['annotation_proof'].message_type = _INCLUSIONPROOF |
| _ADDVBMETARESPONSE.fields_by_name['vbmeta_proof'].message_type = _INCLUSIONPROOF |
| _ANNOTATEVBMETAWITHBUILDRESPONSE.fields_by_name['annotation_proof'].message_type = _INCLUSIONPROOF |
| DESCRIPTOR.message_types_by_name['InclusionProof'] = _INCLUSIONPROOF |
| DESCRIPTOR.message_types_by_name['AddVBMetaRequest'] = _ADDVBMETAREQUEST |
| DESCRIPTOR.message_types_by_name['AddVBMetaResponse'] = _ADDVBMETARESPONSE |
| DESCRIPTOR.message_types_by_name['AnnotateVBMetaWithBuildRequest'] = _ANNOTATEVBMETAWITHBUILDREQUEST |
| DESCRIPTOR.message_types_by_name['AnnotateVBMetaWithBuildResponse'] = _ANNOTATEVBMETAWITHBUILDRESPONSE |
| _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| |
| InclusionProof = _reflection.GeneratedProtocolMessageType('InclusionProof', (_message.Message,), { |
| 'DESCRIPTOR' : _INCLUSIONPROOF, |
| '__module__' : 'api_pb2' |
| # @@protoc_insertion_point(class_scope:aftl.InclusionProof) |
| }) |
| _sym_db.RegisterMessage(InclusionProof) |
| |
| AddVBMetaRequest = _reflection.GeneratedProtocolMessageType('AddVBMetaRequest', (_message.Message,), { |
| 'DESCRIPTOR' : _ADDVBMETAREQUEST, |
| '__module__' : 'api_pb2' |
| # @@protoc_insertion_point(class_scope:aftl.AddVBMetaRequest) |
| }) |
| _sym_db.RegisterMessage(AddVBMetaRequest) |
| |
| AddVBMetaResponse = _reflection.GeneratedProtocolMessageType('AddVBMetaResponse', (_message.Message,), { |
| 'DESCRIPTOR' : _ADDVBMETARESPONSE, |
| '__module__' : 'api_pb2' |
| # @@protoc_insertion_point(class_scope:aftl.AddVBMetaResponse) |
| }) |
| _sym_db.RegisterMessage(AddVBMetaResponse) |
| |
| AnnotateVBMetaWithBuildRequest = _reflection.GeneratedProtocolMessageType('AnnotateVBMetaWithBuildRequest', (_message.Message,), { |
| 'DESCRIPTOR' : _ANNOTATEVBMETAWITHBUILDREQUEST, |
| '__module__' : 'api_pb2' |
| # @@protoc_insertion_point(class_scope:aftl.AnnotateVBMetaWithBuildRequest) |
| }) |
| _sym_db.RegisterMessage(AnnotateVBMetaWithBuildRequest) |
| |
| AnnotateVBMetaWithBuildResponse = _reflection.GeneratedProtocolMessageType('AnnotateVBMetaWithBuildResponse', (_message.Message,), { |
| 'DESCRIPTOR' : _ANNOTATEVBMETAWITHBUILDRESPONSE, |
| '__module__' : 'api_pb2' |
| # @@protoc_insertion_point(class_scope:aftl.AnnotateVBMetaWithBuildResponse) |
| }) |
| _sym_db.RegisterMessage(AnnotateVBMetaWithBuildResponse) |
| |
| |
| DESCRIPTOR._options = None |
| |
| _AFTLOG = _descriptor.ServiceDescriptor( |
| name='AFTLog', |
| full_name='aftl.AFTLog', |
| file=DESCRIPTOR, |
| index=0, |
| serialized_options=None, |
| serialized_start=585, |
| serialized_end=766, |
| methods=[ |
| _descriptor.MethodDescriptor( |
| name='AddVBMeta', |
| full_name='aftl.AFTLog.AddVBMeta', |
| index=0, |
| containing_service=None, |
| input_type=_ADDVBMETAREQUEST, |
| output_type=_ADDVBMETARESPONSE, |
| serialized_options=None, |
| ), |
| _descriptor.MethodDescriptor( |
| name='AnnotateVBMetaWithBuild', |
| full_name='aftl.AFTLog.AnnotateVBMetaWithBuild', |
| index=1, |
| containing_service=None, |
| input_type=_ANNOTATEVBMETAWITHBUILDRESPONSE, |
| output_type=_ANNOTATEVBMETAWITHBUILDRESPONSE, |
| serialized_options=None, |
| ), |
| ]) |
| _sym_db.RegisterServiceDescriptor(_AFTLOG) |
| |
| DESCRIPTOR.services_by_name['AFTLog'] = _AFTLOG |
| |
| # @@protoc_insertion_point(module_scope) |