blob: 298035b0b92df389aeddb537170fbf276549df98 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.1
// source: chromite/api/dlc.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)
)
// Request for GenerateDlcArtifactsList method.
type GenerateDlcArtifactsListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The chroot used to execute the endpoint.
Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"`
// Sysroot (board) to generate DLCs for.
Sysroot *Sysroot `protobuf:"bytes,2,opt,name=sysroot,proto3" json:"sysroot,omitempty"`
}
func (x *GenerateDlcArtifactsListRequest) Reset() {
*x = GenerateDlcArtifactsListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_dlc_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenerateDlcArtifactsListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenerateDlcArtifactsListRequest) ProtoMessage() {}
func (x *GenerateDlcArtifactsListRequest) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_dlc_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 GenerateDlcArtifactsListRequest.ProtoReflect.Descriptor instead.
func (*GenerateDlcArtifactsListRequest) Descriptor() ([]byte, []int) {
return file_chromite_api_dlc_proto_rawDescGZIP(), []int{0}
}
func (x *GenerateDlcArtifactsListRequest) GetChroot() *chromiumos.Chroot {
if x != nil {
return x.Chroot
}
return nil
}
func (x *GenerateDlcArtifactsListRequest) GetSysroot() *Sysroot {
if x != nil {
return x.Sysroot
}
return nil
}
// Response for GenerateArtifactsDlcList method.
type GenerateDlcArtifactsListResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// List of DLC paths.
DlcArtifacts []*GenerateDlcArtifactsListResponse_DlcArtifact `protobuf:"bytes,1,rep,name=dlc_artifacts,json=dlcArtifacts,proto3" json:"dlc_artifacts,omitempty"`
}
func (x *GenerateDlcArtifactsListResponse) Reset() {
*x = GenerateDlcArtifactsListResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_dlc_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenerateDlcArtifactsListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenerateDlcArtifactsListResponse) ProtoMessage() {}
func (x *GenerateDlcArtifactsListResponse) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_dlc_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 GenerateDlcArtifactsListResponse.ProtoReflect.Descriptor instead.
func (*GenerateDlcArtifactsListResponse) Descriptor() ([]byte, []int) {
return file_chromite_api_dlc_proto_rawDescGZIP(), []int{1}
}
func (x *GenerateDlcArtifactsListResponse) GetDlcArtifacts() []*GenerateDlcArtifactsListResponse_DlcArtifact {
if x != nil {
return x.DlcArtifacts
}
return nil
}
type GenerateDlcArtifactsListResponse_DlcArtifact struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// sha256 hash of the DLC.
ImageHash string `protobuf:"bytes,1,opt,name=image_hash,json=imageHash,proto3" json:"image_hash,omitempty"`
// Name of the DLC (usually dlc.img).
ImageName string `protobuf:"bytes,2,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
// GS uri of the DLCs directory.
GsUriPath string `protobuf:"bytes,3,opt,name=gs_uri_path,json=gsUriPath,proto3" json:"gs_uri_path,omitempty"`
// The identifier of the DLC.
Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
}
func (x *GenerateDlcArtifactsListResponse_DlcArtifact) Reset() {
*x = GenerateDlcArtifactsListResponse_DlcArtifact{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_dlc_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenerateDlcArtifactsListResponse_DlcArtifact) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenerateDlcArtifactsListResponse_DlcArtifact) ProtoMessage() {}
func (x *GenerateDlcArtifactsListResponse_DlcArtifact) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_dlc_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 GenerateDlcArtifactsListResponse_DlcArtifact.ProtoReflect.Descriptor instead.
func (*GenerateDlcArtifactsListResponse_DlcArtifact) Descriptor() ([]byte, []int) {
return file_chromite_api_dlc_proto_rawDescGZIP(), []int{1, 0}
}
func (x *GenerateDlcArtifactsListResponse_DlcArtifact) GetImageHash() string {
if x != nil {
return x.ImageHash
}
return ""
}
func (x *GenerateDlcArtifactsListResponse_DlcArtifact) GetImageName() string {
if x != nil {
return x.ImageName
}
return ""
}
func (x *GenerateDlcArtifactsListResponse_DlcArtifact) GetGsUriPath() string {
if x != nil {
return x.GsUriPath
}
return ""
}
func (x *GenerateDlcArtifactsListResponse_DlcArtifact) GetId() string {
if x != nil {
return x.Id
}
return ""
}
var File_chromite_api_dlc_proto protoreflect.FileDescriptor
var file_chromite_api_dlc_proto_rawDesc = []byte{
0x0a, 0x16, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64,
0x6c, 0x63, 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, 0x1a, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61,
0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x72, 0x6f, 0x6f, 0x74, 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, 0x7e, 0x0a, 0x1f, 0x47, 0x65, 0x6e,
0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6c, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
0x73, 0x4c, 0x69, 0x73, 0x74, 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, 0x2f, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x72,
0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x72, 0x6f,
0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x73, 0x72, 0x6f, 0x6f, 0x74,
0x52, 0x07, 0x73, 0x79, 0x73, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x80, 0x02, 0x0a, 0x20, 0x47, 0x65,
0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6c, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f,
0x0a, 0x0d, 0x64, 0x6c, 0x63, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6c, 0x63,
0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x6c, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
0x74, 0x52, 0x0c, 0x64, 0x6c, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x1a,
0x7b, 0x0a, 0x0b, 0x44, 0x6c, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x1d,
0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d, 0x0a,
0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0b,
0x67, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x67, 0x73, 0x55, 0x72, 0x69, 0x50, 0x61, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02,
0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x32, 0x94, 0x01, 0x0a,
0x0a, 0x44, 0x6c, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x79, 0x0a, 0x18, 0x47,
0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6c, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61,
0x63, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44,
0x6c, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74,
0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6c,
0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x0b, 0xc2, 0xed, 0x1a, 0x07, 0x0a, 0x03, 0x64, 0x6c,
0x63, 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_dlc_proto_rawDescOnce sync.Once
file_chromite_api_dlc_proto_rawDescData = file_chromite_api_dlc_proto_rawDesc
)
func file_chromite_api_dlc_proto_rawDescGZIP() []byte {
file_chromite_api_dlc_proto_rawDescOnce.Do(func() {
file_chromite_api_dlc_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_api_dlc_proto_rawDescData)
})
return file_chromite_api_dlc_proto_rawDescData
}
var file_chromite_api_dlc_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_chromite_api_dlc_proto_goTypes = []interface{}{
(*GenerateDlcArtifactsListRequest)(nil), // 0: chromite.api.GenerateDlcArtifactsListRequest
(*GenerateDlcArtifactsListResponse)(nil), // 1: chromite.api.GenerateDlcArtifactsListResponse
(*GenerateDlcArtifactsListResponse_DlcArtifact)(nil), // 2: chromite.api.GenerateDlcArtifactsListResponse.DlcArtifact
(*chromiumos.Chroot)(nil), // 3: chromiumos.Chroot
(*Sysroot)(nil), // 4: chromite.api.Sysroot
}
var file_chromite_api_dlc_proto_depIdxs = []int32{
3, // 0: chromite.api.GenerateDlcArtifactsListRequest.chroot:type_name -> chromiumos.Chroot
4, // 1: chromite.api.GenerateDlcArtifactsListRequest.sysroot:type_name -> chromite.api.Sysroot
2, // 2: chromite.api.GenerateDlcArtifactsListResponse.dlc_artifacts:type_name -> chromite.api.GenerateDlcArtifactsListResponse.DlcArtifact
0, // 3: chromite.api.DlcService.GenerateDlcArtifactsList:input_type -> chromite.api.GenerateDlcArtifactsListRequest
1, // 4: chromite.api.DlcService.GenerateDlcArtifactsList:output_type -> chromite.api.GenerateDlcArtifactsListResponse
4, // [4:5] is the sub-list for method output_type
3, // [3:4] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_chromite_api_dlc_proto_init() }
func file_chromite_api_dlc_proto_init() {
if File_chromite_api_dlc_proto != nil {
return
}
file_chromite_api_build_api_proto_init()
file_chromite_api_sysroot_proto_init()
if !protoimpl.UnsafeEnabled {
file_chromite_api_dlc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenerateDlcArtifactsListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_dlc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenerateDlcArtifactsListResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_dlc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenerateDlcArtifactsListResponse_DlcArtifact); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_chromite_api_dlc_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_chromite_api_dlc_proto_goTypes,
DependencyIndexes: file_chromite_api_dlc_proto_depIdxs,
MessageInfos: file_chromite_api_dlc_proto_msgTypes,
}.Build()
File_chromite_api_dlc_proto = out.File
file_chromite_api_dlc_proto_rawDesc = nil
file_chromite_api_dlc_proto_goTypes = nil
file_chromite_api_dlc_proto_depIdxs = nil
}