Debian Codegraph @

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