| // 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/observability/sizes.proto |
| |
| package observability |
| |
| 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) |
| ) |
| |
| type ImageSizeObservabilityData struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| BuilderMetadata *BuilderMetadata `protobuf:"bytes,1,opt,name=builder_metadata,json=builderMetadata,proto3" json:"builder_metadata,omitempty"` |
| BuildVersionData *BuildVersionData `protobuf:"bytes,2,opt,name=build_version_data,json=buildVersionData,proto3" json:"build_version_data,omitempty"` |
| ImageData []*ImageData `protobuf:"bytes,3,rep,name=image_data,json=imageData,proto3" json:"image_data,omitempty"` |
| } |
| |
| func (x *ImageSizeObservabilityData) Reset() { |
| *x = ImageSizeObservabilityData{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_observability_sizes_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ImageSizeObservabilityData) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ImageSizeObservabilityData) ProtoMessage() {} |
| |
| func (x *ImageSizeObservabilityData) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_observability_sizes_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 ImageSizeObservabilityData.ProtoReflect.Descriptor instead. |
| func (*ImageSizeObservabilityData) Descriptor() ([]byte, []int) { |
| return file_chromite_observability_sizes_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *ImageSizeObservabilityData) GetBuilderMetadata() *BuilderMetadata { |
| if x != nil { |
| return x.BuilderMetadata |
| } |
| return nil |
| } |
| |
| func (x *ImageSizeObservabilityData) GetBuildVersionData() *BuildVersionData { |
| if x != nil { |
| return x.BuildVersionData |
| } |
| return nil |
| } |
| |
| func (x *ImageSizeObservabilityData) GetImageData() []*ImageData { |
| if x != nil { |
| return x.ImageData |
| } |
| return nil |
| } |
| |
| type ImageData struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| ImageType chromiumos.ImageType `protobuf:"varint,1,opt,name=image_type,json=imageType,proto3,enum=chromiumos.ImageType" json:"image_type,omitempty"` |
| ImagePartitionData []*ImagePartitionData `protobuf:"bytes,2,rep,name=image_partition_data,json=imagePartitionData,proto3" json:"image_partition_data,omitempty"` |
| } |
| |
| func (x *ImageData) Reset() { |
| *x = ImageData{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_observability_sizes_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ImageData) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ImageData) ProtoMessage() {} |
| |
| func (x *ImageData) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_observability_sizes_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 ImageData.ProtoReflect.Descriptor instead. |
| func (*ImageData) Descriptor() ([]byte, []int) { |
| return file_chromite_observability_sizes_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *ImageData) GetImageType() chromiumos.ImageType { |
| if x != nil { |
| return x.ImageType |
| } |
| return chromiumos.ImageType(0) |
| } |
| |
| func (x *ImageData) GetImagePartitionData() []*ImagePartitionData { |
| if x != nil { |
| return x.ImagePartitionData |
| } |
| return nil |
| } |
| |
| type ImagePartitionData struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| PartitionName string `protobuf:"bytes,1,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` |
| Packages []*PackageSizeData `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty"` |
| // Apparent size represents how many bytes are contained in a fileset's |
| // contents; in this case, the fileset is all of the files installed by |
| // packages on the partition. |
| PartitionApparentSize uint64 `protobuf:"varint,4,opt,name=partition_apparent_size,json=partitionApparentSize,proto3" json:"partition_apparent_size,omitempty"` |
| // Disk utilization represents how many bytes are reserved by the operating |
| // system for a given fileset; in this case, the fileset is all of the files |
| // installed by packages on the partition. |
| PartitionDiskUtilizationSize uint64 `protobuf:"varint,5,opt,name=partition_disk_utilization_size,json=partitionDiskUtilizationSize,proto3" json:"partition_disk_utilization_size,omitempty"` |
| } |
| |
| func (x *ImagePartitionData) Reset() { |
| *x = ImagePartitionData{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_observability_sizes_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ImagePartitionData) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ImagePartitionData) ProtoMessage() {} |
| |
| func (x *ImagePartitionData) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_observability_sizes_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 ImagePartitionData.ProtoReflect.Descriptor instead. |
| func (*ImagePartitionData) Descriptor() ([]byte, []int) { |
| return file_chromite_observability_sizes_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *ImagePartitionData) GetPartitionName() string { |
| if x != nil { |
| return x.PartitionName |
| } |
| return "" |
| } |
| |
| func (x *ImagePartitionData) GetPackages() []*PackageSizeData { |
| if x != nil { |
| return x.Packages |
| } |
| return nil |
| } |
| |
| func (x *ImagePartitionData) GetPartitionApparentSize() uint64 { |
| if x != nil { |
| return x.PartitionApparentSize |
| } |
| return 0 |
| } |
| |
| func (x *ImagePartitionData) GetPartitionDiskUtilizationSize() uint64 { |
| if x != nil { |
| return x.PartitionDiskUtilizationSize |
| } |
| return 0 |
| } |
| |
| type PackageSizeData struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Identifier *PackageIdentifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` |
| // Apparent size represents how many bytes are contained in a file's |
| // contents. It is the number provided by `ls -l` in the terminal. This field |
| // represents the total sum of the apparent size of all real files installed |
| // by the package in question. It does not include inode blocks or symlinks. |
| ApparentSize uint64 `protobuf:"varint,3,opt,name=apparent_size,json=apparentSize,proto3" json:"apparent_size,omitempty"` |
| // Disk utilization represents how many bytes are reserved by the operating |
| // system for a given file. It is provided in bytes, not blocks. This field |
| // represents the total sum of all bytes reserved for the files installed by |
| // the package in question. It does not include inode blocks or symlinks. |
| DiskUtilizationSize uint64 `protobuf:"varint,4,opt,name=disk_utilization_size,json=diskUtilizationSize,proto3" json:"disk_utilization_size,omitempty"` |
| } |
| |
| func (x *PackageSizeData) Reset() { |
| *x = PackageSizeData{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_observability_sizes_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *PackageSizeData) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*PackageSizeData) ProtoMessage() {} |
| |
| func (x *PackageSizeData) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_observability_sizes_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 PackageSizeData.ProtoReflect.Descriptor instead. |
| func (*PackageSizeData) Descriptor() ([]byte, []int) { |
| return file_chromite_observability_sizes_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *PackageSizeData) GetIdentifier() *PackageIdentifier { |
| if x != nil { |
| return x.Identifier |
| } |
| return nil |
| } |
| |
| func (x *PackageSizeData) GetApparentSize() uint64 { |
| if x != nil { |
| return x.ApparentSize |
| } |
| return 0 |
| } |
| |
| func (x *PackageSizeData) GetDiskUtilizationSize() uint64 { |
| if x != nil { |
| return x.DiskUtilizationSize |
| } |
| return 0 |
| } |
| |
| // Provides the category, name, version components, and revision components of a |
| // given package. This is used in place of chromiumos.PackageInfo because it is |
| // more extensible and minimizes the amount of post-processing required for |
| // building out the ISCP data pipeline. |
| type PackageIdentifier struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| PackageName *PackageName `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` |
| PackageVersion *PackageVersion `protobuf:"bytes,2,opt,name=package_version,json=packageVersion,proto3" json:"package_version,omitempty"` |
| } |
| |
| func (x *PackageIdentifier) Reset() { |
| *x = PackageIdentifier{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_observability_sizes_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *PackageIdentifier) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*PackageIdentifier) ProtoMessage() {} |
| |
| func (x *PackageIdentifier) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_observability_sizes_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 PackageIdentifier.ProtoReflect.Descriptor instead. |
| func (*PackageIdentifier) Descriptor() ([]byte, []int) { |
| return file_chromite_observability_sizes_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *PackageIdentifier) GetPackageName() *PackageName { |
| if x != nil { |
| return x.PackageName |
| } |
| return nil |
| } |
| |
| func (x *PackageIdentifier) GetPackageVersion() *PackageVersion { |
| if x != nil { |
| return x.PackageVersion |
| } |
| return nil |
| } |
| |
| type PackageName struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Atom string `protobuf:"bytes,1,opt,name=atom,proto3" json:"atom,omitempty"` |
| Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` |
| PackageName string `protobuf:"bytes,3,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` |
| } |
| |
| func (x *PackageName) Reset() { |
| *x = PackageName{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_observability_sizes_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *PackageName) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*PackageName) ProtoMessage() {} |
| |
| func (x *PackageName) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_observability_sizes_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 PackageName.ProtoReflect.Descriptor instead. |
| func (*PackageName) Descriptor() ([]byte, []int) { |
| return file_chromite_observability_sizes_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *PackageName) GetAtom() string { |
| if x != nil { |
| return x.Atom |
| } |
| return "" |
| } |
| |
| func (x *PackageName) GetCategory() string { |
| if x != nil { |
| return x.Category |
| } |
| return "" |
| } |
| |
| func (x *PackageName) GetPackageName() string { |
| if x != nil { |
| return x.PackageName |
| } |
| return "" |
| } |
| |
| type PackageVersion struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` |
| Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` |
| Patch uint32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` |
| Extended uint32 `protobuf:"varint,4,opt,name=extended,proto3" json:"extended,omitempty"` |
| Revision uint32 `protobuf:"varint,5,opt,name=revision,proto3" json:"revision,omitempty"` |
| FullVersion string `protobuf:"bytes,6,opt,name=full_version,json=fullVersion,proto3" json:"full_version,omitempty"` |
| } |
| |
| func (x *PackageVersion) Reset() { |
| *x = PackageVersion{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_observability_sizes_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *PackageVersion) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*PackageVersion) ProtoMessage() {} |
| |
| func (x *PackageVersion) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_observability_sizes_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 PackageVersion.ProtoReflect.Descriptor instead. |
| func (*PackageVersion) Descriptor() ([]byte, []int) { |
| return file_chromite_observability_sizes_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *PackageVersion) GetMajor() uint32 { |
| if x != nil { |
| return x.Major |
| } |
| return 0 |
| } |
| |
| func (x *PackageVersion) GetMinor() uint32 { |
| if x != nil { |
| return x.Minor |
| } |
| return 0 |
| } |
| |
| func (x *PackageVersion) GetPatch() uint32 { |
| if x != nil { |
| return x.Patch |
| } |
| return 0 |
| } |
| |
| func (x *PackageVersion) GetExtended() uint32 { |
| if x != nil { |
| return x.Extended |
| } |
| return 0 |
| } |
| |
| func (x *PackageVersion) GetRevision() uint32 { |
| if x != nil { |
| return x.Revision |
| } |
| return 0 |
| } |
| |
| func (x *PackageVersion) GetFullVersion() string { |
| if x != nil { |
| return x.FullVersion |
| } |
| return "" |
| } |
| |
| var File_chromite_observability_sizes_proto protoreflect.FileDescriptor |
| |
| var file_chromite_observability_sizes_proto_rawDesc = []byte{ |
| 0x0a, 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, 0x12, 0x16, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x6f, |
| 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 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, 0x23, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, |
| 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2f, 0x73, 0x68, |
| 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x02, 0x0a, 0x1a, 0x49, |
| 0x6d, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, |
| 0x69, 0x6c, 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x52, 0x0a, 0x10, 0x62, 0x75, 0x69, |
| 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x6f, |
| 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x42, 0x75, 0x69, |
| 0x6c, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x62, 0x75, |
| 0x69, 0x6c, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x56, 0x0a, |
| 0x12, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, |
| 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, |
| 0x74, 0x79, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x44, |
| 0x61, 0x74, 0x61, 0x52, 0x10, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x64, |
| 0x61, 0x74, 0x61, 0x18, 0x03, 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, 0x22, 0x9f, 0x01, 0x0a, 0x09, 0x49, 0x6d, 0x61, 0x67, |
| 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, |
| 0x79, 0x70, 0x65, 0x18, 0x01, 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, 0x5c, 0x0a, 0x14, 0x69, |
| 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, |
| 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 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, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, |
| 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x12, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x74, |
| 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x22, 0x95, 0x02, 0x0a, 0x12, 0x49, 0x6d, |
| 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, |
| 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, |
| 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, |
| 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, |
| 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, |
| 0x74, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x44, 0x61, |
| 0x74, 0x61, 0x52, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, |
| 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x70, 0x70, 0x61, 0x72, 0x65, |
| 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 0x70, |
| 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 0x53, 0x69, 0x7a, 0x65, 0x12, 0x45, 0x0a, 0x1f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, |
| 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, |
| 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1c, 0x70, |
| 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x6b, 0x55, 0x74, 0x69, 0x6c, |
| 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, |
| 0x03, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x7a, |
| 0x65, 0x22, 0xc1, 0x01, 0x0a, 0x0f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, |
| 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x49, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, |
| 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, |
| 0x74, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, |
| 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, |
| 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, |
| 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x61, 0x72, 0x65, 0x6e, |
| 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x75, 0x74, |
| 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, |
| 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x69, 0x73, 0x6b, 0x55, 0x74, 0x69, 0x6c, 0x69, 0x7a, |
| 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x7a, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, |
| 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0xac, 0x01, 0x0a, 0x11, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, |
| 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0c, 0x70, |
| 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x6f, 0x62, 0x73, |
| 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, |
| 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, |
| 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, |
| 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x62, |
| 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, |
| 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, |
| 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x60, 0x0a, 0x0b, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, |
| 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x74, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x09, 0x52, 0x04, 0x61, 0x74, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, |
| 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, |
| 0x6f, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, |
| 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, |
| 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x0e, 0x50, 0x61, 0x63, 0x6b, 0x61, |
| 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x6a, |
| 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, |
| 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, |
| 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, |
| 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x65, |
| 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, |
| 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, |
| 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, |
| 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, |
| 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x75, 0x6c, 0x6c, 0x56, |
| 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x42, 0x5a, 0x40, 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, 0x6f, 0x62, 0x73, |
| 0x65, 0x72, 0x76, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 0x6f, 0x33, |
| } |
| |
| var ( |
| file_chromite_observability_sizes_proto_rawDescOnce sync.Once |
| file_chromite_observability_sizes_proto_rawDescData = file_chromite_observability_sizes_proto_rawDesc |
| ) |
| |
| func file_chromite_observability_sizes_proto_rawDescGZIP() []byte { |
| file_chromite_observability_sizes_proto_rawDescOnce.Do(func() { |
| file_chromite_observability_sizes_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_observability_sizes_proto_rawDescData) |
| }) |
| return file_chromite_observability_sizes_proto_rawDescData |
| } |
| |
| var file_chromite_observability_sizes_proto_msgTypes = make([]protoimpl.MessageInfo, 7) |
| var file_chromite_observability_sizes_proto_goTypes = []interface{}{ |
| (*ImageSizeObservabilityData)(nil), // 0: chromite.observability.ImageSizeObservabilityData |
| (*ImageData)(nil), // 1: chromite.observability.ImageData |
| (*ImagePartitionData)(nil), // 2: chromite.observability.ImagePartitionData |
| (*PackageSizeData)(nil), // 3: chromite.observability.PackageSizeData |
| (*PackageIdentifier)(nil), // 4: chromite.observability.PackageIdentifier |
| (*PackageName)(nil), // 5: chromite.observability.PackageName |
| (*PackageVersion)(nil), // 6: chromite.observability.PackageVersion |
| (*BuilderMetadata)(nil), // 7: chromite.observability.BuilderMetadata |
| (*BuildVersionData)(nil), // 8: chromite.observability.BuildVersionData |
| (chromiumos.ImageType)(0), // 9: chromiumos.ImageType |
| } |
| var file_chromite_observability_sizes_proto_depIdxs = []int32{ |
| 7, // 0: chromite.observability.ImageSizeObservabilityData.builder_metadata:type_name -> chromite.observability.BuilderMetadata |
| 8, // 1: chromite.observability.ImageSizeObservabilityData.build_version_data:type_name -> chromite.observability.BuildVersionData |
| 1, // 2: chromite.observability.ImageSizeObservabilityData.image_data:type_name -> chromite.observability.ImageData |
| 9, // 3: chromite.observability.ImageData.image_type:type_name -> chromiumos.ImageType |
| 2, // 4: chromite.observability.ImageData.image_partition_data:type_name -> chromite.observability.ImagePartitionData |
| 3, // 5: chromite.observability.ImagePartitionData.packages:type_name -> chromite.observability.PackageSizeData |
| 4, // 6: chromite.observability.PackageSizeData.identifier:type_name -> chromite.observability.PackageIdentifier |
| 5, // 7: chromite.observability.PackageIdentifier.package_name:type_name -> chromite.observability.PackageName |
| 6, // 8: chromite.observability.PackageIdentifier.package_version:type_name -> chromite.observability.PackageVersion |
| 9, // [9:9] is the sub-list for method output_type |
| 9, // [9:9] is the sub-list for method input_type |
| 9, // [9:9] is the sub-list for extension type_name |
| 9, // [9:9] is the sub-list for extension extendee |
| 0, // [0:9] is the sub-list for field type_name |
| } |
| |
| func init() { file_chromite_observability_sizes_proto_init() } |
| func file_chromite_observability_sizes_proto_init() { |
| if File_chromite_observability_sizes_proto != nil { |
| return |
| } |
| file_chromite_observability_shared_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_chromite_observability_sizes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ImageSizeObservabilityData); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_observability_sizes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ImageData); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_observability_sizes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ImagePartitionData); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_observability_sizes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*PackageSizeData); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_observability_sizes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*PackageIdentifier); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_observability_sizes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*PackageName); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_observability_sizes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*PackageVersion); 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_observability_sizes_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 7, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_chromite_observability_sizes_proto_goTypes, |
| DependencyIndexes: file_chromite_observability_sizes_proto_depIdxs, |
| MessageInfos: file_chromite_observability_sizes_proto_msgTypes, |
| }.Build() |
| File_chromite_observability_sizes_proto = out.File |
| file_chromite_observability_sizes_proto_rawDesc = nil |
| file_chromite_observability_sizes_proto_goTypes = nil |
| file_chromite_observability_sizes_proto_depIdxs = nil |
| } |