| 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/service/metrics/v2/metrics_service.proto |
| 6 |
|
| 7 |
package metricsv2 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core" |
| 12 |
_ "github.com/envoyproxy/protoc-gen-validate/validate" |
| 13 |
_go "github.com/prometheus/client_model/go" |
| 14 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 15 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 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 |
type StreamMetricsResponse struct { |
| 28 |
state protoimpl.MessageState |
| 29 |
sizeCache protoimpl.SizeCache |
| 30 |
unknownFields protoimpl.UnknownFields |
| 31 |
} |
| 32 |
|
| 33 |
func (x *StreamMetricsResponse) Reset() { |
| 34 |
*x = StreamMetricsResponse{} |
| 35 |
if protoimpl.UnsafeEnabled { |
| 36 |
mi := &file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[0] |
| 37 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 38 |
ms.StoreMessageInfo(mi) |
| 39 |
} |
| 40 |
} |
| 41 |
|
| 42 |
func (x *StreamMetricsResponse) String() string { |
| 43 |
return protoimpl.X.MessageStringOf(x) |
| 44 |
} |
| 45 |
|
| 46 |
func (*StreamMetricsResponse) ProtoMessage() {} |
| 47 |
|
| 48 |
func (x *StreamMetricsResponse) ProtoReflect() protoreflect.Message { |
| 49 |
mi := &file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[0] |
| 50 |
if protoimpl.UnsafeEnabled && x != nil { |
| 51 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 52 |
if ms.LoadMessageInfo() == nil { |
| 53 |
ms.StoreMessageInfo(mi) |
| 54 |
} |
| 55 |
return ms |
| 56 |
} |
| 57 |
return mi.MessageOf(x) |
| 58 |
} |
| 59 |
|
| 60 |
// Deprecated: Use StreamMetricsResponse.ProtoReflect.Descriptor instead. |
| 61 |
func (*StreamMetricsResponse) Descriptor() ([]byte, []int) { |
| 62 |
return file_envoy_service_metrics_v2_metrics_service_proto_rawDescGZIP(), []int{0} |
| 63 |
} |
| 64 |
|
| 65 |
type StreamMetricsMessage struct { |
| 66 |
state protoimpl.MessageState |
| 67 |
sizeCache protoimpl.SizeCache |
| 68 |
unknownFields protoimpl.UnknownFields |
| 69 |
|
| 70 |
// Identifier data effectively is a structured metadata. As a performance optimization this will |
| 71 |
// only be sent in the first message on the stream. |
| 72 |
Identifier *StreamMetricsMessage_Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` |
| 73 |
// A list of metric entries |
| 74 |
EnvoyMetrics []*_go.MetricFamily `protobuf:"bytes,2,rep,name=envoy_metrics,json=envoyMetrics,proto3" json:"envoy_metrics,omitempty"` |
| 75 |
} |
| 76 |
|
| 77 |
func (x *StreamMetricsMessage) Reset() { |
| 78 |
*x = StreamMetricsMessage{} |
| 79 |
if protoimpl.UnsafeEnabled { |
| 80 |
mi := &file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[1] |
| 81 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 82 |
ms.StoreMessageInfo(mi) |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
func (x *StreamMetricsMessage) String() string { |
| 87 |
return protoimpl.X.MessageStringOf(x) |
| 88 |
} |
| 89 |
|
| 90 |
func (*StreamMetricsMessage) ProtoMessage() {} |
| 91 |
|
| 92 |
func (x *StreamMetricsMessage) ProtoReflect() protoreflect.Message { |
| 93 |
mi := &file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[1] |
| 94 |
if protoimpl.UnsafeEnabled && x != nil { |
| 95 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 96 |
if ms.LoadMessageInfo() == nil { |
| 97 |
ms.StoreMessageInfo(mi) |
| 98 |
} |
| 99 |
return ms |
| 100 |
} |
| 101 |
return mi.MessageOf(x) |
| 102 |
} |
| 103 |
|
| 104 |
// Deprecated: Use StreamMetricsMessage.ProtoReflect.Descriptor instead. |
| 105 |
func (*StreamMetricsMessage) Descriptor() ([]byte, []int) { |
| 106 |
return file_envoy_service_metrics_v2_metrics_service_proto_rawDescGZIP(), []int{1} |
| 107 |
} |
| 108 |
|
| 109 |
func (x *StreamMetricsMessage) GetIdentifier() *StreamMetricsMessage_Identifier { |
| 110 |
if x != nil { |
| 111 |
return x.Identifier |
| 112 |
} |
| 113 |
return nil |
| 114 |
} |
| 115 |
|
| 116 |
func (x *StreamMetricsMessage) GetEnvoyMetrics() []*_go.MetricFamily { |
| 117 |
if x != nil { |
| 118 |
return x.EnvoyMetrics |
| 119 |
} |
| 120 |
return nil |
| 121 |
} |
| 122 |
|
| 123 |
type StreamMetricsMessage_Identifier struct { |
| 124 |
state protoimpl.MessageState |
| 125 |
sizeCache protoimpl.SizeCache |
| 126 |
unknownFields protoimpl.UnknownFields |
| 127 |
|
| 128 |
// The node sending metrics over the stream. |
| 129 |
Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` |
| 130 |
} |
| 131 |
|
| 132 |
func (x *StreamMetricsMessage_Identifier) Reset() { |
| 133 |
*x = StreamMetricsMessage_Identifier{} |
| 134 |
if protoimpl.UnsafeEnabled { |
| 135 |
mi := &file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[2] |
| 136 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 137 |
ms.StoreMessageInfo(mi) |
| 138 |
} |
| 139 |
} |
| 140 |
|
| 141 |
func (x *StreamMetricsMessage_Identifier) String() string { |
| 142 |
return protoimpl.X.MessageStringOf(x) |
| 143 |
} |
| 144 |
|
| 145 |
func (*StreamMetricsMessage_Identifier) ProtoMessage() {} |
| 146 |
|
| 147 |
func (x *StreamMetricsMessage_Identifier) ProtoReflect() protoreflect.Message { |
| 148 |
mi := &file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[2] |
| 149 |
if protoimpl.UnsafeEnabled && x != nil { |
| 150 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 151 |
if ms.LoadMessageInfo() == nil { |
| 152 |
ms.StoreMessageInfo(mi) |
| 153 |
} |
| 154 |
return ms |
| 155 |
} |
| 156 |
return mi.MessageOf(x) |
| 157 |
} |
| 158 |
|
| 159 |
// Deprecated: Use StreamMetricsMessage_Identifier.ProtoReflect.Descriptor instead. |
| 160 |
func (*StreamMetricsMessage_Identifier) Descriptor() ([]byte, []int) { |
| 161 |
return file_envoy_service_metrics_v2_metrics_service_proto_rawDescGZIP(), []int{1, 0} |
| 162 |
} |
| 163 |
|
| 164 |
func (x *StreamMetricsMessage_Identifier) GetNode() *core.Node { |
| 165 |
if x != nil { |
| 166 |
return x.Node |
| 167 |
} |
| 168 |
return nil |
| 169 |
} |
| 170 |
|
| 171 |
var File_envoy_service_metrics_v2_metrics_service_proto protoreflect.FileDescriptor |
| 172 |
|
| 173 |
var file_envoy_service_metrics_v2_metrics_service_proto_rawDesc = []byte{ |
| 174 |
0x0a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, |
| 175 |
0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 176 |
0x63, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 177 |
0x12, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, |
| 178 |
0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, |
| 179 |
0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, |
| 180 |
0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, |
| 181 |
0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x6d, |
| 182 |
0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, |
| 183 |
0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, |
| 184 |
0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, |
| 185 |
0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, |
| 186 |
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, |
| 187 |
0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xff, 0x01, |
| 188 |
0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x4d, |
| 189 |
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, |
| 190 |
0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x65, 0x6e, 0x76, |
| 191 |
0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 192 |
0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x72, |
| 193 |
0x69, 0x63, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, |
| 194 |
0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, |
| 195 |
0x72, 0x12, 0x47, 0x0a, 0x0d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 196 |
0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, |
| 197 |
0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, |
| 198 |
0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x0c, 0x65, 0x6e, |
| 199 |
0x76, 0x6f, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x1a, 0x43, 0x0a, 0x0a, 0x49, 0x64, |
| 200 |
0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, |
| 201 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, |
| 202 |
0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x42, |
| 203 |
0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, |
| 204 |
0x86, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 205 |
0x63, 0x65, 0x12, 0x74, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x72, |
| 206 |
0x69, 0x63, 0x73, 0x12, 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, |
| 207 |
0x69, 0x63, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, |
| 208 |
0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x4d, 0x65, 0x73, 0x73, |
| 209 |
0x61, 0x67, 0x65, 0x1a, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, |
| 210 |
0x69, 0x63, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, |
| 211 |
0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, |
| 212 |
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x42, 0x92, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, |
| 213 |
0x02, 0x10, 0x01, 0x0a, 0x26, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, |
| 214 |
0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 215 |
0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x4d, 0x65, 0x74, |
| 216 |
0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, |
| 217 |
0x50, 0x01, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, |
| 218 |
0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, |
| 219 |
0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, |
| 220 |
0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 221 |
0x2f, 0x76, 0x32, 0x3b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x76, 0x32, 0x62, 0x06, 0x70, |
| 222 |
0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 223 |
} |
| 224 |
|
| 225 |
var ( |
| 226 |
file_envoy_service_metrics_v2_metrics_service_proto_rawDescOnce sync.Once |
| 227 |
file_envoy_service_metrics_v2_metrics_service_proto_rawDescData = file_envoy_service_metrics_v2_metrics_service_proto_rawDesc |
| 228 |
) |
| 229 |
|
| 230 |
func file_envoy_service_metrics_v2_metrics_service_proto_rawDescGZIP() []byte { |
| 231 |
file_envoy_service_metrics_v2_metrics_service_proto_rawDescOnce.Do(func() { |
| 232 |
file_envoy_service_metrics_v2_metrics_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_metrics_v2_metrics_service_proto_rawDescData) |
| 233 |
}) |
| 234 |
return file_envoy_service_metrics_v2_metrics_service_proto_rawDescData |
| 235 |
} |
| 236 |
|
| 237 |
var file_envoy_service_metrics_v2_metrics_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 238 |
var file_envoy_service_metrics_v2_metrics_service_proto_goTypes = []interface{}{ |
| 239 |
(*StreamMetricsResponse)(nil), // 0: envoy.service.metrics.v2.StreamMetricsResponse |
| 240 |
(*StreamMetricsMessage)(nil), // 1: envoy.service.metrics.v2.StreamMetricsMessage |
| 241 |
(*StreamMetricsMessage_Identifier)(nil), // 2: envoy.service.metrics.v2.StreamMetricsMessage.Identifier |
| 242 |
(*_go.MetricFamily)(nil), // 3: io.prometheus.client.MetricFamily |
| 243 |
(*core.Node)(nil), // 4: envoy.api.v2.core.Node |
| 244 |
} |
| 245 |
var file_envoy_service_metrics_v2_metrics_service_proto_depIdxs = []int32{ |
| 246 |
2, // 0: envoy.service.metrics.v2.StreamMetricsMessage.identifier:type_name -> envoy.service.metrics.v2.StreamMetricsMessage.Identifier |
| 247 |
3, // 1: envoy.service.metrics.v2.StreamMetricsMessage.envoy_metrics:type_name -> io.prometheus.client.MetricFamily |
| 248 |
4, // 2: envoy.service.metrics.v2.StreamMetricsMessage.Identifier.node:type_name -> envoy.api.v2.core.Node |
| 249 |
1, // 3: envoy.service.metrics.v2.MetricsService.StreamMetrics:input_type -> envoy.service.metrics.v2.StreamMetricsMessage |
| 250 |
0, // 4: envoy.service.metrics.v2.MetricsService.StreamMetrics:output_type -> envoy.service.metrics.v2.StreamMetricsResponse |
| 251 |
4, // [4:5] is the sub-list for method output_type |
| 252 |
3, // [3:4] is the sub-list for method input_type |
| 253 |
3, // [3:3] is the sub-list for extension type_name |
| 254 |
3, // [3:3] is the sub-list for extension extendee |
| 255 |
0, // [0:3] is the sub-list for field type_name |
| 256 |
} |
| 257 |
|
| 258 |
func init() { file_envoy_service_metrics_v2_metrics_service_proto_init() } |
| 259 |
func file_envoy_service_metrics_v2_metrics_service_proto_init() { |
| 260 |
if File_envoy_service_metrics_v2_metrics_service_proto != nil { |
| 261 |
return |
| 262 |
} |
| 263 |
if !protoimpl.UnsafeEnabled { |
| 264 |
file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 265 |
switch v := v.(*StreamMetricsResponse); i { |
| 266 |
case 0: |
| 267 |
return &v.state |
| 268 |
case 1: |
| 269 |
return &v.sizeCache |
| 270 |
case 2: |
| 271 |
return &v.unknownFields |
| 272 |
default: |
| 273 |
return nil |
| 274 |
} |
| 275 |
} |
| 276 |
file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 277 |
switch v := v.(*StreamMetricsMessage); i { |
| 278 |
case 0: |
| 279 |
return &v.state |
| 280 |
case 1: |
| 281 |
return &v.sizeCache |
| 282 |
case 2: |
| 283 |
return &v.unknownFields |
| 284 |
default: |
| 285 |
return nil |
| 286 |
} |
| 287 |
} |
| 288 |
file_envoy_service_metrics_v2_metrics_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 289 |
switch v := v.(*StreamMetricsMessage_Identifier); i { |
| 290 |
case 0: |
| 291 |
return &v.state |
| 292 |
case 1: |
| 293 |
return &v.sizeCache |
| 294 |
case 2: |
| 295 |
return &v.unknownFields |
| 296 |
default: |
| 297 |
return nil |
| 298 |
} |
| 299 |
} |
| 300 |
} |
| 301 |
type x struct{} |
| 302 |
out := protoimpl.TypeBuilder{ |
| 303 |
File: protoimpl.DescBuilder{ |
| 304 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 305 |
RawDescriptor: file_envoy_service_metrics_v2_metrics_service_proto_rawDesc, |
| 306 |
NumEnums: 0, |
| 307 |
NumMessages: 3, |
| 308 |
NumExtensions: 0, |
| 309 |
NumServices: 1, |
| 310 |
}, |
| 311 |
GoTypes: file_envoy_service_metrics_v2_metrics_service_proto_goTypes, |
| 312 |
DependencyIndexes: file_envoy_service_metrics_v2_metrics_service_proto_depIdxs, |
| 313 |
MessageInfos: file_envoy_service_metrics_v2_metrics_service_proto_msgTypes, |
| 314 |
}.Build() |
| 315 |
File_envoy_service_metrics_v2_metrics_service_proto = out.File |
| 316 |
file_envoy_service_metrics_v2_metrics_service_proto_rawDesc = nil |
| 317 |
file_envoy_service_metrics_v2_metrics_service_proto_goTypes = nil |
| 318 |
file_envoy_service_metrics_v2_metrics_service_proto_depIdxs = nil |
| 319 |
} |