Debian Codegraph @

googleapis/cloud/gkehub/servicemesh/v1alpha/servicemesh.pb.go

raw symbols SCIP
1 // Copyright 2021 Google LLC
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.26.0
18 // protoc v3.12.2
19 // source: google/cloud/gkehub/v1alpha/servicemesh/servicemesh.proto
20
21 package servicemesh
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 structpb "google.golang.org/protobuf/types/known/structpb"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // The values here are chosen so that more severe messages get sorted higher,
41 // as well as leaving space in between to add more later
42 // See istio.analysis.v1alpha1.AnalysisMessageBase.Level
43 type AnalysisMessageBase_Level int32
44
45 const (
46 // Illegal. Same istio.analysis.v1alpha1.AnalysisMessageBase.Level.UNKNOWN.
47 AnalysisMessageBase_LEVEL_UNSPECIFIED AnalysisMessageBase_Level = 0
48 // ERROR represents a misconfiguration that must be fixed.
49 AnalysisMessageBase_ERROR AnalysisMessageBase_Level = 3
50 // WARNING represents a misconfiguration that should be fixed.
51 AnalysisMessageBase_WARNING AnalysisMessageBase_Level = 8
52 // INFO represents an informational finding.
53 AnalysisMessageBase_INFO AnalysisMessageBase_Level = 12
54 )
55
56 // Enum value maps for AnalysisMessageBase_Level.
57 var (
58 AnalysisMessageBase_Level_name = map[int32]string{
59 0: "LEVEL_UNSPECIFIED",
60 3: "ERROR",
61 8: "WARNING",
62 12: "INFO",
63 }
64 AnalysisMessageBase_Level_value = map[string]int32{
65 "LEVEL_UNSPECIFIED": 0,
66 "ERROR": 3,
67 "WARNING": 8,
68 "INFO": 12,
69 }
70 )
71
72 func (x AnalysisMessageBase_Level) Enum() *AnalysisMessageBase_Level {
73 p := new(AnalysisMessageBase_Level)
74 *p = x
75 return p
76 }
77
78 func (x AnalysisMessageBase_Level) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (AnalysisMessageBase_Level) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_enumTypes[0].Descriptor()
84 }
85
86 func (AnalysisMessageBase_Level) Type() protoreflect.EnumType {
87 return &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_enumTypes[0]
88 }
89
90 func (x AnalysisMessageBase_Level) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use AnalysisMessageBase_Level.Descriptor instead.
95 func (AnalysisMessageBase_Level) EnumDescriptor() ([]byte, []int) {
96 return file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescGZIP(), []int{2, 0}
97 }
98
99 // **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh
100 // Hub Controller.
101 type FeatureState struct {
102 state protoimpl.MessageState
103 sizeCache protoimpl.SizeCache
104 unknownFields protoimpl.UnknownFields
105
106 // Output only. Results of running Service Mesh analyzers.
107 AnalysisMessages []*AnalysisMessage `protobuf:"bytes,1,rep,name=analysis_messages,json=analysisMessages,proto3" json:"analysis_messages,omitempty"`
108 }
109
110 func (x *FeatureState) Reset() {
111 *x = FeatureState{}
112 if protoimpl.UnsafeEnabled {
113 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[0]
114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
115 ms.StoreMessageInfo(mi)
116 }
117 }
118
119 func (x *FeatureState) String() string {
120 return protoimpl.X.MessageStringOf(x)
121 }
122
123 func (*FeatureState) ProtoMessage() {}
124
125 func (x *FeatureState) ProtoReflect() protoreflect.Message {
126 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[0]
127 if protoimpl.UnsafeEnabled && x != nil {
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 if ms.LoadMessageInfo() == nil {
130 ms.StoreMessageInfo(mi)
131 }
132 return ms
133 }
134 return mi.MessageOf(x)
135 }
136
137 // Deprecated: Use FeatureState.ProtoReflect.Descriptor instead.
138 func (*FeatureState) Descriptor() ([]byte, []int) {
139 return file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescGZIP(), []int{0}
140 }
141
142 func (x *FeatureState) GetAnalysisMessages() []*AnalysisMessage {
143 if x != nil {
144 return x.AnalysisMessages
145 }
146 return nil
147 }
148
149 // **Service Mesh**: State for a single Membership, as analyzed by the Service
150 // Mesh Hub Controller.
151 type MembershipState struct {
152 state protoimpl.MessageState
153 sizeCache protoimpl.SizeCache
154 unknownFields protoimpl.UnknownFields
155
156 // Output only. Results of running Service Mesh analyzers.
157 AnalysisMessages []*AnalysisMessage `protobuf:"bytes,1,rep,name=analysis_messages,json=analysisMessages,proto3" json:"analysis_messages,omitempty"`
158 }
159
160 func (x *MembershipState) Reset() {
161 *x = MembershipState{}
162 if protoimpl.UnsafeEnabled {
163 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[1]
164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165 ms.StoreMessageInfo(mi)
166 }
167 }
168
169 func (x *MembershipState) String() string {
170 return protoimpl.X.MessageStringOf(x)
171 }
172
173 func (*MembershipState) ProtoMessage() {}
174
175 func (x *MembershipState) ProtoReflect() protoreflect.Message {
176 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[1]
177 if protoimpl.UnsafeEnabled && x != nil {
178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179 if ms.LoadMessageInfo() == nil {
180 ms.StoreMessageInfo(mi)
181 }
182 return ms
183 }
184 return mi.MessageOf(x)
185 }
186
187 // Deprecated: Use MembershipState.ProtoReflect.Descriptor instead.
188 func (*MembershipState) Descriptor() ([]byte, []int) {
189 return file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescGZIP(), []int{1}
190 }
191
192 func (x *MembershipState) GetAnalysisMessages() []*AnalysisMessage {
193 if x != nil {
194 return x.AnalysisMessages
195 }
196 return nil
197 }
198
199 // AnalysisMessageBase describes some common information that is
200 // needed for all messages.
201 type AnalysisMessageBase struct {
202 state protoimpl.MessageState
203 sizeCache protoimpl.SizeCache
204 unknownFields protoimpl.UnknownFields
205
206 // Represents the specific type of a message.
207 Type *AnalysisMessageBase_Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
208 // Represents how severe a message is.
209 Level AnalysisMessageBase_Level `protobuf:"varint,2,opt,name=level,proto3,enum=google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase_Level" json:"level,omitempty"`
210 // A url pointing to the Service Mesh or Istio documentation for this specific
211 // error type.
212 DocumentationUrl string `protobuf:"bytes,3,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"`
213 }
214
215 func (x *AnalysisMessageBase) Reset() {
216 *x = AnalysisMessageBase{}
217 if protoimpl.UnsafeEnabled {
218 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[2]
219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220 ms.StoreMessageInfo(mi)
221 }
222 }
223
224 func (x *AnalysisMessageBase) String() string {
225 return protoimpl.X.MessageStringOf(x)
226 }
227
228 func (*AnalysisMessageBase) ProtoMessage() {}
229
230 func (x *AnalysisMessageBase) ProtoReflect() protoreflect.Message {
231 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[2]
232 if protoimpl.UnsafeEnabled && x != nil {
233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
234 if ms.LoadMessageInfo() == nil {
235 ms.StoreMessageInfo(mi)
236 }
237 return ms
238 }
239 return mi.MessageOf(x)
240 }
241
242 // Deprecated: Use AnalysisMessageBase.ProtoReflect.Descriptor instead.
243 func (*AnalysisMessageBase) Descriptor() ([]byte, []int) {
244 return file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescGZIP(), []int{2}
245 }
246
247 func (x *AnalysisMessageBase) GetType() *AnalysisMessageBase_Type {
248 if x != nil {
249 return x.Type
250 }
251 return nil
252 }
253
254 func (x *AnalysisMessageBase) GetLevel() AnalysisMessageBase_Level {
255 if x != nil {
256 return x.Level
257 }
258 return AnalysisMessageBase_LEVEL_UNSPECIFIED
259 }
260
261 func (x *AnalysisMessageBase) GetDocumentationUrl() string {
262 if x != nil {
263 return x.DocumentationUrl
264 }
265 return ""
266 }
267
268 // AnalysisMessage is a single message produced by an analyzer, and
269 // it used to communicate to the end user about the state of their Service
270 // Mesh configuration.
271 type AnalysisMessage struct {
272 state protoimpl.MessageState
273 sizeCache protoimpl.SizeCache
274 unknownFields protoimpl.UnknownFields
275
276 // Details common to all types of Istio and ServiceMesh analysis messages.
277 MessageBase *AnalysisMessageBase `protobuf:"bytes,1,opt,name=message_base,json=messageBase,proto3" json:"message_base,omitempty"`
278 // A human readable description of what the error means. It is suitable for
279 // non-internationalize display purposes.
280 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
281 // A list of strings specifying the resource identifiers that were the cause
282 // of message generation.
283 // A "path" here may be:
284 // * MEMBERSHIP_ID if the cause is a specific member cluster
285 // * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource
286 // in a cluster
287 ResourcePaths []string `protobuf:"bytes,3,rep,name=resource_paths,json=resourcePaths,proto3" json:"resource_paths,omitempty"`
288 // A UI can combine these args with a template (based on message_base.type)
289 // to produce an internationalized message.
290 Args *structpb.Struct `protobuf:"bytes,4,opt,name=args,proto3" json:"args,omitempty"`
291 }
292
293 func (x *AnalysisMessage) Reset() {
294 *x = AnalysisMessage{}
295 if protoimpl.UnsafeEnabled {
296 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[3]
297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298 ms.StoreMessageInfo(mi)
299 }
300 }
301
302 func (x *AnalysisMessage) String() string {
303 return protoimpl.X.MessageStringOf(x)
304 }
305
306 func (*AnalysisMessage) ProtoMessage() {}
307
308 func (x *AnalysisMessage) ProtoReflect() protoreflect.Message {
309 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[3]
310 if protoimpl.UnsafeEnabled && x != nil {
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 if ms.LoadMessageInfo() == nil {
313 ms.StoreMessageInfo(mi)
314 }
315 return ms
316 }
317 return mi.MessageOf(x)
318 }
319
320 // Deprecated: Use AnalysisMessage.ProtoReflect.Descriptor instead.
321 func (*AnalysisMessage) Descriptor() ([]byte, []int) {
322 return file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescGZIP(), []int{3}
323 }
324
325 func (x *AnalysisMessage) GetMessageBase() *AnalysisMessageBase {
326 if x != nil {
327 return x.MessageBase
328 }
329 return nil
330 }
331
332 func (x *AnalysisMessage) GetDescription() string {
333 if x != nil {
334 return x.Description
335 }
336 return ""
337 }
338
339 func (x *AnalysisMessage) GetResourcePaths() []string {
340 if x != nil {
341 return x.ResourcePaths
342 }
343 return nil
344 }
345
346 func (x *AnalysisMessage) GetArgs() *structpb.Struct {
347 if x != nil {
348 return x.Args
349 }
350 return nil
351 }
352
353 // A unique identifier for the type of message. Display_name is intended to be
354 // human-readable, code is intended to be machine readable. There should be a
355 // one-to-one mapping between display_name and code. (i.e. do not re-use
356 // display_names or codes between message types.)
357 // See istio.analysis.v1alpha1.AnalysisMessageBase.Type
358 type AnalysisMessageBase_Type struct {
359 state protoimpl.MessageState
360 sizeCache protoimpl.SizeCache
361 unknownFields protoimpl.UnknownFields
362
363 // A human-readable name for the message type. e.g. "InternalError",
364 // "PodMissingProxy". This should be the same for all messages of the same
365 // type. (This corresponds to the `name` field in open-source Istio.)
366 DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
367 // A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended
368 // to uniquely identify the message type. (e.g. "IST0001" is mapped to the
369 // "InternalError" message type.)
370 Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
371 }
372
373 func (x *AnalysisMessageBase_Type) Reset() {
374 *x = AnalysisMessageBase_Type{}
375 if protoimpl.UnsafeEnabled {
376 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[4]
377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378 ms.StoreMessageInfo(mi)
379 }
380 }
381
382 func (x *AnalysisMessageBase_Type) String() string {
383 return protoimpl.X.MessageStringOf(x)
384 }
385
386 func (*AnalysisMessageBase_Type) ProtoMessage() {}
387
388 func (x *AnalysisMessageBase_Type) ProtoReflect() protoreflect.Message {
389 mi := &file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[4]
390 if protoimpl.UnsafeEnabled && x != nil {
391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
392 if ms.LoadMessageInfo() == nil {
393 ms.StoreMessageInfo(mi)
394 }
395 return ms
396 }
397 return mi.MessageOf(x)
398 }
399
400 // Deprecated: Use AnalysisMessageBase_Type.ProtoReflect.Descriptor instead.
401 func (*AnalysisMessageBase_Type) Descriptor() ([]byte, []int) {
402 return file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescGZIP(), []int{2, 0}
403 }
404
405 func (x *AnalysisMessageBase_Type) GetDisplayName() string {
406 if x != nil {
407 return x.DisplayName
408 }
409 return ""
410 }
411
412 func (x *AnalysisMessageBase_Type) GetCode() string {
413 if x != nil {
414 return x.Code
415 }
416 return ""
417 }
418
419 var File_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto protoreflect.FileDescriptor
420
421 var file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDesc = []byte{
422 0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
423 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x73, 0x65,
424 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
425 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f,
426 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62,
427 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x61,
428 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
429 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
430 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
431 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72,
432 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x0c, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x74,
433 0x61, 0x74, 0x65, 0x12, 0x6a, 0x0a, 0x11, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f,
434 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38,
435 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b,
436 0x65, 0x68, 0x75, 0x62, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68,
437 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
438 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x61,
439 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22,
440 0x7d, 0x0a, 0x0f, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x53, 0x74, 0x61,
441 0x74, 0x65, 0x12, 0x6a, 0x0a, 0x11, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x6d,
442 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e,
443 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65,
444 0x68, 0x75, 0x62, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e,
445 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73,
446 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x61, 0x6e,
447 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0xf4,
448 0x02, 0x0a, 0x13, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61,
449 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
450 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
451 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
452 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41,
453 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x61,
454 0x73, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a,
455 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67,
456 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68,
457 0x75, 0x62, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76,
458 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x4d,
459 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c,
460 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x6f, 0x63, 0x75, 0x6d,
461 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01,
462 0x28, 0x09, 0x52, 0x10, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f,
463 0x6e, 0x55, 0x72, 0x6c, 0x1a, 0x3d, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c,
464 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
465 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
466 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
467 0x6f, 0x64, 0x65, 0x22, 0x40, 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x15, 0x0a, 0x11,
468 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
469 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x0b,
470 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x08, 0x0a, 0x04, 0x49,
471 0x4e, 0x46, 0x4f, 0x10, 0x0c, 0x22, 0xe8, 0x01, 0x0a, 0x0f, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73,
472 0x69, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5f, 0x0a, 0x0c, 0x6d, 0x65, 0x73,
473 0x73, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
474 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
475 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x65, 0x73,
476 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73,
477 0x69, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x0b, 0x6d,
478 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
479 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
480 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e,
481 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03,
482 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61,
483 0x74, 0x68, 0x73, 0x12, 0x2b, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
484 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
485 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73,
486 0x42, 0x97, 0x02, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
487 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x73, 0x65, 0x72,
488 0x76, 0x69, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
489 0x42, 0x10, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x68, 0x50, 0x72, 0x6f,
490 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x52, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
491 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
492 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
493 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
494 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x73, 0x65, 0x72,
495 0x76, 0x69, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
496 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x2e, 0x53,
497 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70,
498 0x68, 0x61, 0xca, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
499 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
500 0x4d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xea, 0x02, 0x2b, 0x47,
501 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b,
502 0x65, 0x48, 0x75, 0x62, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73,
503 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
504 0x6f, 0x33,
505 }
506
507 var (
508 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescOnce sync.Once
509 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescData = file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDesc
510 )
511
512 func file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescGZIP() []byte {
513 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescOnce.Do(func() {
514 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescData)
515 })
516 return file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDescData
517 }
518
519 var file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
520 var file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
521 var file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_goTypes = []interface{}{
522 (AnalysisMessageBase_Level)(0), // 0: google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level
523 (*FeatureState)(nil), // 1: google.cloud.gkehub.servicemesh.v1alpha.FeatureState
524 (*MembershipState)(nil), // 2: google.cloud.gkehub.servicemesh.v1alpha.MembershipState
525 (*AnalysisMessageBase)(nil), // 3: google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase
526 (*AnalysisMessage)(nil), // 4: google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage
527 (*AnalysisMessageBase_Type)(nil), // 5: google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type
528 (*structpb.Struct)(nil), // 6: google.protobuf.Struct
529 }
530 var file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_depIdxs = []int32{
531 4, // 0: google.cloud.gkehub.servicemesh.v1alpha.FeatureState.analysis_messages:type_name -> google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage
532 4, // 1: google.cloud.gkehub.servicemesh.v1alpha.MembershipState.analysis_messages:type_name -> google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage
533 5, // 2: google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.type:type_name -> google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Type
534 0, // 3: google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.level:type_name -> google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase.Level
535 3, // 4: google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage.message_base:type_name -> google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessageBase
536 6, // 5: google.cloud.gkehub.servicemesh.v1alpha.AnalysisMessage.args:type_name -> google.protobuf.Struct
537 6, // [6:6] is the sub-list for method output_type
538 6, // [6:6] is the sub-list for method input_type
539 6, // [6:6] is the sub-list for extension type_name
540 6, // [6:6] is the sub-list for extension extendee
541 0, // [0:6] is the sub-list for field type_name
542 }
543
544 func init() { file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_init() }
545 func file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_init() {
546 if File_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto != nil {
547 return
548 }
549 if !protoimpl.UnsafeEnabled {
550 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
551 switch v := v.(*FeatureState); i {
552 case 0:
553 return &v.state
554 case 1:
555 return &v.sizeCache
556 case 2:
557 return &v.unknownFields
558 default:
559 return nil
560 }
561 }
562 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
563 switch v := v.(*MembershipState); i {
564 case 0:
565 return &v.state
566 case 1:
567 return &v.sizeCache
568 case 2:
569 return &v.unknownFields
570 default:
571 return nil
572 }
573 }
574 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
575 switch v := v.(*AnalysisMessageBase); i {
576 case 0:
577 return &v.state
578 case 1:
579 return &v.sizeCache
580 case 2:
581 return &v.unknownFields
582 default:
583 return nil
584 }
585 }
586 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
587 switch v := v.(*AnalysisMessage); i {
588 case 0:
589 return &v.state
590 case 1:
591 return &v.sizeCache
592 case 2:
593 return &v.unknownFields
594 default:
595 return nil
596 }
597 }
598 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
599 switch v := v.(*AnalysisMessageBase_Type); i {
600 case 0:
601 return &v.state
602 case 1:
603 return &v.sizeCache
604 case 2:
605 return &v.unknownFields
606 default:
607 return nil
608 }
609 }
610 }
611 type x struct{}
612 out := protoimpl.TypeBuilder{
613 File: protoimpl.DescBuilder{
614 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
615 RawDescriptor: file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDesc,
616 NumEnums: 1,
617 NumMessages: 5,
618 NumExtensions: 0,
619 NumServices: 0,
620 },
621 GoTypes: file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_goTypes,
622 DependencyIndexes: file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_depIdxs,
623 EnumInfos: file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_enumTypes,
624 MessageInfos: file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_msgTypes,
625 }.Build()
626 File_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto = out.File
627 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_rawDesc = nil
628 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_goTypes = nil
629 file_google_cloud_gkehub_v1alpha_servicemesh_servicemesh_proto_depIdxs = nil
630 }