blob: a3bbc18a6676d7334c16a567fe39b15fb9ebf716 [file] [log] [blame]
// Copyright 2022 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/observability.proto
package api
import (
observability "go.chromium.org/chromiumos/infra/proto/go/chromite/observability"
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 GetImageSizeDataRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BuiltImages []*Image `protobuf:"bytes,1,rep,name=built_images,json=builtImages,proto3" json:"built_images,omitempty"`
Chroot *chromiumos.Chroot `protobuf:"bytes,2,opt,name=chroot,proto3" json:"chroot,omitempty"`
}
func (x *GetImageSizeDataRequest) Reset() {
*x = GetImageSizeDataRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_observability_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetImageSizeDataRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetImageSizeDataRequest) ProtoMessage() {}
func (x *GetImageSizeDataRequest) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_observability_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 GetImageSizeDataRequest.ProtoReflect.Descriptor instead.
func (*GetImageSizeDataRequest) Descriptor() ([]byte, []int) {
return file_chromite_api_observability_proto_rawDescGZIP(), []int{0}
}
func (x *GetImageSizeDataRequest) GetBuiltImages() []*Image {
if x != nil {
return x.BuiltImages
}
return nil
}
func (x *GetImageSizeDataRequest) GetChroot() *chromiumos.Chroot {
if x != nil {
return x.Chroot
}
return nil
}
type GetImageSizeDataResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ImageData []*observability.ImageData `protobuf:"bytes,1,rep,name=image_data,json=imageData,proto3" json:"image_data,omitempty"`
}
func (x *GetImageSizeDataResponse) Reset() {
*x = GetImageSizeDataResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_api_observability_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetImageSizeDataResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetImageSizeDataResponse) ProtoMessage() {}
func (x *GetImageSizeDataResponse) ProtoReflect() protoreflect.Message {
mi := &file_chromite_api_observability_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 GetImageSizeDataResponse.ProtoReflect.Descriptor instead.
func (*GetImageSizeDataResponse) Descriptor() ([]byte, []int) {
return file_chromite_api_observability_proto_rawDescGZIP(), []int{1}
}
func (x *GetImageSizeDataResponse) GetImageData() []*observability.ImageData {
if x != nil {
return x.ImageData
}
return nil
}
var File_chromite_api_observability_proto protoreflect.FileDescriptor
var file_chromite_api_observability_proto_rawDesc = []byte{
0x0a, 0x20, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6f,
0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 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, 0x18,
0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x6d, 0x61,
0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x74, 0x65, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
0x2f, 0x73, 0x69, 0x7a, 0x65, 0x73, 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, 0x7d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67,
0x65, 0x53, 0x69, 0x7a, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x36, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74,
0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x62, 0x75, 0x69,
0x6c, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x63, 0x68, 0x72, 0x6f,
0x6f, 0x74, 0x18, 0x02, 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, 0x22, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65,
0x53, 0x69, 0x7a, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x40, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e,
0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x6d,
0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x61,
0x74, 0x61, 0x32, 0x90, 0x01, 0x0a, 0x14, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69,
0x6c, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x10, 0x47,
0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12,
0x25, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47,
0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74,
0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x69,
0x7a, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x15,
0xc2, 0xed, 0x1a, 0x11, 0x0a, 0x0d, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c,
0x69, 0x74, 0x79, 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_observability_proto_rawDescOnce sync.Once
file_chromite_api_observability_proto_rawDescData = file_chromite_api_observability_proto_rawDesc
)
func file_chromite_api_observability_proto_rawDescGZIP() []byte {
file_chromite_api_observability_proto_rawDescOnce.Do(func() {
file_chromite_api_observability_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_api_observability_proto_rawDescData)
})
return file_chromite_api_observability_proto_rawDescData
}
var file_chromite_api_observability_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_chromite_api_observability_proto_goTypes = []interface{}{
(*GetImageSizeDataRequest)(nil), // 0: chromite.api.GetImageSizeDataRequest
(*GetImageSizeDataResponse)(nil), // 1: chromite.api.GetImageSizeDataResponse
(*Image)(nil), // 2: chromite.api.Image
(*chromiumos.Chroot)(nil), // 3: chromiumos.Chroot
(*observability.ImageData)(nil), // 4: chromite.observability.ImageData
}
var file_chromite_api_observability_proto_depIdxs = []int32{
2, // 0: chromite.api.GetImageSizeDataRequest.built_images:type_name -> chromite.api.Image
3, // 1: chromite.api.GetImageSizeDataRequest.chroot:type_name -> chromiumos.Chroot
4, // 2: chromite.api.GetImageSizeDataResponse.image_data:type_name -> chromite.observability.ImageData
0, // 3: chromite.api.ObservabilityService.GetImageSizeData:input_type -> chromite.api.GetImageSizeDataRequest
1, // 4: chromite.api.ObservabilityService.GetImageSizeData:output_type -> chromite.api.GetImageSizeDataResponse
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_observability_proto_init() }
func file_chromite_api_observability_proto_init() {
if File_chromite_api_observability_proto != nil {
return
}
file_chromite_api_build_api_proto_init()
file_chromite_api_image_proto_init()
if !protoimpl.UnsafeEnabled {
file_chromite_api_observability_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetImageSizeDataRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_api_observability_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetImageSizeDataResponse); 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_observability_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_chromite_api_observability_proto_goTypes,
DependencyIndexes: file_chromite_api_observability_proto_depIdxs,
MessageInfos: file_chromite_api_observability_proto_msgTypes,
}.Build()
File_chromite_api_observability_proto = out.File
file_chromite_api_observability_proto_rawDesc = nil
file_chromite_api_observability_proto_goTypes = nil
file_chromite_api_observability_proto_depIdxs = nil
}