Debian Codegraph @

googleapis/cloud/networkservices/v1/tcp_route.pb.go

raw symbols SCIP
1 // Copyright 2022 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/networkservices/v1/tcp_route.proto
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 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // TcpRoute is the resource defining how TCP traffic should be routed by a
42 // Mesh/Gateway resource.
43 type TcpRoute struct {
44 state protoimpl.MessageState
45 sizeCache protoimpl.SizeCache
46 unknownFields protoimpl.UnknownFields
47
48 // Required. Name of the TcpRoute resource. It matches pattern
49 // `projects/*/locations/global/tcpRoutes/tcp_route_name>`.
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51 // Output only. Server-defined URL of this resource
52 SelfLink string `protobuf:"bytes,11,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
53 // Output only. The timestamp when the resource was created.
54 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
55 // Output only. The timestamp when the resource was updated.
56 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
57 // Optional. A free-text description of the resource. Max length 1024 characters.
58 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
59 // Required. Rules that define how traffic is routed and handled. At least one RouteRule
60 // must be supplied. If there are multiple rules then the action taken will be
61 // the first rule to match.
62 Rules []*TcpRoute_RouteRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
63 // Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the
64 // routing rules to route the requests served by the mesh.
65 //
66 // Each mesh reference should match the pattern:
67 // `projects/*/locations/global/meshes/<mesh_name>`
68 //
69 // The attached Mesh should be of a type SIDECAR
70 Meshes []string `protobuf:"bytes,8,rep,name=meshes,proto3" json:"meshes,omitempty"`
71 // Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of
72 // the routing rules to route the requests served by the gateway.
73 //
74 // Each gateway reference should match the pattern:
75 // `projects/*/locations/global/gateways/<gateway_name>`
76 Gateways []string `protobuf:"bytes,9,rep,name=gateways,proto3" json:"gateways,omitempty"`
77 // Optional. Set of label tags associated with the TcpRoute resource.
78 Labels map[string]string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
79 }
80
81 func (x *TcpRoute) Reset() {
82 *x = TcpRoute{}
83 if protoimpl.UnsafeEnabled {
84 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[0]
85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
86 ms.StoreMessageInfo(mi)
87 }
88 }
89
90 func (x *TcpRoute) String() string {
91 return protoimpl.X.MessageStringOf(x)
92 }
93
94 func (*TcpRoute) ProtoMessage() {}
95
96 func (x *TcpRoute) ProtoReflect() protoreflect.Message {
97 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[0]
98 if protoimpl.UnsafeEnabled && x != nil {
99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
100 if ms.LoadMessageInfo() == nil {
101 ms.StoreMessageInfo(mi)
102 }
103 return ms
104 }
105 return mi.MessageOf(x)
106 }
107
108 // Deprecated: Use TcpRoute.ProtoReflect.Descriptor instead.
109 func (*TcpRoute) Descriptor() ([]byte, []int) {
110 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{0}
111 }
112
113 func (x *TcpRoute) GetName() string {
114 if x != nil {
115 return x.Name
116 }
117 return ""
118 }
119
120 func (x *TcpRoute) GetSelfLink() string {
121 if x != nil {
122 return x.SelfLink
123 }
124 return ""
125 }
126
127 func (x *TcpRoute) GetCreateTime() *timestamppb.Timestamp {
128 if x != nil {
129 return x.CreateTime
130 }
131 return nil
132 }
133
134 func (x *TcpRoute) GetUpdateTime() *timestamppb.Timestamp {
135 if x != nil {
136 return x.UpdateTime
137 }
138 return nil
139 }
140
141 func (x *TcpRoute) GetDescription() string {
142 if x != nil {
143 return x.Description
144 }
145 return ""
146 }
147
148 func (x *TcpRoute) GetRules() []*TcpRoute_RouteRule {
149 if x != nil {
150 return x.Rules
151 }
152 return nil
153 }
154
155 func (x *TcpRoute) GetMeshes() []string {
156 if x != nil {
157 return x.Meshes
158 }
159 return nil
160 }
161
162 func (x *TcpRoute) GetGateways() []string {
163 if x != nil {
164 return x.Gateways
165 }
166 return nil
167 }
168
169 func (x *TcpRoute) GetLabels() map[string]string {
170 if x != nil {
171 return x.Labels
172 }
173 return nil
174 }
175
176 // Request used with the ListTcpRoutes method.
177 type ListTcpRoutesRequest struct {
178 state protoimpl.MessageState
179 sizeCache protoimpl.SizeCache
180 unknownFields protoimpl.UnknownFields
181
182 // Required. The project and location from which the TcpRoutes should be
183 // listed, specified in the format `projects/*/locations/global`.
184 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
185 // Maximum number of TcpRoutes to return per call.
186 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
187 // The value returned by the last `ListTcpRoutesResponse`
188 // Indicates that this is a continuation of a prior `ListTcpRoutes` call,
189 // and that the system should return the next page of data.
190 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
191 }
192
193 func (x *ListTcpRoutesRequest) Reset() {
194 *x = ListTcpRoutesRequest{}
195 if protoimpl.UnsafeEnabled {
196 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[1]
197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
198 ms.StoreMessageInfo(mi)
199 }
200 }
201
202 func (x *ListTcpRoutesRequest) String() string {
203 return protoimpl.X.MessageStringOf(x)
204 }
205
206 func (*ListTcpRoutesRequest) ProtoMessage() {}
207
208 func (x *ListTcpRoutesRequest) ProtoReflect() protoreflect.Message {
209 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[1]
210 if protoimpl.UnsafeEnabled && x != nil {
211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
212 if ms.LoadMessageInfo() == nil {
213 ms.StoreMessageInfo(mi)
214 }
215 return ms
216 }
217 return mi.MessageOf(x)
218 }
219
220 // Deprecated: Use ListTcpRoutesRequest.ProtoReflect.Descriptor instead.
221 func (*ListTcpRoutesRequest) Descriptor() ([]byte, []int) {
222 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{1}
223 }
224
225 func (x *ListTcpRoutesRequest) GetParent() string {
226 if x != nil {
227 return x.Parent
228 }
229 return ""
230 }
231
232 func (x *ListTcpRoutesRequest) GetPageSize() int32 {
233 if x != nil {
234 return x.PageSize
235 }
236 return 0
237 }
238
239 func (x *ListTcpRoutesRequest) GetPageToken() string {
240 if x != nil {
241 return x.PageToken
242 }
243 return ""
244 }
245
246 // Response returned by the ListTcpRoutes method.
247 type ListTcpRoutesResponse struct {
248 state protoimpl.MessageState
249 sizeCache protoimpl.SizeCache
250 unknownFields protoimpl.UnknownFields
251
252 // List of TcpRoute resources.
253 TcpRoutes []*TcpRoute `protobuf:"bytes,1,rep,name=tcp_routes,json=tcpRoutes,proto3" json:"tcp_routes,omitempty"`
254 // If there might be more results than those appearing in this response, then
255 // `next_page_token` is included. To get the next set of results, call this
256 // method again using the value of `next_page_token` as `page_token`.
257 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
258 }
259
260 func (x *ListTcpRoutesResponse) Reset() {
261 *x = ListTcpRoutesResponse{}
262 if protoimpl.UnsafeEnabled {
263 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[2]
264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
265 ms.StoreMessageInfo(mi)
266 }
267 }
268
269 func (x *ListTcpRoutesResponse) String() string {
270 return protoimpl.X.MessageStringOf(x)
271 }
272
273 func (*ListTcpRoutesResponse) ProtoMessage() {}
274
275 func (x *ListTcpRoutesResponse) ProtoReflect() protoreflect.Message {
276 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[2]
277 if protoimpl.UnsafeEnabled && x != nil {
278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279 if ms.LoadMessageInfo() == nil {
280 ms.StoreMessageInfo(mi)
281 }
282 return ms
283 }
284 return mi.MessageOf(x)
285 }
286
287 // Deprecated: Use ListTcpRoutesResponse.ProtoReflect.Descriptor instead.
288 func (*ListTcpRoutesResponse) Descriptor() ([]byte, []int) {
289 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{2}
290 }
291
292 func (x *ListTcpRoutesResponse) GetTcpRoutes() []*TcpRoute {
293 if x != nil {
294 return x.TcpRoutes
295 }
296 return nil
297 }
298
299 func (x *ListTcpRoutesResponse) GetNextPageToken() string {
300 if x != nil {
301 return x.NextPageToken
302 }
303 return ""
304 }
305
306 // Request used by the GetTcpRoute method.
307 type GetTcpRouteRequest struct {
308 state protoimpl.MessageState
309 sizeCache protoimpl.SizeCache
310 unknownFields protoimpl.UnknownFields
311
312 // Required. A name of the TcpRoute to get. Must be in the format
313 // `projects/*/locations/global/tcpRoutes/*`.
314 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
315 }
316
317 func (x *GetTcpRouteRequest) Reset() {
318 *x = GetTcpRouteRequest{}
319 if protoimpl.UnsafeEnabled {
320 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[3]
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 ms.StoreMessageInfo(mi)
323 }
324 }
325
326 func (x *GetTcpRouteRequest) String() string {
327 return protoimpl.X.MessageStringOf(x)
328 }
329
330 func (*GetTcpRouteRequest) ProtoMessage() {}
331
332 func (x *GetTcpRouteRequest) ProtoReflect() protoreflect.Message {
333 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[3]
334 if protoimpl.UnsafeEnabled && x != nil {
335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
336 if ms.LoadMessageInfo() == nil {
337 ms.StoreMessageInfo(mi)
338 }
339 return ms
340 }
341 return mi.MessageOf(x)
342 }
343
344 // Deprecated: Use GetTcpRouteRequest.ProtoReflect.Descriptor instead.
345 func (*GetTcpRouteRequest) Descriptor() ([]byte, []int) {
346 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{3}
347 }
348
349 func (x *GetTcpRouteRequest) GetName() string {
350 if x != nil {
351 return x.Name
352 }
353 return ""
354 }
355
356 // Request used by the TcpRoute method.
357 type CreateTcpRouteRequest struct {
358 state protoimpl.MessageState
359 sizeCache protoimpl.SizeCache
360 unknownFields protoimpl.UnknownFields
361
362 // Required. The parent resource of the TcpRoute. Must be in the
363 // format `projects/*/locations/global`.
364 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
365 // Required. Short name of the TcpRoute resource to be created. E.g. TODO(Add an
366 // example).
367 TcpRouteId string `protobuf:"bytes,2,opt,name=tcp_route_id,json=tcpRouteId,proto3" json:"tcp_route_id,omitempty"`
368 // Required. TcpRoute resource to be created.
369 TcpRoute *TcpRoute `protobuf:"bytes,3,opt,name=tcp_route,json=tcpRoute,proto3" json:"tcp_route,omitempty"`
370 }
371
372 func (x *CreateTcpRouteRequest) Reset() {
373 *x = CreateTcpRouteRequest{}
374 if protoimpl.UnsafeEnabled {
375 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[4]
376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
377 ms.StoreMessageInfo(mi)
378 }
379 }
380
381 func (x *CreateTcpRouteRequest) String() string {
382 return protoimpl.X.MessageStringOf(x)
383 }
384
385 func (*CreateTcpRouteRequest) ProtoMessage() {}
386
387 func (x *CreateTcpRouteRequest) ProtoReflect() protoreflect.Message {
388 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[4]
389 if protoimpl.UnsafeEnabled && x != nil {
390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
391 if ms.LoadMessageInfo() == nil {
392 ms.StoreMessageInfo(mi)
393 }
394 return ms
395 }
396 return mi.MessageOf(x)
397 }
398
399 // Deprecated: Use CreateTcpRouteRequest.ProtoReflect.Descriptor instead.
400 func (*CreateTcpRouteRequest) Descriptor() ([]byte, []int) {
401 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{4}
402 }
403
404 func (x *CreateTcpRouteRequest) GetParent() string {
405 if x != nil {
406 return x.Parent
407 }
408 return ""
409 }
410
411 func (x *CreateTcpRouteRequest) GetTcpRouteId() string {
412 if x != nil {
413 return x.TcpRouteId
414 }
415 return ""
416 }
417
418 func (x *CreateTcpRouteRequest) GetTcpRoute() *TcpRoute {
419 if x != nil {
420 return x.TcpRoute
421 }
422 return nil
423 }
424
425 // Request used by the UpdateTcpRoute method.
426 type UpdateTcpRouteRequest struct {
427 state protoimpl.MessageState
428 sizeCache protoimpl.SizeCache
429 unknownFields protoimpl.UnknownFields
430
431 // Optional. Field mask is used to specify the fields to be overwritten in the
432 // TcpRoute resource by the update.
433 // The fields specified in the update_mask are relative to the resource, not
434 // the full request. A field will be overwritten if it is in the mask. If the
435 // user does not provide a mask then all fields will be overwritten.
436 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
437 // Required. Updated TcpRoute resource.
438 TcpRoute *TcpRoute `protobuf:"bytes,2,opt,name=tcp_route,json=tcpRoute,proto3" json:"tcp_route,omitempty"`
439 }
440
441 func (x *UpdateTcpRouteRequest) Reset() {
442 *x = UpdateTcpRouteRequest{}
443 if protoimpl.UnsafeEnabled {
444 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[5]
445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
446 ms.StoreMessageInfo(mi)
447 }
448 }
449
450 func (x *UpdateTcpRouteRequest) String() string {
451 return protoimpl.X.MessageStringOf(x)
452 }
453
454 func (*UpdateTcpRouteRequest) ProtoMessage() {}
455
456 func (x *UpdateTcpRouteRequest) ProtoReflect() protoreflect.Message {
457 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[5]
458 if protoimpl.UnsafeEnabled && x != nil {
459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
460 if ms.LoadMessageInfo() == nil {
461 ms.StoreMessageInfo(mi)
462 }
463 return ms
464 }
465 return mi.MessageOf(x)
466 }
467
468 // Deprecated: Use UpdateTcpRouteRequest.ProtoReflect.Descriptor instead.
469 func (*UpdateTcpRouteRequest) Descriptor() ([]byte, []int) {
470 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{5}
471 }
472
473 func (x *UpdateTcpRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
474 if x != nil {
475 return x.UpdateMask
476 }
477 return nil
478 }
479
480 func (x *UpdateTcpRouteRequest) GetTcpRoute() *TcpRoute {
481 if x != nil {
482 return x.TcpRoute
483 }
484 return nil
485 }
486
487 // Request used by the DeleteTcpRoute method.
488 type DeleteTcpRouteRequest struct {
489 state protoimpl.MessageState
490 sizeCache protoimpl.SizeCache
491 unknownFields protoimpl.UnknownFields
492
493 // Required. A name of the TcpRoute to delete. Must be in the format
494 // `projects/*/locations/global/tcpRoutes/*`.
495 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
496 }
497
498 func (x *DeleteTcpRouteRequest) Reset() {
499 *x = DeleteTcpRouteRequest{}
500 if protoimpl.UnsafeEnabled {
501 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[6]
502 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
503 ms.StoreMessageInfo(mi)
504 }
505 }
506
507 func (x *DeleteTcpRouteRequest) String() string {
508 return protoimpl.X.MessageStringOf(x)
509 }
510
511 func (*DeleteTcpRouteRequest) ProtoMessage() {}
512
513 func (x *DeleteTcpRouteRequest) ProtoReflect() protoreflect.Message {
514 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[6]
515 if protoimpl.UnsafeEnabled && x != nil {
516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
517 if ms.LoadMessageInfo() == nil {
518 ms.StoreMessageInfo(mi)
519 }
520 return ms
521 }
522 return mi.MessageOf(x)
523 }
524
525 // Deprecated: Use DeleteTcpRouteRequest.ProtoReflect.Descriptor instead.
526 func (*DeleteTcpRouteRequest) Descriptor() ([]byte, []int) {
527 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{6}
528 }
529
530 func (x *DeleteTcpRouteRequest) GetName() string {
531 if x != nil {
532 return x.Name
533 }
534 return ""
535 }
536
537 // Specifies how to match traffic and how to route traffic when traffic is
538 // matched.
539 type TcpRoute_RouteRule struct {
540 state protoimpl.MessageState
541 sizeCache protoimpl.SizeCache
542 unknownFields protoimpl.UnknownFields
543
544 // Optional. RouteMatch defines the predicate used to match requests to a given
545 // action. Multiple match types are "OR"ed for evaluation.
546 // If no routeMatch field is specified, this rule will unconditionally match
547 // traffic.
548 Matches []*TcpRoute_RouteMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
549 // Required. The detailed rule defining how to route matched traffic.
550 Action *TcpRoute_RouteAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
551 }
552
553 func (x *TcpRoute_RouteRule) Reset() {
554 *x = TcpRoute_RouteRule{}
555 if protoimpl.UnsafeEnabled {
556 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[7]
557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
558 ms.StoreMessageInfo(mi)
559 }
560 }
561
562 func (x *TcpRoute_RouteRule) String() string {
563 return protoimpl.X.MessageStringOf(x)
564 }
565
566 func (*TcpRoute_RouteRule) ProtoMessage() {}
567
568 func (x *TcpRoute_RouteRule) ProtoReflect() protoreflect.Message {
569 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[7]
570 if protoimpl.UnsafeEnabled && x != nil {
571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
572 if ms.LoadMessageInfo() == nil {
573 ms.StoreMessageInfo(mi)
574 }
575 return ms
576 }
577 return mi.MessageOf(x)
578 }
579
580 // Deprecated: Use TcpRoute_RouteRule.ProtoReflect.Descriptor instead.
581 func (*TcpRoute_RouteRule) Descriptor() ([]byte, []int) {
582 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{0, 0}
583 }
584
585 func (x *TcpRoute_RouteRule) GetMatches() []*TcpRoute_RouteMatch {
586 if x != nil {
587 return x.Matches
588 }
589 return nil
590 }
591
592 func (x *TcpRoute_RouteRule) GetAction() *TcpRoute_RouteAction {
593 if x != nil {
594 return x.Action
595 }
596 return nil
597 }
598
599 // RouteMatch defines the predicate used to match requests to a given action.
600 // Multiple match types are "OR"ed for evaluation.
601 // If no routeMatch field is specified, this rule will unconditionally match
602 // traffic.
603 type TcpRoute_RouteMatch struct {
604 state protoimpl.MessageState
605 sizeCache protoimpl.SizeCache
606 unknownFields protoimpl.UnknownFields
607
608 // Required. Must be specified in the CIDR range format. A CIDR range consists of an
609 // IP Address and a prefix length to construct the subnet mask. By default,
610 // the prefix length is 32 (i.e. matches a single IP address). Only IPV4
611 // addresses are supported.
612 // Examples:
613 // "10.0.0.1" - matches against this exact IP address.
614 // "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet
615 // and 255.255.255.0 mask.
616 // "0.0.0.0/0" - matches against any IP address'.
617 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
618 // Required. Specifies the destination port to match against.
619 Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
620 }
621
622 func (x *TcpRoute_RouteMatch) Reset() {
623 *x = TcpRoute_RouteMatch{}
624 if protoimpl.UnsafeEnabled {
625 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[8]
626 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
627 ms.StoreMessageInfo(mi)
628 }
629 }
630
631 func (x *TcpRoute_RouteMatch) String() string {
632 return protoimpl.X.MessageStringOf(x)
633 }
634
635 func (*TcpRoute_RouteMatch) ProtoMessage() {}
636
637 func (x *TcpRoute_RouteMatch) ProtoReflect() protoreflect.Message {
638 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[8]
639 if protoimpl.UnsafeEnabled && x != nil {
640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
641 if ms.LoadMessageInfo() == nil {
642 ms.StoreMessageInfo(mi)
643 }
644 return ms
645 }
646 return mi.MessageOf(x)
647 }
648
649 // Deprecated: Use TcpRoute_RouteMatch.ProtoReflect.Descriptor instead.
650 func (*TcpRoute_RouteMatch) Descriptor() ([]byte, []int) {
651 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{0, 1}
652 }
653
654 func (x *TcpRoute_RouteMatch) GetAddress() string {
655 if x != nil {
656 return x.Address
657 }
658 return ""
659 }
660
661 func (x *TcpRoute_RouteMatch) GetPort() string {
662 if x != nil {
663 return x.Port
664 }
665 return ""
666 }
667
668 // The specifications for routing traffic and applying associated policies.
669 type TcpRoute_RouteAction struct {
670 state protoimpl.MessageState
671 sizeCache protoimpl.SizeCache
672 unknownFields protoimpl.UnknownFields
673
674 // Optional. The destination services to which traffic should be forwarded. At least
675 // one destination service is required.
676 Destinations []*TcpRoute_RouteDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
677 // Optional. If true, Router will use the destination IP and port of the original
678 // connection as the destination of the request. Default is false.
679 OriginalDestination bool `protobuf:"varint,3,opt,name=original_destination,json=originalDestination,proto3" json:"original_destination,omitempty"`
680 }
681
682 func (x *TcpRoute_RouteAction) Reset() {
683 *x = TcpRoute_RouteAction{}
684 if protoimpl.UnsafeEnabled {
685 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[9]
686 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
687 ms.StoreMessageInfo(mi)
688 }
689 }
690
691 func (x *TcpRoute_RouteAction) String() string {
692 return protoimpl.X.MessageStringOf(x)
693 }
694
695 func (*TcpRoute_RouteAction) ProtoMessage() {}
696
697 func (x *TcpRoute_RouteAction) ProtoReflect() protoreflect.Message {
698 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[9]
699 if protoimpl.UnsafeEnabled && x != nil {
700 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
701 if ms.LoadMessageInfo() == nil {
702 ms.StoreMessageInfo(mi)
703 }
704 return ms
705 }
706 return mi.MessageOf(x)
707 }
708
709 // Deprecated: Use TcpRoute_RouteAction.ProtoReflect.Descriptor instead.
710 func (*TcpRoute_RouteAction) Descriptor() ([]byte, []int) {
711 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{0, 2}
712 }
713
714 func (x *TcpRoute_RouteAction) GetDestinations() []*TcpRoute_RouteDestination {
715 if x != nil {
716 return x.Destinations
717 }
718 return nil
719 }
720
721 func (x *TcpRoute_RouteAction) GetOriginalDestination() bool {
722 if x != nil {
723 return x.OriginalDestination
724 }
725 return false
726 }
727
728 // Describe the destination for traffic to be routed to.
729 type TcpRoute_RouteDestination struct {
730 state protoimpl.MessageState
731 sizeCache protoimpl.SizeCache
732 unknownFields protoimpl.UnknownFields
733
734 // Required. The URL of a BackendService to route traffic to.
735 ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
736 // Optional. Specifies the proportion of requests forwarded to the backend referenced
737 // by the serviceName field. This is computed as:
738 // weight/Sum(weights in this destination list).
739 // For non-zero values, there may be some epsilon from the exact proportion
740 // defined here depending on the precision an implementation supports.
741 //
742 // If only one serviceName is specified and it has a weight greater than 0,
743 // 100% of the traffic is forwarded to that backend.
744 //
745 // If weights are specified for any one service name, they need to be
746 // specified for all of them.
747 //
748 // If weights are unspecified for all services, then, traffic is distributed
749 // in equal proportions to all of them.
750 Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
751 }
752
753 func (x *TcpRoute_RouteDestination) Reset() {
754 *x = TcpRoute_RouteDestination{}
755 if protoimpl.UnsafeEnabled {
756 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[10]
757 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
758 ms.StoreMessageInfo(mi)
759 }
760 }
761
762 func (x *TcpRoute_RouteDestination) String() string {
763 return protoimpl.X.MessageStringOf(x)
764 }
765
766 func (*TcpRoute_RouteDestination) ProtoMessage() {}
767
768 func (x *TcpRoute_RouteDestination) ProtoReflect() protoreflect.Message {
769 mi := &file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[10]
770 if protoimpl.UnsafeEnabled && x != nil {
771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
772 if ms.LoadMessageInfo() == nil {
773 ms.StoreMessageInfo(mi)
774 }
775 return ms
776 }
777 return mi.MessageOf(x)
778 }
779
780 // Deprecated: Use TcpRoute_RouteDestination.ProtoReflect.Descriptor instead.
781 func (*TcpRoute_RouteDestination) Descriptor() ([]byte, []int) {
782 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP(), []int{0, 3}
783 }
784
785 func (x *TcpRoute_RouteDestination) GetServiceName() string {
786 if x != nil {
787 return x.ServiceName
788 }
789 return ""
790 }
791
792 func (x *TcpRoute_RouteDestination) GetWeight() int32 {
793 if x != nil {
794 return x.Weight
795 }
796 return 0
797 }
798
799 var File_google_cloud_networkservices_v1_tcp_route_proto protoreflect.FileDescriptor
800
801 var file_google_cloud_networkservices_v1_tcp_route_proto_rawDesc = []byte{
802 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e,
803 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76,
804 0x31, 0x2f, 0x74, 0x63, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
805 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
806 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e,
807 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
808 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
809 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
810 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
811 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
812 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
813 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
814 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
815 0x6f, 0x22, 0xfb, 0x09, 0x0a, 0x08, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x17,
816 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
817 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x66, 0x5f,
818 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
819 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65,
820 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
821 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
822 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
823 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75,
824 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
825 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
826 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
827 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a,
828 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
829 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
830 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20,
831 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
832 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
833 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x52,
834 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x72,
835 0x75, 0x6c, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x06, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x73, 0x18, 0x08,
836 0x20, 0x03, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6e, 0x65,
837 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f,
838 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x65, 0x73,
839 0x68, 0x52, 0x06, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x08, 0x67, 0x61, 0x74,
840 0x65, 0x77, 0x61, 0x79, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x01,
841 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
842 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
843 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x08, 0x67, 0x61, 0x74,
844 0x65, 0x77, 0x61, 0x79, 0x73, 0x12, 0x52, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
845 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
846 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
847 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
848 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41,
849 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0xb4, 0x01, 0x0a, 0x09, 0x52, 0x6f,
850 0x75, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x53, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68,
851 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
852 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
853 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x63, 0x70, 0x52, 0x6f,
854 0x75, 0x74, 0x65, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x42, 0x03,
855 0xe0, 0x41, 0x01, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x06,
856 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67,
857 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77,
858 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54,
859 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x41, 0x63, 0x74,
860 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
861 0x1a, 0x44, 0x0a, 0x0a, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1d,
862 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
863 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a,
864 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
865 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0xaa, 0x01, 0x0a, 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x65,
866 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
867 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67,
868 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77,
869 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54,
870 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x44, 0x65, 0x73,
871 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x64,
872 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x36, 0x0a, 0x14, 0x6f,
873 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
874 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x13,
875 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
876 0x69, 0x6f, 0x6e, 0x1a, 0x81, 0x01, 0x0a, 0x10, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x44, 0x65, 0x73,
877 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76,
878 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2d,
879 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e,
880 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42,
881 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0b, 0x73,
882 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x77, 0x65,
883 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
884 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c,
885 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
886 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
887 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
888 0x38, 0x01, 0x3a, 0x6b, 0xea, 0x41, 0x68, 0x0a, 0x27, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
889 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
890 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
891 0x12, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
892 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
893 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x74, 0x63, 0x70, 0x52, 0x6f, 0x75,
894 0x74, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x63, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x7d, 0x22,
895 0x9b, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
896 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
897 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29,
898 0x12, 0x27, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
899 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
900 0x2f, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
901 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02,
902 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,
903 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01,
904 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x89, 0x01,
905 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52,
906 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x74, 0x63, 0x70, 0x5f, 0x72,
907 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f,
908 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f,
909 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x63,
910 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x09, 0x74, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
911 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
912 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
913 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x59, 0x0a, 0x12, 0x47, 0x65, 0x74,
914 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
915 0x43, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0,
916 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65,
917 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
918 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x04,
919 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
920 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47,
921 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f,
922 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x12, 0x27, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
923 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
924 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52,
925 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0c, 0x74, 0x63, 0x70, 0x5f, 0x72,
926 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
927 0x41, 0x02, 0x52, 0x0a, 0x74, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x4b,
928 0x0a, 0x09, 0x74, 0x63, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
929 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
930 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
931 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41,
932 0x02, 0x52, 0x08, 0x74, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x15,
933 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65,
934 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
935 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
936 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
937 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64,
938 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x4b, 0x0a, 0x09, 0x74, 0x63, 0x70, 0x5f, 0x72,
939 0x6f, 0x75, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f,
940 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
941 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x63, 0x70,
942 0x52, 0x6f, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x74, 0x63, 0x70, 0x52,
943 0x6f, 0x75, 0x74, 0x65, 0x22, 0x5c, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x63,
944 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a,
945 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02,
946 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
947 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
948 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x63, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x61,
949 0x6d, 0x65, 0x42, 0xe4, 0x02, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
950 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
951 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x54, 0x63, 0x70, 0x52,
952 0x6f, 0x75, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f,
953 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
954 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
955 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
956 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x65, 0x74, 0x77,
957 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0xaa, 0x02, 0x1f, 0x47, 0x6f,
958 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f,
959 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f,
960 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65, 0x74,
961 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea,
962 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
963 0x3a, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
964 0x3a, 0x3a, 0x56, 0x31, 0xea, 0x41, 0x72, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65,
965 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
966 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49,
967 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
968 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f,
969 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53,
970 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
971 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
972 0x33,
973 }
974
975 var (
976 file_google_cloud_networkservices_v1_tcp_route_proto_rawDescOnce sync.Once
977 file_google_cloud_networkservices_v1_tcp_route_proto_rawDescData = file_google_cloud_networkservices_v1_tcp_route_proto_rawDesc
978 )
979
980 func file_google_cloud_networkservices_v1_tcp_route_proto_rawDescGZIP() []byte {
981 file_google_cloud_networkservices_v1_tcp_route_proto_rawDescOnce.Do(func() {
982 file_google_cloud_networkservices_v1_tcp_route_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networkservices_v1_tcp_route_proto_rawDescData)
983 })
984 return file_google_cloud_networkservices_v1_tcp_route_proto_rawDescData
985 }
986
987 var file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
988 var file_google_cloud_networkservices_v1_tcp_route_proto_goTypes = []interface{}{
989 (*TcpRoute)(nil), // 0: google.cloud.networkservices.v1.TcpRoute
990 (*ListTcpRoutesRequest)(nil), // 1: google.cloud.networkservices.v1.ListTcpRoutesRequest
991 (*ListTcpRoutesResponse)(nil), // 2: google.cloud.networkservices.v1.ListTcpRoutesResponse
992 (*GetTcpRouteRequest)(nil), // 3: google.cloud.networkservices.v1.GetTcpRouteRequest
993 (*CreateTcpRouteRequest)(nil), // 4: google.cloud.networkservices.v1.CreateTcpRouteRequest
994 (*UpdateTcpRouteRequest)(nil), // 5: google.cloud.networkservices.v1.UpdateTcpRouteRequest
995 (*DeleteTcpRouteRequest)(nil), // 6: google.cloud.networkservices.v1.DeleteTcpRouteRequest
996 (*TcpRoute_RouteRule)(nil), // 7: google.cloud.networkservices.v1.TcpRoute.RouteRule
997 (*TcpRoute_RouteMatch)(nil), // 8: google.cloud.networkservices.v1.TcpRoute.RouteMatch
998 (*TcpRoute_RouteAction)(nil), // 9: google.cloud.networkservices.v1.TcpRoute.RouteAction
999 (*TcpRoute_RouteDestination)(nil), // 10: google.cloud.networkservices.v1.TcpRoute.RouteDestination
1000 nil, // 11: google.cloud.networkservices.v1.TcpRoute.LabelsEntry
1001 (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
1002 (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask
1003 }
1004 var file_google_cloud_networkservices_v1_tcp_route_proto_depIdxs = []int32{
1005 12, // 0: google.cloud.networkservices.v1.TcpRoute.create_time:type_name -> google.protobuf.Timestamp
1006 12, // 1: google.cloud.networkservices.v1.TcpRoute.update_time:type_name -> google.protobuf.Timestamp
1007 7, // 2: google.cloud.networkservices.v1.TcpRoute.rules:type_name -> google.cloud.networkservices.v1.TcpRoute.RouteRule
1008 11, // 3: google.cloud.networkservices.v1.TcpRoute.labels:type_name -> google.cloud.networkservices.v1.TcpRoute.LabelsEntry
1009 0, // 4: google.cloud.networkservices.v1.ListTcpRoutesResponse.tcp_routes:type_name -> google.cloud.networkservices.v1.TcpRoute
1010 0, // 5: google.cloud.networkservices.v1.CreateTcpRouteRequest.tcp_route:type_name -> google.cloud.networkservices.v1.TcpRoute
1011 13, // 6: google.cloud.networkservices.v1.UpdateTcpRouteRequest.update_mask:type_name -> google.protobuf.FieldMask
1012 0, // 7: google.cloud.networkservices.v1.UpdateTcpRouteRequest.tcp_route:type_name -> google.cloud.networkservices.v1.TcpRoute
1013 8, // 8: google.cloud.networkservices.v1.TcpRoute.RouteRule.matches:type_name -> google.cloud.networkservices.v1.TcpRoute.RouteMatch
1014 9, // 9: google.cloud.networkservices.v1.TcpRoute.RouteRule.action:type_name -> google.cloud.networkservices.v1.TcpRoute.RouteAction
1015 10, // 10: google.cloud.networkservices.v1.TcpRoute.RouteAction.destinations:type_name -> google.cloud.networkservices.v1.TcpRoute.RouteDestination
1016 11, // [11:11] is the sub-list for method output_type
1017 11, // [11:11] is the sub-list for method input_type
1018 11, // [11:11] is the sub-list for extension type_name
1019 11, // [11:11] is the sub-list for extension extendee
1020 0, // [0:11] is the sub-list for field type_name
1021 }
1022
1023 func init() { file_google_cloud_networkservices_v1_tcp_route_proto_init() }
1024 func file_google_cloud_networkservices_v1_tcp_route_proto_init() {
1025 if File_google_cloud_networkservices_v1_tcp_route_proto != nil {
1026 return
1027 }
1028 if !protoimpl.UnsafeEnabled {
1029 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1030 switch v := v.(*TcpRoute); i {
1031 case 0:
1032 return &v.state
1033 case 1:
1034 return &v.sizeCache
1035 case 2:
1036 return &v.unknownFields
1037 default:
1038 return nil
1039 }
1040 }
1041 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1042 switch v := v.(*ListTcpRoutesRequest); i {
1043 case 0:
1044 return &v.state
1045 case 1:
1046 return &v.sizeCache
1047 case 2:
1048 return &v.unknownFields
1049 default:
1050 return nil
1051 }
1052 }
1053 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1054 switch v := v.(*ListTcpRoutesResponse); i {
1055 case 0:
1056 return &v.state
1057 case 1:
1058 return &v.sizeCache
1059 case 2:
1060 return &v.unknownFields
1061 default:
1062 return nil
1063 }
1064 }
1065 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1066 switch v := v.(*GetTcpRouteRequest); i {
1067 case 0:
1068 return &v.state
1069 case 1:
1070 return &v.sizeCache
1071 case 2:
1072 return &v.unknownFields
1073 default:
1074 return nil
1075 }
1076 }
1077 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1078 switch v := v.(*CreateTcpRouteRequest); i {
1079 case 0:
1080 return &v.state
1081 case 1:
1082 return &v.sizeCache
1083 case 2:
1084 return &v.unknownFields
1085 default:
1086 return nil
1087 }
1088 }
1089 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1090 switch v := v.(*UpdateTcpRouteRequest); i {
1091 case 0:
1092 return &v.state
1093 case 1:
1094 return &v.sizeCache
1095 case 2:
1096 return &v.unknownFields
1097 default:
1098 return nil
1099 }
1100 }
1101 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1102 switch v := v.(*DeleteTcpRouteRequest); i {
1103 case 0:
1104 return &v.state
1105 case 1:
1106 return &v.sizeCache
1107 case 2:
1108 return &v.unknownFields
1109 default:
1110 return nil
1111 }
1112 }
1113 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1114 switch v := v.(*TcpRoute_RouteRule); i {
1115 case 0:
1116 return &v.state
1117 case 1:
1118 return &v.sizeCache
1119 case 2:
1120 return &v.unknownFields
1121 default:
1122 return nil
1123 }
1124 }
1125 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1126 switch v := v.(*TcpRoute_RouteMatch); i {
1127 case 0:
1128 return &v.state
1129 case 1:
1130 return &v.sizeCache
1131 case 2:
1132 return &v.unknownFields
1133 default:
1134 return nil
1135 }
1136 }
1137 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1138 switch v := v.(*TcpRoute_RouteAction); i {
1139 case 0:
1140 return &v.state
1141 case 1:
1142 return &v.sizeCache
1143 case 2:
1144 return &v.unknownFields
1145 default:
1146 return nil
1147 }
1148 }
1149 file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1150 switch v := v.(*TcpRoute_RouteDestination); i {
1151 case 0:
1152 return &v.state
1153 case 1:
1154 return &v.sizeCache
1155 case 2:
1156 return &v.unknownFields
1157 default:
1158 return nil
1159 }
1160 }
1161 }
1162 type x struct{}
1163 out := protoimpl.TypeBuilder{
1164 File: protoimpl.DescBuilder{
1165 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1166 RawDescriptor: file_google_cloud_networkservices_v1_tcp_route_proto_rawDesc,
1167 NumEnums: 0,
1168 NumMessages: 12,
1169 NumExtensions: 0,
1170 NumServices: 0,
1171 },
1172 GoTypes: file_google_cloud_networkservices_v1_tcp_route_proto_goTypes,
1173 DependencyIndexes: file_google_cloud_networkservices_v1_tcp_route_proto_depIdxs,
1174 MessageInfos: file_google_cloud_networkservices_v1_tcp_route_proto_msgTypes,
1175 }.Build()
1176 File_google_cloud_networkservices_v1_tcp_route_proto = out.File
1177 file_google_cloud_networkservices_v1_tcp_route_proto_rawDesc = nil
1178 file_google_cloud_networkservices_v1_tcp_route_proto_goTypes = nil
1179 file_google_cloud_networkservices_v1_tcp_route_proto_depIdxs = nil
1180 }