blob: 241e2338f31d682481fa8a172ce2d8dfac1b72fb [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/observability/shared.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"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 BuilderMetadata struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BuildbucketId uint64 `protobuf:"varint,1,opt,name=buildbucket_id,json=buildbucketId,proto3" json:"buildbucket_id,omitempty"`
StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,3,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
BuildType chromiumos.BuilderConfig_Id_Type `protobuf:"varint,4,opt,name=build_type,json=buildType,proto3,enum=chromiumos.BuilderConfig_Id_Type" json:"build_type,omitempty"` // e.g. CQ, POSTSUBMIT, etc
BuildConfigName string `protobuf:"bytes,5,opt,name=build_config_name,json=buildConfigName,proto3" json:"build_config_name,omitempty"` // e.g. amd64-generic-arcnext-fuzzer-cq
AnnealingCommitId uint32 `protobuf:"varint,6,opt,name=annealing_commit_id,json=annealingCommitId,proto3" json:"annealing_commit_id,omitempty"`
ManifestCommit string `protobuf:"bytes,7,opt,name=manifest_commit,json=manifestCommit,proto3" json:"manifest_commit,omitempty"`
}
func (x *BuilderMetadata) Reset() {
*x = BuilderMetadata{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_observability_shared_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuilderMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuilderMetadata) ProtoMessage() {}
func (x *BuilderMetadata) ProtoReflect() protoreflect.Message {
mi := &file_chromite_observability_shared_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 BuilderMetadata.ProtoReflect.Descriptor instead.
func (*BuilderMetadata) Descriptor() ([]byte, []int) {
return file_chromite_observability_shared_proto_rawDescGZIP(), []int{0}
}
func (x *BuilderMetadata) GetBuildbucketId() uint64 {
if x != nil {
return x.BuildbucketId
}
return 0
}
func (x *BuilderMetadata) GetStartTimestamp() *timestamppb.Timestamp {
if x != nil {
return x.StartTimestamp
}
return nil
}
func (x *BuilderMetadata) GetBuildTarget() *chromiumos.BuildTarget {
if x != nil {
return x.BuildTarget
}
return nil
}
func (x *BuilderMetadata) GetBuildType() chromiumos.BuilderConfig_Id_Type {
if x != nil {
return x.BuildType
}
return chromiumos.BuilderConfig_Id_Type(0)
}
func (x *BuilderMetadata) GetBuildConfigName() string {
if x != nil {
return x.BuildConfigName
}
return ""
}
func (x *BuilderMetadata) GetAnnealingCommitId() uint32 {
if x != nil {
return x.AnnealingCommitId
}
return 0
}
func (x *BuilderMetadata) GetManifestCommit() string {
if x != nil {
return x.ManifestCommit
}
return ""
}
type BuildVersionData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Milestone uint32 `protobuf:"varint,1,opt,name=milestone,proto3" json:"milestone,omitempty"`
PlatformVersion *PlatformVersion `protobuf:"bytes,2,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty"`
}
func (x *BuildVersionData) Reset() {
*x = BuildVersionData{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_observability_shared_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildVersionData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildVersionData) ProtoMessage() {}
func (x *BuildVersionData) ProtoReflect() protoreflect.Message {
mi := &file_chromite_observability_shared_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 BuildVersionData.ProtoReflect.Descriptor instead.
func (*BuildVersionData) Descriptor() ([]byte, []int) {
return file_chromite_observability_shared_proto_rawDescGZIP(), []int{1}
}
func (x *BuildVersionData) GetMilestone() uint32 {
if x != nil {
return x.Milestone
}
return 0
}
func (x *BuildVersionData) GetPlatformVersion() *PlatformVersion {
if x != nil {
return x.PlatformVersion
}
return nil
}
type PlatformVersion struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PlatformBuild uint32 `protobuf:"varint,1,opt,name=platform_build,json=platformBuild,proto3" json:"platform_build,omitempty"`
PlatformBranch uint32 `protobuf:"varint,2,opt,name=platform_branch,json=platformBranch,proto3" json:"platform_branch,omitempty"`
PlatformPatch uint32 `protobuf:"varint,3,opt,name=platform_patch,json=platformPatch,proto3" json:"platform_patch,omitempty"`
}
func (x *PlatformVersion) Reset() {
*x = PlatformVersion{}
if protoimpl.UnsafeEnabled {
mi := &file_chromite_observability_shared_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PlatformVersion) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlatformVersion) ProtoMessage() {}
func (x *PlatformVersion) ProtoReflect() protoreflect.Message {
mi := &file_chromite_observability_shared_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 PlatformVersion.ProtoReflect.Descriptor instead.
func (*PlatformVersion) Descriptor() ([]byte, []int) {
return file_chromite_observability_shared_proto_rawDescGZIP(), []int{2}
}
func (x *PlatformVersion) GetPlatformBuild() uint32 {
if x != nil {
return x.PlatformBuild
}
return 0
}
func (x *PlatformVersion) GetPlatformBranch() uint32 {
if x != nil {
return x.PlatformBranch
}
return 0
}
func (x *PlatformVersion) GetPlatformPatch() uint32 {
if x != nil {
return x.PlatformPatch
}
return 0
}
var File_chromite_observability_shared_proto protoreflect.FileDescriptor
var file_chromite_observability_shared_proto_rawDesc = []byte{
0x0a, 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, 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, 0x1f, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 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, 0x1f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x03, 0x0a, 0x0f, 0x42, 0x75, 0x69,
0x6c, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65,
0x74, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x3a, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 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, 0x40, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x79,
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x2e, 0x49, 0x64, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x6e, 0x6e, 0x65, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x5f,
0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x11, 0x61, 0x6e, 0x6e, 0x65, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x63,
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x6e,
0x69, 0x66, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x84, 0x01, 0x0a, 0x10,
0x42, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61,
0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x69, 0x6c, 0x65, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x12, 0x52,
0x0a, 0x10, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
0x6f, 0x6e, 0x18, 0x02, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
0x6e, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69,
0x6f, 0x6e, 0x22, 0x88, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x56,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
0x72, 0x6d, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d,
0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x27, 0x0a,
0x0f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
0x72, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d,
0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x74, 0x63, 0x68, 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_shared_proto_rawDescOnce sync.Once
file_chromite_observability_shared_proto_rawDescData = file_chromite_observability_shared_proto_rawDesc
)
func file_chromite_observability_shared_proto_rawDescGZIP() []byte {
file_chromite_observability_shared_proto_rawDescOnce.Do(func() {
file_chromite_observability_shared_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_observability_shared_proto_rawDescData)
})
return file_chromite_observability_shared_proto_rawDescData
}
var file_chromite_observability_shared_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_chromite_observability_shared_proto_goTypes = []interface{}{
(*BuilderMetadata)(nil), // 0: chromite.observability.BuilderMetadata
(*BuildVersionData)(nil), // 1: chromite.observability.BuildVersionData
(*PlatformVersion)(nil), // 2: chromite.observability.PlatformVersion
(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
(*chromiumos.BuildTarget)(nil), // 4: chromiumos.BuildTarget
(chromiumos.BuilderConfig_Id_Type)(0), // 5: chromiumos.BuilderConfig.Id.Type
}
var file_chromite_observability_shared_proto_depIdxs = []int32{
3, // 0: chromite.observability.BuilderMetadata.start_timestamp:type_name -> google.protobuf.Timestamp
4, // 1: chromite.observability.BuilderMetadata.build_target:type_name -> chromiumos.BuildTarget
5, // 2: chromite.observability.BuilderMetadata.build_type:type_name -> chromiumos.BuilderConfig.Id.Type
2, // 3: chromite.observability.BuildVersionData.platform_version:type_name -> chromite.observability.PlatformVersion
4, // [4:4] is the sub-list for method output_type
4, // [4:4] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
}
func init() { file_chromite_observability_shared_proto_init() }
func file_chromite_observability_shared_proto_init() {
if File_chromite_observability_shared_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_chromite_observability_shared_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuilderMetadata); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_observability_shared_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildVersionData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromite_observability_shared_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PlatformVersion); 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_shared_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_chromite_observability_shared_proto_goTypes,
DependencyIndexes: file_chromite_observability_shared_proto_depIdxs,
MessageInfos: file_chromite_observability_shared_proto_msgTypes,
}.Build()
File_chromite_observability_shared_proto = out.File
file_chromite_observability_shared_proto_rawDesc = nil
file_chromite_observability_shared_proto_goTypes = nil
file_chromite_observability_shared_proto_depIdxs = nil
}