blob: 68bc0419f434bccf6d97dc5889cfdb6005dadfc6 [file] [log] [blame]
// Copyright 2019 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.1
// source: chromite/api/payload.proto
package api
import (
chromiumos "go.chromium.org/chromiumos/infra/proto/go/chromiumos"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// If no payload was generated, we may be able to report the reason why.
type GenerationResponse_FailureReason int32
const (
GenerationResponse_UNSPECIFIED GenerationResponse_FailureReason = 0
GenerationResponse_NOT_MINIOS_COMPATIBLE GenerationResponse_FailureReason = 1
// This occurs when the source and target builds do not support the same
// number of recovery keys.
GenerationResponse_MINIOS_COUNT_MISMATCH GenerationResponse_FailureReason = 2
)
// Enum value maps for GenerationResponse_FailureReason.
var (
GenerationResponse_FailureReason_name = map[int32]string{
0: "UNSPECIFIED",
1: "NOT_MINIOS_COMPATIBLE",
2: "MINIOS_COUNT_MISMATCH",
}
GenerationResponse_FailureReason_value = map[string]int32{
"UNSPECIFIED": 0,
"NOT_MINIOS_COMPATIBLE": 1,
"MINIOS_COUNT_MISMATCH": 2,
}
)
func (x GenerationResponse_FailureReason) Enum() *GenerationResponse_FailureReason {
p := new(GenerationResponse_FailureReason)
*p = x
return p
}
func (x GenerationResponse_FailureReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GenerationResponse_FailureReason) Descriptor() protoreflect.EnumDescriptor {
return file_chromite_api_payload_proto_enumTypes[0].Descriptor()
}
func (GenerationResponse_FailureReason) Type() protoreflect.EnumType {
return &file_chromite_api_payload_proto_enumTypes[0]
}
func (x GenerationResponse_FailureReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use GenerationResponse_FailureReason.Descriptor instead.
func (GenerationResponse_FailureReason) EnumDescriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{5, 0}
}
// If no payload was generated, we may be able to report the reason why.
type GenerateUnsignedPayloadResponse_FailureReason int32
const (
GenerateUnsignedPayloadResponse_UNSPECIFIED GenerateUnsignedPayloadResponse_FailureReason = 0
GenerateUnsignedPayloadResponse_NOT_MINIOS_COMPATIBLE GenerateUnsignedPayloadResponse_FailureReason = 1
// This occurs when the source and target builds do not support the same
// number of recovery keys.
GenerateUnsignedPayloadResponse_MINIOS_COUNT_MISMATCH GenerateUnsignedPayloadResponse_FailureReason = 2
)
// Enum value maps for GenerateUnsignedPayloadResponse_FailureReason.
var (
GenerateUnsignedPayloadResponse_FailureReason_name = map[int32]string{
0: "UNSPECIFIED",
1: "NOT_MINIOS_COMPATIBLE",
2: "MINIOS_COUNT_MISMATCH",
}
GenerateUnsignedPayloadResponse_FailureReason_value = map[string]int32{
"UNSPECIFIED": 0,
"NOT_MINIOS_COMPATIBLE": 1,
"MINIOS_COUNT_MISMATCH": 2,
}
)
func (x GenerateUnsignedPayloadResponse_FailureReason) Enum() *GenerateUnsignedPayloadResponse_FailureReason {
p := new(GenerateUnsignedPayloadResponse_FailureReason)
*p = x
return p
}
func (x GenerateUnsignedPayloadResponse_FailureReason) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GenerateUnsignedPayloadResponse_FailureReason) Descriptor() protoreflect.EnumDescriptor {
return file_chromite_api_payload_proto_enumTypes[1].Descriptor()
}
func (GenerateUnsignedPayloadResponse_FailureReason) Type() protoreflect.EnumType {
return &file_chromite_api_payload_proto_enumTypes[1]
}
func (x GenerateUnsignedPayloadResponse_FailureReason) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use GenerateUnsignedPayloadResponse_FailureReason.Descriptor instead.
func (GenerateUnsignedPayloadResponse_FailureReason) EnumDescriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{8, 0}
}
// Defines a single build directory in storage.
type Build struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The board of the image "x86-mario", etc.
BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,1,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
// The version of the image. "0.14.23.2", "3401.0.0", etc.
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// The bucket of the image. "chromeos-releases" as default.
Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
// The channel of the image "stable-channel", "nplusone", etc.
Channel string `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"`
}
func (x *Build) Reset() {
*x = Build{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Build) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Build) ProtoMessage() {}
func (x *Build) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Build.ProtoReflect.Descriptor instead.
func (*Build) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{0}
}
func (x *Build) GetBuildTarget() *chromiumos.BuildTarget {
if x != nil {
return x.BuildTarget
}
return nil
}
func (x *Build) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *Build) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *Build) GetChannel() string {
if x != nil {
return x.Channel
}
return ""
}
// Define a DLC image archived.
type DLCImage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// An instance of Build that defines the build artifacts directory.
Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
// The name of the DLC (e.g. 'terminal-dlc').
DlcId string `protobuf:"bytes,2,opt,name=dlc_id,json=dlcId,proto3" json:"dlc_id,omitempty"`
// The name of the DLC package (e.g. 'package').
DlcPackage string `protobuf:"bytes,3,opt,name=dlc_package,json=dlcPackage,proto3" json:"dlc_package,omitempty"`
// The name of the DLC image (e.g. 'dlc.img').
DlcImage string `protobuf:"bytes,4,opt,name=dlc_image,json=dlcImage,proto3" json:"dlc_image,omitempty"`
// The type of the image. Currently, always 'DLC'.
ImageType chromiumos.ImageType `protobuf:"varint,5,opt,name=image_type,json=imageType,proto3,enum=chromiumos.ImageType" json:"image_type,omitempty"`
}
func (x *DLCImage) Reset() {
*x = DLCImage{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DLCImage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DLCImage) ProtoMessage() {}
func (x *DLCImage) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DLCImage.ProtoReflect.Descriptor instead.
func (*DLCImage) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{1}
}
func (x *DLCImage) GetBuild() *Build {
if x != nil {
return x.Build
}
return nil
}
func (x *DLCImage) GetDlcId() string {
if x != nil {
return x.DlcId
}
return ""
}
func (x *DLCImage) GetDlcPackage() string {
if x != nil {
return x.DlcPackage
}
return ""
}
func (x *DLCImage) GetDlcImage() string {
if x != nil {
return x.DlcImage
}
return ""
}
func (x *DLCImage) GetImageType() chromiumos.ImageType {
if x != nil {
return x.ImageType
}
return chromiumos.ImageType(0)
}
// Define a signed ChromeOS image archived.
type SignedImage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// An instance of Build that defines the build artifacts directory.
Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
// The type of the image. Currently, "recovery" or "base" types are supported.
ImageType chromiumos.ImageType `protobuf:"varint,2,opt,name=image_type,json=imageType,proto3,enum=chromiumos.ImageType" json:"image_type,omitempty"`
// The key the image was signed with. "premp", "mp", "mp-v2". This is not the
// board specific key name, but the general value used in image/payload names.
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
}
func (x *SignedImage) Reset() {
*x = SignedImage{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SignedImage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignedImage) ProtoMessage() {}
func (x *SignedImage) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SignedImage.ProtoReflect.Descriptor instead.
func (*SignedImage) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{2}
}
func (x *SignedImage) GetBuild() *Build {
if x != nil {
return x.Build
}
return nil
}
func (x *SignedImage) GetImageType() chromiumos.ImageType {
if x != nil {
return x.ImageType
}
return chromiumos.ImageType(0)
}
func (x *SignedImage) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
// Define a unsigned ChromeOS image archived.
type UnsignedImage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// An instance of Build that defines the build artifacts directory.
Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
/// The type of the image. Currently one of "test", "recovery", or "base".
ImageType chromiumos.ImageType `protobuf:"varint,2,opt,name=image_type,json=imageType,proto3,enum=chromiumos.ImageType" json:"image_type,omitempty"`
// The most recent branch corresponding to the version; "R19" etc.
Milestone string `protobuf:"bytes,3,opt,name=milestone,proto3" json:"milestone,omitempty"`
}
func (x *UnsignedImage) Reset() {
*x = UnsignedImage{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UnsignedImage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UnsignedImage) ProtoMessage() {}
func (x *UnsignedImage) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UnsignedImage.ProtoReflect.Descriptor instead.
func (*UnsignedImage) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{3}
}
func (x *UnsignedImage) GetBuild() *Build {
if x != nil {
return x.Build
}
return nil
}
func (x *UnsignedImage) GetImageType() chromiumos.ImageType {
if x != nil {
return x.ImageType
}
return chromiumos.ImageType(0)
}
func (x *UnsignedImage) GetMilestone() string {
if x != nil {
return x.Milestone
}
return ""
}
// Request payload generation to be done with a source and target image.
type GenerationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Source image properties, must be either full_update or the same type as
// the included tgt_image_oneof. full_update indicates the lack of a source.
//
// Types that are assignable to SrcImageOneof:
// *GenerationRequest_FullUpdate
// *GenerationRequest_SrcSignedImage
// *GenerationRequest_SrcUnsignedImage
// *GenerationRequest_SrcDlcImage
SrcImageOneof isGenerationRequest_SrcImageOneof `protobuf_oneof:"src_image_oneof"`
// Target image properties.
//
// Types that are assignable to TgtImageOneof:
// *GenerationRequest_TgtSignedImage
// *GenerationRequest_TgtUnsignedImage
// *GenerationRequest_TgtDlcImage
TgtImageOneof isGenerationRequest_TgtImageOneof `protobuf_oneof:"tgt_image_oneof"`
// The destination bucket (defaults to "chromeos-releases").
Bucket string `protobuf:"bytes,6,opt,name=bucket,proto3" json:"bucket,omitempty"`
// Should we run verification?
Verify bool `protobuf:"varint,7,opt,name=verify,proto3" json:"verify,omitempty"`
// The keyset to sign with (e.g. "coral-mp-v16"), if empty do not sign,
// and may be ignored for certain request types (e.g. dlc).
Keyset string `protobuf:"bytes,8,opt,name=keyset,proto3" json:"keyset,omitempty"`
// Do not sign images or upload artifacts.
Dryrun bool `protobuf:"varint,9,opt,name=dryrun,proto3" json:"dryrun,omitempty"`
// The chroot where the operations will be executed.
// Required.
Chroot *chromiumos.Chroot `protobuf:"bytes,12,opt,name=chroot,proto3" json:"chroot,omitempty"`
// TODO(b/299105459): Don't special-case minios.
// Whether the request is for a miniOS payload.
// This is only meaningful if the src and tgt images are either
// both SignedImage or both UnsignedImage.
Minios bool `protobuf:"varint,13,opt,name=minios,proto3" json:"minios,omitempty"`
// Target directory where output artifacts should be stored.
ResultPath *chromiumos.ResultPath `protobuf:"bytes,14,opt,name=result_path,json=resultPath,proto3" json:"result_path,omitempty"`
// If set, will use the local signing flow (currently a prototype).
UseLocalSigning bool `protobuf:"varint,15,opt,name=use_local_signing,json=useLocalSigning,proto3" json:"use_local_signing,omitempty"`
// Docker image to use for local signing. Must already be pulled down on the
// host. This consists of the name of the docker image, followed by the tag,
// i.e. "signing:1234".
DockerImage string `protobuf:"bytes,16,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"`
}
func (x *GenerationRequest) Reset() {
*x = GenerationRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenerationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenerationRequest) ProtoMessage() {}
func (x *GenerationRequest) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GenerationRequest.ProtoReflect.Descriptor instead.
func (*GenerationRequest) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{4}
}
func (m *GenerationRequest) GetSrcImageOneof() isGenerationRequest_SrcImageOneof {
if m != nil {
return m.SrcImageOneof
}
return nil
}
func (x *GenerationRequest) GetFullUpdate() bool {
if x, ok := x.GetSrcImageOneof().(*GenerationRequest_FullUpdate); ok {
return x.FullUpdate
}
return false
}
func (x *GenerationRequest) GetSrcSignedImage() *SignedImage {
if x, ok := x.GetSrcImageOneof().(*GenerationRequest_SrcSignedImage); ok {
return x.SrcSignedImage
}
return nil
}
func (x *GenerationRequest) GetSrcUnsignedImage() *UnsignedImage {
if x, ok := x.GetSrcImageOneof().(*GenerationRequest_SrcUnsignedImage); ok {
return x.SrcUnsignedImage
}
return nil
}
func (x *GenerationRequest) GetSrcDlcImage() *DLCImage {
if x, ok := x.GetSrcImageOneof().(*GenerationRequest_SrcDlcImage); ok {
return x.SrcDlcImage
}
return nil
}
func (m *GenerationRequest) GetTgtImageOneof() isGenerationRequest_TgtImageOneof {
if m != nil {
return m.TgtImageOneof
}
return nil
}
func (x *GenerationRequest) GetTgtSignedImage() *SignedImage {
if x, ok := x.GetTgtImageOneof().(*GenerationRequest_TgtSignedImage); ok {
return x.TgtSignedImage
}
return nil
}
func (x *GenerationRequest) GetTgtUnsignedImage() *UnsignedImage {
if x, ok := x.GetTgtImageOneof().(*GenerationRequest_TgtUnsignedImage); ok {
return x.TgtUnsignedImage
}
return nil
}
func (x *GenerationRequest) GetTgtDlcImage() *DLCImage {
if x, ok := x.GetTgtImageOneof().(*GenerationRequest_TgtDlcImage); ok {
return x.TgtDlcImage
}
return nil
}
func (x *GenerationRequest) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *GenerationRequest) GetVerify() bool {
if x != nil {
return x.Verify
}
return false
}
func (x *GenerationRequest) GetKeyset() string {
if x != nil {
return x.Keyset
}
return ""
}
func (x *GenerationRequest) GetDryrun() bool {
if x != nil {
return x.Dryrun
}
return false
}
func (x *GenerationRequest) GetChroot() *chromiumos.Chroot {
if x != nil {
return x.Chroot
}
return nil
}
func (x *GenerationRequest) GetMinios() bool {
if x != nil {
return x.Minios
}
return false
}
func (x *GenerationRequest) GetResultPath() *chromiumos.ResultPath {
if x != nil {
return x.ResultPath
}
return nil
}
func (x *GenerationRequest) GetUseLocalSigning() bool {
if x != nil {
return x.UseLocalSigning
}
return false
}
func (x *GenerationRequest) GetDockerImage() string {
if x != nil {
return x.DockerImage
}
return ""
}
type isGenerationRequest_SrcImageOneof interface {
isGenerationRequest_SrcImageOneof()
}
type GenerationRequest_FullUpdate struct {
FullUpdate bool `protobuf:"varint,1,opt,name=full_update,json=fullUpdate,proto3,oneof"`
}
type GenerationRequest_SrcSignedImage struct {
SrcSignedImage *SignedImage `protobuf:"bytes,2,opt,name=src_signed_image,json=srcSignedImage,proto3,oneof"`
}
type GenerationRequest_SrcUnsignedImage struct {
SrcUnsignedImage *UnsignedImage `protobuf:"bytes,3,opt,name=src_unsigned_image,json=srcUnsignedImage,proto3,oneof"`
}
type GenerationRequest_SrcDlcImage struct {
SrcDlcImage *DLCImage `protobuf:"bytes,10,opt,name=src_dlc_image,json=srcDlcImage,proto3,oneof"`
}
func (*GenerationRequest_FullUpdate) isGenerationRequest_SrcImageOneof() {}
func (*GenerationRequest_SrcSignedImage) isGenerationRequest_SrcImageOneof() {}
func (*GenerationRequest_SrcUnsignedImage) isGenerationRequest_SrcImageOneof() {}
func (*GenerationRequest_SrcDlcImage) isGenerationRequest_SrcImageOneof() {}
type isGenerationRequest_TgtImageOneof interface {
isGenerationRequest_TgtImageOneof()
}
type GenerationRequest_TgtSignedImage struct {
TgtSignedImage *SignedImage `protobuf:"bytes,4,opt,name=tgt_signed_image,json=tgtSignedImage,proto3,oneof"`
}
type GenerationRequest_TgtUnsignedImage struct {
TgtUnsignedImage *UnsignedImage `protobuf:"bytes,5,opt,name=tgt_unsigned_image,json=tgtUnsignedImage,proto3,oneof"`
}
type GenerationRequest_TgtDlcImage struct {
TgtDlcImage *DLCImage `protobuf:"bytes,11,opt,name=tgt_dlc_image,json=tgtDlcImage,proto3,oneof"`
}
func (*GenerationRequest_TgtSignedImage) isGenerationRequest_TgtImageOneof() {}
func (*GenerationRequest_TgtUnsignedImage) isGenerationRequest_TgtImageOneof() {}
func (*GenerationRequest_TgtDlcImage) isGenerationRequest_TgtImageOneof() {}
// Result of a payload generation.
type GenerationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Deprecated since R112. Use versioned_artifact.
// If successful we may have a local artifact available. Generally this takes
// the form of '/tmp/ioadwjoawjd/delta.bin'.
LocalPath string `protobuf:"bytes,2,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"`
// Deprecated since R112. Use versioned_artifact.
// If successful we may have uploaded an artifact to google storage.
RemoteUri string `protobuf:"bytes,3,opt,name=remote_uri,json=remoteUri,proto3" json:"remote_uri,omitempty"`
VersionedArtifacts []*GenerationResponse_VersionedArtifact `protobuf:"bytes,5,rep,name=versioned_artifacts,json=versionedArtifacts,proto3" json:"versioned_artifacts,omitempty"`
FailureReason GenerationResponse_FailureReason `protobuf:"varint,4,opt,name=failure_reason,json=failureReason,proto3,enum=chromite.api.GenerationResponse_FailureReason" json:"failure_reason,omitempty"`
}
func (x *GenerationResponse) Reset() {
*x = GenerationResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenerationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenerationResponse) ProtoMessage() {}
func (x *GenerationResponse) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GenerationResponse.ProtoReflect.Descriptor instead.
func (*GenerationResponse) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{5}
}
func (x *GenerationResponse) GetLocalPath() string {
if x != nil {
return x.LocalPath
}
return ""
}
func (x *GenerationResponse) GetRemoteUri() string {
if x != nil {
return x.RemoteUri
}
return ""
}
func (x *GenerationResponse) GetVersionedArtifacts() []*GenerationResponse_VersionedArtifact {
if x != nil {
return x.VersionedArtifacts
}
return nil
}
func (x *GenerationResponse) GetFailureReason() GenerationResponse_FailureReason {
if x != nil {
return x.FailureReason
}
return GenerationResponse_UNSPECIFIED
}
// Request payload generation to be done with a source and target image.
type GenerateUnsignedPayloadRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Source image properties, must be either full_update or the same type as
// the included tgt_image_oneof. full_update indicates the lack of a source.
//
// Types that are assignable to SrcImageOneof:
// *GenerateUnsignedPayloadRequest_FullUpdate
// *GenerateUnsignedPayloadRequest_SrcSignedImage
// *GenerateUnsignedPayloadRequest_SrcUnsignedImage
// *GenerateUnsignedPayloadRequest_SrcDlcImage
SrcImageOneof isGenerateUnsignedPayloadRequest_SrcImageOneof `protobuf_oneof:"src_image_oneof"`
// Target image properties.
//
// Types that are assignable to TgtImageOneof:
// *GenerateUnsignedPayloadRequest_TgtSignedImage
// *GenerateUnsignedPayloadRequest_TgtUnsignedImage
// *GenerateUnsignedPayloadRequest_TgtDlcImage
TgtImageOneof isGenerateUnsignedPayloadRequest_TgtImageOneof `protobuf_oneof:"tgt_image_oneof"`
// The chroot where the operations will be executed.
// Required.
Chroot *chromiumos.Chroot `protobuf:"bytes,8,opt,name=chroot,proto3" json:"chroot,omitempty"`
// TODO(b/299105459): Don't special-case minios.
// Whether the request is for a miniOS payload.
// This is only meaningful if the src and tgt images are either
// both SignedImage or both UnsignedImage.
Minios bool `protobuf:"varint,9,opt,name=minios,proto3" json:"minios,omitempty"`
// Target directory where output artifacts should be stored.
ResultPath *chromiumos.ResultPath `protobuf:"bytes,10,opt,name=result_path,json=resultPath,proto3" json:"result_path,omitempty"`
}
func (x *GenerateUnsignedPayloadRequest) Reset() {
*x = GenerateUnsignedPayloadRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenerateUnsignedPayloadRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenerateUnsignedPayloadRequest) ProtoMessage() {}
func (x *GenerateUnsignedPayloadRequest) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GenerateUnsignedPayloadRequest.ProtoReflect.Descriptor instead.
func (*GenerateUnsignedPayloadRequest) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{6}
}
func (m *GenerateUnsignedPayloadRequest) GetSrcImageOneof() isGenerateUnsignedPayloadRequest_SrcImageOneof {
if m != nil {
return m.SrcImageOneof
}
return nil
}
func (x *GenerateUnsignedPayloadRequest) GetFullUpdate() bool {
if x, ok := x.GetSrcImageOneof().(*GenerateUnsignedPayloadRequest_FullUpdate); ok {
return x.FullUpdate
}
return false
}
func (x *GenerateUnsignedPayloadRequest) GetSrcSignedImage() *SignedImage {
if x, ok := x.GetSrcImageOneof().(*GenerateUnsignedPayloadRequest_SrcSignedImage); ok {
return x.SrcSignedImage
}
return nil
}
func (x *GenerateUnsignedPayloadRequest) GetSrcUnsignedImage() *UnsignedImage {
if x, ok := x.GetSrcImageOneof().(*GenerateUnsignedPayloadRequest_SrcUnsignedImage); ok {
return x.SrcUnsignedImage
}
return nil
}
func (x *GenerateUnsignedPayloadRequest) GetSrcDlcImage() *DLCImage {
if x, ok := x.GetSrcImageOneof().(*GenerateUnsignedPayloadRequest_SrcDlcImage); ok {
return x.SrcDlcImage
}
return nil
}
func (m *GenerateUnsignedPayloadRequest) GetTgtImageOneof() isGenerateUnsignedPayloadRequest_TgtImageOneof {
if m != nil {
return m.TgtImageOneof
}
return nil
}
func (x *GenerateUnsignedPayloadRequest) GetTgtSignedImage() *SignedImage {
if x, ok := x.GetTgtImageOneof().(*GenerateUnsignedPayloadRequest_TgtSignedImage); ok {
return x.TgtSignedImage
}
return nil
}
func (x *GenerateUnsignedPayloadRequest) GetTgtUnsignedImage() *UnsignedImage {
if x, ok := x.GetTgtImageOneof().(*GenerateUnsignedPayloadRequest_TgtUnsignedImage); ok {
return x.TgtUnsignedImage
}
return nil
}
func (x *GenerateUnsignedPayloadRequest) GetTgtDlcImage() *DLCImage {
if x, ok := x.GetTgtImageOneof().(*GenerateUnsignedPayloadRequest_TgtDlcImage); ok {
return x.TgtDlcImage
}
return nil
}
func (x *GenerateUnsignedPayloadRequest) GetChroot() *chromiumos.Chroot {
if x != nil {
return x.Chroot
}
return nil
}
func (x *GenerateUnsignedPayloadRequest) GetMinios() bool {
if x != nil {
return x.Minios
}
return false
}
func (x *GenerateUnsignedPayloadRequest) GetResultPath() *chromiumos.ResultPath {
if x != nil {
return x.ResultPath
}
return nil
}
type isGenerateUnsignedPayloadRequest_SrcImageOneof interface {
isGenerateUnsignedPayloadRequest_SrcImageOneof()
}
type GenerateUnsignedPayloadRequest_FullUpdate struct {
FullUpdate bool `protobuf:"varint,1,opt,name=full_update,json=fullUpdate,proto3,oneof"`
}
type GenerateUnsignedPayloadRequest_SrcSignedImage struct {
SrcSignedImage *SignedImage `protobuf:"bytes,2,opt,name=src_signed_image,json=srcSignedImage,proto3,oneof"`
}
type GenerateUnsignedPayloadRequest_SrcUnsignedImage struct {
SrcUnsignedImage *UnsignedImage `protobuf:"bytes,3,opt,name=src_unsigned_image,json=srcUnsignedImage,proto3,oneof"`
}
type GenerateUnsignedPayloadRequest_SrcDlcImage struct {
SrcDlcImage *DLCImage `protobuf:"bytes,4,opt,name=src_dlc_image,json=srcDlcImage,proto3,oneof"`
}
func (*GenerateUnsignedPayloadRequest_FullUpdate) isGenerateUnsignedPayloadRequest_SrcImageOneof() {}
func (*GenerateUnsignedPayloadRequest_SrcSignedImage) isGenerateUnsignedPayloadRequest_SrcImageOneof() {
}
func (*GenerateUnsignedPayloadRequest_SrcUnsignedImage) isGenerateUnsignedPayloadRequest_SrcImageOneof() {
}
func (*GenerateUnsignedPayloadRequest_SrcDlcImage) isGenerateUnsignedPayloadRequest_SrcImageOneof() {}
type isGenerateUnsignedPayloadRequest_TgtImageOneof interface {
isGenerateUnsignedPayloadRequest_TgtImageOneof()
}
type GenerateUnsignedPayloadRequest_TgtSignedImage struct {
TgtSignedImage *SignedImage `protobuf:"bytes,5,opt,name=tgt_signed_image,json=tgtSignedImage,proto3,oneof"`
}
type GenerateUnsignedPayloadRequest_TgtUnsignedImage struct {
TgtUnsignedImage *UnsignedImage `protobuf:"bytes,6,opt,name=tgt_unsigned_image,json=tgtUnsignedImage,proto3,oneof"`
}
type GenerateUnsignedPayloadRequest_TgtDlcImage struct {
TgtDlcImage *DLCImage `protobuf:"bytes,7,opt,name=tgt_dlc_image,json=tgtDlcImage,proto3,oneof"`
}
func (*GenerateUnsignedPayloadRequest_TgtSignedImage) isGenerateUnsignedPayloadRequest_TgtImageOneof() {
}
func (*GenerateUnsignedPayloadRequest_TgtUnsignedImage) isGenerateUnsignedPayloadRequest_TgtImageOneof() {
}
func (*GenerateUnsignedPayloadRequest_TgtDlcImage) isGenerateUnsignedPayloadRequest_TgtImageOneof() {}
// Information about an unsigned payload.
type UnsignedPayload struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Version of the payload (eg. 1).
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Path of the payload file, e.g. '/path/to/tmp/ioadwjoawjd/delta.bin'.
PayloadFilePath *chromiumos.Path `protobuf:"bytes,2,opt,name=payload_file_path,json=payloadFilePath,proto3" json:"payload_file_path,omitempty"`
// Suffix used for this particular payload.
RandSuffix string `protobuf:"bytes,7,opt,name=rand_suffix,json=randSuffix,proto3" json:"rand_suffix,omitempty"`
// Names of the partitions.
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
// Paths of the source partition files.
SrcPartitions []*chromiumos.Path `protobuf:"bytes,5,rep,name=src_partitions,json=srcPartitions,proto3" json:"src_partitions,omitempty"`
// Paths of the target partition files.
TgtPartitions []*chromiumos.Path `protobuf:"bytes,6,rep,name=tgt_partitions,json=tgtPartitions,proto3" json:"tgt_partitions,omitempty"`
// AppID. Need this in FinalizePayloadRequest.
Appid string `protobuf:"bytes,8,opt,name=appid,proto3" json:"appid,omitempty"`
}
func (x *UnsignedPayload) Reset() {
*x = UnsignedPayload{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UnsignedPayload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UnsignedPayload) ProtoMessage() {}
func (x *UnsignedPayload) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UnsignedPayload.ProtoReflect.Descriptor instead.
func (*UnsignedPayload) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{7}
}
func (x *UnsignedPayload) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
func (x *UnsignedPayload) GetPayloadFilePath() *chromiumos.Path {
if x != nil {
return x.PayloadFilePath
}
return nil
}
func (x *UnsignedPayload) GetRandSuffix() string {
if x != nil {
return x.RandSuffix
}
return ""
}
func (x *UnsignedPayload) GetPartitionNames() []string {
if x != nil {
return x.PartitionNames
}
return nil
}
func (x *UnsignedPayload) GetSrcPartitions() []*chromiumos.Path {
if x != nil {
return x.SrcPartitions
}
return nil
}
func (x *UnsignedPayload) GetTgtPartitions() []*chromiumos.Path {
if x != nil {
return x.TgtPartitions
}
return nil
}
func (x *UnsignedPayload) GetAppid() string {
if x != nil {
return x.Appid
}
return ""
}
// Result of a payload generation.
type GenerateUnsignedPayloadResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Unsigned payloads.
// Only multiple in the case of a minios payload.
UnsignedPayloads []*UnsignedPayload `protobuf:"bytes,3,rep,name=unsigned_payloads,json=unsignedPayloads,proto3" json:"unsigned_payloads,omitempty"`
FailureReason GenerateUnsignedPayloadResponse_FailureReason `protobuf:"varint,2,opt,name=failure_reason,json=failureReason,proto3,enum=chromite.api.GenerateUnsignedPayloadResponse_FailureReason" json:"failure_reason,omitempty"`
}
func (x *GenerateUnsignedPayloadResponse) Reset() {
*x = GenerateUnsignedPayloadResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenerateUnsignedPayloadResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenerateUnsignedPayloadResponse) ProtoMessage() {}
func (x *GenerateUnsignedPayloadResponse) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GenerateUnsignedPayloadResponse.ProtoReflect.Descriptor instead.
func (*GenerateUnsignedPayloadResponse) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{8}
}
func (x *GenerateUnsignedPayloadResponse) GetUnsignedPayloads() []*UnsignedPayload {
if x != nil {
return x.UnsignedPayloads
}
return nil
}
func (x *GenerateUnsignedPayloadResponse) GetFailureReason() GenerateUnsignedPayloadResponse_FailureReason {
if x != nil {
return x.FailureReason
}
return GenerateUnsignedPayloadResponse_UNSPECIFIED
}
// Request signing, validation, and uploading for an unsigned payload.
type FinalizePayloadRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The chroot where certain operations will be executed
// (the endpoint as a whole is still executed outside of the chroot).
// Required.
Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"`
// Source image properties, must be either full_update or the same type as
// the included tgt_image_oneof. full_update indicates the lack of a source.
//
// Types that are assignable to SrcImageOneof:
// *FinalizePayloadRequest_FullUpdate
// *FinalizePayloadRequest_SrcSignedImage
// *FinalizePayloadRequest_SrcUnsignedImage
// *FinalizePayloadRequest_SrcDlcImage
SrcImageOneof isFinalizePayloadRequest_SrcImageOneof `protobuf_oneof:"src_image_oneof"`
// Target image properties.
//
// Types that are assignable to TgtImageOneof:
// *FinalizePayloadRequest_TgtSignedImage
// *FinalizePayloadRequest_TgtUnsignedImage
// *FinalizePayloadRequest_TgtDlcImage
TgtImageOneof isFinalizePayloadRequest_TgtImageOneof `protobuf_oneof:"tgt_image_oneof"`
// TODO(b/299105459): Don't special-case minios.
// Whether the request is for a miniOS payload.
// This is only meaningful if the src and tgt images are either
// both SignedImage or both UnsignedImage.
Minios bool `protobuf:"varint,9,opt,name=minios,proto3" json:"minios,omitempty"`
// Individual payloads to finalize.
// Only multiple in the case of a minios payload.
Payloads []*UnsignedPayload `protobuf:"bytes,8,rep,name=payloads,proto3" json:"payloads,omitempty"`
// Do not sign images or upload artifacts.
Dryrun bool `protobuf:"varint,2,opt,name=dryrun,proto3" json:"dryrun,omitempty"`
// Target directory where output artifacts should be stored.
ResultPath *chromiumos.ResultPath `protobuf:"bytes,3,opt,name=result_path,json=resultPath,proto3" json:"result_path,omitempty"`
// The keyset to sign with (e.g. "coral-mp-v16"), if empty do not sign,
// and may be ignored for certain request types (e.g. dlc).
Keyset string `protobuf:"bytes,4,opt,name=keyset,proto3" json:"keyset,omitempty"`
// Should we run verification?
Verify bool `protobuf:"varint,6,opt,name=verify,proto3" json:"verify,omitempty"`
// The destination bucket (defaults to "chromeos-releases").
Bucket string `protobuf:"bytes,7,opt,name=bucket,proto3" json:"bucket,omitempty"`
// If set, will use the local signing flow (currently a prototype).
UseLocalSigning bool `protobuf:"varint,5,opt,name=use_local_signing,json=useLocalSigning,proto3" json:"use_local_signing,omitempty"`
// Docker image to use for local signing. Must already be pulled down on the
// host. This consists of the name of the docker image, followed by the tag,
// i.e. "signing:1234".
DockerImage string `protobuf:"bytes,17,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"`
}
func (x *FinalizePayloadRequest) Reset() {
*x = FinalizePayloadRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FinalizePayloadRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FinalizePayloadRequest) ProtoMessage() {}
func (x *FinalizePayloadRequest) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FinalizePayloadRequest.ProtoReflect.Descriptor instead.
func (*FinalizePayloadRequest) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{9}
}
func (x *FinalizePayloadRequest) GetChroot() *chromiumos.Chroot {
if x != nil {
return x.Chroot
}
return nil
}
func (m *FinalizePayloadRequest) GetSrcImageOneof() isFinalizePayloadRequest_SrcImageOneof {
if m != nil {
return m.SrcImageOneof
}
return nil
}
func (x *FinalizePayloadRequest) GetFullUpdate() bool {
if x, ok := x.GetSrcImageOneof().(*FinalizePayloadRequest_FullUpdate); ok {
return x.FullUpdate
}
return false
}
func (x *FinalizePayloadRequest) GetSrcSignedImage() *SignedImage {
if x, ok := x.GetSrcImageOneof().(*FinalizePayloadRequest_SrcSignedImage); ok {
return x.SrcSignedImage
}
return nil
}
func (x *FinalizePayloadRequest) GetSrcUnsignedImage() *UnsignedImage {
if x, ok := x.GetSrcImageOneof().(*FinalizePayloadRequest_SrcUnsignedImage); ok {
return x.SrcUnsignedImage
}
return nil
}
func (x *FinalizePayloadRequest) GetSrcDlcImage() *DLCImage {
if x, ok := x.GetSrcImageOneof().(*FinalizePayloadRequest_SrcDlcImage); ok {
return x.SrcDlcImage
}
return nil
}
func (m *FinalizePayloadRequest) GetTgtImageOneof() isFinalizePayloadRequest_TgtImageOneof {
if m != nil {
return m.TgtImageOneof
}
return nil
}
func (x *FinalizePayloadRequest) GetTgtSignedImage() *SignedImage {
if x, ok := x.GetTgtImageOneof().(*FinalizePayloadRequest_TgtSignedImage); ok {
return x.TgtSignedImage
}
return nil
}
func (x *FinalizePayloadRequest) GetTgtUnsignedImage() *UnsignedImage {
if x, ok := x.GetTgtImageOneof().(*FinalizePayloadRequest_TgtUnsignedImage); ok {
return x.TgtUnsignedImage
}
return nil
}
func (x *FinalizePayloadRequest) GetTgtDlcImage() *DLCImage {
if x, ok := x.GetTgtImageOneof().(*FinalizePayloadRequest_TgtDlcImage); ok {
return x.TgtDlcImage
}
return nil
}
func (x *FinalizePayloadRequest) GetMinios() bool {
if x != nil {
return x.Minios
}
return false
}
func (x *FinalizePayloadRequest) GetPayloads() []*UnsignedPayload {
if x != nil {
return x.Payloads
}
return nil
}
func (x *FinalizePayloadRequest) GetDryrun() bool {
if x != nil {
return x.Dryrun
}
return false
}
func (x *FinalizePayloadRequest) GetResultPath() *chromiumos.ResultPath {
if x != nil {
return x.ResultPath
}
return nil
}
func (x *FinalizePayloadRequest) GetKeyset() string {
if x != nil {
return x.Keyset
}
return ""
}
func (x *FinalizePayloadRequest) GetVerify() bool {
if x != nil {
return x.Verify
}
return false
}
func (x *FinalizePayloadRequest) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *FinalizePayloadRequest) GetUseLocalSigning() bool {
if x != nil {
return x.UseLocalSigning
}
return false
}
func (x *FinalizePayloadRequest) GetDockerImage() string {
if x != nil {
return x.DockerImage
}
return ""
}
type isFinalizePayloadRequest_SrcImageOneof interface {
isFinalizePayloadRequest_SrcImageOneof()
}
type FinalizePayloadRequest_FullUpdate struct {
FullUpdate bool `protobuf:"varint,10,opt,name=full_update,json=fullUpdate,proto3,oneof"`
}
type FinalizePayloadRequest_SrcSignedImage struct {
SrcSignedImage *SignedImage `protobuf:"bytes,11,opt,name=src_signed_image,json=srcSignedImage,proto3,oneof"`
}
type FinalizePayloadRequest_SrcUnsignedImage struct {
SrcUnsignedImage *UnsignedImage `protobuf:"bytes,12,opt,name=src_unsigned_image,json=srcUnsignedImage,proto3,oneof"`
}
type FinalizePayloadRequest_SrcDlcImage struct {
SrcDlcImage *DLCImage `protobuf:"bytes,13,opt,name=src_dlc_image,json=srcDlcImage,proto3,oneof"`
}
func (*FinalizePayloadRequest_FullUpdate) isFinalizePayloadRequest_SrcImageOneof() {}
func (*FinalizePayloadRequest_SrcSignedImage) isFinalizePayloadRequest_SrcImageOneof() {}
func (*FinalizePayloadRequest_SrcUnsignedImage) isFinalizePayloadRequest_SrcImageOneof() {}
func (*FinalizePayloadRequest_SrcDlcImage) isFinalizePayloadRequest_SrcImageOneof() {}
type isFinalizePayloadRequest_TgtImageOneof interface {
isFinalizePayloadRequest_TgtImageOneof()
}
type FinalizePayloadRequest_TgtSignedImage struct {
TgtSignedImage *SignedImage `protobuf:"bytes,14,opt,name=tgt_signed_image,json=tgtSignedImage,proto3,oneof"`
}
type FinalizePayloadRequest_TgtUnsignedImage struct {
TgtUnsignedImage *UnsignedImage `protobuf:"bytes,15,opt,name=tgt_unsigned_image,json=tgtUnsignedImage,proto3,oneof"`
}
type FinalizePayloadRequest_TgtDlcImage struct {
TgtDlcImage *DLCImage `protobuf:"bytes,16,opt,name=tgt_dlc_image,json=tgtDlcImage,proto3,oneof"`
}
func (*FinalizePayloadRequest_TgtSignedImage) isFinalizePayloadRequest_TgtImageOneof() {}
func (*FinalizePayloadRequest_TgtUnsignedImage) isFinalizePayloadRequest_TgtImageOneof() {}
func (*FinalizePayloadRequest_TgtDlcImage) isFinalizePayloadRequest_TgtImageOneof() {}
// Response for a FinalizePayloadsRequest
// (which does signing, validation, uploading).
type FinalizePayloadResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
VersionedArtifacts []*FinalizePayloadResponse_VersionedArtifact `protobuf:"bytes,1,rep,name=versioned_artifacts,json=versionedArtifacts,proto3" json:"versioned_artifacts,omitempty"`
}
func (x *FinalizePayloadResponse) Reset() {
*x = FinalizePayloadResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FinalizePayloadResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FinalizePayloadResponse) ProtoMessage() {}
func (x *FinalizePayloadResponse) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FinalizePayloadResponse.ProtoReflect.Descriptor instead.
func (*FinalizePayloadResponse) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{10}
}
func (x *FinalizePayloadResponse) GetVersionedArtifacts() []*FinalizePayloadResponse_VersionedArtifact {
if x != nil {
return x.VersionedArtifacts
}
return nil
}
// Remote and local artifacts along with a version ID (if successful).
type GenerationResponse_VersionedArtifact struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Version of the payload (eg. 1).
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Local artifact path. Deprecated since R117. Use file_path.
//
// Deprecated: Do not use.
LocalPath string `protobuf:"bytes,2,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"`
// If successful we may have uploaded an artifact to google storage.
RemoteUri string `protobuf:"bytes,3,opt,name=remote_uri,json=remoteUri,proto3" json:"remote_uri,omitempty"`
// If successful we may have a local artifact available. Generally this
// takes the form of '/path/to/tmp/ioadwjoawjd/delta.bin'.
FilePath *chromiumos.Path `protobuf:"bytes,4,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
}
func (x *GenerationResponse_VersionedArtifact) Reset() {
*x = GenerationResponse_VersionedArtifact{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenerationResponse_VersionedArtifact) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenerationResponse_VersionedArtifact) ProtoMessage() {}
func (x *GenerationResponse_VersionedArtifact) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GenerationResponse_VersionedArtifact.ProtoReflect.Descriptor instead.
func (*GenerationResponse_VersionedArtifact) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{5, 0}
}
func (x *GenerationResponse_VersionedArtifact) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
// Deprecated: Do not use.
func (x *GenerationResponse_VersionedArtifact) GetLocalPath() string {
if x != nil {
return x.LocalPath
}
return ""
}
func (x *GenerationResponse_VersionedArtifact) GetRemoteUri() string {
if x != nil {
return x.RemoteUri
}
return ""
}
func (x *GenerationResponse_VersionedArtifact) GetFilePath() *chromiumos.Path {
if x != nil {
return x.FilePath
}
return nil
}
// Remote and local artifacts along with a version ID (if successful).
type FinalizePayloadResponse_VersionedArtifact struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Version of the payload (eg. 1).
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// If successful we may have uploaded an artifact to google storage.
RemoteUri string `protobuf:"bytes,2,opt,name=remote_uri,json=remoteUri,proto3" json:"remote_uri,omitempty"`
// If successful we may have a local artifact available. Generally this
// takes the form of '/path/to/tmp/ioadwjoawjd/delta.bin'.
FilePath *chromiumos.Path `protobuf:"bytes,3,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
}
func (x *FinalizePayloadResponse_VersionedArtifact) Reset() {
*x = FinalizePayloadResponse_VersionedArtifact{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_payload_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FinalizePayloadResponse_VersionedArtifact) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FinalizePayloadResponse_VersionedArtifact) ProtoMessage() {}
func (x *FinalizePayloadResponse_VersionedArtifact) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_payload_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FinalizePayloadResponse_VersionedArtifact.ProtoReflect.Descriptor instead.
func (*FinalizePayloadResponse_VersionedArtifact) Descriptor() ([]byte, []int) {
return file_chromite_api_payload_proto_rawDescGZIP(), []int{10, 0}
}
func (x *FinalizePayloadResponse_VersionedArtifact) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
func (x *FinalizePayloadResponse_VersionedArtifact) GetRemoteUri() string {
if x != nil {
return x.RemoteUri
}
return ""
}
func (x *FinalizePayloadResponse_VersionedArtifact) GetFilePath() *chromiumos.Path {
if x != nil {
return x.FilePath
}
return nil
}
var File_chromite_api_payload_proto protoreflect.FileDescriptor
var file_chromite_api_payload_proto_rawDesc = []byte{
0x0a, 0x1a, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70,
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x63, 0x68, 0x72, 0x6f,
0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x61,
0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x05, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x3a, 0x0a, 0x0c, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x42,
0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
0x6e, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61,
0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e,
0x6e, 0x65, 0x6c, 0x22, 0xc0, 0x01, 0x0a, 0x08, 0x44, 0x4c, 0x43, 0x49, 0x6d, 0x61, 0x67, 0x65,
0x12, 0x29, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x13, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42,
0x75, 0x69, 0x6c, 0x64, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x64,
0x6c, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x6c, 0x63,
0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x6c, 0x63, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x6c, 0x63, 0x50, 0x61, 0x63, 0x6b,
0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6c, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x6c, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65,
0x12, 0x34, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f,
0x73, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6d, 0x61,
0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x65,
0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x12, 0x34, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d,
0x6f, 0x73, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6d,
0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x8e, 0x01, 0x0a, 0x0d, 0x55, 0x6e,
0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x68, 0x72,
0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52,
0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x34, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f,
0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x72,
0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
0x65, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09,
0x6d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x6d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x22, 0xac, 0x06, 0x0a, 0x11, 0x47,
0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x21, 0x0a, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x73, 0x72, 0x63, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65,
0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x69, 0x67,
0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x72, 0x63, 0x53,
0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4b, 0x0a, 0x12, 0x73, 0x72,
0x63, 0x5f, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74,
0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d,
0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x10, 0x73, 0x72, 0x63, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e,
0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x72, 0x63, 0x5f, 0x64,
0x6c, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x4c,
0x43, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x72, 0x63, 0x44, 0x6c, 0x63,
0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x74, 0x67, 0x74, 0x5f, 0x73, 0x69, 0x67,
0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x19, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53,
0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x01, 0x52, 0x0e, 0x74, 0x67,
0x74, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4b, 0x0a, 0x12,
0x74, 0x67, 0x74, 0x5f, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61,
0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64,
0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x01, 0x52, 0x10, 0x74, 0x67, 0x74, 0x55, 0x6e, 0x73, 0x69,
0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x74, 0x67, 0x74,
0x5f, 0x64, 0x6c, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x16, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e,
0x44, 0x4c, 0x43, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x01, 0x52, 0x0b, 0x74, 0x67, 0x74, 0x44,
0x6c, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65,
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12,
0x16, 0x0a, 0x06, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
0x06, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x73, 0x65,
0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x73, 0x65, 0x74, 0x12,
0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x72, 0x75, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52,
0x06, 0x64, 0x72, 0x79, 0x72, 0x75, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f,
0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x52, 0x06, 0x63, 0x68, 0x72,
0x6f, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x6e, 0x69, 0x6f, 0x73, 0x18, 0x0d, 0x20,
0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x69, 0x6e, 0x69, 0x6f, 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x72,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x16, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x52, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61,
0x6c, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0f, 0x75, 0x73, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67,
0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65,
0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x49, 0x6d,
0x61, 0x67, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x73, 0x72, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65,
0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x42, 0x11, 0x0a, 0x0f, 0x74, 0x67, 0x74, 0x5f, 0x69, 0x6d,
0x61, 0x67, 0x65, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x22, 0x96, 0x04, 0x0a, 0x12, 0x47, 0x65,
0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12,
0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x72, 0x69, 0x12, 0x63,
0x0a, 0x13, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x61, 0x72, 0x74, 0x69,
0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x56, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52,
0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61,
0x63, 0x74, 0x73, 0x12, 0x55, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72,
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x61,
0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0d, 0x66, 0x61, 0x69,
0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0x9e, 0x01, 0x0a, 0x11, 0x56,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0a, 0x6c, 0x6f,
0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02,
0x18, 0x01, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1d, 0x0a,
0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x72, 0x69, 0x12, 0x2d, 0x0a, 0x09,
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x10, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x50, 0x61, 0x74,
0x68, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x56, 0x0a, 0x0d, 0x46,
0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b,
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a,
0x15, 0x4e, 0x4f, 0x54, 0x5f, 0x4d, 0x49, 0x4e, 0x49, 0x4f, 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50,
0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x49, 0x4e, 0x49,
0x4f, 0x53, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43,
0x48, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x22, 0x8a, 0x05, 0x0a, 0x1e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55,
0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x75, 0x70,
0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x75,
0x6c, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x73, 0x72, 0x63, 0x5f,
0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70,
0x69, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52,
0x0e, 0x73, 0x72, 0x63, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12,
0x4b, 0x0a, 0x12, 0x73, 0x72, 0x63, 0x5f, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f,
0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x73, 0x69, 0x67,
0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x10, 0x73, 0x72, 0x63, 0x55,
0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x0d,
0x73, 0x72, 0x63, 0x5f, 0x64, 0x6c, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61,
0x70, 0x69, 0x2e, 0x44, 0x4c, 0x43, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x73,
0x72, 0x63, 0x44, 0x6c, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x74, 0x67,
0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e,
0x61, 0x70, 0x69, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48,
0x01, 0x52, 0x0e, 0x74, 0x67, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67,
0x65, 0x12, 0x4b, 0x0a, 0x12, 0x74, 0x67, 0x74, 0x5f, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65,
0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x73,
0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x01, 0x52, 0x10, 0x74, 0x67,
0x74, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3c,
0x0a, 0x0d, 0x74, 0x67, 0x74, 0x5f, 0x64, 0x6c, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18,
0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x4c, 0x43, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x01, 0x52,
0x0b, 0x74, 0x67, 0x74, 0x44, 0x6c, 0x63, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x06,
0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63,
0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x68, 0x72, 0x6f, 0x6f, 0x74,
0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x6e, 0x69,
0x6f, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x69, 0x6e, 0x69, 0x6f, 0x73,
0x12, 0x37, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d,
0x6f, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0a, 0x72,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x61, 0x74, 0x68, 0x42, 0x11, 0x0a, 0x0f, 0x73, 0x72, 0x63,
0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x42, 0x11, 0x0a, 0x0f,
0x74, 0x67, 0x74, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x22,
0xc1, 0x02, 0x0a, 0x0f, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c,
0x6f, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a,
0x11, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61,
0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6c,
0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x72,
0x61, 0x6e, 0x64, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x72, 0x61, 0x6e, 0x64, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x27, 0x0a, 0x0f,
0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18,
0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x0e, 0x73, 0x72, 0x63, 0x5f, 0x70, 0x61, 0x72,
0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52,
0x0d, 0x73, 0x72, 0x63, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37,
0x0a, 0x0e, 0x74, 0x67, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
0x6d, 0x6f, 0x73, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0d, 0x74, 0x67, 0x74, 0x50, 0x61, 0x72,
0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64,
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x4a, 0x04, 0x08,
0x03, 0x10, 0x04, 0x22, 0xaf, 0x02, 0x0a, 0x1f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x11, 0x75, 0x6e, 0x73, 0x69, 0x67,
0x6e, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70,
0x69, 0x2e, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61,
0x64, 0x52, 0x10, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f,
0x61, 0x64, 0x73, 0x12, 0x62, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72,
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
0x61, 0x74, 0x65, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f,
0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75,
0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72,
0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x56, 0x0a, 0x0d, 0x46, 0x61, 0x69, 0x6c, 0x75,
0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50,
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54,
0x5f, 0x4d, 0x49, 0x4e, 0x49, 0x4f, 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42,
0x4c, 0x45, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x49, 0x4e, 0x49, 0x4f, 0x53, 0x5f, 0x43,
0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x02, 0x4a,
0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0xec, 0x06, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69,
0x7a, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x12, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x68,
0x72, 0x6f, 0x6f, 0x74, 0x52, 0x06, 0x63, 0x68, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x21, 0x0a, 0x0b,
0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x08, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,
0x45, 0x0a, 0x10, 0x73, 0x72, 0x63, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6d,
0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x68, 0x72, 0x6f,
0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49,
0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x72, 0x63, 0x53, 0x69, 0x67, 0x6e, 0x65,
0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4b, 0x0a, 0x12, 0x73, 0x72, 0x63, 0x5f, 0x75, 0x6e,
0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70,
0x69, 0x2e, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48,
0x00, 0x52, 0x10, 0x73, 0x72, 0x63, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d,
0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x72, 0x63, 0x5f, 0x64, 0x6c, 0x63, 0x5f, 0x69,
0x6d, 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x72,
0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x4c, 0x43, 0x49, 0x6d, 0x61,
0x67, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x72, 0x63, 0x44, 0x6c, 0x63, 0x49, 0x6d, 0x61, 0x67,
0x65, 0x12, 0x45, 0x0a, 0x10, 0x74, 0x67, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f,
0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65,
0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x01, 0x52, 0x0e, 0x74, 0x67, 0x74, 0x53, 0x69, 0x67,
0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4b, 0x0a, 0x12, 0x74, 0x67, 0x74, 0x5f,
0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0f,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e,
0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67,
0x65, 0x48, 0x01, 0x52, 0x10, 0x74, 0x67, 0x74, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64,
0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x74, 0x67, 0x74, 0x5f, 0x64, 0x6c, 0x63,
0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63,
0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x4c, 0x43, 0x49,
0x6d, 0x61, 0x67, 0x65, 0x48, 0x01, 0x52, 0x0b, 0x74, 0x67, 0x74, 0x44, 0x6c, 0x63, 0x49, 0x6d,
0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x6e, 0x69, 0x6f, 0x73, 0x18, 0x09, 0x20,
0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x69, 0x6e, 0x69, 0x6f, 0x73, 0x12, 0x39, 0x0a, 0x08, 0x70,
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x55, 0x6e, 0x73,
0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x08, 0x70, 0x61,
0x79, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x72, 0x75, 0x6e,
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x72, 0x75, 0x6e, 0x12, 0x37,
0x0a, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73,
0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0a, 0x72, 0x65, 0x73,
0x75, 0x6c, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x73, 0x65,
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x73, 0x65, 0x74, 0x12,
0x16, 0x0a, 0x06, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
0x06, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65,
0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12,
0x2a, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x67,
0x6e, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x4c,
0x6f, 0x63, 0x61, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x64,
0x6f, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0b, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x11,
0x0a, 0x0f, 0x73, 0x72, 0x63, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x6e, 0x65, 0x6f,
0x66, 0x42, 0x11, 0x0a, 0x0f, 0x74, 0x67, 0x74, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f,
0x6e, 0x65, 0x6f, 0x66, 0x22, 0x80, 0x02, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x68, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x61, 0x72,
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6e,
0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x41, 0x72,
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65,
0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x1a, 0x7b, 0x0a, 0x11, 0x56, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12,
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x6d,
0x6f, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72,
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x72, 0x69, 0x12, 0x2d, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65,
0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x08, 0x66,
0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x32, 0xd9, 0x02, 0x0a, 0x0e, 0x50, 0x61, 0x79, 0x6c,
0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x54, 0x0a, 0x0f, 0x47, 0x65,
0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1f, 0x2e,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e,
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20,
0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65,
0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x76, 0x0a, 0x17, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x73, 0x69,
0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2c, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
0x61, 0x74, 0x65, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f,
0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x68, 0x72, 0x6f,
0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
0x65, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x61,
0x6c, 0x69, 0x7a, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x24, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c,
0x69, 0x7a, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x25, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69,
0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xc2, 0xed, 0x1a, 0x04, 0x10, 0x02,
0x20, 0x02, 0x1a, 0x0f, 0xc2, 0xed, 0x1a, 0x0b, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61,
0x64, 0x10, 0x01, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f,
0x73, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_chromite_api_payload_proto_rawDescOnce sync.Once
file_chromite_api_payload_proto_rawDescData = file_chromite_api_payload_proto_rawDesc
)
func file_chromite_api_payload_proto_rawDescGZIP() []byte {
file_chromite_api_payload_proto_rawDescOnce.Do(func() {
file_chromite_api_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_api_payload_proto_rawDescData)
})
return file_chromite_api_payload_proto_rawDescData
}
var file_chromite_api_payload_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_chromite_api_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_chromite_api_payload_proto_goTypes = []interface{}{
(GenerationResponse_FailureReason)(0), // 0: chromite.api.GenerationResponse.FailureReason
(GenerateUnsignedPayloadResponse_FailureReason)(0), // 1: chromite.api.GenerateUnsignedPayloadResponse.FailureReason
(*Build)(nil), // 2: chromite.api.Build
(*DLCImage)(nil), // 3: chromite.api.DLCImage
(*SignedImage)(nil), // 4: chromite.api.SignedImage
(*UnsignedImage)(nil), // 5: chromite.api.UnsignedImage
(*GenerationRequest)(nil), // 6: chromite.api.GenerationRequest
(*GenerationResponse)(nil), // 7: chromite.api.GenerationResponse
(*GenerateUnsignedPayloadRequest)(nil), // 8: chromite.api.GenerateUnsignedPayloadRequest
(*UnsignedPayload)(nil), // 9: chromite.api.UnsignedPayload
(*GenerateUnsignedPayloadResponse)(nil), // 10: chromite.api.GenerateUnsignedPayloadResponse
(*FinalizePayloadRequest)(nil), // 11: chromite.api.FinalizePayloadRequest
(*FinalizePayloadResponse)(nil), // 12: chromite.api.FinalizePayloadResponse
(*GenerationResponse_VersionedArtifact)(nil), // 13: chromite.api.GenerationResponse.VersionedArtifact
(*FinalizePayloadResponse_VersionedArtifact)(nil), // 14: chromite.api.FinalizePayloadResponse.VersionedArtifact
(*chromiumos.BuildTarget)(nil), // 15: chromiumos.BuildTarget
(chromiumos.ImageType)(0), // 16: chromiumos.ImageType
(*chromiumos.Chroot)(nil), // 17: chromiumos.Chroot
(*chromiumos.ResultPath)(nil), // 18: chromiumos.ResultPath
(*chromiumos.Path)(nil), // 19: chromiumos.Path
}
var file_chromite_api_payload_proto_depIdxs = []int32{
15, // 0: chromite.api.Build.build_target:type_name -> chromiumos.BuildTarget
2, // 1: chromite.api.DLCImage.build:type_name -> chromite.api.Build
16, // 2: chromite.api.DLCImage.image_type:type_name -> chromiumos.ImageType
2, // 3: chromite.api.SignedImage.build:type_name -> chromite.api.Build
16, // 4: chromite.api.SignedImage.image_type:type_name -> chromiumos.ImageType
2, // 5: chromite.api.UnsignedImage.build:type_name -> chromite.api.Build
16, // 6: chromite.api.UnsignedImage.image_type:type_name -> chromiumos.ImageType
4, // 7: chromite.api.GenerationRequest.src_signed_image:type_name -> chromite.api.SignedImage
5, // 8: chromite.api.GenerationRequest.src_unsigned_image:type_name -> chromite.api.UnsignedImage
3, // 9: chromite.api.GenerationRequest.src_dlc_image:type_name -> chromite.api.DLCImage
4, // 10: chromite.api.GenerationRequest.tgt_signed_image:type_name -> chromite.api.SignedImage
5, // 11: chromite.api.GenerationRequest.tgt_unsigned_image:type_name -> chromite.api.UnsignedImage
3, // 12: chromite.api.GenerationRequest.tgt_dlc_image:type_name -> chromite.api.DLCImage
17, // 13: chromite.api.GenerationRequest.chroot:type_name -> chromiumos.Chroot
18, // 14: chromite.api.GenerationRequest.result_path:type_name -> chromiumos.ResultPath
13, // 15: chromite.api.GenerationResponse.versioned_artifacts:type_name -> chromite.api.GenerationResponse.VersionedArtifact
0, // 16: chromite.api.GenerationResponse.failure_reason:type_name -> chromite.api.GenerationResponse.FailureReason
4, // 17: chromite.api.GenerateUnsignedPayloadRequest.src_signed_image:type_name -> chromite.api.SignedImage
5, // 18: chromite.api.GenerateUnsignedPayloadRequest.src_unsigned_image:type_name -> chromite.api.UnsignedImage
3, // 19: chromite.api.GenerateUnsignedPayloadRequest.src_dlc_image:type_name -> chromite.api.DLCImage
4, // 20: chromite.api.GenerateUnsignedPayloadRequest.tgt_signed_image:type_name -> chromite.api.SignedImage
5, // 21: chromite.api.GenerateUnsignedPayloadRequest.tgt_unsigned_image:type_name -> chromite.api.UnsignedImage
3, // 22: chromite.api.GenerateUnsignedPayloadRequest.tgt_dlc_image:type_name -> chromite.api.DLCImage
17, // 23: chromite.api.GenerateUnsignedPayloadRequest.chroot:type_name -> chromiumos.Chroot
18, // 24: chromite.api.GenerateUnsignedPayloadRequest.result_path:type_name -> chromiumos.ResultPath
19, // 25: chromite.api.UnsignedPayload.payload_file_path:type_name -> chromiumos.Path
19, // 26: chromite.api.UnsignedPayload.src_partitions:type_name -> chromiumos.Path
19, // 27: chromite.api.UnsignedPayload.tgt_partitions:type_name -> chromiumos.Path
9, // 28: chromite.api.GenerateUnsignedPayloadResponse.unsigned_payloads:type_name -> chromite.api.UnsignedPayload
1, // 29: chromite.api.GenerateUnsignedPayloadResponse.failure_reason:type_name -> chromite.api.GenerateUnsignedPayloadResponse.FailureReason
17, // 30: chromite.api.FinalizePayloadRequest.chroot:type_name -> chromiumos.Chroot
4, // 31: chromite.api.FinalizePayloadRequest.src_signed_image:type_name -> chromite.api.SignedImage
5, // 32: chromite.api.FinalizePayloadRequest.src_unsigned_image:type_name -> chromite.api.UnsignedImage
3, // 33: chromite.api.FinalizePayloadRequest.src_dlc_image:type_name -> chromite.api.DLCImage
4, // 34: chromite.api.FinalizePayloadRequest.tgt_signed_image:type_name -> chromite.api.SignedImage
5, // 35: chromite.api.FinalizePayloadRequest.tgt_unsigned_image:type_name -> chromite.api.UnsignedImage
3, // 36: chromite.api.FinalizePayloadRequest.tgt_dlc_image:type_name -> chromite.api.DLCImage
9, // 37: chromite.api.FinalizePayloadRequest.payloads:type_name -> chromite.api.UnsignedPayload
18, // 38: chromite.api.FinalizePayloadRequest.result_path:type_name -> chromiumos.ResultPath
14, // 39: chromite.api.FinalizePayloadResponse.versioned_artifacts:type_name -> chromite.api.FinalizePayloadResponse.VersionedArtifact
19, // 40: chromite.api.GenerationResponse.VersionedArtifact.file_path:type_name -> chromiumos.Path
19, // 41: chromite.api.FinalizePayloadResponse.VersionedArtifact.file_path:type_name -> chromiumos.Path
6, // 42: chromite.api.PayloadService.GeneratePayload:input_type -> chromite.api.GenerationRequest
8, // 43: chromite.api.PayloadService.GenerateUnsignedPayload:input_type -> chromite.api.GenerateUnsignedPayloadRequest
11, // 44: chromite.api.PayloadService.FinalizePayload:input_type -> chromite.api.FinalizePayloadRequest
7, // 45: chromite.api.PayloadService.GeneratePayload:output_type -> chromite.api.GenerationResponse
10, // 46: chromite.api.PayloadService.GenerateUnsignedPayload:output_type -> chromite.api.GenerateUnsignedPayloadResponse
12, // 47: chromite.api.PayloadService.FinalizePayload:output_type -> chromite.api.FinalizePayloadResponse
45, // [45:48] is the sub-list for method output_type
42, // [42:45] is the sub-list for method input_type
42, // [42:42] is the sub-list for extension type_name
42, // [42:42] is the sub-list for extension extendee
0, // [0:42] is the sub-list for field type_name
}
func init() { file_chromite_api_payload_proto_init() }
func file_chromite_api_payload_proto_init() {
if File_chromite_api_payload_proto != nil {
return
}
file_chromite_api_build_api_proto_init()
if !protoimpl.UnsafeEnabled {
file_chromite_api_payload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Build); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DLCImage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SignedImage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UnsignedImage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenerationRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenerationResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenerateUnsignedPayloadRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UnsignedPayload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenerateUnsignedPayloadResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FinalizePayloadRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FinalizePayloadResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenerationResponse_VersionedArtifact); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_payload_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FinalizePayloadResponse_VersionedArtifact); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_chromite_api_payload_proto_msgTypes[4].OneofWrappers = []interface{}{
(*GenerationRequest_FullUpdate)(nil),
(*GenerationRequest_SrcSignedImage)(nil),
(*GenerationRequest_SrcUnsignedImage)(nil),
(*GenerationRequest_SrcDlcImage)(nil),
(*GenerationRequest_TgtSignedImage)(nil),
(*GenerationRequest_TgtUnsignedImage)(nil),
(*GenerationRequest_TgtDlcImage)(nil),
}
file_chromite_api_payload_proto_msgTypes[6].OneofWrappers = []interface{}{
(*GenerateUnsignedPayloadRequest_FullUpdate)(nil),
(*GenerateUnsignedPayloadRequest_SrcSignedImage)(nil),
(*GenerateUnsignedPayloadRequest_SrcUnsignedImage)(nil),
(*GenerateUnsignedPayloadRequest_SrcDlcImage)(nil),
(*GenerateUnsignedPayloadRequest_TgtSignedImage)(nil),
(*GenerateUnsignedPayloadRequest_TgtUnsignedImage)(nil),
(*GenerateUnsignedPayloadRequest_TgtDlcImage)(nil),
}
file_chromite_api_payload_proto_msgTypes[9].OneofWrappers = []interface{}{
(*FinalizePayloadRequest_FullUpdate)(nil),
(*FinalizePayloadRequest_SrcSignedImage)(nil),
(*FinalizePayloadRequest_SrcUnsignedImage)(nil),
(*FinalizePayloadRequest_SrcDlcImage)(nil),
(*FinalizePayloadRequest_TgtSignedImage)(nil),
(*FinalizePayloadRequest_TgtUnsignedImage)(nil),
(*FinalizePayloadRequest_TgtDlcImage)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_chromite_api_payload_proto_rawDesc,
NumEnums: 2,
NumMessages: 13,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_chromite_api_payload_proto_goTypes,
DependencyIndexes: file_chromite_api_payload_proto_depIdxs,
EnumInfos: file_chromite_api_payload_proto_enumTypes,
MessageInfos: file_chromite_api_payload_proto_msgTypes,
}.Build()
File_chromite_api_payload_proto = out.File
file_chromite_api_payload_proto_rawDesc = nil
file_chromite_api_payload_proto_goTypes = nil
file_chromite_api_payload_proto_depIdxs = nil
}