1
2
3
4
5
6
7 package envoy_config_metrics_v4alpha
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v4alpha "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v4alpha"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 proto "github.com/golang/protobuf/proto"
14 wrappers "github.com/golang/protobuf/ptypes/wrappers"
15 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17 reflect "reflect"
18 sync "sync"
19 )
20
21 const (
22
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28
29
30 const _ = proto.ProtoPackageIsVersion4
31
32
33
34
35
36 type MetricsServiceConfig struct {
37 state protoimpl.MessageState
38 sizeCache protoimpl.SizeCache
39 unknownFields protoimpl.UnknownFields
40
41
42 GrpcService *v4alpha.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
43
44
45 TransportApiVersion v4alpha.ApiVersion `protobuf:"varint,3,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.config.core.v4alpha.ApiVersion" json:"transport_api_version,omitempty"`
46
47
48
49
50 ReportCountersAsDeltas *wrappers.BoolValue `protobuf:"bytes,2,opt,name=report_counters_as_deltas,json=reportCountersAsDeltas,proto3" json:"report_counters_as_deltas,omitempty"`
51 }
52
53 func (x *MetricsServiceConfig) Reset() {
54 *x = MetricsServiceConfig{}
55 if protoimpl.UnsafeEnabled {
56 mi := &file_envoy_config_metrics_v4alpha_metrics_service_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60 }
61
62 func (x *MetricsServiceConfig) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*MetricsServiceConfig) ProtoMessage() {}
67
68 func (x *MetricsServiceConfig) ProtoReflect() protoreflect.Message {
69 mi := &file_envoy_config_metrics_v4alpha_metrics_service_proto_msgTypes[0]
70 if protoimpl.UnsafeEnabled && x != nil {
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 if ms.LoadMessageInfo() == nil {
73 ms.StoreMessageInfo(mi)
74 }
75 return ms
76 }
77 return mi.MessageOf(x)
78 }
79
80
81 func (*MetricsServiceConfig) Descriptor() ([]byte, []int) {
82 return file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *MetricsServiceConfig) GetGrpcService() *v4alpha.GrpcService {
86 if x != nil {
87 return x.GrpcService
88 }
89 return nil
90 }
91
92 func (x *MetricsServiceConfig) GetTransportApiVersion() v4alpha.ApiVersion {
93 if x != nil {
94 return x.TransportApiVersion
95 }
96 return v4alpha.ApiVersion_hidden_envoy_deprecated_AUTO
97 }
98
99 func (x *MetricsServiceConfig) GetReportCountersAsDeltas() *wrappers.BoolValue {
100 if x != nil {
101 return x.ReportCountersAsDeltas
102 }
103 return nil
104 }
105
106 var File_envoy_config_metrics_v4alpha_metrics_service_proto protoreflect.FileDescriptor
107
108 var file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDesc = []byte{
109 0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6d,
110 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d,
111 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70,
112 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
113 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70,
114 0x68, 0x61, 0x1a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
115 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6f,
116 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
117 0x6f, 0x1a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f,
118 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x67, 0x72, 0x70,
119 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
120 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
121 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
122 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
123 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21,
124 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
125 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
126 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
127 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x02, 0x0a, 0x14, 0x4d,
128 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e,
129 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76,
130 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
131 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34,
132 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
133 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72, 0x70,
134 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e,
135 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
136 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
137 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c,
138 0x70, 0x68, 0x61, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08,
139 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
140 0x6f, 0x72, 0x74, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a,
141 0x19, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73,
142 0x5f, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
143 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
144 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x16, 0x72, 0x65,
145 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x41, 0x73, 0x44, 0x65,
146 0x6c, 0x74, 0x61, 0x73, 0x3a, 0x33, 0x9a, 0xc5, 0x88, 0x1e, 0x2e, 0x0a, 0x2c, 0x65, 0x6e, 0x76,
147 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
148 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76,
149 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x4b, 0x0a, 0x2a, 0x69, 0x6f, 0x2e,
150 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
151 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
152 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x13, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
153 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80,
154 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
155 }
156
157 var (
158 file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDescOnce sync.Once
159 file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDescData = file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDesc
160 )
161
162 func file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDescGZIP() []byte {
163 file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDescOnce.Do(func() {
164 file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDescData)
165 })
166 return file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDescData
167 }
168
169 var file_envoy_config_metrics_v4alpha_metrics_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
170 var file_envoy_config_metrics_v4alpha_metrics_service_proto_goTypes = []interface{}{
171 (*MetricsServiceConfig)(nil),
172 (*v4alpha.GrpcService)(nil),
173 (v4alpha.ApiVersion)(0),
174 (*wrappers.BoolValue)(nil),
175 }
176 var file_envoy_config_metrics_v4alpha_metrics_service_proto_depIdxs = []int32{
177 1,
178 2,
179 3,
180 3,
181 3,
182 3,
183 3,
184 0,
185 }
186
187 func init() { file_envoy_config_metrics_v4alpha_metrics_service_proto_init() }
188 func file_envoy_config_metrics_v4alpha_metrics_service_proto_init() {
189 if File_envoy_config_metrics_v4alpha_metrics_service_proto != nil {
190 return
191 }
192 if !protoimpl.UnsafeEnabled {
193 file_envoy_config_metrics_v4alpha_metrics_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
194 switch v := v.(*MetricsServiceConfig); i {
195 case 0:
196 return &v.state
197 case 1:
198 return &v.sizeCache
199 case 2:
200 return &v.unknownFields
201 default:
202 return nil
203 }
204 }
205 }
206 type x struct{}
207 out := protoimpl.TypeBuilder{
208 File: protoimpl.DescBuilder{
209 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
210 RawDescriptor: file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDesc,
211 NumEnums: 0,
212 NumMessages: 1,
213 NumExtensions: 0,
214 NumServices: 0,
215 },
216 GoTypes: file_envoy_config_metrics_v4alpha_metrics_service_proto_goTypes,
217 DependencyIndexes: file_envoy_config_metrics_v4alpha_metrics_service_proto_depIdxs,
218 MessageInfos: file_envoy_config_metrics_v4alpha_metrics_service_proto_msgTypes,
219 }.Build()
220 File_envoy_config_metrics_v4alpha_metrics_service_proto = out.File
221 file_envoy_config_metrics_v4alpha_metrics_service_proto_rawDesc = nil
222 file_envoy_config_metrics_v4alpha_metrics_service_proto_goTypes = nil
223 file_envoy_config_metrics_v4alpha_metrics_service_proto_depIdxs = nil
224 }
225
View as plain text