Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/in_toto_attestation/v1/resource_descriptor_pb2.py: 57%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

21 statements  

1# -*- coding: utf-8 -*- 

2# Generated by the protocol buffer compiler. DO NOT EDIT! 

3# source: in_toto_attestation/v1/resource_descriptor.proto 

4"""Generated protocol buffer code.""" 

5from google.protobuf import descriptor as _descriptor 

6from google.protobuf import descriptor_pool as _descriptor_pool 

7from google.protobuf import symbol_database as _symbol_database 

8from google.protobuf.internal import builder as _builder 

9# @@protoc_insertion_point(imports) 

10 

11_sym_db = _symbol_database.Default() 

12 

13 

14from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 

15 

16 

17DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( 

18 b'\n0in_toto_attestation/v1/resource_descriptor.proto\x12\x16in_toto_attestation.v1\x1a\x1cgoogle/protobuf/struct.proto"\x94\x02\n\x12ResourceDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x46\n\x06\x64igest\x18\x03 \x03(\x0b\x32\x36.in_toto_attestation.v1.ResourceDescriptor.DigestEntry\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\x0c\x12\x19\n\x11\x64ownload_location\x18\x05 \x01(\t\x12\x12\n\nmedia_type\x18\x06 \x01(\t\x12,\n\x0b\x61nnotations\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a-\n\x0b\x44igestEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42G\n\x1fio.github.intoto.attestation.v1Z$github.com/in-toto/attestation/go/v1b\x06proto3' 

19) 

20 

21_globals = globals() 

22_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 

23_builder.BuildTopDescriptorsAndMessages( 

24 DESCRIPTOR, "in_toto_attestation.v1.resource_descriptor_pb2", _globals 

25) 

26if _descriptor._USE_C_DESCRIPTORS == False: 

27 _globals["DESCRIPTOR"]._options = None 

28 _globals[ 

29 "DESCRIPTOR" 

30 ]._serialized_options = ( 

31 b"\n\037io.github.intoto.attestation.v1Z$github.com/in-toto/attestation/go/v1" 

32 ) 

33 _globals["_RESOURCEDESCRIPTOR_DIGESTENTRY"]._options = None 

34 _globals["_RESOURCEDESCRIPTOR_DIGESTENTRY"]._serialized_options = b"8\001" 

35 _globals["_RESOURCEDESCRIPTOR"]._serialized_start = 107 

36 _globals["_RESOURCEDESCRIPTOR"]._serialized_end = 383 

37 _globals["_RESOURCEDESCRIPTOR_DIGESTENTRY"]._serialized_start = 338 

38 _globals["_RESOURCEDESCRIPTOR_DIGESTENTRY"]._serialized_end = 383 

39# @@protoc_insertion_point(module_scope)