blob: 571a6352a1e543d599480e9c2d961e5dc9faf7ee [file] [log] [blame]
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: chromite/api/payload.proto
"""Generated protocol buffer code."""
from chromite.third_party.google.protobuf.internal import builder as _builder
from chromite.third_party.google.protobuf import descriptor as _descriptor
from chromite.third_party.google.protobuf import descriptor_pool as _descriptor_pool
from chromite.third_party.google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from chromite.api.gen.chromite.api import build_api_pb2 as chromite_dot_api_dot_build__api__pb2
from chromite.api.gen.chromiumos import common_pb2 as chromiumos_dot_common__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63hromite/api/payload.proto\x12\x0c\x63hromite.api\x1a\x1c\x63hromite/api/build_api.proto\x1a\x17\x63hromiumos/common.proto\"h\n\x05\x42uild\x12-\n\x0c\x62uild_target\x18\x01 \x01(\x0b\x32\x17.chromiumos.BuildTarget\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0e\n\x06\x62ucket\x18\x03 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x04 \x01(\t\"\x91\x01\n\x08\x44LCImage\x12\"\n\x05\x62uild\x18\x01 \x01(\x0b\x32\x13.chromite.api.Build\x12\x0e\n\x06\x64lc_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64lc_package\x18\x03 \x01(\t\x12\x11\n\tdlc_image\x18\x04 \x01(\t\x12)\n\nimage_type\x18\x05 \x01(\x0e\x32\x15.chromiumos.ImageType\"i\n\x0bSignedImage\x12\"\n\x05\x62uild\x18\x01 \x01(\x0b\x32\x13.chromite.api.Build\x12)\n\nimage_type\x18\x02 \x01(\x0e\x32\x15.chromiumos.ImageType\x12\x0b\n\x03key\x18\x03 \x01(\t\"q\n\rUnsignedImage\x12\"\n\x05\x62uild\x18\x01 \x01(\x0b\x32\x13.chromite.api.Build\x12)\n\nimage_type\x18\x02 \x01(\x0e\x32\x15.chromiumos.ImageType\x12\x11\n\tmilestone\x18\x03 \x01(\t\"\xe8\x04\n\x11GenerationRequest\x12\x15\n\x0b\x66ull_update\x18\x01 \x01(\x08H\x00\x12\x35\n\x10src_signed_image\x18\x02 \x01(\x0b\x32\x19.chromite.api.SignedImageH\x00\x12\x39\n\x12src_unsigned_image\x18\x03 \x01(\x0b\x32\x1b.chromite.api.UnsignedImageH\x00\x12/\n\rsrc_dlc_image\x18\n \x01(\x0b\x32\x16.chromite.api.DLCImageH\x00\x12\x35\n\x10tgt_signed_image\x18\x04 \x01(\x0b\x32\x19.chromite.api.SignedImageH\x01\x12\x39\n\x12tgt_unsigned_image\x18\x05 \x01(\x0b\x32\x1b.chromite.api.UnsignedImageH\x01\x12/\n\rtgt_dlc_image\x18\x0b \x01(\x0b\x32\x16.chromite.api.DLCImageH\x01\x12\x0e\n\x06\x62ucket\x18\x06 \x01(\t\x12\x0e\n\x06verify\x18\x07 \x01(\x08\x12\x0e\n\x06keyset\x18\x08 \x01(\t\x12\x0e\n\x06\x64ryrun\x18\t \x01(\x08\x12\"\n\x06\x63hroot\x18\x0c \x01(\x0b\x32\x12.chromiumos.Chroot\x12\x0e\n\x06minios\x18\r \x01(\x08\x12+\n\x0bresult_path\x18\x0e \x01(\x0b\x32\x16.chromiumos.ResultPath\x12\x19\n\x11use_local_signing\x18\x0f \x01(\x08\x12\x14\n\x0c\x64ocker_image\x18\x10 \x01(\tB\x11\n\x0fsrc_image_oneofB\x11\n\x0ftgt_image_oneof\"\xb3\x03\n\x12GenerationResponse\x12\x12\n\nlocal_path\x18\x02 \x01(\t\x12\x12\n\nremote_uri\x18\x03 \x01(\t\x12O\n\x13versioned_artifacts\x18\x05 \x03(\x0b\x32\x32.chromite.api.GenerationResponse.VersionedArtifact\x12\x46\n\x0e\x66\x61ilure_reason\x18\x04 \x01(\x0e\x32..chromite.api.GenerationResponse.FailureReason\x1au\n\x11VersionedArtifact\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x16\n\nlocal_path\x18\x02 \x01(\tB\x02\x18\x01\x12\x12\n\nremote_uri\x18\x03 \x01(\t\x12#\n\tfile_path\x18\x04 \x01(\x0b\x32\x10.chromiumos.Path\"V\n\rFailureReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x19\n\x15NOT_MINIOS_COMPATIBLE\x10\x01\x12\x19\n\x15MINIOS_COUNT_MISMATCH\x10\x02J\x04\x08\x01\x10\x02R\x07success\"\x84\x04\n\x1eGenerateUnsignedPayloadRequest\x12\x15\n\x0b\x66ull_update\x18\x01 \x01(\x08H\x00\x12\x35\n\x10src_signed_image\x18\x02 \x01(\x0b\x32\x19.chromite.api.SignedImageH\x00\x12\x39\n\x12src_unsigned_image\x18\x03 \x01(\x0b\x32\x1b.chromite.api.UnsignedImageH\x00\x12/\n\rsrc_dlc_image\x18\x04 \x01(\x0b\x32\x16.chromite.api.DLCImageH\x00\x12\x35\n\x10tgt_signed_image\x18\x05 \x01(\x0b\x32\x19.chromite.api.SignedImageH\x01\x12\x39\n\x12tgt_unsigned_image\x18\x06 \x01(\x0b\x32\x1b.chromite.api.UnsignedImageH\x01\x12/\n\rtgt_dlc_image\x18\x07 \x01(\x0b\x32\x16.chromite.api.DLCImageH\x01\x12\"\n\x06\x63hroot\x18\x08 \x01(\x0b\x32\x12.chromiumos.Chroot\x12\x0e\n\x06minios\x18\t \x01(\x08\x12+\n\x0bresult_path\x18\n \x01(\x0b\x32\x16.chromiumos.ResultPathB\x11\n\x0fsrc_image_oneofB\x11\n\x0ftgt_image_oneof\"\x97\x02\n\x0fUnsignedPayload\x12\x0f\n\x07version\x18\x01 \x01(\r\x12+\n\x11payload_file_path\x18\x02 \x01(\x0b\x32\x10.chromiumos.Path\x12\x13\n\x0brand_suffix\x18\x07 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\x12(\n\x0esrc_partitions\x18\x05 \x03(\x0b\x32\x10.chromiumos.Path\x12(\n\x0etgt_partitions\x18\x06 \x03(\x0b\x32\x10.chromiumos.Path\x12\r\n\x05\x61ppid\x18\x08 \x01(\t\x12/\n\x15payload_file_log_path\x18\t \x01(\x0b\x32\x10.chromiumos.PathJ\x04\x08\x03\x10\x04\"\x8e\x02\n\x1fGenerateUnsignedPayloadResponse\x12\x38\n\x11unsigned_payloads\x18\x03 \x03(\x0b\x32\x1d.chromite.api.UnsignedPayload\x12S\n\x0e\x66\x61ilure_reason\x18\x02 \x01(\x0e\x32;.chromite.api.GenerateUnsignedPayloadResponse.FailureReason\"V\n\rFailureReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x19\n\x15NOT_MINIOS_COMPATIBLE\x10\x01\x12\x19\n\x15MINIOS_COUNT_MISMATCH\x10\x02J\x04\x08\x01\x10\x02\"\x9e\x05\n\x16\x46inalizePayloadRequest\x12\"\n\x06\x63hroot\x18\x01 \x01(\x0b\x32\x12.chromiumos.Chroot\x12\x15\n\x0b\x66ull_update\x18\n \x01(\x08H\x00\x12\x35\n\x10src_signed_image\x18\x0b \x01(\x0b\x32\x19.chromite.api.SignedImageH\x00\x12\x39\n\x12src_unsigned_image\x18\x0c \x01(\x0b\x32\x1b.chromite.api.UnsignedImageH\x00\x12/\n\rsrc_dlc_image\x18\r \x01(\x0b\x32\x16.chromite.api.DLCImageH\x00\x12\x35\n\x10tgt_signed_image\x18\x0e \x01(\x0b\x32\x19.chromite.api.SignedImageH\x01\x12\x39\n\x12tgt_unsigned_image\x18\x0f \x01(\x0b\x32\x1b.chromite.api.UnsignedImageH\x01\x12/\n\rtgt_dlc_image\x18\x10 \x01(\x0b\x32\x16.chromite.api.DLCImageH\x01\x12\x0e\n\x06minios\x18\t \x01(\x08\x12/\n\x08payloads\x18\x08 \x03(\x0b\x32\x1d.chromite.api.UnsignedPayload\x12\x0e\n\x06\x64ryrun\x18\x02 \x01(\x08\x12+\n\x0bresult_path\x18\x03 \x01(\x0b\x32\x16.chromiumos.ResultPath\x12\x0e\n\x06keyset\x18\x04 \x01(\t\x12\x0e\n\x06verify\x18\x06 \x01(\x08\x12\x0e\n\x06\x62ucket\x18\x07 \x01(\t\x12\x19\n\x11use_local_signing\x18\x05 \x01(\x08\x12\x14\n\x0c\x64ocker_image\x18\x11 \x01(\tB\x11\n\x0fsrc_image_oneofB\x11\n\x0ftgt_image_oneof\"\xce\x01\n\x17\x46inalizePayloadResponse\x12T\n\x13versioned_artifacts\x18\x01 \x03(\x0b\x32\x37.chromite.api.FinalizePayloadResponse.VersionedArtifact\x1a]\n\x11VersionedArtifact\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x12\n\nremote_uri\x18\x02 \x01(\t\x12#\n\tfile_path\x18\x03 \x01(\x0b\x32\x10.chromiumos.Path2\xd9\x02\n\x0ePayloadService\x12T\n\x0fGeneratePayload\x12\x1f.chromite.api.GenerationRequest\x1a .chromite.api.GenerationResponse\x12v\n\x17GenerateUnsignedPayload\x12,.chromite.api.GenerateUnsignedPayloadRequest\x1a-.chromite.api.GenerateUnsignedPayloadResponse\x12h\n\x0f\x46inalizePayload\x12$.chromite.api.FinalizePayloadRequest\x1a%.chromite.api.FinalizePayloadResponse\"\x08\xc2\xed\x1a\x04\x10\x02 \x02\x1a\x0f\xc2\xed\x1a\x0b\n\x07payload\x10\x01\x42\x38Z6go.chromium.org/chromiumos/infra/proto/go/chromite/apib\x06proto3')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chromite.api.payload_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'Z6go.chromium.org/chromiumos/infra/proto/go/chromite/api'
_GENERATIONRESPONSE_VERSIONEDARTIFACT.fields_by_name['local_path']._options = None
_GENERATIONRESPONSE_VERSIONEDARTIFACT.fields_by_name['local_path']._serialized_options = b'\030\001'
_PAYLOADSERVICE._options = None
_PAYLOADSERVICE._serialized_options = b'\302\355\032\013\n\007payload\020\001'
_PAYLOADSERVICE.methods_by_name['FinalizePayload']._options = None
_PAYLOADSERVICE.methods_by_name['FinalizePayload']._serialized_options = b'\302\355\032\004\020\002 \002'
_BUILD._serialized_start=99
_BUILD._serialized_end=203
_DLCIMAGE._serialized_start=206
_DLCIMAGE._serialized_end=351
_SIGNEDIMAGE._serialized_start=353
_SIGNEDIMAGE._serialized_end=458
_UNSIGNEDIMAGE._serialized_start=460
_UNSIGNEDIMAGE._serialized_end=573
_GENERATIONREQUEST._serialized_start=576
_GENERATIONREQUEST._serialized_end=1192
_GENERATIONRESPONSE._serialized_start=1195
_GENERATIONRESPONSE._serialized_end=1630
_GENERATIONRESPONSE_VERSIONEDARTIFACT._serialized_start=1410
_GENERATIONRESPONSE_VERSIONEDARTIFACT._serialized_end=1527
_GENERATIONRESPONSE_FAILUREREASON._serialized_start=1529
_GENERATIONRESPONSE_FAILUREREASON._serialized_end=1615
_GENERATEUNSIGNEDPAYLOADREQUEST._serialized_start=1633
_GENERATEUNSIGNEDPAYLOADREQUEST._serialized_end=2149
_UNSIGNEDPAYLOAD._serialized_start=2152
_UNSIGNEDPAYLOAD._serialized_end=2431
_GENERATEUNSIGNEDPAYLOADRESPONSE._serialized_start=2434
_GENERATEUNSIGNEDPAYLOADRESPONSE._serialized_end=2704
_GENERATEUNSIGNEDPAYLOADRESPONSE_FAILUREREASON._serialized_start=1529
_GENERATEUNSIGNEDPAYLOADRESPONSE_FAILUREREASON._serialized_end=1615
_FINALIZEPAYLOADREQUEST._serialized_start=2707
_FINALIZEPAYLOADREQUEST._serialized_end=3377
_FINALIZEPAYLOADRESPONSE._serialized_start=3380
_FINALIZEPAYLOADRESPONSE._serialized_end=3586
_FINALIZEPAYLOADRESPONSE_VERSIONEDARTIFACT._serialized_start=3493
_FINALIZEPAYLOADRESPONSE_VERSIONEDARTIFACT._serialized_end=3586
_PAYLOADSERVICE._serialized_start=3589
_PAYLOADSERVICE._serialized_end=3934
# @@protoc_insertion_point(module_scope)