blob: 28173d58a5bac8f1843a61d13600c008b7408fa5 [file] [log] [blame]
// Copyright 2021 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/metadata.proto
package api
import (
api "go.chromium.org/chromiumos/config/go/build/api"
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)
)
type SystemImageMetadataRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Required if not default.
Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"`
// Required.
Sysroot *Sysroot `protobuf:"bytes,2,opt,name=sysroot,proto3" json:"sysroot,omitempty"`
}
func (x *SystemImageMetadataRequest) Reset() {
*x = SystemImageMetadataRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_metadata_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SystemImageMetadataRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SystemImageMetadataRequest) ProtoMessage() {}
func (x *SystemImageMetadataRequest) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_metadata_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 SystemImageMetadataRequest.ProtoReflect.Descriptor instead.
func (*SystemImageMetadataRequest) Descriptor() ([]byte, []int) {
return file_chromite_api_metadata_proto_rawDescGZIP(), []int{0}
}
func (x *SystemImageMetadataRequest) GetChroot() *chromiumos.Chroot {
if x != nil {
return x.Chroot
}
return nil
}
func (x *SystemImageMetadataRequest) GetSysroot() *Sysroot {
if x != nil {
return x.Sysroot
}
return nil
}
type SystemImageMetadataResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SystemImage *api.SystemImage `protobuf:"bytes,1,opt,name=system_image,json=systemImage,proto3" json:"system_image,omitempty"`
}
func (x *SystemImageMetadataResponse) Reset() {
*x = SystemImageMetadataResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_metadata_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SystemImageMetadataResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SystemImageMetadataResponse) ProtoMessage() {}
func (x *SystemImageMetadataResponse) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_metadata_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 SystemImageMetadataResponse.ProtoReflect.Descriptor instead.
func (*SystemImageMetadataResponse) Descriptor() ([]byte, []int) {
return file_chromite_api_metadata_proto_rawDescGZIP(), []int{1}
}
func (x *SystemImageMetadataResponse) GetSystemImage() *api.SystemImage {
if x != nil {
return x.SystemImage
}
return nil
}
var File_chromite_api_metadata_proto protoreflect.FileDescriptor
var file_chromite_api_metadata_proto_rawDesc = []byte{
0x0a, 0x1b, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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, 0x1a, 0x27,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64,
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x6d, 0x61, 0x67,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x79, 0x0a, 0x1a, 0x53, 0x79, 0x73, 0x74, 0x65,
0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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, 0x63, 0x0a, 0x1b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6d, 0x61, 0x67,
0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x6d, 0x61, 0x67,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53,
0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x73, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x32, 0x8f, 0x01, 0x0a, 0x0f, 0x4d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, 0x13, 0x53,
0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0x12, 0x28, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70,
0x69, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63,
0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x10, 0xc2, 0xed, 0x1a, 0x0c, 0x0a, 0x08, 0x6d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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_metadata_proto_rawDescOnce sync.Once
file_chromite_api_metadata_proto_rawDescData = file_chromite_api_metadata_proto_rawDesc
)
func file_chromite_api_metadata_proto_rawDescGZIP() []byte {
file_chromite_api_metadata_proto_rawDescOnce.Do(func() {
file_chromite_api_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_api_metadata_proto_rawDescData)
})
return file_chromite_api_metadata_proto_rawDescData
}
var file_chromite_api_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_chromite_api_metadata_proto_goTypes = []interface{}{
(*SystemImageMetadataRequest)(nil), // 0: chromite.api.SystemImageMetadataRequest
(*SystemImageMetadataResponse)(nil), // 1: chromite.api.SystemImageMetadataResponse
(*chromiumos.Chroot)(nil), // 2: chromiumos.Chroot
(*Sysroot)(nil), // 3: chromite.api.Sysroot
(*api.SystemImage)(nil), // 4: chromiumos.build.api.SystemImage
}
var file_chromite_api_metadata_proto_depIdxs = []int32{
2, // 0: chromite.api.SystemImageMetadataRequest.chroot:type_name -> chromiumos.Chroot
3, // 1: chromite.api.SystemImageMetadataRequest.sysroot:type_name -> chromite.api.Sysroot
4, // 2: chromite.api.SystemImageMetadataResponse.system_image:type_name -> chromiumos.build.api.SystemImage
0, // 3: chromite.api.MetadataService.SystemImageMetadata:input_type -> chromite.api.SystemImageMetadataRequest
1, // 4: chromite.api.MetadataService.SystemImageMetadata:output_type -> chromite.api.SystemImageMetadataResponse
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_metadata_proto_init() }
func file_chromite_api_metadata_proto_init() {
if File_chromite_api_metadata_proto != nil {
return
}
file_chromite_api_build_api_proto_init()
file_chromite_api_sysroot_proto_init()
if !protoimpl.UnsafeEnabled {
file_chromite_api_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SystemImageMetadataRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SystemImageMetadataResponse); 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_metadata_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_chromite_api_metadata_proto_goTypes,
DependencyIndexes: file_chromite_api_metadata_proto_depIdxs,
MessageInfos: file_chromite_api_metadata_proto_msgTypes,
}.Build()
File_chromite_api_metadata_proto = out.File
file_chromite_api_metadata_proto_rawDesc = nil
file_chromite_api_metadata_proto_goTypes = nil
file_chromite_api_metadata_proto_depIdxs = nil
}