go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/cmd/statsd-to-tsmon/config/config.pb.go (about)

     1  // Copyright 2020 The LUCI Authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.31.0
    18  // 	protoc        v3.21.7
    19  // source: go.chromium.org/luci/server/cmd/statsd-to-tsmon/config/config.proto
    20  
    21  package config
    22  
    23  import (
    24  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    25  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    26  	reflect "reflect"
    27  	sync "sync"
    28  )
    29  
    30  const (
    31  	// Verify that this generated code is sufficiently up-to-date.
    32  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    33  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    35  )
    36  
    37  type Kind int32
    38  
    39  const (
    40  	Kind_KIND_UNSPECIFIED        Kind = 0
    41  	Kind_GAUGE                   Kind = 1
    42  	Kind_COUNTER                 Kind = 2
    43  	Kind_CUMULATIVE_DISTRIBUTION Kind = 3
    44  )
    45  
    46  // Enum value maps for Kind.
    47  var (
    48  	Kind_name = map[int32]string{
    49  		0: "KIND_UNSPECIFIED",
    50  		1: "GAUGE",
    51  		2: "COUNTER",
    52  		3: "CUMULATIVE_DISTRIBUTION",
    53  	}
    54  	Kind_value = map[string]int32{
    55  		"KIND_UNSPECIFIED":        0,
    56  		"GAUGE":                   1,
    57  		"COUNTER":                 2,
    58  		"CUMULATIVE_DISTRIBUTION": 3,
    59  	}
    60  )
    61  
    62  func (x Kind) Enum() *Kind {
    63  	p := new(Kind)
    64  	*p = x
    65  	return p
    66  }
    67  
    68  func (x Kind) String() string {
    69  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    70  }
    71  
    72  func (Kind) Descriptor() protoreflect.EnumDescriptor {
    73  	return file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_enumTypes[0].Descriptor()
    74  }
    75  
    76  func (Kind) Type() protoreflect.EnumType {
    77  	return &file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_enumTypes[0]
    78  }
    79  
    80  func (x Kind) Number() protoreflect.EnumNumber {
    81  	return protoreflect.EnumNumber(x)
    82  }
    83  
    84  // Deprecated: Use Kind.Descriptor instead.
    85  func (Kind) EnumDescriptor() ([]byte, []int) {
    86  	return file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescGZIP(), []int{0}
    87  }
    88  
    89  type Unit int32
    90  
    91  const (
    92  	Unit_UNIT_UNSPECIFIED Unit = 0
    93  	Unit_MILLISECONDS     Unit = 1
    94  	Unit_BYTES            Unit = 2
    95  )
    96  
    97  // Enum value maps for Unit.
    98  var (
    99  	Unit_name = map[int32]string{
   100  		0: "UNIT_UNSPECIFIED",
   101  		1: "MILLISECONDS",
   102  		2: "BYTES",
   103  	}
   104  	Unit_value = map[string]int32{
   105  		"UNIT_UNSPECIFIED": 0,
   106  		"MILLISECONDS":     1,
   107  		"BYTES":            2,
   108  	}
   109  )
   110  
   111  func (x Unit) Enum() *Unit {
   112  	p := new(Unit)
   113  	*p = x
   114  	return p
   115  }
   116  
   117  func (x Unit) String() string {
   118  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   119  }
   120  
   121  func (Unit) Descriptor() protoreflect.EnumDescriptor {
   122  	return file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_enumTypes[1].Descriptor()
   123  }
   124  
   125  func (Unit) Type() protoreflect.EnumType {
   126  	return &file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_enumTypes[1]
   127  }
   128  
   129  func (x Unit) Number() protoreflect.EnumNumber {
   130  	return protoreflect.EnumNumber(x)
   131  }
   132  
   133  // Deprecated: Use Unit.Descriptor instead.
   134  func (Unit) EnumDescriptor() ([]byte, []int) {
   135  	return file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescGZIP(), []int{1}
   136  }
   137  
   138  type Config struct {
   139  	state         protoimpl.MessageState
   140  	sizeCache     protoimpl.SizeCache
   141  	unknownFields protoimpl.UnknownFields
   142  
   143  	// A collection of tsmon metrics and rules for how to extract them from statsd
   144  	// metrics.
   145  	Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
   146  }
   147  
   148  func (x *Config) Reset() {
   149  	*x = Config{}
   150  	if protoimpl.UnsafeEnabled {
   151  		mi := &file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[0]
   152  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   153  		ms.StoreMessageInfo(mi)
   154  	}
   155  }
   156  
   157  func (x *Config) String() string {
   158  	return protoimpl.X.MessageStringOf(x)
   159  }
   160  
   161  func (*Config) ProtoMessage() {}
   162  
   163  func (x *Config) ProtoReflect() protoreflect.Message {
   164  	mi := &file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[0]
   165  	if protoimpl.UnsafeEnabled && x != nil {
   166  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   167  		if ms.LoadMessageInfo() == nil {
   168  			ms.StoreMessageInfo(mi)
   169  		}
   170  		return ms
   171  	}
   172  	return mi.MessageOf(x)
   173  }
   174  
   175  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
   176  func (*Config) Descriptor() ([]byte, []int) {
   177  	return file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescGZIP(), []int{0}
   178  }
   179  
   180  func (x *Config) GetMetrics() []*Metric {
   181  	if x != nil {
   182  		return x.Metrics
   183  	}
   184  	return nil
   185  }
   186  
   187  type Metric struct {
   188  	state         protoimpl.MessageState
   189  	sizeCache     protoimpl.SizeCache
   190  	unknownFields protoimpl.UnknownFields
   191  
   192  	// Name of the tsmon metric to produce, required.
   193  	Metric string `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
   194  	// A kind of the metric, required.
   195  	Kind Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=statsd_to_tsmon.config.Kind" json:"kind,omitempty"`
   196  	// Metric description. Optional, but recommended.
   197  	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
   198  	// Units of the metric value. Optional, but recommended.
   199  	Units Unit `protobuf:"varint,4,opt,name=units,proto3,enum=statsd_to_tsmon.config.Unit" json:"units,omitempty"`
   200  	// A set of fields of this metric.
   201  	Fields []string `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"`
   202  	// A list of rules that map statds metrics to fields of this metric.
   203  	//
   204  	// Each rule is represented by a statsd metric name pattern (that looks like
   205  	// e.g. "something.*.${var}.*.sfx") and a recipe of how to get tsmon field
   206  	// name of metrics matching the pattern.
   207  	//
   208  	// In the current implementation the last component of each pattern must be
   209  	// some static string (i.e. not `*` and not a var) and all such suffixes must
   210  	// be unique across the entire configuration file.
   211  	Rules []*Rule `protobuf:"bytes,6,rep,name=rules,proto3" json:"rules,omitempty"`
   212  }
   213  
   214  func (x *Metric) Reset() {
   215  	*x = Metric{}
   216  	if protoimpl.UnsafeEnabled {
   217  		mi := &file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[1]
   218  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   219  		ms.StoreMessageInfo(mi)
   220  	}
   221  }
   222  
   223  func (x *Metric) String() string {
   224  	return protoimpl.X.MessageStringOf(x)
   225  }
   226  
   227  func (*Metric) ProtoMessage() {}
   228  
   229  func (x *Metric) ProtoReflect() protoreflect.Message {
   230  	mi := &file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[1]
   231  	if protoimpl.UnsafeEnabled && x != nil {
   232  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   233  		if ms.LoadMessageInfo() == nil {
   234  			ms.StoreMessageInfo(mi)
   235  		}
   236  		return ms
   237  	}
   238  	return mi.MessageOf(x)
   239  }
   240  
   241  // Deprecated: Use Metric.ProtoReflect.Descriptor instead.
   242  func (*Metric) Descriptor() ([]byte, []int) {
   243  	return file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescGZIP(), []int{1}
   244  }
   245  
   246  func (x *Metric) GetMetric() string {
   247  	if x != nil {
   248  		return x.Metric
   249  	}
   250  	return ""
   251  }
   252  
   253  func (x *Metric) GetKind() Kind {
   254  	if x != nil {
   255  		return x.Kind
   256  	}
   257  	return Kind_KIND_UNSPECIFIED
   258  }
   259  
   260  func (x *Metric) GetDesc() string {
   261  	if x != nil {
   262  		return x.Desc
   263  	}
   264  	return ""
   265  }
   266  
   267  func (x *Metric) GetUnits() Unit {
   268  	if x != nil {
   269  		return x.Units
   270  	}
   271  	return Unit_UNIT_UNSPECIFIED
   272  }
   273  
   274  func (x *Metric) GetFields() []string {
   275  	if x != nil {
   276  		return x.Fields
   277  	}
   278  	return nil
   279  }
   280  
   281  func (x *Metric) GetRules() []*Rule {
   282  	if x != nil {
   283  		return x.Rules
   284  	}
   285  	return nil
   286  }
   287  
   288  type Rule struct {
   289  	state         protoimpl.MessageState
   290  	sizeCache     protoimpl.SizeCache
   291  	unknownFields protoimpl.UnknownFields
   292  
   293  	// A pattern to match statsd metric name against.
   294  	//
   295  	// Also used to "extract" interesting portions of the metric name to use them
   296  	// in `fields`.
   297  	//
   298  	// For example, if the pattern is "something.*.${var}.*.sfx", statds metric
   299  	// "something.foo.val.bar.sfx" matches it, and `var` value is set to "val".
   300  	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
   301  	// A map "field name => its value".
   302  	//
   303  	// The set of field names should be equal to the set of fields specified
   304  	// in the metric definition.
   305  	//
   306  	// Each field value is either a static string ("foo"), or a reference to
   307  	// some variable ("${var}") parsed from the statsd metric name according to
   308  	// the pattern.
   309  	Fields map[string]string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   310  }
   311  
   312  func (x *Rule) Reset() {
   313  	*x = Rule{}
   314  	if protoimpl.UnsafeEnabled {
   315  		mi := &file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[2]
   316  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   317  		ms.StoreMessageInfo(mi)
   318  	}
   319  }
   320  
   321  func (x *Rule) String() string {
   322  	return protoimpl.X.MessageStringOf(x)
   323  }
   324  
   325  func (*Rule) ProtoMessage() {}
   326  
   327  func (x *Rule) ProtoReflect() protoreflect.Message {
   328  	mi := &file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[2]
   329  	if protoimpl.UnsafeEnabled && x != nil {
   330  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   331  		if ms.LoadMessageInfo() == nil {
   332  			ms.StoreMessageInfo(mi)
   333  		}
   334  		return ms
   335  	}
   336  	return mi.MessageOf(x)
   337  }
   338  
   339  // Deprecated: Use Rule.ProtoReflect.Descriptor instead.
   340  func (*Rule) Descriptor() ([]byte, []int) {
   341  	return file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescGZIP(), []int{2}
   342  }
   343  
   344  func (x *Rule) GetPattern() string {
   345  	if x != nil {
   346  		return x.Pattern
   347  	}
   348  	return ""
   349  }
   350  
   351  func (x *Rule) GetFields() map[string]string {
   352  	if x != nil {
   353  		return x.Fields
   354  	}
   355  	return nil
   356  }
   357  
   358  var File_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto protoreflect.FileDescriptor
   359  
   360  var file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDesc = []byte{
   361  	0x0a, 0x43, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   362  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x63, 0x6d,
   363  	0x64, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x64, 0x2d, 0x74, 0x6f, 0x2d, 0x74, 0x73, 0x6d, 0x6f,
   364  	0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   365  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x73, 0x74, 0x61, 0x74, 0x73, 0x64, 0x5f, 0x74, 0x6f,
   366  	0x5f, 0x74, 0x73, 0x6d, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x42, 0x0a,
   367  	0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69,
   368  	0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73,
   369  	0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x73, 0x6d, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   370  	0x67, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
   371  	0x73, 0x22, 0xe6, 0x01, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x16, 0x0a, 0x06,
   372  	0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65,
   373  	0x74, 0x72, 0x69, 0x63, 0x12, 0x30, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01,
   374  	0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x74,
   375  	0x73, 0x6d, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4b, 0x69, 0x6e, 0x64,
   376  	0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x03,
   377  	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x32, 0x0a, 0x05, 0x75, 0x6e,
   378  	0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x73, 0x74, 0x61, 0x74,
   379  	0x73, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x73, 0x6d, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
   380  	0x69, 0x67, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x16,
   381  	0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06,
   382  	0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18,
   383  	0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x64, 0x5f, 0x74,
   384  	0x6f, 0x5f, 0x74, 0x73, 0x6d, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52,
   385  	0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x04, 0x52,
   386  	0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01,
   387  	0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x40, 0x0a,
   388  	0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
   389  	0x73, 0x74, 0x61, 0x74, 0x73, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x73, 0x6d, 0x6f, 0x6e, 0x2e,
   390  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c,
   391  	0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a,
   392  	0x39, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
   393  	0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
   394  	0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   395  	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x51, 0x0a, 0x04, 0x4b, 0x69,
   396  	0x6e, 0x64, 0x12, 0x14, 0x0a, 0x10, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
   397  	0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x41, 0x55, 0x47,
   398  	0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x02,
   399  	0x12, 0x1b, 0x0a, 0x17, 0x43, 0x55, 0x4d, 0x55, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x44,
   400  	0x49, 0x53, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x2a, 0x39, 0x0a,
   401  	0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x4e,
   402  	0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4d,
   403  	0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x01, 0x12, 0x09, 0x0a,
   404  	0x05, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x02, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x2e, 0x63,
   405  	0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69,
   406  	0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x73, 0x74, 0x61, 0x74,
   407  	0x73, 0x64, 0x2d, 0x74, 0x6f, 0x2d, 0x74, 0x73, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
   408  	0x69, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   409  }
   410  
   411  var (
   412  	file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescOnce sync.Once
   413  	file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescData = file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDesc
   414  )
   415  
   416  func file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescGZIP() []byte {
   417  	file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescOnce.Do(func() {
   418  		file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescData)
   419  	})
   420  	return file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDescData
   421  }
   422  
   423  var file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   424  var file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   425  var file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_goTypes = []interface{}{
   426  	(Kind)(0),      // 0: statsd_to_tsmon.config.Kind
   427  	(Unit)(0),      // 1: statsd_to_tsmon.config.Unit
   428  	(*Config)(nil), // 2: statsd_to_tsmon.config.Config
   429  	(*Metric)(nil), // 3: statsd_to_tsmon.config.Metric
   430  	(*Rule)(nil),   // 4: statsd_to_tsmon.config.Rule
   431  	nil,            // 5: statsd_to_tsmon.config.Rule.FieldsEntry
   432  }
   433  var file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_depIdxs = []int32{
   434  	3, // 0: statsd_to_tsmon.config.Config.metrics:type_name -> statsd_to_tsmon.config.Metric
   435  	0, // 1: statsd_to_tsmon.config.Metric.kind:type_name -> statsd_to_tsmon.config.Kind
   436  	1, // 2: statsd_to_tsmon.config.Metric.units:type_name -> statsd_to_tsmon.config.Unit
   437  	4, // 3: statsd_to_tsmon.config.Metric.rules:type_name -> statsd_to_tsmon.config.Rule
   438  	5, // 4: statsd_to_tsmon.config.Rule.fields:type_name -> statsd_to_tsmon.config.Rule.FieldsEntry
   439  	5, // [5:5] is the sub-list for method output_type
   440  	5, // [5:5] is the sub-list for method input_type
   441  	5, // [5:5] is the sub-list for extension type_name
   442  	5, // [5:5] is the sub-list for extension extendee
   443  	0, // [0:5] is the sub-list for field type_name
   444  }
   445  
   446  func init() { file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_init() }
   447  func file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_init() {
   448  	if File_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto != nil {
   449  		return
   450  	}
   451  	if !protoimpl.UnsafeEnabled {
   452  		file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   453  			switch v := v.(*Config); i {
   454  			case 0:
   455  				return &v.state
   456  			case 1:
   457  				return &v.sizeCache
   458  			case 2:
   459  				return &v.unknownFields
   460  			default:
   461  				return nil
   462  			}
   463  		}
   464  		file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   465  			switch v := v.(*Metric); i {
   466  			case 0:
   467  				return &v.state
   468  			case 1:
   469  				return &v.sizeCache
   470  			case 2:
   471  				return &v.unknownFields
   472  			default:
   473  				return nil
   474  			}
   475  		}
   476  		file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   477  			switch v := v.(*Rule); i {
   478  			case 0:
   479  				return &v.state
   480  			case 1:
   481  				return &v.sizeCache
   482  			case 2:
   483  				return &v.unknownFields
   484  			default:
   485  				return nil
   486  			}
   487  		}
   488  	}
   489  	type x struct{}
   490  	out := protoimpl.TypeBuilder{
   491  		File: protoimpl.DescBuilder{
   492  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   493  			RawDescriptor: file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDesc,
   494  			NumEnums:      2,
   495  			NumMessages:   4,
   496  			NumExtensions: 0,
   497  			NumServices:   0,
   498  		},
   499  		GoTypes:           file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_goTypes,
   500  		DependencyIndexes: file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_depIdxs,
   501  		EnumInfos:         file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_enumTypes,
   502  		MessageInfos:      file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_msgTypes,
   503  	}.Build()
   504  	File_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto = out.File
   505  	file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_rawDesc = nil
   506  	file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_goTypes = nil
   507  	file_go_chromium_org_luci_server_cmd_statsd_to_tsmon_config_config_proto_depIdxs = nil
   508  }