1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package networkservices
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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41 type EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria int32
42
43 const (
44
45 EndpointMatcher_MetadataLabelMatcher_METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 0
46
47
48 EndpointMatcher_MetadataLabelMatcher_MATCH_ANY EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 1
49
50
51 EndpointMatcher_MetadataLabelMatcher_MATCH_ALL EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 2
52 )
53
54
55 var (
56 EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria_name = map[int32]string{
57 0: "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED",
58 1: "MATCH_ANY",
59 2: "MATCH_ALL",
60 }
61 EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria_value = map[string]int32{
62 "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED": 0,
63 "MATCH_ANY": 1,
64 "MATCH_ALL": 2,
65 }
66 )
67
68 func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Enum() *EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria {
69 p := new(EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria)
70 *p = x
71 return p
72 }
73
74 func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) String() string {
75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
76 }
77
78 func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Descriptor() protoreflect.EnumDescriptor {
79 return file_google_cloud_networkservices_v1_common_proto_enumTypes[0].Descriptor()
80 }
81
82 func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Type() protoreflect.EnumType {
83 return &file_google_cloud_networkservices_v1_common_proto_enumTypes[0]
84 }
85
86 func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Number() protoreflect.EnumNumber {
87 return protoreflect.EnumNumber(x)
88 }
89
90
91 func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) EnumDescriptor() ([]byte, []int) {
92 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{2, 0, 0}
93 }
94
95
96 type OperationMetadata struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101
102 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
103
104 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
105
106 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
107
108 Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
109
110 StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
111
112
113
114
115 RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
116
117 ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
118 }
119
120 func (x *OperationMetadata) Reset() {
121 *x = OperationMetadata{}
122 if protoimpl.UnsafeEnabled {
123 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[0]
124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
125 ms.StoreMessageInfo(mi)
126 }
127 }
128
129 func (x *OperationMetadata) String() string {
130 return protoimpl.X.MessageStringOf(x)
131 }
132
133 func (*OperationMetadata) ProtoMessage() {}
134
135 func (x *OperationMetadata) ProtoReflect() protoreflect.Message {
136 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[0]
137 if protoimpl.UnsafeEnabled && x != nil {
138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
139 if ms.LoadMessageInfo() == nil {
140 ms.StoreMessageInfo(mi)
141 }
142 return ms
143 }
144 return mi.MessageOf(x)
145 }
146
147
148 func (*OperationMetadata) Descriptor() ([]byte, []int) {
149 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{0}
150 }
151
152 func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp {
153 if x != nil {
154 return x.CreateTime
155 }
156 return nil
157 }
158
159 func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp {
160 if x != nil {
161 return x.EndTime
162 }
163 return nil
164 }
165
166 func (x *OperationMetadata) GetTarget() string {
167 if x != nil {
168 return x.Target
169 }
170 return ""
171 }
172
173 func (x *OperationMetadata) GetVerb() string {
174 if x != nil {
175 return x.Verb
176 }
177 return ""
178 }
179
180 func (x *OperationMetadata) GetStatusMessage() string {
181 if x != nil {
182 return x.StatusMessage
183 }
184 return ""
185 }
186
187 func (x *OperationMetadata) GetRequestedCancellation() bool {
188 if x != nil {
189 return x.RequestedCancellation
190 }
191 return false
192 }
193
194 func (x *OperationMetadata) GetApiVersion() string {
195 if x != nil {
196 return x.ApiVersion
197 }
198 return ""
199 }
200
201
202 type TrafficPortSelector struct {
203 state protoimpl.MessageState
204 sizeCache protoimpl.SizeCache
205 unknownFields protoimpl.UnknownFields
206
207
208
209
210
211 Ports []string `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"`
212 }
213
214 func (x *TrafficPortSelector) Reset() {
215 *x = TrafficPortSelector{}
216 if protoimpl.UnsafeEnabled {
217 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[1]
218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
219 ms.StoreMessageInfo(mi)
220 }
221 }
222
223 func (x *TrafficPortSelector) String() string {
224 return protoimpl.X.MessageStringOf(x)
225 }
226
227 func (*TrafficPortSelector) ProtoMessage() {}
228
229 func (x *TrafficPortSelector) ProtoReflect() protoreflect.Message {
230 mi := &file_google_cloud_networkservices_v1_common_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
242 func (*TrafficPortSelector) Descriptor() ([]byte, []int) {
243 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{1}
244 }
245
246 func (x *TrafficPortSelector) GetPorts() []string {
247 if x != nil {
248 return x.Ports
249 }
250 return nil
251 }
252
253
254
255 type EndpointMatcher struct {
256 state protoimpl.MessageState
257 sizeCache protoimpl.SizeCache
258 unknownFields protoimpl.UnknownFields
259
260
261
262
263
264 MatcherType isEndpointMatcher_MatcherType `protobuf_oneof:"matcher_type"`
265 }
266
267 func (x *EndpointMatcher) Reset() {
268 *x = EndpointMatcher{}
269 if protoimpl.UnsafeEnabled {
270 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[2]
271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
272 ms.StoreMessageInfo(mi)
273 }
274 }
275
276 func (x *EndpointMatcher) String() string {
277 return protoimpl.X.MessageStringOf(x)
278 }
279
280 func (*EndpointMatcher) ProtoMessage() {}
281
282 func (x *EndpointMatcher) ProtoReflect() protoreflect.Message {
283 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[2]
284 if protoimpl.UnsafeEnabled && x != nil {
285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
286 if ms.LoadMessageInfo() == nil {
287 ms.StoreMessageInfo(mi)
288 }
289 return ms
290 }
291 return mi.MessageOf(x)
292 }
293
294
295 func (*EndpointMatcher) Descriptor() ([]byte, []int) {
296 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{2}
297 }
298
299 func (m *EndpointMatcher) GetMatcherType() isEndpointMatcher_MatcherType {
300 if m != nil {
301 return m.MatcherType
302 }
303 return nil
304 }
305
306 func (x *EndpointMatcher) GetMetadataLabelMatcher() *EndpointMatcher_MetadataLabelMatcher {
307 if x, ok := x.GetMatcherType().(*EndpointMatcher_MetadataLabelMatcher_); ok {
308 return x.MetadataLabelMatcher
309 }
310 return nil
311 }
312
313 type isEndpointMatcher_MatcherType interface {
314 isEndpointMatcher_MatcherType()
315 }
316
317 type EndpointMatcher_MetadataLabelMatcher_ struct {
318
319 MetadataLabelMatcher *EndpointMatcher_MetadataLabelMatcher `protobuf:"bytes,1,opt,name=metadata_label_matcher,json=metadataLabelMatcher,proto3,oneof"`
320 }
321
322 func (*EndpointMatcher_MetadataLabelMatcher_) isEndpointMatcher_MatcherType() {}
323
324
325 type EndpointMatcher_MetadataLabelMatcher struct {
326 state protoimpl.MessageState
327 sizeCache protoimpl.SizeCache
328 unknownFields protoimpl.UnknownFields
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356 MetadataLabelMatchCriteria EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria `protobuf:"varint,1,opt,name=metadata_label_match_criteria,json=metadataLabelMatchCriteria,proto3,enum=google.cloud.networkservices.v1.EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria" json:"metadata_label_match_criteria,omitempty"`
357
358
359
360
361
362 MetadataLabels []*EndpointMatcher_MetadataLabelMatcher_MetadataLabels `protobuf:"bytes,2,rep,name=metadata_labels,json=metadataLabels,proto3" json:"metadata_labels,omitempty"`
363 }
364
365 func (x *EndpointMatcher_MetadataLabelMatcher) Reset() {
366 *x = EndpointMatcher_MetadataLabelMatcher{}
367 if protoimpl.UnsafeEnabled {
368 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[3]
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 ms.StoreMessageInfo(mi)
371 }
372 }
373
374 func (x *EndpointMatcher_MetadataLabelMatcher) String() string {
375 return protoimpl.X.MessageStringOf(x)
376 }
377
378 func (*EndpointMatcher_MetadataLabelMatcher) ProtoMessage() {}
379
380 func (x *EndpointMatcher_MetadataLabelMatcher) ProtoReflect() protoreflect.Message {
381 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[3]
382 if protoimpl.UnsafeEnabled && x != nil {
383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
384 if ms.LoadMessageInfo() == nil {
385 ms.StoreMessageInfo(mi)
386 }
387 return ms
388 }
389 return mi.MessageOf(x)
390 }
391
392
393 func (*EndpointMatcher_MetadataLabelMatcher) Descriptor() ([]byte, []int) {
394 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{2, 0}
395 }
396
397 func (x *EndpointMatcher_MetadataLabelMatcher) GetMetadataLabelMatchCriteria() EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria {
398 if x != nil {
399 return x.MetadataLabelMatchCriteria
400 }
401 return EndpointMatcher_MetadataLabelMatcher_METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED
402 }
403
404 func (x *EndpointMatcher_MetadataLabelMatcher) GetMetadataLabels() []*EndpointMatcher_MetadataLabelMatcher_MetadataLabels {
405 if x != nil {
406 return x.MetadataLabels
407 }
408 return nil
409 }
410
411
412 type EndpointMatcher_MetadataLabelMatcher_MetadataLabels struct {
413 state protoimpl.MessageState
414 sizeCache protoimpl.SizeCache
415 unknownFields protoimpl.UnknownFields
416
417
418 LabelName string `protobuf:"bytes,1,opt,name=label_name,json=labelName,proto3" json:"label_name,omitempty"`
419
420
421 LabelValue string `protobuf:"bytes,2,opt,name=label_value,json=labelValue,proto3" json:"label_value,omitempty"`
422 }
423
424 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Reset() {
425 *x = EndpointMatcher_MetadataLabelMatcher_MetadataLabels{}
426 if protoimpl.UnsafeEnabled {
427 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[4]
428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
429 ms.StoreMessageInfo(mi)
430 }
431 }
432
433 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) String() string {
434 return protoimpl.X.MessageStringOf(x)
435 }
436
437 func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoMessage() {}
438
439 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoReflect() protoreflect.Message {
440 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[4]
441 if protoimpl.UnsafeEnabled && x != nil {
442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
443 if ms.LoadMessageInfo() == nil {
444 ms.StoreMessageInfo(mi)
445 }
446 return ms
447 }
448 return mi.MessageOf(x)
449 }
450
451
452 func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Descriptor() ([]byte, []int) {
453 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{2, 0, 0}
454 }
455
456 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelName() string {
457 if x != nil {
458 return x.LabelName
459 }
460 return ""
461 }
462
463 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelValue() string {
464 if x != nil {
465 return x.LabelValue
466 }
467 return ""
468 }
469
470 var File_google_cloud_networkservices_v1_common_proto protoreflect.FileDescriptor
471
472 var file_google_cloud_networkservices_v1_common_proto_rawDesc = []byte{
473 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e,
474 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76,
475 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f,
476 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74,
477 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a,
478 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
479 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
480 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
481 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
482 0x6f, 0x22, 0xd5, 0x02, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
483 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
484 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
485 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
486 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63,
487 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64,
488 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
489 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
490 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x65, 0x6e,
491 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18,
492 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67,
493 0x65, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x76, 0x65, 0x72, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
494 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x76, 0x65, 0x72, 0x62, 0x12, 0x2a, 0x0a, 0x0e, 0x73,
495 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20,
496 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
497 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65,
498 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,
499 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x72, 0x65,
500 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74,
501 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
502 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x61,
503 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x0a, 0x13, 0x54, 0x72, 0x61,
504 0x66, 0x66, 0x69, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,
505 0x12, 0x19, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42,
506 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0xa5, 0x05, 0x0a, 0x0f,
507 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12,
508 0x7d, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65,
509 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
510 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e,
511 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76,
512 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
513 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d,
514 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x14, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
515 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x1a, 0x82,
516 0x04, 0x0a, 0x14, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c,
517 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0xa3, 0x01, 0x0a, 0x1d, 0x6d, 0x65, 0x74, 0x61,
518 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68,
519 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
520 0x60, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e,
521 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76,
522 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
523 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d,
524 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c,
525 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69,
526 0x61, 0x52, 0x1a, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c,
527 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x12, 0x7d, 0x0a,
528 0x0f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
529 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x54, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
530 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72,
531 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
532 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
533 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x65,
534 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x0e, 0x6d, 0x65,
535 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x5a, 0x0a, 0x0e,
536 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x22,
537 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
538 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61,
539 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
540 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6c, 0x61,
541 0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x69, 0x0a, 0x1a, 0x4d, 0x65, 0x74, 0x61,
542 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72,
543 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x12, 0x2d, 0x0a, 0x29, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41,
544 0x54, 0x41, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x43,
545 0x52, 0x49, 0x54, 0x45, 0x52, 0x49, 0x41, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
546 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x41,
547 0x4e, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x41, 0x4c,
548 0x4c, 0x10, 0x02, 0x42, 0x0e, 0x0a, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x74,
549 0x79, 0x70, 0x65, 0x42, 0xed, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
550 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
551 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d,
552 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67,
553 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
554 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
555 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
556 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x65, 0x74, 0x77, 0x6f,
557 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f,
558 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
559 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47,
560 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65, 0x74, 0x77,
561 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02,
562 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
563 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a,
564 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
565 }
566
567 var (
568 file_google_cloud_networkservices_v1_common_proto_rawDescOnce sync.Once
569 file_google_cloud_networkservices_v1_common_proto_rawDescData = file_google_cloud_networkservices_v1_common_proto_rawDesc
570 )
571
572 func file_google_cloud_networkservices_v1_common_proto_rawDescGZIP() []byte {
573 file_google_cloud_networkservices_v1_common_proto_rawDescOnce.Do(func() {
574 file_google_cloud_networkservices_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networkservices_v1_common_proto_rawDescData)
575 })
576 return file_google_cloud_networkservices_v1_common_proto_rawDescData
577 }
578
579 var file_google_cloud_networkservices_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
580 var file_google_cloud_networkservices_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
581 var file_google_cloud_networkservices_v1_common_proto_goTypes = []interface{}{
582 (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria)(0),
583 (*OperationMetadata)(nil),
584 (*TrafficPortSelector)(nil),
585 (*EndpointMatcher)(nil),
586 (*EndpointMatcher_MetadataLabelMatcher)(nil),
587 (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels)(nil),
588 (*timestamppb.Timestamp)(nil),
589 }
590 var file_google_cloud_networkservices_v1_common_proto_depIdxs = []int32{
591 6,
592 6,
593 4,
594 0,
595 5,
596 5,
597 5,
598 5,
599 5,
600 0,
601 }
602
603 func init() { file_google_cloud_networkservices_v1_common_proto_init() }
604 func file_google_cloud_networkservices_v1_common_proto_init() {
605 if File_google_cloud_networkservices_v1_common_proto != nil {
606 return
607 }
608 if !protoimpl.UnsafeEnabled {
609 file_google_cloud_networkservices_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
610 switch v := v.(*OperationMetadata); i {
611 case 0:
612 return &v.state
613 case 1:
614 return &v.sizeCache
615 case 2:
616 return &v.unknownFields
617 default:
618 return nil
619 }
620 }
621 file_google_cloud_networkservices_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
622 switch v := v.(*TrafficPortSelector); i {
623 case 0:
624 return &v.state
625 case 1:
626 return &v.sizeCache
627 case 2:
628 return &v.unknownFields
629 default:
630 return nil
631 }
632 }
633 file_google_cloud_networkservices_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
634 switch v := v.(*EndpointMatcher); i {
635 case 0:
636 return &v.state
637 case 1:
638 return &v.sizeCache
639 case 2:
640 return &v.unknownFields
641 default:
642 return nil
643 }
644 }
645 file_google_cloud_networkservices_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
646 switch v := v.(*EndpointMatcher_MetadataLabelMatcher); i {
647 case 0:
648 return &v.state
649 case 1:
650 return &v.sizeCache
651 case 2:
652 return &v.unknownFields
653 default:
654 return nil
655 }
656 }
657 file_google_cloud_networkservices_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
658 switch v := v.(*EndpointMatcher_MetadataLabelMatcher_MetadataLabels); i {
659 case 0:
660 return &v.state
661 case 1:
662 return &v.sizeCache
663 case 2:
664 return &v.unknownFields
665 default:
666 return nil
667 }
668 }
669 }
670 file_google_cloud_networkservices_v1_common_proto_msgTypes[2].OneofWrappers = []interface{}{
671 (*EndpointMatcher_MetadataLabelMatcher_)(nil),
672 }
673 type x struct{}
674 out := protoimpl.TypeBuilder{
675 File: protoimpl.DescBuilder{
676 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
677 RawDescriptor: file_google_cloud_networkservices_v1_common_proto_rawDesc,
678 NumEnums: 1,
679 NumMessages: 5,
680 NumExtensions: 0,
681 NumServices: 0,
682 },
683 GoTypes: file_google_cloud_networkservices_v1_common_proto_goTypes,
684 DependencyIndexes: file_google_cloud_networkservices_v1_common_proto_depIdxs,
685 EnumInfos: file_google_cloud_networkservices_v1_common_proto_enumTypes,
686 MessageInfos: file_google_cloud_networkservices_v1_common_proto_msgTypes,
687 }.Build()
688 File_google_cloud_networkservices_v1_common_proto = out.File
689 file_google_cloud_networkservices_v1_common_proto_rawDesc = nil
690 file_google_cloud_networkservices_v1_common_proto_goTypes = nil
691 file_google_cloud_networkservices_v1_common_proto_depIdxs = nil
692 }
693
View as plain text