Debian Codegraph @

networkservices/apiv1/networkservicespb/common.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/networkservices/v1/common.proto
20
21 package networkservicespb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // EnvoyHeader configuration for Mesh and Gateway
40 type EnvoyHeaders int32
41
42 const (
43 // Defaults to NONE.
44 EnvoyHeaders_ENVOY_HEADERS_UNSPECIFIED EnvoyHeaders = 0
45 // Suppress envoy debug headers.
46 EnvoyHeaders_NONE EnvoyHeaders = 1
47 // Envoy will insert default internal debug headers into upstream requests:
48 // x-envoy-attempt-count
49 // x-envoy-is-timeout-retry
50 // x-envoy-expected-rq-timeout-ms
51 // x-envoy-original-path
52 // x-envoy-upstream-stream-duration-ms
53 EnvoyHeaders_DEBUG_HEADERS EnvoyHeaders = 2
54 )
55
56 // Enum value maps for EnvoyHeaders.
57 var (
58 EnvoyHeaders_name = map[int32]string{
59 0: "ENVOY_HEADERS_UNSPECIFIED",
60 1: "NONE",
61 2: "DEBUG_HEADERS",
62 }
63 EnvoyHeaders_value = map[string]int32{
64 "ENVOY_HEADERS_UNSPECIFIED": 0,
65 "NONE": 1,
66 "DEBUG_HEADERS": 2,
67 }
68 )
69
70 func (x EnvoyHeaders) Enum() *EnvoyHeaders {
71 p := new(EnvoyHeaders)
72 *p = x
73 return p
74 }
75
76 func (x EnvoyHeaders) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (EnvoyHeaders) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_cloud_networkservices_v1_common_proto_enumTypes[0].Descriptor()
82 }
83
84 func (EnvoyHeaders) Type() protoreflect.EnumType {
85 return &file_google_cloud_networkservices_v1_common_proto_enumTypes[0]
86 }
87
88 func (x EnvoyHeaders) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92 // Deprecated: Use EnvoyHeaders.Descriptor instead.
93 func (EnvoyHeaders) EnumDescriptor() ([]byte, []int) {
94 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{0}
95 }
96
97 // Possible criteria values that define logic of how matching is made.
98 type EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria int32
99
100 const (
101 // Default value. Should not be used.
102 EndpointMatcher_MetadataLabelMatcher_METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 0
103 // At least one of the Labels specified in the matcher should match the
104 // metadata presented by xDS client.
105 EndpointMatcher_MetadataLabelMatcher_MATCH_ANY EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 1
106 // The metadata presented by the xDS client should contain all of the
107 // labels specified here.
108 EndpointMatcher_MetadataLabelMatcher_MATCH_ALL EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 2
109 )
110
111 // Enum value maps for EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria.
112 var (
113 EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria_name = map[int32]string{
114 0: "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED",
115 1: "MATCH_ANY",
116 2: "MATCH_ALL",
117 }
118 EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria_value = map[string]int32{
119 "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED": 0,
120 "MATCH_ANY": 1,
121 "MATCH_ALL": 2,
122 }
123 )
124
125 func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Enum() *EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria {
126 p := new(EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria)
127 *p = x
128 return p
129 }
130
131 func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) String() string {
132 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
133 }
134
135 func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Descriptor() protoreflect.EnumDescriptor {
136 return file_google_cloud_networkservices_v1_common_proto_enumTypes[1].Descriptor()
137 }
138
139 func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Type() protoreflect.EnumType {
140 return &file_google_cloud_networkservices_v1_common_proto_enumTypes[1]
141 }
142
143 func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Number() protoreflect.EnumNumber {
144 return protoreflect.EnumNumber(x)
145 }
146
147 // Deprecated: Use EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria.Descriptor instead.
148 func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) EnumDescriptor() ([]byte, []int) {
149 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{2, 0, 0}
150 }
151
152 // Represents the metadata of the long-running operation.
153 type OperationMetadata struct {
154 state protoimpl.MessageState
155 sizeCache protoimpl.SizeCache
156 unknownFields protoimpl.UnknownFields
157
158 // Output only. The time the operation was created.
159 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
160 // Output only. The time the operation finished running.
161 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
162 // Output only. Server-defined resource path for the target of the operation.
163 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
164 // Output only. Name of the verb executed by the operation.
165 Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
166 // Output only. Human-readable status of the operation, if any.
167 StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
168 // Output only. Identifies whether the user has requested cancellation
169 // of the operation. Operations that have successfully been cancelled
170 // have [Operation.error][] value with a
171 // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
172 // `Code.CANCELLED`.
173 RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
174 // Output only. API version used to start the operation.
175 ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
176 }
177
178 func (x *OperationMetadata) Reset() {
179 *x = OperationMetadata{}
180 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[0]
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 ms.StoreMessageInfo(mi)
183 }
184
185 func (x *OperationMetadata) String() string {
186 return protoimpl.X.MessageStringOf(x)
187 }
188
189 func (*OperationMetadata) ProtoMessage() {}
190
191 func (x *OperationMetadata) ProtoReflect() protoreflect.Message {
192 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[0]
193 if x != nil {
194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195 if ms.LoadMessageInfo() == nil {
196 ms.StoreMessageInfo(mi)
197 }
198 return ms
199 }
200 return mi.MessageOf(x)
201 }
202
203 // Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
204 func (*OperationMetadata) Descriptor() ([]byte, []int) {
205 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{0}
206 }
207
208 func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp {
209 if x != nil {
210 return x.CreateTime
211 }
212 return nil
213 }
214
215 func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp {
216 if x != nil {
217 return x.EndTime
218 }
219 return nil
220 }
221
222 func (x *OperationMetadata) GetTarget() string {
223 if x != nil {
224 return x.Target
225 }
226 return ""
227 }
228
229 func (x *OperationMetadata) GetVerb() string {
230 if x != nil {
231 return x.Verb
232 }
233 return ""
234 }
235
236 func (x *OperationMetadata) GetStatusMessage() string {
237 if x != nil {
238 return x.StatusMessage
239 }
240 return ""
241 }
242
243 func (x *OperationMetadata) GetRequestedCancellation() bool {
244 if x != nil {
245 return x.RequestedCancellation
246 }
247 return false
248 }
249
250 func (x *OperationMetadata) GetApiVersion() string {
251 if x != nil {
252 return x.ApiVersion
253 }
254 return ""
255 }
256
257 // Specification of a port-based selector.
258 type TrafficPortSelector struct {
259 state protoimpl.MessageState
260 sizeCache protoimpl.SizeCache
261 unknownFields protoimpl.UnknownFields
262
263 // Optional. A list of ports. Can be port numbers or port range
264 // (example, [80-90] specifies all ports from 80 to 90, including
265 // 80 and 90) or named ports or * to specify all ports. If the
266 // list is empty, all ports are selected.
267 Ports []string `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"`
268 }
269
270 func (x *TrafficPortSelector) Reset() {
271 *x = TrafficPortSelector{}
272 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[1]
273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274 ms.StoreMessageInfo(mi)
275 }
276
277 func (x *TrafficPortSelector) String() string {
278 return protoimpl.X.MessageStringOf(x)
279 }
280
281 func (*TrafficPortSelector) ProtoMessage() {}
282
283 func (x *TrafficPortSelector) ProtoReflect() protoreflect.Message {
284 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[1]
285 if x != nil {
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 if ms.LoadMessageInfo() == nil {
288 ms.StoreMessageInfo(mi)
289 }
290 return ms
291 }
292 return mi.MessageOf(x)
293 }
294
295 // Deprecated: Use TrafficPortSelector.ProtoReflect.Descriptor instead.
296 func (*TrafficPortSelector) Descriptor() ([]byte, []int) {
297 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{1}
298 }
299
300 func (x *TrafficPortSelector) GetPorts() []string {
301 if x != nil {
302 return x.Ports
303 }
304 return nil
305 }
306
307 // A definition of a matcher that selects endpoints to which the policies
308 // should be applied.
309 type EndpointMatcher struct {
310 state protoimpl.MessageState
311 sizeCache protoimpl.SizeCache
312 unknownFields protoimpl.UnknownFields
313
314 // Specifies type of the matcher used for this endpoint matcher.
315 //
316 // Types that are assignable to MatcherType:
317 //
318 // *EndpointMatcher_MetadataLabelMatcher_
319 MatcherType isEndpointMatcher_MatcherType `protobuf_oneof:"matcher_type"`
320 }
321
322 func (x *EndpointMatcher) Reset() {
323 *x = EndpointMatcher{}
324 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[2]
325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326 ms.StoreMessageInfo(mi)
327 }
328
329 func (x *EndpointMatcher) String() string {
330 return protoimpl.X.MessageStringOf(x)
331 }
332
333 func (*EndpointMatcher) ProtoMessage() {}
334
335 func (x *EndpointMatcher) ProtoReflect() protoreflect.Message {
336 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[2]
337 if x != nil {
338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
339 if ms.LoadMessageInfo() == nil {
340 ms.StoreMessageInfo(mi)
341 }
342 return ms
343 }
344 return mi.MessageOf(x)
345 }
346
347 // Deprecated: Use EndpointMatcher.ProtoReflect.Descriptor instead.
348 func (*EndpointMatcher) Descriptor() ([]byte, []int) {
349 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{2}
350 }
351
352 func (m *EndpointMatcher) GetMatcherType() isEndpointMatcher_MatcherType {
353 if m != nil {
354 return m.MatcherType
355 }
356 return nil
357 }
358
359 func (x *EndpointMatcher) GetMetadataLabelMatcher() *EndpointMatcher_MetadataLabelMatcher {
360 if x, ok := x.GetMatcherType().(*EndpointMatcher_MetadataLabelMatcher_); ok {
361 return x.MetadataLabelMatcher
362 }
363 return nil
364 }
365
366 type isEndpointMatcher_MatcherType interface {
367 isEndpointMatcher_MatcherType()
368 }
369
370 type EndpointMatcher_MetadataLabelMatcher_ struct {
371 // The matcher is based on node metadata presented by xDS clients.
372 MetadataLabelMatcher *EndpointMatcher_MetadataLabelMatcher `protobuf:"bytes,1,opt,name=metadata_label_matcher,json=metadataLabelMatcher,proto3,oneof"`
373 }
374
375 func (*EndpointMatcher_MetadataLabelMatcher_) isEndpointMatcher_MatcherType() {}
376
377 // The matcher that is based on node metadata presented by xDS clients.
378 type EndpointMatcher_MetadataLabelMatcher struct {
379 state protoimpl.MessageState
380 sizeCache protoimpl.SizeCache
381 unknownFields protoimpl.UnknownFields
382
383 // Specifies how matching should be done.
384 //
385 // Supported values are:
386 // MATCH_ANY: At least one of the Labels specified in the
387 //
388 // matcher should match the metadata presented by xDS client.
389 //
390 // MATCH_ALL: The metadata presented by the xDS client should
391 //
392 // contain all of the labels specified here.
393 //
394 // The selection is determined based on the best match. For
395 // example, suppose there are three EndpointPolicy
396 // resources P1, P2 and P3 and if P1 has a the matcher as
397 // MATCH_ANY <A:1, B:1>, P2 has MATCH_ALL <A:1,B:1>, and P3 has
398 // MATCH_ALL <A:1,B:1,C:1>.
399 //
400 // If a client with label <A:1> connects, the config from P1
401 // will be selected.
402 //
403 // If a client with label <A:1,B:1> connects, the config from P2
404 // will be selected.
405 //
406 // If a client with label <A:1,B:1,C:1> connects, the config
407 // from P3 will be selected.
408 //
409 // If there is more than one best match, (for example, if a
410 // config P4 with selector <A:1,D:1> exists and if a client with
411 // label <A:1,B:1,D:1> connects), pick up the one with older creation time.
412 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"`
413 // The list of label value pairs that must match labels in the
414 // provided metadata based on filterMatchCriteria This list can
415 // have at most 64 entries. The list can be empty if the match
416 // criteria is MATCH_ANY, to specify a wildcard match (i.e this
417 // matches any client).
418 MetadataLabels []*EndpointMatcher_MetadataLabelMatcher_MetadataLabels `protobuf:"bytes,2,rep,name=metadata_labels,json=metadataLabels,proto3" json:"metadata_labels,omitempty"`
419 }
420
421 func (x *EndpointMatcher_MetadataLabelMatcher) Reset() {
422 *x = EndpointMatcher_MetadataLabelMatcher{}
423 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[3]
424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
425 ms.StoreMessageInfo(mi)
426 }
427
428 func (x *EndpointMatcher_MetadataLabelMatcher) String() string {
429 return protoimpl.X.MessageStringOf(x)
430 }
431
432 func (*EndpointMatcher_MetadataLabelMatcher) ProtoMessage() {}
433
434 func (x *EndpointMatcher_MetadataLabelMatcher) ProtoReflect() protoreflect.Message {
435 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[3]
436 if x != nil {
437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
438 if ms.LoadMessageInfo() == nil {
439 ms.StoreMessageInfo(mi)
440 }
441 return ms
442 }
443 return mi.MessageOf(x)
444 }
445
446 // Deprecated: Use EndpointMatcher_MetadataLabelMatcher.ProtoReflect.Descriptor instead.
447 func (*EndpointMatcher_MetadataLabelMatcher) Descriptor() ([]byte, []int) {
448 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{2, 0}
449 }
450
451 func (x *EndpointMatcher_MetadataLabelMatcher) GetMetadataLabelMatchCriteria() EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria {
452 if x != nil {
453 return x.MetadataLabelMatchCriteria
454 }
455 return EndpointMatcher_MetadataLabelMatcher_METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED
456 }
457
458 func (x *EndpointMatcher_MetadataLabelMatcher) GetMetadataLabels() []*EndpointMatcher_MetadataLabelMatcher_MetadataLabels {
459 if x != nil {
460 return x.MetadataLabels
461 }
462 return nil
463 }
464
465 // Defines a name-pair value for a single label.
466 type EndpointMatcher_MetadataLabelMatcher_MetadataLabels struct {
467 state protoimpl.MessageState
468 sizeCache protoimpl.SizeCache
469 unknownFields protoimpl.UnknownFields
470
471 // Required. Label name presented as key in xDS Node Metadata.
472 LabelName string `protobuf:"bytes,1,opt,name=label_name,json=labelName,proto3" json:"label_name,omitempty"`
473 // Required. Label value presented as value corresponding to the above
474 // key, in xDS Node Metadata.
475 LabelValue string `protobuf:"bytes,2,opt,name=label_value,json=labelValue,proto3" json:"label_value,omitempty"`
476 }
477
478 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Reset() {
479 *x = EndpointMatcher_MetadataLabelMatcher_MetadataLabels{}
480 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[4]
481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
482 ms.StoreMessageInfo(mi)
483 }
484
485 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) String() string {
486 return protoimpl.X.MessageStringOf(x)
487 }
488
489 func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoMessage() {}
490
491 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoReflect() protoreflect.Message {
492 mi := &file_google_cloud_networkservices_v1_common_proto_msgTypes[4]
493 if x != nil {
494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
495 if ms.LoadMessageInfo() == nil {
496 ms.StoreMessageInfo(mi)
497 }
498 return ms
499 }
500 return mi.MessageOf(x)
501 }
502
503 // Deprecated: Use EndpointMatcher_MetadataLabelMatcher_MetadataLabels.ProtoReflect.Descriptor instead.
504 func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Descriptor() ([]byte, []int) {
505 return file_google_cloud_networkservices_v1_common_proto_rawDescGZIP(), []int{2, 0, 0}
506 }
507
508 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelName() string {
509 if x != nil {
510 return x.LabelName
511 }
512 return ""
513 }
514
515 func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelValue() string {
516 if x != nil {
517 return x.LabelValue
518 }
519 return ""
520 }
521
522 var File_google_cloud_networkservices_v1_common_proto protoreflect.FileDescriptor
523
524 var file_google_cloud_networkservices_v1_common_proto_rawDesc = []byte{
525 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e,
526 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76,
527 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f,
528 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74,
529 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a,
530 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
531 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
532 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
533 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
534 0x6f, 0x22, 0xd5, 0x02, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
535 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
536 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
537 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
538 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63,
539 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64,
540 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
541 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
542 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x65, 0x6e,
543 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18,
544 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67,
545 0x65, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x76, 0x65, 0x72, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
546 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x76, 0x65, 0x72, 0x62, 0x12, 0x2a, 0x0a, 0x0e, 0x73,
547 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20,
548 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
549 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65,
550 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,
551 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x72, 0x65,
552 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74,
553 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
554 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x61,
555 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x0a, 0x13, 0x54, 0x72, 0x61,
556 0x66, 0x66, 0x69, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,
557 0x12, 0x19, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42,
558 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0xa5, 0x05, 0x0a, 0x0f,
559 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12,
560 0x7d, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65,
561 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
562 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e,
563 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76,
564 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
565 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d,
566 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x14, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
567 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x1a, 0x82,
568 0x04, 0x0a, 0x14, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c,
569 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0xa3, 0x01, 0x0a, 0x1d, 0x6d, 0x65, 0x74, 0x61,
570 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68,
571 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
572 0x60, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e,
573 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76,
574 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
575 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d,
576 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c,
577 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69,
578 0x61, 0x52, 0x1a, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c,
579 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x12, 0x7d, 0x0a,
580 0x0f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
581 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x54, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
582 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72,
583 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
584 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
585 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x4d, 0x65,
586 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x0e, 0x6d, 0x65,
587 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x5a, 0x0a, 0x0e,
588 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x22,
589 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
590 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61,
591 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
592 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6c, 0x61,
593 0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x69, 0x0a, 0x1a, 0x4d, 0x65, 0x74, 0x61,
594 0x64, 0x61, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72,
595 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x12, 0x2d, 0x0a, 0x29, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41,
596 0x54, 0x41, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x43,
597 0x52, 0x49, 0x54, 0x45, 0x52, 0x49, 0x41, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
598 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x41,
599 0x4e, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x41, 0x4c,
600 0x4c, 0x10, 0x02, 0x42, 0x0e, 0x0a, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x74,
601 0x79, 0x70, 0x65, 0x2a, 0x4a, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x48, 0x65, 0x61, 0x64,
602 0x65, 0x72, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x4e, 0x56, 0x4f, 0x59, 0x5f, 0x48, 0x45, 0x41,
603 0x44, 0x45, 0x52, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
604 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d,
605 0x44, 0x45, 0x42, 0x55, 0x47, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x53, 0x10, 0x02, 0x42,
606 0xec, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
607 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
608 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50,
609 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f,
610 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6e, 0x65, 0x74, 0x77,
611 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76,
612 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
613 0x73, 0x70, 0x62, 0x3b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69,
614 0x63, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
615 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76,
616 0x69, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
617 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65,
618 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67,
619 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x65, 0x74, 0x77, 0x6f,
620 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
621 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
622 }
623
624 var (
625 file_google_cloud_networkservices_v1_common_proto_rawDescOnce sync.Once
626 file_google_cloud_networkservices_v1_common_proto_rawDescData = file_google_cloud_networkservices_v1_common_proto_rawDesc
627 )
628
629 func file_google_cloud_networkservices_v1_common_proto_rawDescGZIP() []byte {
630 file_google_cloud_networkservices_v1_common_proto_rawDescOnce.Do(func() {
631 file_google_cloud_networkservices_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networkservices_v1_common_proto_rawDescData)
632 })
633 return file_google_cloud_networkservices_v1_common_proto_rawDescData
634 }
635
636 var file_google_cloud_networkservices_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
637 var file_google_cloud_networkservices_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
638 var file_google_cloud_networkservices_v1_common_proto_goTypes = []any{
639 (EnvoyHeaders)(0), // 0: google.cloud.networkservices.v1.EnvoyHeaders
640 (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria)(0), // 1: google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.MetadataLabelMatchCriteria
641 (*OperationMetadata)(nil), // 2: google.cloud.networkservices.v1.OperationMetadata
642 (*TrafficPortSelector)(nil), // 3: google.cloud.networkservices.v1.TrafficPortSelector
643 (*EndpointMatcher)(nil), // 4: google.cloud.networkservices.v1.EndpointMatcher
644 (*EndpointMatcher_MetadataLabelMatcher)(nil), // 5: google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher
645 (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels)(nil), // 6: google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.MetadataLabels
646 (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
647 }
648 var file_google_cloud_networkservices_v1_common_proto_depIdxs = []int32{
649 7, // 0: google.cloud.networkservices.v1.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp
650 7, // 1: google.cloud.networkservices.v1.OperationMetadata.end_time:type_name -> google.protobuf.Timestamp
651 5, // 2: google.cloud.networkservices.v1.EndpointMatcher.metadata_label_matcher:type_name -> google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher
652 1, // 3: google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.metadata_label_match_criteria:type_name -> google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.MetadataLabelMatchCriteria
653 6, // 4: google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.metadata_labels:type_name -> google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.MetadataLabels
654 5, // [5:5] is the sub-list for method output_type
655 5, // [5:5] is the sub-list for method input_type
656 5, // [5:5] is the sub-list for extension type_name
657 5, // [5:5] is the sub-list for extension extendee
658 0, // [0:5] is the sub-list for field type_name
659 }
660
661 func init() { file_google_cloud_networkservices_v1_common_proto_init() }
662 func file_google_cloud_networkservices_v1_common_proto_init() {
663 if File_google_cloud_networkservices_v1_common_proto != nil {
664 return
665 }
666 file_google_cloud_networkservices_v1_common_proto_msgTypes[2].OneofWrappers = []any{
667 (*EndpointMatcher_MetadataLabelMatcher_)(nil),
668 }
669 type x struct{}
670 out := protoimpl.TypeBuilder{
671 File: protoimpl.DescBuilder{
672 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
673 RawDescriptor: file_google_cloud_networkservices_v1_common_proto_rawDesc,
674 NumEnums: 2,
675 NumMessages: 5,
676 NumExtensions: 0,
677 NumServices: 0,
678 },
679 GoTypes: file_google_cloud_networkservices_v1_common_proto_goTypes,
680 DependencyIndexes: file_google_cloud_networkservices_v1_common_proto_depIdxs,
681 EnumInfos: file_google_cloud_networkservices_v1_common_proto_enumTypes,
682 MessageInfos: file_google_cloud_networkservices_v1_common_proto_msgTypes,
683 }.Build()
684 File_google_cloud_networkservices_v1_common_proto = out.File
685 file_google_cloud_networkservices_v1_common_proto_rawDesc = nil
686 file_google_cloud_networkservices_v1_common_proto_goTypes = nil
687 file_google_cloud_networkservices_v1_common_proto_depIdxs = nil
688 }