Path: blob/main/components/ide-metrics-api/go/idemetrics.pb.go
2497 views
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-go. DO NOT EDIT.5// versions:6// protoc-gen-go v1.28.17// protoc v3.20.18// source: idemetrics.proto910package api1112import (13_ "google.golang.org/genproto/googleapis/api/annotations"14protoreflect "google.golang.org/protobuf/reflect/protoreflect"15protoimpl "google.golang.org/protobuf/runtime/protoimpl"16reflect "reflect"17sync "sync"18)1920const (21// Verify that this generated code is sufficiently up-to-date.22_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)23// Verify that runtime/protoimpl is sufficiently up-to-date.24_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)25)2627type AddCounterRequest struct {28state protoimpl.MessageState29sizeCache protoimpl.SizeCache30unknownFields protoimpl.UnknownFields3132Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`33Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`34Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`35}3637func (x *AddCounterRequest) Reset() {38*x = AddCounterRequest{}39if protoimpl.UnsafeEnabled {40mi := &file_idemetrics_proto_msgTypes[0]41ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))42ms.StoreMessageInfo(mi)43}44}4546func (x *AddCounterRequest) String() string {47return protoimpl.X.MessageStringOf(x)48}4950func (*AddCounterRequest) ProtoMessage() {}5152func (x *AddCounterRequest) ProtoReflect() protoreflect.Message {53mi := &file_idemetrics_proto_msgTypes[0]54if protoimpl.UnsafeEnabled && x != nil {55ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))56if ms.LoadMessageInfo() == nil {57ms.StoreMessageInfo(mi)58}59return ms60}61return mi.MessageOf(x)62}6364// Deprecated: Use AddCounterRequest.ProtoReflect.Descriptor instead.65func (*AddCounterRequest) Descriptor() ([]byte, []int) {66return file_idemetrics_proto_rawDescGZIP(), []int{0}67}6869func (x *AddCounterRequest) GetName() string {70if x != nil {71return x.Name72}73return ""74}7576func (x *AddCounterRequest) GetLabels() map[string]string {77if x != nil {78return x.Labels79}80return nil81}8283func (x *AddCounterRequest) GetValue() int32 {84if x != nil {85return x.Value86}87return 088}8990type AddCounterResponse struct {91state protoimpl.MessageState92sizeCache protoimpl.SizeCache93unknownFields protoimpl.UnknownFields94}9596func (x *AddCounterResponse) Reset() {97*x = AddCounterResponse{}98if protoimpl.UnsafeEnabled {99mi := &file_idemetrics_proto_msgTypes[1]100ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))101ms.StoreMessageInfo(mi)102}103}104105func (x *AddCounterResponse) String() string {106return protoimpl.X.MessageStringOf(x)107}108109func (*AddCounterResponse) ProtoMessage() {}110111func (x *AddCounterResponse) ProtoReflect() protoreflect.Message {112mi := &file_idemetrics_proto_msgTypes[1]113if protoimpl.UnsafeEnabled && x != nil {114ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))115if ms.LoadMessageInfo() == nil {116ms.StoreMessageInfo(mi)117}118return ms119}120return mi.MessageOf(x)121}122123// Deprecated: Use AddCounterResponse.ProtoReflect.Descriptor instead.124func (*AddCounterResponse) Descriptor() ([]byte, []int) {125return file_idemetrics_proto_rawDescGZIP(), []int{1}126}127128type ObserveHistogramRequest struct {129state protoimpl.MessageState130sizeCache protoimpl.SizeCache131unknownFields protoimpl.UnknownFields132133Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`134Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`135Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`136}137138func (x *ObserveHistogramRequest) Reset() {139*x = ObserveHistogramRequest{}140if protoimpl.UnsafeEnabled {141mi := &file_idemetrics_proto_msgTypes[2]142ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))143ms.StoreMessageInfo(mi)144}145}146147func (x *ObserveHistogramRequest) String() string {148return protoimpl.X.MessageStringOf(x)149}150151func (*ObserveHistogramRequest) ProtoMessage() {}152153func (x *ObserveHistogramRequest) ProtoReflect() protoreflect.Message {154mi := &file_idemetrics_proto_msgTypes[2]155if protoimpl.UnsafeEnabled && x != nil {156ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))157if ms.LoadMessageInfo() == nil {158ms.StoreMessageInfo(mi)159}160return ms161}162return mi.MessageOf(x)163}164165// Deprecated: Use ObserveHistogramRequest.ProtoReflect.Descriptor instead.166func (*ObserveHistogramRequest) Descriptor() ([]byte, []int) {167return file_idemetrics_proto_rawDescGZIP(), []int{2}168}169170func (x *ObserveHistogramRequest) GetName() string {171if x != nil {172return x.Name173}174return ""175}176177func (x *ObserveHistogramRequest) GetLabels() map[string]string {178if x != nil {179return x.Labels180}181return nil182}183184func (x *ObserveHistogramRequest) GetValue() float64 {185if x != nil {186return x.Value187}188return 0189}190191type ObserveHistogramResponse struct {192state protoimpl.MessageState193sizeCache protoimpl.SizeCache194unknownFields protoimpl.UnknownFields195}196197func (x *ObserveHistogramResponse) Reset() {198*x = ObserveHistogramResponse{}199if protoimpl.UnsafeEnabled {200mi := &file_idemetrics_proto_msgTypes[3]201ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))202ms.StoreMessageInfo(mi)203}204}205206func (x *ObserveHistogramResponse) String() string {207return protoimpl.X.MessageStringOf(x)208}209210func (*ObserveHistogramResponse) ProtoMessage() {}211212func (x *ObserveHistogramResponse) ProtoReflect() protoreflect.Message {213mi := &file_idemetrics_proto_msgTypes[3]214if protoimpl.UnsafeEnabled && x != nil {215ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))216if ms.LoadMessageInfo() == nil {217ms.StoreMessageInfo(mi)218}219return ms220}221return mi.MessageOf(x)222}223224// Deprecated: Use ObserveHistogramResponse.ProtoReflect.Descriptor instead.225func (*ObserveHistogramResponse) Descriptor() ([]byte, []int) {226return file_idemetrics_proto_rawDescGZIP(), []int{3}227}228229type AddHistogramRequest struct {230state protoimpl.MessageState231sizeCache protoimpl.SizeCache232unknownFields protoimpl.UnknownFields233234Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`235Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`236Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`237Sum float64 `protobuf:"fixed64,4,opt,name=sum,proto3" json:"sum,omitempty"`238Buckets []uint64 `protobuf:"varint,5,rep,packed,name=buckets,proto3" json:"buckets,omitempty"`239}240241func (x *AddHistogramRequest) Reset() {242*x = AddHistogramRequest{}243if protoimpl.UnsafeEnabled {244mi := &file_idemetrics_proto_msgTypes[4]245ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))246ms.StoreMessageInfo(mi)247}248}249250func (x *AddHistogramRequest) String() string {251return protoimpl.X.MessageStringOf(x)252}253254func (*AddHistogramRequest) ProtoMessage() {}255256func (x *AddHistogramRequest) ProtoReflect() protoreflect.Message {257mi := &file_idemetrics_proto_msgTypes[4]258if protoimpl.UnsafeEnabled && x != nil {259ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))260if ms.LoadMessageInfo() == nil {261ms.StoreMessageInfo(mi)262}263return ms264}265return mi.MessageOf(x)266}267268// Deprecated: Use AddHistogramRequest.ProtoReflect.Descriptor instead.269func (*AddHistogramRequest) Descriptor() ([]byte, []int) {270return file_idemetrics_proto_rawDescGZIP(), []int{4}271}272273func (x *AddHistogramRequest) GetName() string {274if x != nil {275return x.Name276}277return ""278}279280func (x *AddHistogramRequest) GetLabels() map[string]string {281if x != nil {282return x.Labels283}284return nil285}286287func (x *AddHistogramRequest) GetCount() uint64 {288if x != nil {289return x.Count290}291return 0292}293294func (x *AddHistogramRequest) GetSum() float64 {295if x != nil {296return x.Sum297}298return 0299}300301func (x *AddHistogramRequest) GetBuckets() []uint64 {302if x != nil {303return x.Buckets304}305return nil306}307308type AddHistogramResponse struct {309state protoimpl.MessageState310sizeCache protoimpl.SizeCache311unknownFields protoimpl.UnknownFields312}313314func (x *AddHistogramResponse) Reset() {315*x = AddHistogramResponse{}316if protoimpl.UnsafeEnabled {317mi := &file_idemetrics_proto_msgTypes[5]318ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))319ms.StoreMessageInfo(mi)320}321}322323func (x *AddHistogramResponse) String() string {324return protoimpl.X.MessageStringOf(x)325}326327func (*AddHistogramResponse) ProtoMessage() {}328329func (x *AddHistogramResponse) ProtoReflect() protoreflect.Message {330mi := &file_idemetrics_proto_msgTypes[5]331if protoimpl.UnsafeEnabled && x != nil {332ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))333if ms.LoadMessageInfo() == nil {334ms.StoreMessageInfo(mi)335}336return ms337}338return mi.MessageOf(x)339}340341// Deprecated: Use AddHistogramResponse.ProtoReflect.Descriptor instead.342func (*AddHistogramResponse) Descriptor() ([]byte, []int) {343return file_idemetrics_proto_rawDescGZIP(), []int{5}344}345346type ReportErrorRequest struct {347state protoimpl.MessageState348sizeCache protoimpl.SizeCache349unknownFields protoimpl.UnknownFields350351ErrorStack string `protobuf:"bytes,1,opt,name=error_stack,json=errorStack,proto3" json:"error_stack,omitempty"`352Component string `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"`353Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`354UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`355WorkspaceId string `protobuf:"bytes,5,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`356InstanceId string `protobuf:"bytes,6,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`357Properties map[string]string `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`358}359360func (x *ReportErrorRequest) Reset() {361*x = ReportErrorRequest{}362if protoimpl.UnsafeEnabled {363mi := &file_idemetrics_proto_msgTypes[6]364ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))365ms.StoreMessageInfo(mi)366}367}368369func (x *ReportErrorRequest) String() string {370return protoimpl.X.MessageStringOf(x)371}372373func (*ReportErrorRequest) ProtoMessage() {}374375func (x *ReportErrorRequest) ProtoReflect() protoreflect.Message {376mi := &file_idemetrics_proto_msgTypes[6]377if protoimpl.UnsafeEnabled && x != nil {378ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))379if ms.LoadMessageInfo() == nil {380ms.StoreMessageInfo(mi)381}382return ms383}384return mi.MessageOf(x)385}386387// Deprecated: Use ReportErrorRequest.ProtoReflect.Descriptor instead.388func (*ReportErrorRequest) Descriptor() ([]byte, []int) {389return file_idemetrics_proto_rawDescGZIP(), []int{6}390}391392func (x *ReportErrorRequest) GetErrorStack() string {393if x != nil {394return x.ErrorStack395}396return ""397}398399func (x *ReportErrorRequest) GetComponent() string {400if x != nil {401return x.Component402}403return ""404}405406func (x *ReportErrorRequest) GetVersion() string {407if x != nil {408return x.Version409}410return ""411}412413func (x *ReportErrorRequest) GetUserId() string {414if x != nil {415return x.UserId416}417return ""418}419420func (x *ReportErrorRequest) GetWorkspaceId() string {421if x != nil {422return x.WorkspaceId423}424return ""425}426427func (x *ReportErrorRequest) GetInstanceId() string {428if x != nil {429return x.InstanceId430}431return ""432}433434func (x *ReportErrorRequest) GetProperties() map[string]string {435if x != nil {436return x.Properties437}438return nil439}440441type ReportErrorResponse struct {442state protoimpl.MessageState443sizeCache protoimpl.SizeCache444unknownFields protoimpl.UnknownFields445}446447func (x *ReportErrorResponse) Reset() {448*x = ReportErrorResponse{}449if protoimpl.UnsafeEnabled {450mi := &file_idemetrics_proto_msgTypes[7]451ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))452ms.StoreMessageInfo(mi)453}454}455456func (x *ReportErrorResponse) String() string {457return protoimpl.X.MessageStringOf(x)458}459460func (*ReportErrorResponse) ProtoMessage() {}461462func (x *ReportErrorResponse) ProtoReflect() protoreflect.Message {463mi := &file_idemetrics_proto_msgTypes[7]464if protoimpl.UnsafeEnabled && x != nil {465ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))466if ms.LoadMessageInfo() == nil {467ms.StoreMessageInfo(mi)468}469return ms470}471return mi.MessageOf(x)472}473474// Deprecated: Use ReportErrorResponse.ProtoReflect.Descriptor instead.475func (*ReportErrorResponse) Descriptor() ([]byte, []int) {476return file_idemetrics_proto_rawDescGZIP(), []int{7}477}478479var File_idemetrics_proto protoreflect.FileDescriptor480481var file_idemetrics_proto_rawDesc = []byte{4820x0a, 0x10, 0x69, 0x64, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f,4830x74, 0x6f, 0x12, 0x0f, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f,4840x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,4850x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,4860x6f, 0x22, 0xc0, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72,4870x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,4880x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x6c,4890x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x69, 0x64,4900x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64,4910x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,4920x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62,4930x65, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01,4940x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62,4950x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,4960x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,4970x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,4980x3a, 0x02, 0x38, 0x01, 0x22, 0x14, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74,4990x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcc, 0x01, 0x0a, 0x17, 0x4f,5000x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52,5010x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,5020x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x06, 0x6c, 0x61,5030x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x69, 0x64, 0x65,5040x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x4f, 0x62, 0x73,5050x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71,5060x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,5070x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,5080x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x39,5090x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,5100x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,5110x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,5120x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1a, 0x0a, 0x18, 0x4f, 0x62, 0x73,5130x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73,5140x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf0, 0x01, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x48, 0x69, 0x73,5150x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,5160x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,5170x65, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,5180x0b, 0x32, 0x30, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f,5190x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d,5200x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,5210x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63,5220x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,5230x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03,5240x73, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x05,5250x20, 0x03, 0x28, 0x04, 0x52, 0x07, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x1a, 0x39, 0x0a,5260x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,5270x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,5280x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,5290x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x48,5300x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,5310x22, 0xde, 0x02, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72,5320x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72,5330x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x72,5340x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70,5350x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d,5360x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,5370x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,5380x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,5390x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72,5400x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,5410x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b,5420x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,5430x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x53, 0x0a,5440x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,5450x0b, 0x32, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f,5460x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52,5470x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,5480x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,5490x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73,5500x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,5510x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,5520x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,5530x01, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72,5540x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa2, 0x04, 0x0a, 0x0e, 0x4d, 0x65, 0x74,5550x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7d, 0x0a, 0x0a, 0x41,5560x64, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x69, 0x64, 0x65, 0x5f,5570x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x43,5580x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,5590x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e,5600x41, 0x64, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,5610x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x6d, 0x65, 0x74,5620x72, 0x69, 0x63, 0x73, 0x2f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x64, 0x64,5630x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x95, 0x01, 0x0a, 0x10, 0x4f,5640x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12,5650x28, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70,5660x69, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72,5670x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x64, 0x65, 0x5f,5680x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x4f, 0x62, 0x73, 0x65,5690x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70,5700x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x6d,5710x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d,5720x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a,5730x01, 0x2a, 0x12, 0x85, 0x01, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67,5740x72, 0x61, 0x6d, 0x12, 0x24, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,5750x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72,5760x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x69, 0x64, 0x65, 0x5f,5770x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x48,5780x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,5790x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69,5800x63, 0x73, 0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2f, 0x61, 0x64, 0x64,5810x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x71, 0x0a, 0x0b, 0x72, 0x65,5820x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x2e, 0x69, 0x64, 0x65, 0x5f,5830x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x70, 0x6f,5840x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24,5850x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69,5860x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,5870x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x22, 0x0c, 0x2f, 0x72,5880x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x3a, 0x01, 0x2a, 0x42, 0x47, 0x0a,5890x18, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6d, 0x65,5900x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75,5910x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f,5920x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x69, 0x64, 0x65, 0x2d, 0x6d, 0x65, 0x74, 0x72, 0x69,5930x63, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,594}595596var (597file_idemetrics_proto_rawDescOnce sync.Once598file_idemetrics_proto_rawDescData = file_idemetrics_proto_rawDesc599)600601func file_idemetrics_proto_rawDescGZIP() []byte {602file_idemetrics_proto_rawDescOnce.Do(func() {603file_idemetrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_idemetrics_proto_rawDescData)604})605return file_idemetrics_proto_rawDescData606}607608var file_idemetrics_proto_msgTypes = make([]protoimpl.MessageInfo, 12)609var file_idemetrics_proto_goTypes = []interface{}{610(*AddCounterRequest)(nil), // 0: ide_metrics_api.AddCounterRequest611(*AddCounterResponse)(nil), // 1: ide_metrics_api.AddCounterResponse612(*ObserveHistogramRequest)(nil), // 2: ide_metrics_api.ObserveHistogramRequest613(*ObserveHistogramResponse)(nil), // 3: ide_metrics_api.ObserveHistogramResponse614(*AddHistogramRequest)(nil), // 4: ide_metrics_api.AddHistogramRequest615(*AddHistogramResponse)(nil), // 5: ide_metrics_api.AddHistogramResponse616(*ReportErrorRequest)(nil), // 6: ide_metrics_api.ReportErrorRequest617(*ReportErrorResponse)(nil), // 7: ide_metrics_api.ReportErrorResponse618nil, // 8: ide_metrics_api.AddCounterRequest.LabelsEntry619nil, // 9: ide_metrics_api.ObserveHistogramRequest.LabelsEntry620nil, // 10: ide_metrics_api.AddHistogramRequest.LabelsEntry621nil, // 11: ide_metrics_api.ReportErrorRequest.PropertiesEntry622}623var file_idemetrics_proto_depIdxs = []int32{6248, // 0: ide_metrics_api.AddCounterRequest.labels:type_name -> ide_metrics_api.AddCounterRequest.LabelsEntry6259, // 1: ide_metrics_api.ObserveHistogramRequest.labels:type_name -> ide_metrics_api.ObserveHistogramRequest.LabelsEntry62610, // 2: ide_metrics_api.AddHistogramRequest.labels:type_name -> ide_metrics_api.AddHistogramRequest.LabelsEntry62711, // 3: ide_metrics_api.ReportErrorRequest.properties:type_name -> ide_metrics_api.ReportErrorRequest.PropertiesEntry6280, // 4: ide_metrics_api.MetricsService.AddCounter:input_type -> ide_metrics_api.AddCounterRequest6292, // 5: ide_metrics_api.MetricsService.ObserveHistogram:input_type -> ide_metrics_api.ObserveHistogramRequest6304, // 6: ide_metrics_api.MetricsService.AddHistogram:input_type -> ide_metrics_api.AddHistogramRequest6316, // 7: ide_metrics_api.MetricsService.reportError:input_type -> ide_metrics_api.ReportErrorRequest6321, // 8: ide_metrics_api.MetricsService.AddCounter:output_type -> ide_metrics_api.AddCounterResponse6333, // 9: ide_metrics_api.MetricsService.ObserveHistogram:output_type -> ide_metrics_api.ObserveHistogramResponse6345, // 10: ide_metrics_api.MetricsService.AddHistogram:output_type -> ide_metrics_api.AddHistogramResponse6357, // 11: ide_metrics_api.MetricsService.reportError:output_type -> ide_metrics_api.ReportErrorResponse6368, // [8:12] is the sub-list for method output_type6374, // [4:8] is the sub-list for method input_type6384, // [4:4] is the sub-list for extension type_name6394, // [4:4] is the sub-list for extension extendee6400, // [0:4] is the sub-list for field type_name641}642643func init() { file_idemetrics_proto_init() }644func file_idemetrics_proto_init() {645if File_idemetrics_proto != nil {646return647}648if !protoimpl.UnsafeEnabled {649file_idemetrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {650switch v := v.(*AddCounterRequest); i {651case 0:652return &v.state653case 1:654return &v.sizeCache655case 2:656return &v.unknownFields657default:658return nil659}660}661file_idemetrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {662switch v := v.(*AddCounterResponse); i {663case 0:664return &v.state665case 1:666return &v.sizeCache667case 2:668return &v.unknownFields669default:670return nil671}672}673file_idemetrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {674switch v := v.(*ObserveHistogramRequest); i {675case 0:676return &v.state677case 1:678return &v.sizeCache679case 2:680return &v.unknownFields681default:682return nil683}684}685file_idemetrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {686switch v := v.(*ObserveHistogramResponse); i {687case 0:688return &v.state689case 1:690return &v.sizeCache691case 2:692return &v.unknownFields693default:694return nil695}696}697file_idemetrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {698switch v := v.(*AddHistogramRequest); i {699case 0:700return &v.state701case 1:702return &v.sizeCache703case 2:704return &v.unknownFields705default:706return nil707}708}709file_idemetrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {710switch v := v.(*AddHistogramResponse); i {711case 0:712return &v.state713case 1:714return &v.sizeCache715case 2:716return &v.unknownFields717default:718return nil719}720}721file_idemetrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {722switch v := v.(*ReportErrorRequest); i {723case 0:724return &v.state725case 1:726return &v.sizeCache727case 2:728return &v.unknownFields729default:730return nil731}732}733file_idemetrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {734switch v := v.(*ReportErrorResponse); i {735case 0:736return &v.state737case 1:738return &v.sizeCache739case 2:740return &v.unknownFields741default:742return nil743}744}745}746type x struct{}747out := protoimpl.TypeBuilder{748File: protoimpl.DescBuilder{749GoPackagePath: reflect.TypeOf(x{}).PkgPath(),750RawDescriptor: file_idemetrics_proto_rawDesc,751NumEnums: 0,752NumMessages: 12,753NumExtensions: 0,754NumServices: 1,755},756GoTypes: file_idemetrics_proto_goTypes,757DependencyIndexes: file_idemetrics_proto_depIdxs,758MessageInfos: file_idemetrics_proto_msgTypes,759}.Build()760File_idemetrics_proto = out.File761file_idemetrics_proto_rawDesc = nil762file_idemetrics_proto_goTypes = nil763file_idemetrics_proto_depIdxs = nil764}765766767