| 1 |
# Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 |
# source: in_toto_attestation/v1/resource_descriptor.proto |
| 3 |
"""Generated protocol buffer code.""" |
| 4 |
|
| 5 |
from google.protobuf import descriptor as _descriptor |
| 6 |
from google.protobuf import descriptor_pool as _descriptor_pool |
| 7 |
from google.protobuf import symbol_database as _symbol_database |
| 8 |
from google.protobuf.internal import builder as _builder |
| 9 |
|
| 10 |
# @@protoc_insertion_point(imports) |
| 11 |
|
| 12 |
_sym_db = _symbol_database.Default() |
| 13 |
|
| 14 |
|
| 15 |
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 |
| 16 |
|
| 17 |
DESCRIPTOR = _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 |
) |
| 26 |
if _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) |