Debian Codegraph @

envoy/config/metrics/v3/metrics_service.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/metrics/v3/metrics_service.proto
6
7 package metricsv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 const (
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 )
26
27 // HistogramEmitMode is used to configure which metric types should be emitted for histograms.
28 type HistogramEmitMode int32
29
30 const (
31 // Emit Histogram and Summary metric types.
32 HistogramEmitMode_SUMMARY_AND_HISTOGRAM HistogramEmitMode = 0
33 // Emit only Summary metric types.
34 HistogramEmitMode_SUMMARY HistogramEmitMode = 1
35 // Emit only Histogram metric types.
36 HistogramEmitMode_HISTOGRAM HistogramEmitMode = 2
37 )
38
39 // Enum value maps for HistogramEmitMode.
40 var (
41 HistogramEmitMode_name = map[int32]string{
42 0: "SUMMARY_AND_HISTOGRAM",
43 1: "SUMMARY",
44 2: "HISTOGRAM",
45 }
46 HistogramEmitMode_value = map[string]int32{
47 "SUMMARY_AND_HISTOGRAM": 0,
48 "SUMMARY": 1,
49 "HISTOGRAM": 2,
50 }
51 )
52
53 func (x HistogramEmitMode) Enum() *HistogramEmitMode {
54 p := new(HistogramEmitMode)
55 *p = x
56 return p
57 }
58
59 func (x HistogramEmitMode) String() string {
60 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
61 }
62
63 func (HistogramEmitMode) Descriptor() protoreflect.EnumDescriptor {
64 return file_envoy_config_metrics_v3_metrics_service_proto_enumTypes[0].Descriptor()
65 }
66
67 func (HistogramEmitMode) Type() protoreflect.EnumType {
68 return &file_envoy_config_metrics_v3_metrics_service_proto_enumTypes[0]
69 }
70
71 func (x HistogramEmitMode) Number() protoreflect.EnumNumber {
72 return protoreflect.EnumNumber(x)
73 }
74
75 // Deprecated: Use HistogramEmitMode.Descriptor instead.
76 func (HistogramEmitMode) EnumDescriptor() ([]byte, []int) {
77 return file_envoy_config_metrics_v3_metrics_service_proto_rawDescGZIP(), []int{0}
78 }
79
80 // Metrics Service is configured as a built-in “envoy.stat_sinks.metrics_service“ :ref:`StatsSink
81 // <envoy_v3_api_msg_config.metrics.v3.StatsSink>`. This opaque configuration will be used to create
82 // Metrics Service.
83 //
84 // Example:
85 //
86 // .. code-block:: yaml
87 //
88 // stats_sinks:
89 // - name: envoy.stat_sinks.metrics_service
90 // typed_config:
91 // "@type": type.googleapis.com/envoy.config.metrics.v3.MetricsServiceConfig
92 //
93 // [#extension: envoy.stat_sinks.metrics_service]
94 // [#next-free-field: 6]
95 type MetricsServiceConfig struct {
96 state protoimpl.MessageState
97 sizeCache protoimpl.SizeCache
98 unknownFields protoimpl.UnknownFields
99
100 // The upstream gRPC cluster that hosts the metrics service.
101 GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
102 // API version for metric service transport protocol. This describes the metric service gRPC
103 // endpoint and version of messages used on the wire.
104 TransportApiVersion v3.ApiVersion `protobuf:"varint,3,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.config.core.v3.ApiVersion" json:"transport_api_version,omitempty"`
105 // If true, counters are reported as the delta between flushing intervals. Otherwise, the current
106 // counter value is reported. Defaults to false.
107 // Eventually (https://github.com/envoyproxy/envoy/issues/10968) if this value is not set, the
108 // sink will take updates from the :ref:`MetricsResponse <envoy_v3_api_msg_service.metrics.v3.StreamMetricsResponse>`.
109 ReportCountersAsDeltas *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=report_counters_as_deltas,json=reportCountersAsDeltas,proto3" json:"report_counters_as_deltas,omitempty"`
110 // If true, metrics will have their tags emitted as labels on the metrics objects sent to the MetricsService,
111 // and the tag extracted name will be used instead of the full name, which may contain values used by the tag
112 // extractor or additional tags added during stats creation.
113 EmitTagsAsLabels bool `protobuf:"varint,4,opt,name=emit_tags_as_labels,json=emitTagsAsLabels,proto3" json:"emit_tags_as_labels,omitempty"`
114 // Specify which metrics types to emit for histograms. Defaults to SUMMARY_AND_HISTOGRAM.
115 HistogramEmitMode HistogramEmitMode `protobuf:"varint,5,opt,name=histogram_emit_mode,json=histogramEmitMode,proto3,enum=envoy.config.metrics.v3.HistogramEmitMode" json:"histogram_emit_mode,omitempty"`
116 }
117
118 func (x *MetricsServiceConfig) Reset() {
119 *x = MetricsServiceConfig{}
120 if protoimpl.UnsafeEnabled {
121 mi := &file_envoy_config_metrics_v3_metrics_service_proto_msgTypes[0]
122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123 ms.StoreMessageInfo(mi)
124 }
125 }
126
127 func (x *MetricsServiceConfig) String() string {
128 return protoimpl.X.MessageStringOf(x)
129 }
130
131 func (*MetricsServiceConfig) ProtoMessage() {}
132
133 func (x *MetricsServiceConfig) ProtoReflect() protoreflect.Message {
134 mi := &file_envoy_config_metrics_v3_metrics_service_proto_msgTypes[0]
135 if protoimpl.UnsafeEnabled && x != nil {
136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
137 if ms.LoadMessageInfo() == nil {
138 ms.StoreMessageInfo(mi)
139 }
140 return ms
141 }
142 return mi.MessageOf(x)
143 }
144
145 // Deprecated: Use MetricsServiceConfig.ProtoReflect.Descriptor instead.
146 func (*MetricsServiceConfig) Descriptor() ([]byte, []int) {
147 return file_envoy_config_metrics_v3_metrics_service_proto_rawDescGZIP(), []int{0}
148 }
149
150 func (x *MetricsServiceConfig) GetGrpcService() *v3.GrpcService {
151 if x != nil {
152 return x.GrpcService
153 }
154 return nil
155 }
156
157 func (x *MetricsServiceConfig) GetTransportApiVersion() v3.ApiVersion {
158 if x != nil {
159 return x.TransportApiVersion
160 }
161 return v3.ApiVersion(0)
162 }
163
164 func (x *MetricsServiceConfig) GetReportCountersAsDeltas() *wrapperspb.BoolValue {
165 if x != nil {
166 return x.ReportCountersAsDeltas
167 }
168 return nil
169 }
170
171 func (x *MetricsServiceConfig) GetEmitTagsAsLabels() bool {
172 if x != nil {
173 return x.EmitTagsAsLabels
174 }
175 return false
176 }
177
178 func (x *MetricsServiceConfig) GetHistogramEmitMode() HistogramEmitMode {
179 if x != nil {
180 return x.HistogramEmitMode
181 }
182 return HistogramEmitMode_SUMMARY_AND_HISTOGRAM
183 }
184
185 var File_envoy_config_metrics_v3_metrics_service_proto protoreflect.FileDescriptor
186
187 var file_envoy_config_metrics_v3_metrics_service_proto_rawDesc = []byte{
188 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6d,
189 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
190 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
191 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65,
192 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
193 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63,
194 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
195 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
196 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65,
197 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f,
198 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61,
199 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70,
200 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74,
201 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61,
202 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72,
203 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76,
204 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
205 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x03, 0x0a, 0x14, 0x4d, 0x65, 0x74, 0x72, 0x69,
206 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
207 0x4e, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18,
208 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
209 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70,
210 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02,
211 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
212 0x5e, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x61, 0x70, 0x69,
213 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20,
214 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f,
215 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
216 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e,
217 0x73, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
218 0x55, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65,
219 0x72, 0x73, 0x5f, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01,
220 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
221 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x16,
222 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x41, 0x73,
223 0x44, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x65, 0x6d, 0x69, 0x74, 0x5f, 0x74,
224 0x61, 0x67, 0x73, 0x5f, 0x61, 0x73, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20,
225 0x01, 0x28, 0x08, 0x52, 0x10, 0x65, 0x6d, 0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x41, 0x73, 0x4c,
226 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x64, 0x0a, 0x13, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72,
227 0x61, 0x6d, 0x5f, 0x65, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01,
228 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
229 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x69, 0x73,
230 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x45, 0x6d, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x08,
231 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x11, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67,
232 0x72, 0x61, 0x6d, 0x45, 0x6d, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x33, 0x9a, 0xc5, 0x88,
233 0x1e, 0x2e, 0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
234 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72,
235 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
236 0x2a, 0x4a, 0x0a, 0x11, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x45, 0x6d, 0x69,
237 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x55, 0x4d, 0x4d, 0x41, 0x52, 0x59,
238 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x00,
239 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x4d, 0x4d, 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a,
240 0x09, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x02, 0x42, 0x90, 0x01, 0xba,
241 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x25, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
242 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
243 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x13,
244 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72,
245 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
246 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d,
247 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e,
248 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69,
249 0x63, 0x73, 0x2f, 0x76, 0x33, 0x3b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x76, 0x33, 0x62,
250 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
251 }
252
253 var (
254 file_envoy_config_metrics_v3_metrics_service_proto_rawDescOnce sync.Once
255 file_envoy_config_metrics_v3_metrics_service_proto_rawDescData = file_envoy_config_metrics_v3_metrics_service_proto_rawDesc
256 )
257
258 func file_envoy_config_metrics_v3_metrics_service_proto_rawDescGZIP() []byte {
259 file_envoy_config_metrics_v3_metrics_service_proto_rawDescOnce.Do(func() {
260 file_envoy_config_metrics_v3_metrics_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_metrics_v3_metrics_service_proto_rawDescData)
261 })
262 return file_envoy_config_metrics_v3_metrics_service_proto_rawDescData
263 }
264
265 var file_envoy_config_metrics_v3_metrics_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
266 var file_envoy_config_metrics_v3_metrics_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
267 var file_envoy_config_metrics_v3_metrics_service_proto_goTypes = []interface{}{
268 (HistogramEmitMode)(0), // 0: envoy.config.metrics.v3.HistogramEmitMode
269 (*MetricsServiceConfig)(nil), // 1: envoy.config.metrics.v3.MetricsServiceConfig
270 (*v3.GrpcService)(nil), // 2: envoy.config.core.v3.GrpcService
271 (v3.ApiVersion)(0), // 3: envoy.config.core.v3.ApiVersion
272 (*wrapperspb.BoolValue)(nil), // 4: google.protobuf.BoolValue
273 }
274 var file_envoy_config_metrics_v3_metrics_service_proto_depIdxs = []int32{
275 2, // 0: envoy.config.metrics.v3.MetricsServiceConfig.grpc_service:type_name -> envoy.config.core.v3.GrpcService
276 3, // 1: envoy.config.metrics.v3.MetricsServiceConfig.transport_api_version:type_name -> envoy.config.core.v3.ApiVersion
277 4, // 2: envoy.config.metrics.v3.MetricsServiceConfig.report_counters_as_deltas:type_name -> google.protobuf.BoolValue
278 0, // 3: envoy.config.metrics.v3.MetricsServiceConfig.histogram_emit_mode:type_name -> envoy.config.metrics.v3.HistogramEmitMode
279 4, // [4:4] is the sub-list for method output_type
280 4, // [4:4] is the sub-list for method input_type
281 4, // [4:4] is the sub-list for extension type_name
282 4, // [4:4] is the sub-list for extension extendee
283 0, // [0:4] is the sub-list for field type_name
284 }
285
286 func init() { file_envoy_config_metrics_v3_metrics_service_proto_init() }
287 func file_envoy_config_metrics_v3_metrics_service_proto_init() {
288 if File_envoy_config_metrics_v3_metrics_service_proto != nil {
289 return
290 }
291 if !protoimpl.UnsafeEnabled {
292 file_envoy_config_metrics_v3_metrics_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
293 switch v := v.(*MetricsServiceConfig); i {
294 case 0:
295 return &v.state
296 case 1:
297 return &v.sizeCache
298 case 2:
299 return &v.unknownFields
300 default:
301 return nil
302 }
303 }
304 }
305 type x struct{}
306 out := protoimpl.TypeBuilder{
307 File: protoimpl.DescBuilder{
308 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
309 RawDescriptor: file_envoy_config_metrics_v3_metrics_service_proto_rawDesc,
310 NumEnums: 1,
311 NumMessages: 1,
312 NumExtensions: 0,
313 NumServices: 0,
314 },
315 GoTypes: file_envoy_config_metrics_v3_metrics_service_proto_goTypes,
316 DependencyIndexes: file_envoy_config_metrics_v3_metrics_service_proto_depIdxs,
317 EnumInfos: file_envoy_config_metrics_v3_metrics_service_proto_enumTypes,
318 MessageInfos: file_envoy_config_metrics_v3_metrics_service_proto_msgTypes,
319 }.Build()
320 File_envoy_config_metrics_v3_metrics_service_proto = out.File
321 file_envoy_config_metrics_v3_metrics_service_proto_rawDesc = nil
322 file_envoy_config_metrics_v3_metrics_service_proto_goTypes = nil
323 file_envoy_config_metrics_v3_metrics_service_proto_depIdxs = nil
324 }