Debian Codegraph @

networkservices/apiv1/networkservicespb/http_route.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/networkservices/v1/http_route.proto
20
21 package networkservicespb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 durationpb "google.golang.org/protobuf/types/known/durationpb"
28 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 reflect "reflect"
31 sync "sync"
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 // Supported HTTP response code.
42 type HttpRoute_Redirect_ResponseCode int32
43
44 const (
45 // Default value
46 HttpRoute_Redirect_RESPONSE_CODE_UNSPECIFIED HttpRoute_Redirect_ResponseCode = 0
47 // Corresponds to 301.
48 HttpRoute_Redirect_MOVED_PERMANENTLY_DEFAULT HttpRoute_Redirect_ResponseCode = 1
49 // Corresponds to 302.
50 HttpRoute_Redirect_FOUND HttpRoute_Redirect_ResponseCode = 2
51 // Corresponds to 303.
52 HttpRoute_Redirect_SEE_OTHER HttpRoute_Redirect_ResponseCode = 3
53 // Corresponds to 307. In this case, the request method will be retained.
54 HttpRoute_Redirect_TEMPORARY_REDIRECT HttpRoute_Redirect_ResponseCode = 4
55 // Corresponds to 308. In this case, the request method will be retained.
56 HttpRoute_Redirect_PERMANENT_REDIRECT HttpRoute_Redirect_ResponseCode = 5
57 )
58
59 // Enum value maps for HttpRoute_Redirect_ResponseCode.
60 var (
61 HttpRoute_Redirect_ResponseCode_name = map[int32]string{
62 0: "RESPONSE_CODE_UNSPECIFIED",
63 1: "MOVED_PERMANENTLY_DEFAULT",
64 2: "FOUND",
65 3: "SEE_OTHER",
66 4: "TEMPORARY_REDIRECT",
67 5: "PERMANENT_REDIRECT",
68 }
69 HttpRoute_Redirect_ResponseCode_value = map[string]int32{
70 "RESPONSE_CODE_UNSPECIFIED": 0,
71 "MOVED_PERMANENTLY_DEFAULT": 1,
72 "FOUND": 2,
73 "SEE_OTHER": 3,
74 "TEMPORARY_REDIRECT": 4,
75 "PERMANENT_REDIRECT": 5,
76 }
77 )
78
79 func (x HttpRoute_Redirect_ResponseCode) Enum() *HttpRoute_Redirect_ResponseCode {
80 p := new(HttpRoute_Redirect_ResponseCode)
81 *p = x
82 return p
83 }
84
85 func (x HttpRoute_Redirect_ResponseCode) String() string {
86 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
87 }
88
89 func (HttpRoute_Redirect_ResponseCode) Descriptor() protoreflect.EnumDescriptor {
90 return file_google_cloud_networkservices_v1_http_route_proto_enumTypes[0].Descriptor()
91 }
92
93 func (HttpRoute_Redirect_ResponseCode) Type() protoreflect.EnumType {
94 return &file_google_cloud_networkservices_v1_http_route_proto_enumTypes[0]
95 }
96
97 func (x HttpRoute_Redirect_ResponseCode) Number() protoreflect.EnumNumber {
98 return protoreflect.EnumNumber(x)
99 }
100
101 // Deprecated: Use HttpRoute_Redirect_ResponseCode.Descriptor instead.
102 func (HttpRoute_Redirect_ResponseCode) EnumDescriptor() ([]byte, []int) {
103 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 4, 0}
104 }
105
106 // HttpRoute is the resource defining how HTTP traffic should be routed by a
107 // Mesh or Gateway resource.
108 type HttpRoute struct {
109 state protoimpl.MessageState
110 sizeCache protoimpl.SizeCache
111 unknownFields protoimpl.UnknownFields
112
113 // Identifier. Name of the HttpRoute resource. It matches pattern
114 // `projects/*/locations/global/httpRoutes/http_route_name>`.
115 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
116 // Output only. Server-defined URL of this resource
117 SelfLink string `protobuf:"bytes,11,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
118 // Optional. A free-text description of the resource. Max length 1024
119 // characters.
120 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
121 // Output only. The timestamp when the resource was created.
122 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
123 // Output only. The timestamp when the resource was updated.
124 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
125 // Required. Hostnames define a set of hosts that should match against the
126 // HTTP host header to select a HttpRoute to process the request. Hostname is
127 // the fully qualified domain name of a network host, as defined by RFC 1123
128 // with the exception that:
129 // - IPs are not allowed.
130 // - A hostname may be prefixed with a wildcard label (`*.`). The wildcard
131 // label must appear by itself as the first label.
132 //
133 // Hostname can be "precise" which is a domain name without the terminating
134 // dot of a network host (e.g. `foo.example.com`) or "wildcard", which is a
135 // domain name prefixed with a single wildcard label (e.g. `*.example.com`).
136 //
137 // Note that as per RFC1035 and RFC1123, a label must consist of lower case
138 // alphanumeric characters or '-', and must start and end with an alphanumeric
139 // character. No other punctuation is allowed.
140 //
141 // The routes associated with a Mesh or Gateways must have unique hostnames.
142 // If you attempt to attach multiple routes with conflicting hostnames,
143 // the configuration will be rejected.
144 //
145 // For example, while it is acceptable for routes for the hostnames
146 // `*.foo.bar.com` and `*.bar.com` to be associated with the same Mesh (or
147 // Gateways under the same scope), it is not possible to associate two routes
148 // both with `*.bar.com` or both with `bar.com`.
149 Hostnames []string `protobuf:"bytes,5,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
150 // Optional. Meshes defines a list of meshes this HttpRoute is attached to, as
151 // one of the routing rules to route the requests served by the mesh.
152 //
153 // Each mesh reference should match the pattern:
154 // `projects/*/locations/global/meshes/<mesh_name>`
155 //
156 // The attached Mesh should be of a type SIDECAR
157 Meshes []string `protobuf:"bytes,8,rep,name=meshes,proto3" json:"meshes,omitempty"`
158 // Optional. Gateways defines a list of gateways this HttpRoute is attached
159 // to, as one of the routing rules to route the requests served by the
160 // gateway.
161 //
162 // Each gateway reference should match the pattern:
163 // `projects/*/locations/global/gateways/<gateway_name>`
164 Gateways []string `protobuf:"bytes,9,rep,name=gateways,proto3" json:"gateways,omitempty"`
165 // Optional. Set of label tags associated with the HttpRoute resource.
166 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"`
167 // Required. Rules that define how traffic is routed and handled.
168 // Rules will be matched sequentially based on the RouteMatch specified for
169 // the rule.
170 Rules []*HttpRoute_RouteRule `protobuf:"bytes,6,rep,name=rules,proto3" json:"rules,omitempty"`
171 }
172
173 func (x *HttpRoute) Reset() {
174 *x = HttpRoute{}
175 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[0]
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 ms.StoreMessageInfo(mi)
178 }
179
180 func (x *HttpRoute) String() string {
181 return protoimpl.X.MessageStringOf(x)
182 }
183
184 func (*HttpRoute) ProtoMessage() {}
185
186 func (x *HttpRoute) ProtoReflect() protoreflect.Message {
187 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[0]
188 if x != nil {
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 if ms.LoadMessageInfo() == nil {
191 ms.StoreMessageInfo(mi)
192 }
193 return ms
194 }
195 return mi.MessageOf(x)
196 }
197
198 // Deprecated: Use HttpRoute.ProtoReflect.Descriptor instead.
199 func (*HttpRoute) Descriptor() ([]byte, []int) {
200 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0}
201 }
202
203 func (x *HttpRoute) GetName() string {
204 if x != nil {
205 return x.Name
206 }
207 return ""
208 }
209
210 func (x *HttpRoute) GetSelfLink() string {
211 if x != nil {
212 return x.SelfLink
213 }
214 return ""
215 }
216
217 func (x *HttpRoute) GetDescription() string {
218 if x != nil {
219 return x.Description
220 }
221 return ""
222 }
223
224 func (x *HttpRoute) GetCreateTime() *timestamppb.Timestamp {
225 if x != nil {
226 return x.CreateTime
227 }
228 return nil
229 }
230
231 func (x *HttpRoute) GetUpdateTime() *timestamppb.Timestamp {
232 if x != nil {
233 return x.UpdateTime
234 }
235 return nil
236 }
237
238 func (x *HttpRoute) GetHostnames() []string {
239 if x != nil {
240 return x.Hostnames
241 }
242 return nil
243 }
244
245 func (x *HttpRoute) GetMeshes() []string {
246 if x != nil {
247 return x.Meshes
248 }
249 return nil
250 }
251
252 func (x *HttpRoute) GetGateways() []string {
253 if x != nil {
254 return x.Gateways
255 }
256 return nil
257 }
258
259 func (x *HttpRoute) GetLabels() map[string]string {
260 if x != nil {
261 return x.Labels
262 }
263 return nil
264 }
265
266 func (x *HttpRoute) GetRules() []*HttpRoute_RouteRule {
267 if x != nil {
268 return x.Rules
269 }
270 return nil
271 }
272
273 // Request used with the ListHttpRoutes method.
274 type ListHttpRoutesRequest struct {
275 state protoimpl.MessageState
276 sizeCache protoimpl.SizeCache
277 unknownFields protoimpl.UnknownFields
278
279 // Required. The project and location from which the HttpRoutes should be
280 // listed, specified in the format `projects/*/locations/global`.
281 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
282 // Maximum number of HttpRoutes to return per call.
283 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
284 // The value returned by the last `ListHttpRoutesResponse`
285 // Indicates that this is a continuation of a prior `ListHttpRoutes` call,
286 // and that the system should return the next page of data.
287 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
288 // Optional. If true, allow partial responses for multi-regional Aggregated
289 // List requests. Otherwise if one of the locations is down or unreachable,
290 // the Aggregated List request will fail.
291 ReturnPartialSuccess bool `protobuf:"varint,4,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
292 }
293
294 func (x *ListHttpRoutesRequest) Reset() {
295 *x = ListHttpRoutesRequest{}
296 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[1]
297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298 ms.StoreMessageInfo(mi)
299 }
300
301 func (x *ListHttpRoutesRequest) String() string {
302 return protoimpl.X.MessageStringOf(x)
303 }
304
305 func (*ListHttpRoutesRequest) ProtoMessage() {}
306
307 func (x *ListHttpRoutesRequest) ProtoReflect() protoreflect.Message {
308 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[1]
309 if x != nil {
310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311 if ms.LoadMessageInfo() == nil {
312 ms.StoreMessageInfo(mi)
313 }
314 return ms
315 }
316 return mi.MessageOf(x)
317 }
318
319 // Deprecated: Use ListHttpRoutesRequest.ProtoReflect.Descriptor instead.
320 func (*ListHttpRoutesRequest) Descriptor() ([]byte, []int) {
321 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{1}
322 }
323
324 func (x *ListHttpRoutesRequest) GetParent() string {
325 if x != nil {
326 return x.Parent
327 }
328 return ""
329 }
330
331 func (x *ListHttpRoutesRequest) GetPageSize() int32 {
332 if x != nil {
333 return x.PageSize
334 }
335 return 0
336 }
337
338 func (x *ListHttpRoutesRequest) GetPageToken() string {
339 if x != nil {
340 return x.PageToken
341 }
342 return ""
343 }
344
345 func (x *ListHttpRoutesRequest) GetReturnPartialSuccess() bool {
346 if x != nil {
347 return x.ReturnPartialSuccess
348 }
349 return false
350 }
351
352 // Response returned by the ListHttpRoutes method.
353 type ListHttpRoutesResponse struct {
354 state protoimpl.MessageState
355 sizeCache protoimpl.SizeCache
356 unknownFields protoimpl.UnknownFields
357
358 // List of HttpRoute resources.
359 HttpRoutes []*HttpRoute `protobuf:"bytes,1,rep,name=http_routes,json=httpRoutes,proto3" json:"http_routes,omitempty"`
360 // If there might be more results than those appearing in this response, then
361 // `next_page_token` is included. To get the next set of results, call this
362 // method again using the value of `next_page_token` as `page_token`.
363 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
364 // Unreachable resources. Populated when the request opts into
365 // [return_partial_success][google.cloud.networkservices.v1.ListHttpRoutesRequest.return_partial_success]
366 // and reading across collections e.g. when attempting to list all resources
367 // across all supported locations.
368 Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
369 }
370
371 func (x *ListHttpRoutesResponse) Reset() {
372 *x = ListHttpRoutesResponse{}
373 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[2]
374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
375 ms.StoreMessageInfo(mi)
376 }
377
378 func (x *ListHttpRoutesResponse) String() string {
379 return protoimpl.X.MessageStringOf(x)
380 }
381
382 func (*ListHttpRoutesResponse) ProtoMessage() {}
383
384 func (x *ListHttpRoutesResponse) ProtoReflect() protoreflect.Message {
385 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[2]
386 if x != nil {
387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
388 if ms.LoadMessageInfo() == nil {
389 ms.StoreMessageInfo(mi)
390 }
391 return ms
392 }
393 return mi.MessageOf(x)
394 }
395
396 // Deprecated: Use ListHttpRoutesResponse.ProtoReflect.Descriptor instead.
397 func (*ListHttpRoutesResponse) Descriptor() ([]byte, []int) {
398 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{2}
399 }
400
401 func (x *ListHttpRoutesResponse) GetHttpRoutes() []*HttpRoute {
402 if x != nil {
403 return x.HttpRoutes
404 }
405 return nil
406 }
407
408 func (x *ListHttpRoutesResponse) GetNextPageToken() string {
409 if x != nil {
410 return x.NextPageToken
411 }
412 return ""
413 }
414
415 func (x *ListHttpRoutesResponse) GetUnreachable() []string {
416 if x != nil {
417 return x.Unreachable
418 }
419 return nil
420 }
421
422 // Request used by the GetHttpRoute method.
423 type GetHttpRouteRequest struct {
424 state protoimpl.MessageState
425 sizeCache protoimpl.SizeCache
426 unknownFields protoimpl.UnknownFields
427
428 // Required. A name of the HttpRoute to get. Must be in the format
429 // `projects/*/locations/global/httpRoutes/*`.
430 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
431 }
432
433 func (x *GetHttpRouteRequest) Reset() {
434 *x = GetHttpRouteRequest{}
435 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[3]
436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
437 ms.StoreMessageInfo(mi)
438 }
439
440 func (x *GetHttpRouteRequest) String() string {
441 return protoimpl.X.MessageStringOf(x)
442 }
443
444 func (*GetHttpRouteRequest) ProtoMessage() {}
445
446 func (x *GetHttpRouteRequest) ProtoReflect() protoreflect.Message {
447 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[3]
448 if x != nil {
449 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
450 if ms.LoadMessageInfo() == nil {
451 ms.StoreMessageInfo(mi)
452 }
453 return ms
454 }
455 return mi.MessageOf(x)
456 }
457
458 // Deprecated: Use GetHttpRouteRequest.ProtoReflect.Descriptor instead.
459 func (*GetHttpRouteRequest) Descriptor() ([]byte, []int) {
460 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{3}
461 }
462
463 func (x *GetHttpRouteRequest) GetName() string {
464 if x != nil {
465 return x.Name
466 }
467 return ""
468 }
469
470 // Request used by the HttpRoute method.
471 type CreateHttpRouteRequest struct {
472 state protoimpl.MessageState
473 sizeCache protoimpl.SizeCache
474 unknownFields protoimpl.UnknownFields
475
476 // Required. The parent resource of the HttpRoute. Must be in the
477 // format `projects/*/locations/global`.
478 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
479 // Required. Short name of the HttpRoute resource to be created.
480 HttpRouteId string `protobuf:"bytes,2,opt,name=http_route_id,json=httpRouteId,proto3" json:"http_route_id,omitempty"`
481 // Required. HttpRoute resource to be created.
482 HttpRoute *HttpRoute `protobuf:"bytes,3,opt,name=http_route,json=httpRoute,proto3" json:"http_route,omitempty"`
483 }
484
485 func (x *CreateHttpRouteRequest) Reset() {
486 *x = CreateHttpRouteRequest{}
487 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[4]
488 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
489 ms.StoreMessageInfo(mi)
490 }
491
492 func (x *CreateHttpRouteRequest) String() string {
493 return protoimpl.X.MessageStringOf(x)
494 }
495
496 func (*CreateHttpRouteRequest) ProtoMessage() {}
497
498 func (x *CreateHttpRouteRequest) ProtoReflect() protoreflect.Message {
499 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[4]
500 if x != nil {
501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
502 if ms.LoadMessageInfo() == nil {
503 ms.StoreMessageInfo(mi)
504 }
505 return ms
506 }
507 return mi.MessageOf(x)
508 }
509
510 // Deprecated: Use CreateHttpRouteRequest.ProtoReflect.Descriptor instead.
511 func (*CreateHttpRouteRequest) Descriptor() ([]byte, []int) {
512 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{4}
513 }
514
515 func (x *CreateHttpRouteRequest) GetParent() string {
516 if x != nil {
517 return x.Parent
518 }
519 return ""
520 }
521
522 func (x *CreateHttpRouteRequest) GetHttpRouteId() string {
523 if x != nil {
524 return x.HttpRouteId
525 }
526 return ""
527 }
528
529 func (x *CreateHttpRouteRequest) GetHttpRoute() *HttpRoute {
530 if x != nil {
531 return x.HttpRoute
532 }
533 return nil
534 }
535
536 // Request used by the UpdateHttpRoute method.
537 type UpdateHttpRouteRequest struct {
538 state protoimpl.MessageState
539 sizeCache protoimpl.SizeCache
540 unknownFields protoimpl.UnknownFields
541
542 // Optional. Field mask is used to specify the fields to be overwritten in the
543 // HttpRoute resource by the update.
544 // The fields specified in the update_mask are relative to the resource, not
545 // the full request. A field will be overwritten if it is in the mask. If the
546 // user does not provide a mask then all fields will be overwritten.
547 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
548 // Required. Updated HttpRoute resource.
549 HttpRoute *HttpRoute `protobuf:"bytes,2,opt,name=http_route,json=httpRoute,proto3" json:"http_route,omitempty"`
550 }
551
552 func (x *UpdateHttpRouteRequest) Reset() {
553 *x = UpdateHttpRouteRequest{}
554 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[5]
555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
556 ms.StoreMessageInfo(mi)
557 }
558
559 func (x *UpdateHttpRouteRequest) String() string {
560 return protoimpl.X.MessageStringOf(x)
561 }
562
563 func (*UpdateHttpRouteRequest) ProtoMessage() {}
564
565 func (x *UpdateHttpRouteRequest) ProtoReflect() protoreflect.Message {
566 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[5]
567 if x != nil {
568 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
569 if ms.LoadMessageInfo() == nil {
570 ms.StoreMessageInfo(mi)
571 }
572 return ms
573 }
574 return mi.MessageOf(x)
575 }
576
577 // Deprecated: Use UpdateHttpRouteRequest.ProtoReflect.Descriptor instead.
578 func (*UpdateHttpRouteRequest) Descriptor() ([]byte, []int) {
579 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{5}
580 }
581
582 func (x *UpdateHttpRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
583 if x != nil {
584 return x.UpdateMask
585 }
586 return nil
587 }
588
589 func (x *UpdateHttpRouteRequest) GetHttpRoute() *HttpRoute {
590 if x != nil {
591 return x.HttpRoute
592 }
593 return nil
594 }
595
596 // Request used by the DeleteHttpRoute method.
597 type DeleteHttpRouteRequest struct {
598 state protoimpl.MessageState
599 sizeCache protoimpl.SizeCache
600 unknownFields protoimpl.UnknownFields
601
602 // Required. A name of the HttpRoute to delete. Must be in the format
603 // `projects/*/locations/global/httpRoutes/*`.
604 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
605 }
606
607 func (x *DeleteHttpRouteRequest) Reset() {
608 *x = DeleteHttpRouteRequest{}
609 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[6]
610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
611 ms.StoreMessageInfo(mi)
612 }
613
614 func (x *DeleteHttpRouteRequest) String() string {
615 return protoimpl.X.MessageStringOf(x)
616 }
617
618 func (*DeleteHttpRouteRequest) ProtoMessage() {}
619
620 func (x *DeleteHttpRouteRequest) ProtoReflect() protoreflect.Message {
621 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[6]
622 if x != nil {
623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
624 if ms.LoadMessageInfo() == nil {
625 ms.StoreMessageInfo(mi)
626 }
627 return ms
628 }
629 return mi.MessageOf(x)
630 }
631
632 // Deprecated: Use DeleteHttpRouteRequest.ProtoReflect.Descriptor instead.
633 func (*DeleteHttpRouteRequest) Descriptor() ([]byte, []int) {
634 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{6}
635 }
636
637 func (x *DeleteHttpRouteRequest) GetName() string {
638 if x != nil {
639 return x.Name
640 }
641 return ""
642 }
643
644 // Specifies how to select a route rule based on HTTP request headers.
645 type HttpRoute_HeaderMatch struct {
646 state protoimpl.MessageState
647 sizeCache protoimpl.SizeCache
648 unknownFields protoimpl.UnknownFields
649
650 // Types that are assignable to MatchType:
651 //
652 // *HttpRoute_HeaderMatch_ExactMatch
653 // *HttpRoute_HeaderMatch_RegexMatch
654 // *HttpRoute_HeaderMatch_PrefixMatch
655 // *HttpRoute_HeaderMatch_PresentMatch
656 // *HttpRoute_HeaderMatch_SuffixMatch
657 // *HttpRoute_HeaderMatch_RangeMatch
658 MatchType isHttpRoute_HeaderMatch_MatchType `protobuf_oneof:"MatchType"`
659 // The name of the HTTP header to match against.
660 Header string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
661 // If specified, the match result will be inverted before checking. Default
662 // value is set to false.
663 InvertMatch bool `protobuf:"varint,8,opt,name=invert_match,json=invertMatch,proto3" json:"invert_match,omitempty"`
664 }
665
666 func (x *HttpRoute_HeaderMatch) Reset() {
667 *x = HttpRoute_HeaderMatch{}
668 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[7]
669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
670 ms.StoreMessageInfo(mi)
671 }
672
673 func (x *HttpRoute_HeaderMatch) String() string {
674 return protoimpl.X.MessageStringOf(x)
675 }
676
677 func (*HttpRoute_HeaderMatch) ProtoMessage() {}
678
679 func (x *HttpRoute_HeaderMatch) ProtoReflect() protoreflect.Message {
680 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[7]
681 if x != nil {
682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
683 if ms.LoadMessageInfo() == nil {
684 ms.StoreMessageInfo(mi)
685 }
686 return ms
687 }
688 return mi.MessageOf(x)
689 }
690
691 // Deprecated: Use HttpRoute_HeaderMatch.ProtoReflect.Descriptor instead.
692 func (*HttpRoute_HeaderMatch) Descriptor() ([]byte, []int) {
693 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 0}
694 }
695
696 func (m *HttpRoute_HeaderMatch) GetMatchType() isHttpRoute_HeaderMatch_MatchType {
697 if m != nil {
698 return m.MatchType
699 }
700 return nil
701 }
702
703 func (x *HttpRoute_HeaderMatch) GetExactMatch() string {
704 if x, ok := x.GetMatchType().(*HttpRoute_HeaderMatch_ExactMatch); ok {
705 return x.ExactMatch
706 }
707 return ""
708 }
709
710 func (x *HttpRoute_HeaderMatch) GetRegexMatch() string {
711 if x, ok := x.GetMatchType().(*HttpRoute_HeaderMatch_RegexMatch); ok {
712 return x.RegexMatch
713 }
714 return ""
715 }
716
717 func (x *HttpRoute_HeaderMatch) GetPrefixMatch() string {
718 if x, ok := x.GetMatchType().(*HttpRoute_HeaderMatch_PrefixMatch); ok {
719 return x.PrefixMatch
720 }
721 return ""
722 }
723
724 func (x *HttpRoute_HeaderMatch) GetPresentMatch() bool {
725 if x, ok := x.GetMatchType().(*HttpRoute_HeaderMatch_PresentMatch); ok {
726 return x.PresentMatch
727 }
728 return false
729 }
730
731 func (x *HttpRoute_HeaderMatch) GetSuffixMatch() string {
732 if x, ok := x.GetMatchType().(*HttpRoute_HeaderMatch_SuffixMatch); ok {
733 return x.SuffixMatch
734 }
735 return ""
736 }
737
738 func (x *HttpRoute_HeaderMatch) GetRangeMatch() *HttpRoute_HeaderMatch_IntegerRange {
739 if x, ok := x.GetMatchType().(*HttpRoute_HeaderMatch_RangeMatch); ok {
740 return x.RangeMatch
741 }
742 return nil
743 }
744
745 func (x *HttpRoute_HeaderMatch) GetHeader() string {
746 if x != nil {
747 return x.Header
748 }
749 return ""
750 }
751
752 func (x *HttpRoute_HeaderMatch) GetInvertMatch() bool {
753 if x != nil {
754 return x.InvertMatch
755 }
756 return false
757 }
758
759 type isHttpRoute_HeaderMatch_MatchType interface {
760 isHttpRoute_HeaderMatch_MatchType()
761 }
762
763 type HttpRoute_HeaderMatch_ExactMatch struct {
764 // The value of the header should match exactly the content of
765 // exact_match.
766 ExactMatch string `protobuf:"bytes,2,opt,name=exact_match,json=exactMatch,proto3,oneof"`
767 }
768
769 type HttpRoute_HeaderMatch_RegexMatch struct {
770 // The value of the header must match the regular expression specified in
771 // regex_match. For regular expression grammar, please see:
772 // https://github.com/google/re2/wiki/Syntax
773 RegexMatch string `protobuf:"bytes,3,opt,name=regex_match,json=regexMatch,proto3,oneof"`
774 }
775
776 type HttpRoute_HeaderMatch_PrefixMatch struct {
777 // The value of the header must start with the contents of prefix_match.
778 PrefixMatch string `protobuf:"bytes,4,opt,name=prefix_match,json=prefixMatch,proto3,oneof"`
779 }
780
781 type HttpRoute_HeaderMatch_PresentMatch struct {
782 // A header with header_name must exist. The match takes place whether or
783 // not the header has a value.
784 PresentMatch bool `protobuf:"varint,5,opt,name=present_match,json=presentMatch,proto3,oneof"`
785 }
786
787 type HttpRoute_HeaderMatch_SuffixMatch struct {
788 // The value of the header must end with the contents of suffix_match.
789 SuffixMatch string `protobuf:"bytes,6,opt,name=suffix_match,json=suffixMatch,proto3,oneof"`
790 }
791
792 type HttpRoute_HeaderMatch_RangeMatch struct {
793 // If specified, the rule will match if the request header value is within
794 // the range.
795 RangeMatch *HttpRoute_HeaderMatch_IntegerRange `protobuf:"bytes,7,opt,name=range_match,json=rangeMatch,proto3,oneof"`
796 }
797
798 func (*HttpRoute_HeaderMatch_ExactMatch) isHttpRoute_HeaderMatch_MatchType() {}
799
800 func (*HttpRoute_HeaderMatch_RegexMatch) isHttpRoute_HeaderMatch_MatchType() {}
801
802 func (*HttpRoute_HeaderMatch_PrefixMatch) isHttpRoute_HeaderMatch_MatchType() {}
803
804 func (*HttpRoute_HeaderMatch_PresentMatch) isHttpRoute_HeaderMatch_MatchType() {}
805
806 func (*HttpRoute_HeaderMatch_SuffixMatch) isHttpRoute_HeaderMatch_MatchType() {}
807
808 func (*HttpRoute_HeaderMatch_RangeMatch) isHttpRoute_HeaderMatch_MatchType() {}
809
810 // Specifications to match a query parameter in the request.
811 type HttpRoute_QueryParameterMatch struct {
812 state protoimpl.MessageState
813 sizeCache protoimpl.SizeCache
814 unknownFields protoimpl.UnknownFields
815
816 // Types that are assignable to MatchType:
817 //
818 // *HttpRoute_QueryParameterMatch_ExactMatch
819 // *HttpRoute_QueryParameterMatch_RegexMatch
820 // *HttpRoute_QueryParameterMatch_PresentMatch
821 MatchType isHttpRoute_QueryParameterMatch_MatchType `protobuf_oneof:"MatchType"`
822 // The name of the query parameter to match.
823 QueryParameter string `protobuf:"bytes,1,opt,name=query_parameter,json=queryParameter,proto3" json:"query_parameter,omitempty"`
824 }
825
826 func (x *HttpRoute_QueryParameterMatch) Reset() {
827 *x = HttpRoute_QueryParameterMatch{}
828 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[8]
829 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
830 ms.StoreMessageInfo(mi)
831 }
832
833 func (x *HttpRoute_QueryParameterMatch) String() string {
834 return protoimpl.X.MessageStringOf(x)
835 }
836
837 func (*HttpRoute_QueryParameterMatch) ProtoMessage() {}
838
839 func (x *HttpRoute_QueryParameterMatch) ProtoReflect() protoreflect.Message {
840 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[8]
841 if x != nil {
842 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
843 if ms.LoadMessageInfo() == nil {
844 ms.StoreMessageInfo(mi)
845 }
846 return ms
847 }
848 return mi.MessageOf(x)
849 }
850
851 // Deprecated: Use HttpRoute_QueryParameterMatch.ProtoReflect.Descriptor instead.
852 func (*HttpRoute_QueryParameterMatch) Descriptor() ([]byte, []int) {
853 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 1}
854 }
855
856 func (m *HttpRoute_QueryParameterMatch) GetMatchType() isHttpRoute_QueryParameterMatch_MatchType {
857 if m != nil {
858 return m.MatchType
859 }
860 return nil
861 }
862
863 func (x *HttpRoute_QueryParameterMatch) GetExactMatch() string {
864 if x, ok := x.GetMatchType().(*HttpRoute_QueryParameterMatch_ExactMatch); ok {
865 return x.ExactMatch
866 }
867 return ""
868 }
869
870 func (x *HttpRoute_QueryParameterMatch) GetRegexMatch() string {
871 if x, ok := x.GetMatchType().(*HttpRoute_QueryParameterMatch_RegexMatch); ok {
872 return x.RegexMatch
873 }
874 return ""
875 }
876
877 func (x *HttpRoute_QueryParameterMatch) GetPresentMatch() bool {
878 if x, ok := x.GetMatchType().(*HttpRoute_QueryParameterMatch_PresentMatch); ok {
879 return x.PresentMatch
880 }
881 return false
882 }
883
884 func (x *HttpRoute_QueryParameterMatch) GetQueryParameter() string {
885 if x != nil {
886 return x.QueryParameter
887 }
888 return ""
889 }
890
891 type isHttpRoute_QueryParameterMatch_MatchType interface {
892 isHttpRoute_QueryParameterMatch_MatchType()
893 }
894
895 type HttpRoute_QueryParameterMatch_ExactMatch struct {
896 // The value of the query parameter must exactly match the contents of
897 // exact_match.
898 //
899 // Only one of exact_match, regex_match, or present_match must be set.
900 ExactMatch string `protobuf:"bytes,2,opt,name=exact_match,json=exactMatch,proto3,oneof"`
901 }
902
903 type HttpRoute_QueryParameterMatch_RegexMatch struct {
904 // The value of the query parameter must match the regular expression
905 // specified by regex_match. For regular expression grammar, please see
906 // https://github.com/google/re2/wiki/Syntax
907 //
908 // Only one of exact_match, regex_match, or present_match must be set.
909 RegexMatch string `protobuf:"bytes,3,opt,name=regex_match,json=regexMatch,proto3,oneof"`
910 }
911
912 type HttpRoute_QueryParameterMatch_PresentMatch struct {
913 // Specifies that the QueryParameterMatcher matches if request contains
914 // query parameter, irrespective of whether the parameter has a value or
915 // not.
916 //
917 // Only one of exact_match, regex_match, or present_match must be set.
918 PresentMatch bool `protobuf:"varint,4,opt,name=present_match,json=presentMatch,proto3,oneof"`
919 }
920
921 func (*HttpRoute_QueryParameterMatch_ExactMatch) isHttpRoute_QueryParameterMatch_MatchType() {}
922
923 func (*HttpRoute_QueryParameterMatch_RegexMatch) isHttpRoute_QueryParameterMatch_MatchType() {}
924
925 func (*HttpRoute_QueryParameterMatch_PresentMatch) isHttpRoute_QueryParameterMatch_MatchType() {}
926
927 // RouteMatch defines specifications used to match requests. If multiple match
928 // types are set, this RouteMatch will match if ALL type of matches are
929 // matched.
930 type HttpRoute_RouteMatch struct {
931 state protoimpl.MessageState
932 sizeCache protoimpl.SizeCache
933 unknownFields protoimpl.UnknownFields
934
935 // Types that are assignable to PathMatch:
936 //
937 // *HttpRoute_RouteMatch_FullPathMatch
938 // *HttpRoute_RouteMatch_PrefixMatch
939 // *HttpRoute_RouteMatch_RegexMatch
940 PathMatch isHttpRoute_RouteMatch_PathMatch `protobuf_oneof:"PathMatch"`
941 // Specifies if prefix_match and full_path_match matches are case sensitive.
942 // The default value is false.
943 IgnoreCase bool `protobuf:"varint,4,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"`
944 // Specifies a list of HTTP request headers to match against. ALL of the
945 // supplied headers must be matched.
946 Headers []*HttpRoute_HeaderMatch `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
947 // Specifies a list of query parameters to match against. ALL of the query
948 // parameters must be matched.
949 QueryParameters []*HttpRoute_QueryParameterMatch `protobuf:"bytes,6,rep,name=query_parameters,json=queryParameters,proto3" json:"query_parameters,omitempty"`
950 }
951
952 func (x *HttpRoute_RouteMatch) Reset() {
953 *x = HttpRoute_RouteMatch{}
954 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[9]
955 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
956 ms.StoreMessageInfo(mi)
957 }
958
959 func (x *HttpRoute_RouteMatch) String() string {
960 return protoimpl.X.MessageStringOf(x)
961 }
962
963 func (*HttpRoute_RouteMatch) ProtoMessage() {}
964
965 func (x *HttpRoute_RouteMatch) ProtoReflect() protoreflect.Message {
966 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[9]
967 if x != nil {
968 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
969 if ms.LoadMessageInfo() == nil {
970 ms.StoreMessageInfo(mi)
971 }
972 return ms
973 }
974 return mi.MessageOf(x)
975 }
976
977 // Deprecated: Use HttpRoute_RouteMatch.ProtoReflect.Descriptor instead.
978 func (*HttpRoute_RouteMatch) Descriptor() ([]byte, []int) {
979 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 2}
980 }
981
982 func (m *HttpRoute_RouteMatch) GetPathMatch() isHttpRoute_RouteMatch_PathMatch {
983 if m != nil {
984 return m.PathMatch
985 }
986 return nil
987 }
988
989 func (x *HttpRoute_RouteMatch) GetFullPathMatch() string {
990 if x, ok := x.GetPathMatch().(*HttpRoute_RouteMatch_FullPathMatch); ok {
991 return x.FullPathMatch
992 }
993 return ""
994 }
995
996 func (x *HttpRoute_RouteMatch) GetPrefixMatch() string {
997 if x, ok := x.GetPathMatch().(*HttpRoute_RouteMatch_PrefixMatch); ok {
998 return x.PrefixMatch
999 }
1000 return ""
1001 }
1002
1003 func (x *HttpRoute_RouteMatch) GetRegexMatch() string {
1004 if x, ok := x.GetPathMatch().(*HttpRoute_RouteMatch_RegexMatch); ok {
1005 return x.RegexMatch
1006 }
1007 return ""
1008 }
1009
1010 func (x *HttpRoute_RouteMatch) GetIgnoreCase() bool {
1011 if x != nil {
1012 return x.IgnoreCase
1013 }
1014 return false
1015 }
1016
1017 func (x *HttpRoute_RouteMatch) GetHeaders() []*HttpRoute_HeaderMatch {
1018 if x != nil {
1019 return x.Headers
1020 }
1021 return nil
1022 }
1023
1024 func (x *HttpRoute_RouteMatch) GetQueryParameters() []*HttpRoute_QueryParameterMatch {
1025 if x != nil {
1026 return x.QueryParameters
1027 }
1028 return nil
1029 }
1030
1031 type isHttpRoute_RouteMatch_PathMatch interface {
1032 isHttpRoute_RouteMatch_PathMatch()
1033 }
1034
1035 type HttpRoute_RouteMatch_FullPathMatch struct {
1036 // The HTTP request path value should exactly match this value.
1037 //
1038 // Only one of full_path_match, prefix_match, or regex_match should be
1039 // used.
1040 FullPathMatch string `protobuf:"bytes,1,opt,name=full_path_match,json=fullPathMatch,proto3,oneof"`
1041 }
1042
1043 type HttpRoute_RouteMatch_PrefixMatch struct {
1044 // The HTTP request path value must begin with specified prefix_match.
1045 // prefix_match must begin with a /.
1046 //
1047 // Only one of full_path_match, prefix_match, or regex_match should be
1048 // used.
1049 PrefixMatch string `protobuf:"bytes,2,opt,name=prefix_match,json=prefixMatch,proto3,oneof"`
1050 }
1051
1052 type HttpRoute_RouteMatch_RegexMatch struct {
1053 // The HTTP request path value must satisfy the regular expression
1054 // specified by regex_match after removing any query parameters and anchor
1055 // supplied with the original URL. For regular expression grammar, please
1056 // see https://github.com/google/re2/wiki/Syntax
1057 //
1058 // Only one of full_path_match, prefix_match, or regex_match should be
1059 // used.
1060 RegexMatch string `protobuf:"bytes,3,opt,name=regex_match,json=regexMatch,proto3,oneof"`
1061 }
1062
1063 func (*HttpRoute_RouteMatch_FullPathMatch) isHttpRoute_RouteMatch_PathMatch() {}
1064
1065 func (*HttpRoute_RouteMatch_PrefixMatch) isHttpRoute_RouteMatch_PathMatch() {}
1066
1067 func (*HttpRoute_RouteMatch_RegexMatch) isHttpRoute_RouteMatch_PathMatch() {}
1068
1069 // Specifications of a destination to which the request should be routed to.
1070 type HttpRoute_Destination struct {
1071 state protoimpl.MessageState
1072 sizeCache protoimpl.SizeCache
1073 unknownFields protoimpl.UnknownFields
1074
1075 // The URL of a BackendService to route traffic to.
1076 ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
1077 // Specifies the proportion of requests forwarded to the backend referenced
1078 // by the serviceName field. This is computed as:
1079 // - weight/Sum(weights in this destination list).
1080 // For non-zero values, there may be some epsilon from the exact proportion
1081 // defined here depending on the precision an implementation supports.
1082 //
1083 // If only one serviceName is specified and it has a weight greater than 0,
1084 // 100% of the traffic is forwarded to that backend.
1085 //
1086 // If weights are specified for any one service name, they need to be
1087 // specified for all of them.
1088 //
1089 // If weights are unspecified for all services, then, traffic is distributed
1090 // in equal proportions to all of them.
1091 Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
1092 // Optional. The specification for modifying the headers of a matching
1093 // request prior to delivery of the request to the destination. If
1094 // HeaderModifiers are set on both the Destination and the RouteAction, they
1095 // will be merged. Conflicts between the two will not be resolved on the
1096 // configuration.
1097 RequestHeaderModifier *HttpRoute_HeaderModifier `protobuf:"bytes,3,opt,name=request_header_modifier,json=requestHeaderModifier,proto3" json:"request_header_modifier,omitempty"`
1098 // Optional. The specification for modifying the headers of a response prior
1099 // to sending the response back to the client. If HeaderModifiers are set on
1100 // both the Destination and the RouteAction, they will be merged. Conflicts
1101 // between the two will not be resolved on the configuration.
1102 ResponseHeaderModifier *HttpRoute_HeaderModifier `protobuf:"bytes,4,opt,name=response_header_modifier,json=responseHeaderModifier,proto3" json:"response_header_modifier,omitempty"`
1103 }
1104
1105 func (x *HttpRoute_Destination) Reset() {
1106 *x = HttpRoute_Destination{}
1107 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[10]
1108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1109 ms.StoreMessageInfo(mi)
1110 }
1111
1112 func (x *HttpRoute_Destination) String() string {
1113 return protoimpl.X.MessageStringOf(x)
1114 }
1115
1116 func (*HttpRoute_Destination) ProtoMessage() {}
1117
1118 func (x *HttpRoute_Destination) ProtoReflect() protoreflect.Message {
1119 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[10]
1120 if x != nil {
1121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1122 if ms.LoadMessageInfo() == nil {
1123 ms.StoreMessageInfo(mi)
1124 }
1125 return ms
1126 }
1127 return mi.MessageOf(x)
1128 }
1129
1130 // Deprecated: Use HttpRoute_Destination.ProtoReflect.Descriptor instead.
1131 func (*HttpRoute_Destination) Descriptor() ([]byte, []int) {
1132 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 3}
1133 }
1134
1135 func (x *HttpRoute_Destination) GetServiceName() string {
1136 if x != nil {
1137 return x.ServiceName
1138 }
1139 return ""
1140 }
1141
1142 func (x *HttpRoute_Destination) GetWeight() int32 {
1143 if x != nil {
1144 return x.Weight
1145 }
1146 return 0
1147 }
1148
1149 func (x *HttpRoute_Destination) GetRequestHeaderModifier() *HttpRoute_HeaderModifier {
1150 if x != nil {
1151 return x.RequestHeaderModifier
1152 }
1153 return nil
1154 }
1155
1156 func (x *HttpRoute_Destination) GetResponseHeaderModifier() *HttpRoute_HeaderModifier {
1157 if x != nil {
1158 return x.ResponseHeaderModifier
1159 }
1160 return nil
1161 }
1162
1163 // The specification for redirecting traffic.
1164 type HttpRoute_Redirect struct {
1165 state protoimpl.MessageState
1166 sizeCache protoimpl.SizeCache
1167 unknownFields protoimpl.UnknownFields
1168
1169 // The host that will be used in the redirect response instead of the one
1170 // that was supplied in the request.
1171 HostRedirect string `protobuf:"bytes,1,opt,name=host_redirect,json=hostRedirect,proto3" json:"host_redirect,omitempty"`
1172 // The path that will be used in the redirect response instead of the one
1173 // that was supplied in the request.
1174 // path_redirect can not be supplied together with prefix_redirect. Supply
1175 // one alone or neither. If neither is supplied, the path of the original
1176 // request will be used for the redirect.
1177 PathRedirect string `protobuf:"bytes,2,opt,name=path_redirect,json=pathRedirect,proto3" json:"path_redirect,omitempty"`
1178 // Indicates that during redirection, the matched prefix (or path) should be
1179 // swapped with this value. This option allows URLs be dynamically created
1180 // based on the request.
1181 PrefixRewrite string `protobuf:"bytes,3,opt,name=prefix_rewrite,json=prefixRewrite,proto3" json:"prefix_rewrite,omitempty"`
1182 // The HTTP Status code to use for the redirect.
1183 ResponseCode HttpRoute_Redirect_ResponseCode `protobuf:"varint,4,opt,name=response_code,json=responseCode,proto3,enum=google.cloud.networkservices.v1.HttpRoute_Redirect_ResponseCode" json:"response_code,omitempty"`
1184 // If set to true, the URL scheme in the redirected request is set to https.
1185 // If set to false, the URL scheme of the redirected request will remain the
1186 // same as that of the request.
1187 //
1188 // The default is set to false.
1189 HttpsRedirect bool `protobuf:"varint,5,opt,name=https_redirect,json=httpsRedirect,proto3" json:"https_redirect,omitempty"`
1190 // if set to true, any accompanying query portion of the original URL is
1191 // removed prior to redirecting the request. If set to false, the query
1192 // portion of the original URL is retained.
1193 //
1194 // The default is set to false.
1195 StripQuery bool `protobuf:"varint,6,opt,name=strip_query,json=stripQuery,proto3" json:"strip_query,omitempty"`
1196 // The port that will be used in the redirected request instead of the one
1197 // that was supplied in the request.
1198 PortRedirect int32 `protobuf:"varint,7,opt,name=port_redirect,json=portRedirect,proto3" json:"port_redirect,omitempty"`
1199 }
1200
1201 func (x *HttpRoute_Redirect) Reset() {
1202 *x = HttpRoute_Redirect{}
1203 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[11]
1204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1205 ms.StoreMessageInfo(mi)
1206 }
1207
1208 func (x *HttpRoute_Redirect) String() string {
1209 return protoimpl.X.MessageStringOf(x)
1210 }
1211
1212 func (*HttpRoute_Redirect) ProtoMessage() {}
1213
1214 func (x *HttpRoute_Redirect) ProtoReflect() protoreflect.Message {
1215 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[11]
1216 if x != nil {
1217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1218 if ms.LoadMessageInfo() == nil {
1219 ms.StoreMessageInfo(mi)
1220 }
1221 return ms
1222 }
1223 return mi.MessageOf(x)
1224 }
1225
1226 // Deprecated: Use HttpRoute_Redirect.ProtoReflect.Descriptor instead.
1227 func (*HttpRoute_Redirect) Descriptor() ([]byte, []int) {
1228 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 4}
1229 }
1230
1231 func (x *HttpRoute_Redirect) GetHostRedirect() string {
1232 if x != nil {
1233 return x.HostRedirect
1234 }
1235 return ""
1236 }
1237
1238 func (x *HttpRoute_Redirect) GetPathRedirect() string {
1239 if x != nil {
1240 return x.PathRedirect
1241 }
1242 return ""
1243 }
1244
1245 func (x *HttpRoute_Redirect) GetPrefixRewrite() string {
1246 if x != nil {
1247 return x.PrefixRewrite
1248 }
1249 return ""
1250 }
1251
1252 func (x *HttpRoute_Redirect) GetResponseCode() HttpRoute_Redirect_ResponseCode {
1253 if x != nil {
1254 return x.ResponseCode
1255 }
1256 return HttpRoute_Redirect_RESPONSE_CODE_UNSPECIFIED
1257 }
1258
1259 func (x *HttpRoute_Redirect) GetHttpsRedirect() bool {
1260 if x != nil {
1261 return x.HttpsRedirect
1262 }
1263 return false
1264 }
1265
1266 func (x *HttpRoute_Redirect) GetStripQuery() bool {
1267 if x != nil {
1268 return x.StripQuery
1269 }
1270 return false
1271 }
1272
1273 func (x *HttpRoute_Redirect) GetPortRedirect() int32 {
1274 if x != nil {
1275 return x.PortRedirect
1276 }
1277 return 0
1278 }
1279
1280 // The specification for fault injection introduced into traffic to test the
1281 // resiliency of clients to destination service failure. As part of fault
1282 // injection, when clients send requests to a destination, delays can be
1283 // introduced by client proxy on a percentage of requests before sending those
1284 // requests to the destination service. Similarly requests can be aborted by
1285 // client proxy for a percentage of requests.
1286 type HttpRoute_FaultInjectionPolicy struct {
1287 state protoimpl.MessageState
1288 sizeCache protoimpl.SizeCache
1289 unknownFields protoimpl.UnknownFields
1290
1291 // The specification for injecting delay to client requests.
1292 Delay *HttpRoute_FaultInjectionPolicy_Delay `protobuf:"bytes,1,opt,name=delay,proto3" json:"delay,omitempty"`
1293 // The specification for aborting to client requests.
1294 Abort *HttpRoute_FaultInjectionPolicy_Abort `protobuf:"bytes,2,opt,name=abort,proto3" json:"abort,omitempty"`
1295 }
1296
1297 func (x *HttpRoute_FaultInjectionPolicy) Reset() {
1298 *x = HttpRoute_FaultInjectionPolicy{}
1299 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[12]
1300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1301 ms.StoreMessageInfo(mi)
1302 }
1303
1304 func (x *HttpRoute_FaultInjectionPolicy) String() string {
1305 return protoimpl.X.MessageStringOf(x)
1306 }
1307
1308 func (*HttpRoute_FaultInjectionPolicy) ProtoMessage() {}
1309
1310 func (x *HttpRoute_FaultInjectionPolicy) ProtoReflect() protoreflect.Message {
1311 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[12]
1312 if x != nil {
1313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1314 if ms.LoadMessageInfo() == nil {
1315 ms.StoreMessageInfo(mi)
1316 }
1317 return ms
1318 }
1319 return mi.MessageOf(x)
1320 }
1321
1322 // Deprecated: Use HttpRoute_FaultInjectionPolicy.ProtoReflect.Descriptor instead.
1323 func (*HttpRoute_FaultInjectionPolicy) Descriptor() ([]byte, []int) {
1324 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 5}
1325 }
1326
1327 func (x *HttpRoute_FaultInjectionPolicy) GetDelay() *HttpRoute_FaultInjectionPolicy_Delay {
1328 if x != nil {
1329 return x.Delay
1330 }
1331 return nil
1332 }
1333
1334 func (x *HttpRoute_FaultInjectionPolicy) GetAbort() *HttpRoute_FaultInjectionPolicy_Abort {
1335 if x != nil {
1336 return x.Abort
1337 }
1338 return nil
1339 }
1340
1341 // The specification for cookie-based stateful session affinity where the
1342 // date plane supplies a “session cookie” with the name "GSSA" which encodes
1343 // a specific destination host and each request containing that cookie will
1344 // be directed to that host as long as the destination host remains up and
1345 // healthy.
1346 //
1347 // The gRPC proxyless mesh library or sidecar proxy will manage the session
1348 // cookie but the client application code is responsible for copying the
1349 // cookie from each RPC in the session to the next.
1350 type HttpRoute_StatefulSessionAffinityPolicy struct {
1351 state protoimpl.MessageState
1352 sizeCache protoimpl.SizeCache
1353 unknownFields protoimpl.UnknownFields
1354
1355 // Required. The cookie TTL value for the Set-Cookie header generated by
1356 // the data plane. The lifetime of the cookie may be set to a value from 0
1357 // to 86400 seconds (24 hours) inclusive.
1358 //
1359 // Set this to 0s to use a session cookie and disable cookie expiration.
1360 CookieTtl *durationpb.Duration `protobuf:"bytes,1,opt,name=cookie_ttl,json=cookieTtl,proto3" json:"cookie_ttl,omitempty"`
1361 }
1362
1363 func (x *HttpRoute_StatefulSessionAffinityPolicy) Reset() {
1364 *x = HttpRoute_StatefulSessionAffinityPolicy{}
1365 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[13]
1366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1367 ms.StoreMessageInfo(mi)
1368 }
1369
1370 func (x *HttpRoute_StatefulSessionAffinityPolicy) String() string {
1371 return protoimpl.X.MessageStringOf(x)
1372 }
1373
1374 func (*HttpRoute_StatefulSessionAffinityPolicy) ProtoMessage() {}
1375
1376 func (x *HttpRoute_StatefulSessionAffinityPolicy) ProtoReflect() protoreflect.Message {
1377 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[13]
1378 if x != nil {
1379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1380 if ms.LoadMessageInfo() == nil {
1381 ms.StoreMessageInfo(mi)
1382 }
1383 return ms
1384 }
1385 return mi.MessageOf(x)
1386 }
1387
1388 // Deprecated: Use HttpRoute_StatefulSessionAffinityPolicy.ProtoReflect.Descriptor instead.
1389 func (*HttpRoute_StatefulSessionAffinityPolicy) Descriptor() ([]byte, []int) {
1390 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 6}
1391 }
1392
1393 func (x *HttpRoute_StatefulSessionAffinityPolicy) GetCookieTtl() *durationpb.Duration {
1394 if x != nil {
1395 return x.CookieTtl
1396 }
1397 return nil
1398 }
1399
1400 // The specification for modifying HTTP header in HTTP request and HTTP
1401 // response.
1402 type HttpRoute_HeaderModifier struct {
1403 state protoimpl.MessageState
1404 sizeCache protoimpl.SizeCache
1405 unknownFields protoimpl.UnknownFields
1406
1407 // Completely overwrite/replace the headers with given map where key is the
1408 // name of the header, value is the value of the header.
1409 Set map[string]string `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1410 // Add the headers with given map where key is the name of the header, value
1411 // is the value of the header.
1412 Add map[string]string `protobuf:"bytes,2,rep,name=add,proto3" json:"add,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1413 // Remove headers (matching by header names) specified in the list.
1414 Remove []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"`
1415 }
1416
1417 func (x *HttpRoute_HeaderModifier) Reset() {
1418 *x = HttpRoute_HeaderModifier{}
1419 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[14]
1420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1421 ms.StoreMessageInfo(mi)
1422 }
1423
1424 func (x *HttpRoute_HeaderModifier) String() string {
1425 return protoimpl.X.MessageStringOf(x)
1426 }
1427
1428 func (*HttpRoute_HeaderModifier) ProtoMessage() {}
1429
1430 func (x *HttpRoute_HeaderModifier) ProtoReflect() protoreflect.Message {
1431 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[14]
1432 if x != nil {
1433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1434 if ms.LoadMessageInfo() == nil {
1435 ms.StoreMessageInfo(mi)
1436 }
1437 return ms
1438 }
1439 return mi.MessageOf(x)
1440 }
1441
1442 // Deprecated: Use HttpRoute_HeaderModifier.ProtoReflect.Descriptor instead.
1443 func (*HttpRoute_HeaderModifier) Descriptor() ([]byte, []int) {
1444 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 7}
1445 }
1446
1447 func (x *HttpRoute_HeaderModifier) GetSet() map[string]string {
1448 if x != nil {
1449 return x.Set
1450 }
1451 return nil
1452 }
1453
1454 func (x *HttpRoute_HeaderModifier) GetAdd() map[string]string {
1455 if x != nil {
1456 return x.Add
1457 }
1458 return nil
1459 }
1460
1461 func (x *HttpRoute_HeaderModifier) GetRemove() []string {
1462 if x != nil {
1463 return x.Remove
1464 }
1465 return nil
1466 }
1467
1468 // The specification for modifying the URL of the request, prior to forwarding
1469 // the request to the destination.
1470 type HttpRoute_URLRewrite struct {
1471 state protoimpl.MessageState
1472 sizeCache protoimpl.SizeCache
1473 unknownFields protoimpl.UnknownFields
1474
1475 // Prior to forwarding the request to the selected destination, the matching
1476 // portion of the requests path is replaced by this value.
1477 PathPrefixRewrite string `protobuf:"bytes,1,opt,name=path_prefix_rewrite,json=pathPrefixRewrite,proto3" json:"path_prefix_rewrite,omitempty"`
1478 // Prior to forwarding the request to the selected destination, the requests
1479 // host header is replaced by this value.
1480 HostRewrite string `protobuf:"bytes,2,opt,name=host_rewrite,json=hostRewrite,proto3" json:"host_rewrite,omitempty"`
1481 }
1482
1483 func (x *HttpRoute_URLRewrite) Reset() {
1484 *x = HttpRoute_URLRewrite{}
1485 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[15]
1486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1487 ms.StoreMessageInfo(mi)
1488 }
1489
1490 func (x *HttpRoute_URLRewrite) String() string {
1491 return protoimpl.X.MessageStringOf(x)
1492 }
1493
1494 func (*HttpRoute_URLRewrite) ProtoMessage() {}
1495
1496 func (x *HttpRoute_URLRewrite) ProtoReflect() protoreflect.Message {
1497 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[15]
1498 if x != nil {
1499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1500 if ms.LoadMessageInfo() == nil {
1501 ms.StoreMessageInfo(mi)
1502 }
1503 return ms
1504 }
1505 return mi.MessageOf(x)
1506 }
1507
1508 // Deprecated: Use HttpRoute_URLRewrite.ProtoReflect.Descriptor instead.
1509 func (*HttpRoute_URLRewrite) Descriptor() ([]byte, []int) {
1510 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 8}
1511 }
1512
1513 func (x *HttpRoute_URLRewrite) GetPathPrefixRewrite() string {
1514 if x != nil {
1515 return x.PathPrefixRewrite
1516 }
1517 return ""
1518 }
1519
1520 func (x *HttpRoute_URLRewrite) GetHostRewrite() string {
1521 if x != nil {
1522 return x.HostRewrite
1523 }
1524 return ""
1525 }
1526
1527 // The specifications for retries.
1528 type HttpRoute_RetryPolicy struct {
1529 state protoimpl.MessageState
1530 sizeCache protoimpl.SizeCache
1531 unknownFields protoimpl.UnknownFields
1532
1533 // Specifies one or more conditions when this retry policy applies. Valid
1534 // values are:
1535 //
1536 // 5xx: Proxy will attempt a retry if the destination service responds
1537 // with any 5xx response code, of if the destination service does not
1538 // respond at all, example: disconnect, reset, read timeout, connection
1539 // failure and refused streams.
1540 //
1541 // gateway-error: Similar to 5xx, but only applies to response codes 502,
1542 // 503, 504.
1543 //
1544 // reset: Proxy will attempt a retry if the destination service does not
1545 // respond at all (disconnect/reset/read timeout)
1546 //
1547 // connect-failure: Proxy will retry on failures connecting to destination
1548 // for example due to connection timeouts.
1549 //
1550 // retriable-4xx: Proxy will retry fro retriable 4xx response codes.
1551 // Currently the only retriable error supported is 409.
1552 //
1553 // refused-stream: Proxy will retry if the destination resets the stream
1554 // with a REFUSED_STREAM error code. This reset type indicates that it
1555 // is safe to retry.
1556 RetryConditions []string `protobuf:"bytes,1,rep,name=retry_conditions,json=retryConditions,proto3" json:"retry_conditions,omitempty"`
1557 // Specifies the allowed number of retries. This number must be > 0. If not
1558 // specified, default to 1.
1559 NumRetries int32 `protobuf:"varint,2,opt,name=num_retries,json=numRetries,proto3" json:"num_retries,omitempty"`
1560 // Specifies a non-zero timeout per retry attempt.
1561 PerTryTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=per_try_timeout,json=perTryTimeout,proto3" json:"per_try_timeout,omitempty"`
1562 }
1563
1564 func (x *HttpRoute_RetryPolicy) Reset() {
1565 *x = HttpRoute_RetryPolicy{}
1566 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[16]
1567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1568 ms.StoreMessageInfo(mi)
1569 }
1570
1571 func (x *HttpRoute_RetryPolicy) String() string {
1572 return protoimpl.X.MessageStringOf(x)
1573 }
1574
1575 func (*HttpRoute_RetryPolicy) ProtoMessage() {}
1576
1577 func (x *HttpRoute_RetryPolicy) ProtoReflect() protoreflect.Message {
1578 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[16]
1579 if x != nil {
1580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1581 if ms.LoadMessageInfo() == nil {
1582 ms.StoreMessageInfo(mi)
1583 }
1584 return ms
1585 }
1586 return mi.MessageOf(x)
1587 }
1588
1589 // Deprecated: Use HttpRoute_RetryPolicy.ProtoReflect.Descriptor instead.
1590 func (*HttpRoute_RetryPolicy) Descriptor() ([]byte, []int) {
1591 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 9}
1592 }
1593
1594 func (x *HttpRoute_RetryPolicy) GetRetryConditions() []string {
1595 if x != nil {
1596 return x.RetryConditions
1597 }
1598 return nil
1599 }
1600
1601 func (x *HttpRoute_RetryPolicy) GetNumRetries() int32 {
1602 if x != nil {
1603 return x.NumRetries
1604 }
1605 return 0
1606 }
1607
1608 func (x *HttpRoute_RetryPolicy) GetPerTryTimeout() *durationpb.Duration {
1609 if x != nil {
1610 return x.PerTryTimeout
1611 }
1612 return nil
1613 }
1614
1615 // Specifies the policy on how requests are shadowed to a separate mirrored
1616 // destination service. The proxy does not wait for responses from the
1617 // shadow service. Prior to sending traffic to the shadow service, the
1618 // host/authority header is suffixed with -shadow.
1619 // Mirroring is currently not supported for Cloud Run destinations.
1620 type HttpRoute_RequestMirrorPolicy struct {
1621 state protoimpl.MessageState
1622 sizeCache protoimpl.SizeCache
1623 unknownFields protoimpl.UnknownFields
1624
1625 // The destination the requests will be mirrored to. The weight of the
1626 // destination will be ignored.
1627 Destination *HttpRoute_Destination `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
1628 // Optional. The percentage of requests to get mirrored to the desired
1629 // destination.
1630 MirrorPercent float32 `protobuf:"fixed32,2,opt,name=mirror_percent,json=mirrorPercent,proto3" json:"mirror_percent,omitempty"`
1631 }
1632
1633 func (x *HttpRoute_RequestMirrorPolicy) Reset() {
1634 *x = HttpRoute_RequestMirrorPolicy{}
1635 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[17]
1636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1637 ms.StoreMessageInfo(mi)
1638 }
1639
1640 func (x *HttpRoute_RequestMirrorPolicy) String() string {
1641 return protoimpl.X.MessageStringOf(x)
1642 }
1643
1644 func (*HttpRoute_RequestMirrorPolicy) ProtoMessage() {}
1645
1646 func (x *HttpRoute_RequestMirrorPolicy) ProtoReflect() protoreflect.Message {
1647 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[17]
1648 if x != nil {
1649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1650 if ms.LoadMessageInfo() == nil {
1651 ms.StoreMessageInfo(mi)
1652 }
1653 return ms
1654 }
1655 return mi.MessageOf(x)
1656 }
1657
1658 // Deprecated: Use HttpRoute_RequestMirrorPolicy.ProtoReflect.Descriptor instead.
1659 func (*HttpRoute_RequestMirrorPolicy) Descriptor() ([]byte, []int) {
1660 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 10}
1661 }
1662
1663 func (x *HttpRoute_RequestMirrorPolicy) GetDestination() *HttpRoute_Destination {
1664 if x != nil {
1665 return x.Destination
1666 }
1667 return nil
1668 }
1669
1670 func (x *HttpRoute_RequestMirrorPolicy) GetMirrorPercent() float32 {
1671 if x != nil {
1672 return x.MirrorPercent
1673 }
1674 return 0
1675 }
1676
1677 // The Specification for allowing client side cross-origin requests.
1678 type HttpRoute_CorsPolicy struct {
1679 state protoimpl.MessageState
1680 sizeCache protoimpl.SizeCache
1681 unknownFields protoimpl.UnknownFields
1682
1683 // Specifies the list of origins that will be allowed to do CORS requests.
1684 // An origin is allowed if it matches either an item in allow_origins or
1685 // an item in allow_origin_regexes.
1686 AllowOrigins []string `protobuf:"bytes,1,rep,name=allow_origins,json=allowOrigins,proto3" json:"allow_origins,omitempty"`
1687 // Specifies the regular expression patterns that match allowed origins. For
1688 // regular expression grammar, please see
1689 // https://github.com/google/re2/wiki/Syntax.
1690 AllowOriginRegexes []string `protobuf:"bytes,2,rep,name=allow_origin_regexes,json=allowOriginRegexes,proto3" json:"allow_origin_regexes,omitempty"`
1691 // Specifies the content for Access-Control-Allow-Methods header.
1692 AllowMethods []string `protobuf:"bytes,3,rep,name=allow_methods,json=allowMethods,proto3" json:"allow_methods,omitempty"`
1693 // Specifies the content for Access-Control-Allow-Headers header.
1694 AllowHeaders []string `protobuf:"bytes,4,rep,name=allow_headers,json=allowHeaders,proto3" json:"allow_headers,omitempty"`
1695 // Specifies the content for Access-Control-Expose-Headers header.
1696 ExposeHeaders []string `protobuf:"bytes,5,rep,name=expose_headers,json=exposeHeaders,proto3" json:"expose_headers,omitempty"`
1697 // Specifies how long result of a preflight request can be cached in
1698 // seconds. This translates to the Access-Control-Max-Age header.
1699 MaxAge string `protobuf:"bytes,6,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
1700 // In response to a preflight request, setting this to true indicates that
1701 // the actual request can include user credentials. This translates to the
1702 // Access-Control-Allow-Credentials header.
1703 //
1704 // Default value is false.
1705 AllowCredentials bool `protobuf:"varint,7,opt,name=allow_credentials,json=allowCredentials,proto3" json:"allow_credentials,omitempty"`
1706 // If true, the CORS policy is disabled. The default value is false, which
1707 // indicates that the CORS policy is in effect.
1708 Disabled bool `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"`
1709 }
1710
1711 func (x *HttpRoute_CorsPolicy) Reset() {
1712 *x = HttpRoute_CorsPolicy{}
1713 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[18]
1714 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1715 ms.StoreMessageInfo(mi)
1716 }
1717
1718 func (x *HttpRoute_CorsPolicy) String() string {
1719 return protoimpl.X.MessageStringOf(x)
1720 }
1721
1722 func (*HttpRoute_CorsPolicy) ProtoMessage() {}
1723
1724 func (x *HttpRoute_CorsPolicy) ProtoReflect() protoreflect.Message {
1725 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[18]
1726 if x != nil {
1727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1728 if ms.LoadMessageInfo() == nil {
1729 ms.StoreMessageInfo(mi)
1730 }
1731 return ms
1732 }
1733 return mi.MessageOf(x)
1734 }
1735
1736 // Deprecated: Use HttpRoute_CorsPolicy.ProtoReflect.Descriptor instead.
1737 func (*HttpRoute_CorsPolicy) Descriptor() ([]byte, []int) {
1738 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 11}
1739 }
1740
1741 func (x *HttpRoute_CorsPolicy) GetAllowOrigins() []string {
1742 if x != nil {
1743 return x.AllowOrigins
1744 }
1745 return nil
1746 }
1747
1748 func (x *HttpRoute_CorsPolicy) GetAllowOriginRegexes() []string {
1749 if x != nil {
1750 return x.AllowOriginRegexes
1751 }
1752 return nil
1753 }
1754
1755 func (x *HttpRoute_CorsPolicy) GetAllowMethods() []string {
1756 if x != nil {
1757 return x.AllowMethods
1758 }
1759 return nil
1760 }
1761
1762 func (x *HttpRoute_CorsPolicy) GetAllowHeaders() []string {
1763 if x != nil {
1764 return x.AllowHeaders
1765 }
1766 return nil
1767 }
1768
1769 func (x *HttpRoute_CorsPolicy) GetExposeHeaders() []string {
1770 if x != nil {
1771 return x.ExposeHeaders
1772 }
1773 return nil
1774 }
1775
1776 func (x *HttpRoute_CorsPolicy) GetMaxAge() string {
1777 if x != nil {
1778 return x.MaxAge
1779 }
1780 return ""
1781 }
1782
1783 func (x *HttpRoute_CorsPolicy) GetAllowCredentials() bool {
1784 if x != nil {
1785 return x.AllowCredentials
1786 }
1787 return false
1788 }
1789
1790 func (x *HttpRoute_CorsPolicy) GetDisabled() bool {
1791 if x != nil {
1792 return x.Disabled
1793 }
1794 return false
1795 }
1796
1797 // Static HTTP response object to be returned.
1798 type HttpRoute_HttpDirectResponse struct {
1799 state protoimpl.MessageState
1800 sizeCache protoimpl.SizeCache
1801 unknownFields protoimpl.UnknownFields
1802
1803 // Body to return as part of HTTP Response.
1804 //
1805 // Types that are assignable to HttpBody:
1806 //
1807 // *HttpRoute_HttpDirectResponse_StringBody
1808 // *HttpRoute_HttpDirectResponse_BytesBody
1809 HttpBody isHttpRoute_HttpDirectResponse_HttpBody `protobuf_oneof:"HttpBody"`
1810 // Required. Status to return as part of HTTP Response. Must be a positive
1811 // integer.
1812 Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
1813 }
1814
1815 func (x *HttpRoute_HttpDirectResponse) Reset() {
1816 *x = HttpRoute_HttpDirectResponse{}
1817 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[19]
1818 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1819 ms.StoreMessageInfo(mi)
1820 }
1821
1822 func (x *HttpRoute_HttpDirectResponse) String() string {
1823 return protoimpl.X.MessageStringOf(x)
1824 }
1825
1826 func (*HttpRoute_HttpDirectResponse) ProtoMessage() {}
1827
1828 func (x *HttpRoute_HttpDirectResponse) ProtoReflect() protoreflect.Message {
1829 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[19]
1830 if x != nil {
1831 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1832 if ms.LoadMessageInfo() == nil {
1833 ms.StoreMessageInfo(mi)
1834 }
1835 return ms
1836 }
1837 return mi.MessageOf(x)
1838 }
1839
1840 // Deprecated: Use HttpRoute_HttpDirectResponse.ProtoReflect.Descriptor instead.
1841 func (*HttpRoute_HttpDirectResponse) Descriptor() ([]byte, []int) {
1842 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 12}
1843 }
1844
1845 func (m *HttpRoute_HttpDirectResponse) GetHttpBody() isHttpRoute_HttpDirectResponse_HttpBody {
1846 if m != nil {
1847 return m.HttpBody
1848 }
1849 return nil
1850 }
1851
1852 func (x *HttpRoute_HttpDirectResponse) GetStringBody() string {
1853 if x, ok := x.GetHttpBody().(*HttpRoute_HttpDirectResponse_StringBody); ok {
1854 return x.StringBody
1855 }
1856 return ""
1857 }
1858
1859 func (x *HttpRoute_HttpDirectResponse) GetBytesBody() []byte {
1860 if x, ok := x.GetHttpBody().(*HttpRoute_HttpDirectResponse_BytesBody); ok {
1861 return x.BytesBody
1862 }
1863 return nil
1864 }
1865
1866 func (x *HttpRoute_HttpDirectResponse) GetStatus() int32 {
1867 if x != nil {
1868 return x.Status
1869 }
1870 return 0
1871 }
1872
1873 type isHttpRoute_HttpDirectResponse_HttpBody interface {
1874 isHttpRoute_HttpDirectResponse_HttpBody()
1875 }
1876
1877 type HttpRoute_HttpDirectResponse_StringBody struct {
1878 // Optional. Response body as a string. Maximum body length is 1024
1879 // characters.
1880 StringBody string `protobuf:"bytes,2,opt,name=string_body,json=stringBody,proto3,oneof"`
1881 }
1882
1883 type HttpRoute_HttpDirectResponse_BytesBody struct {
1884 // Optional. Response body as bytes. Maximum body size is 4096B.
1885 BytesBody []byte `protobuf:"bytes,3,opt,name=bytes_body,json=bytesBody,proto3,oneof"`
1886 }
1887
1888 func (*HttpRoute_HttpDirectResponse_StringBody) isHttpRoute_HttpDirectResponse_HttpBody() {}
1889
1890 func (*HttpRoute_HttpDirectResponse_BytesBody) isHttpRoute_HttpDirectResponse_HttpBody() {}
1891
1892 // The specifications for routing traffic and applying associated policies.
1893 type HttpRoute_RouteAction struct {
1894 state protoimpl.MessageState
1895 sizeCache protoimpl.SizeCache
1896 unknownFields protoimpl.UnknownFields
1897
1898 // The destination to which traffic should be forwarded.
1899 Destinations []*HttpRoute_Destination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
1900 // If set, the request is directed as configured by this field.
1901 Redirect *HttpRoute_Redirect `protobuf:"bytes,2,opt,name=redirect,proto3" json:"redirect,omitempty"`
1902 // The specification for fault injection introduced into traffic to test the
1903 // resiliency of clients to backend service failure. As part of fault
1904 // injection, when clients send requests to a backend service, delays can be
1905 // introduced on a percentage of requests before sending those requests to
1906 // the backend service. Similarly requests from clients can be aborted for a
1907 // percentage of requests.
1908 //
1909 // timeout and retry_policy will be ignored by clients that are configured
1910 // with a fault_injection_policy
1911 FaultInjectionPolicy *HttpRoute_FaultInjectionPolicy `protobuf:"bytes,4,opt,name=fault_injection_policy,json=faultInjectionPolicy,proto3" json:"fault_injection_policy,omitempty"`
1912 // The specification for modifying the headers of a matching request prior
1913 // to delivery of the request to the destination. If HeaderModifiers are set
1914 // on both the Destination and the RouteAction, they will be merged.
1915 // Conflicts between the two will not be resolved on the configuration.
1916 RequestHeaderModifier *HttpRoute_HeaderModifier `protobuf:"bytes,5,opt,name=request_header_modifier,json=requestHeaderModifier,proto3" json:"request_header_modifier,omitempty"`
1917 // The specification for modifying the headers of a response prior to
1918 // sending the response back to the client. If HeaderModifiers are set
1919 // on both the Destination and the RouteAction, they will be merged.
1920 // Conflicts between the two will not be resolved on the configuration.
1921 ResponseHeaderModifier *HttpRoute_HeaderModifier `protobuf:"bytes,6,opt,name=response_header_modifier,json=responseHeaderModifier,proto3" json:"response_header_modifier,omitempty"`
1922 // The specification for rewrite URL before forwarding requests to the
1923 // destination.
1924 UrlRewrite *HttpRoute_URLRewrite `protobuf:"bytes,7,opt,name=url_rewrite,json=urlRewrite,proto3" json:"url_rewrite,omitempty"`
1925 // Specifies the timeout for selected route. Timeout is computed from the
1926 // time the request has been fully processed (i.e. end of stream) up until
1927 // the response has been completely processed. Timeout includes all retries.
1928 Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
1929 // Specifies the retry policy associated with this route.
1930 RetryPolicy *HttpRoute_RetryPolicy `protobuf:"bytes,9,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
1931 // Specifies the policy on how requests intended for the routes destination
1932 // are shadowed to a separate mirrored destination. Proxy will not wait for
1933 // the shadow destination to respond before returning the response. Prior to
1934 // sending traffic to the shadow service, the host/authority header is
1935 // suffixed with -shadow.
1936 RequestMirrorPolicy *HttpRoute_RequestMirrorPolicy `protobuf:"bytes,10,opt,name=request_mirror_policy,json=requestMirrorPolicy,proto3" json:"request_mirror_policy,omitempty"`
1937 // The specification for allowing client side cross-origin requests.
1938 CorsPolicy *HttpRoute_CorsPolicy `protobuf:"bytes,11,opt,name=cors_policy,json=corsPolicy,proto3" json:"cors_policy,omitempty"`
1939 // Optional. Specifies cookie-based stateful session affinity.
1940 StatefulSessionAffinity *HttpRoute_StatefulSessionAffinityPolicy `protobuf:"bytes,12,opt,name=stateful_session_affinity,json=statefulSessionAffinity,proto3" json:"stateful_session_affinity,omitempty"`
1941 // Optional. Static HTTP Response object to be returned regardless of the
1942 // request.
1943 DirectResponse *HttpRoute_HttpDirectResponse `protobuf:"bytes,13,opt,name=direct_response,json=directResponse,proto3" json:"direct_response,omitempty"`
1944 // Optional. Specifies the idle timeout for the selected route. The idle
1945 // timeout is defined as the period in which there are no bytes sent or
1946 // received on either the upstream or downstream connection. If not set, the
1947 // default idle timeout is 1 hour. If set to 0s, the timeout will be
1948 // disabled.
1949 IdleTimeout *durationpb.Duration `protobuf:"bytes,14,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
1950 }
1951
1952 func (x *HttpRoute_RouteAction) Reset() {
1953 *x = HttpRoute_RouteAction{}
1954 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[20]
1955 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1956 ms.StoreMessageInfo(mi)
1957 }
1958
1959 func (x *HttpRoute_RouteAction) String() string {
1960 return protoimpl.X.MessageStringOf(x)
1961 }
1962
1963 func (*HttpRoute_RouteAction) ProtoMessage() {}
1964
1965 func (x *HttpRoute_RouteAction) ProtoReflect() protoreflect.Message {
1966 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[20]
1967 if x != nil {
1968 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1969 if ms.LoadMessageInfo() == nil {
1970 ms.StoreMessageInfo(mi)
1971 }
1972 return ms
1973 }
1974 return mi.MessageOf(x)
1975 }
1976
1977 // Deprecated: Use HttpRoute_RouteAction.ProtoReflect.Descriptor instead.
1978 func (*HttpRoute_RouteAction) Descriptor() ([]byte, []int) {
1979 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 13}
1980 }
1981
1982 func (x *HttpRoute_RouteAction) GetDestinations() []*HttpRoute_Destination {
1983 if x != nil {
1984 return x.Destinations
1985 }
1986 return nil
1987 }
1988
1989 func (x *HttpRoute_RouteAction) GetRedirect() *HttpRoute_Redirect {
1990 if x != nil {
1991 return x.Redirect
1992 }
1993 return nil
1994 }
1995
1996 func (x *HttpRoute_RouteAction) GetFaultInjectionPolicy() *HttpRoute_FaultInjectionPolicy {
1997 if x != nil {
1998 return x.FaultInjectionPolicy
1999 }
2000 return nil
2001 }
2002
2003 func (x *HttpRoute_RouteAction) GetRequestHeaderModifier() *HttpRoute_HeaderModifier {
2004 if x != nil {
2005 return x.RequestHeaderModifier
2006 }
2007 return nil
2008 }
2009
2010 func (x *HttpRoute_RouteAction) GetResponseHeaderModifier() *HttpRoute_HeaderModifier {
2011 if x != nil {
2012 return x.ResponseHeaderModifier
2013 }
2014 return nil
2015 }
2016
2017 func (x *HttpRoute_RouteAction) GetUrlRewrite() *HttpRoute_URLRewrite {
2018 if x != nil {
2019 return x.UrlRewrite
2020 }
2021 return nil
2022 }
2023
2024 func (x *HttpRoute_RouteAction) GetTimeout() *durationpb.Duration {
2025 if x != nil {
2026 return x.Timeout
2027 }
2028 return nil
2029 }
2030
2031 func (x *HttpRoute_RouteAction) GetRetryPolicy() *HttpRoute_RetryPolicy {
2032 if x != nil {
2033 return x.RetryPolicy
2034 }
2035 return nil
2036 }
2037
2038 func (x *HttpRoute_RouteAction) GetRequestMirrorPolicy() *HttpRoute_RequestMirrorPolicy {
2039 if x != nil {
2040 return x.RequestMirrorPolicy
2041 }
2042 return nil
2043 }
2044
2045 func (x *HttpRoute_RouteAction) GetCorsPolicy() *HttpRoute_CorsPolicy {
2046 if x != nil {
2047 return x.CorsPolicy
2048 }
2049 return nil
2050 }
2051
2052 func (x *HttpRoute_RouteAction) GetStatefulSessionAffinity() *HttpRoute_StatefulSessionAffinityPolicy {
2053 if x != nil {
2054 return x.StatefulSessionAffinity
2055 }
2056 return nil
2057 }
2058
2059 func (x *HttpRoute_RouteAction) GetDirectResponse() *HttpRoute_HttpDirectResponse {
2060 if x != nil {
2061 return x.DirectResponse
2062 }
2063 return nil
2064 }
2065
2066 func (x *HttpRoute_RouteAction) GetIdleTimeout() *durationpb.Duration {
2067 if x != nil {
2068 return x.IdleTimeout
2069 }
2070 return nil
2071 }
2072
2073 // Specifies how to match traffic and how to route traffic when traffic is
2074 // matched.
2075 type HttpRoute_RouteRule struct {
2076 state protoimpl.MessageState
2077 sizeCache protoimpl.SizeCache
2078 unknownFields protoimpl.UnknownFields
2079
2080 // A list of matches define conditions used for matching the rule against
2081 // incoming HTTP requests. Each match is independent, i.e. this rule will be
2082 // matched if ANY one of the matches is satisfied.
2083 //
2084 // If no matches field is specified, this rule will unconditionally match
2085 // traffic.
2086 //
2087 // If a default rule is desired to be configured, add a rule with no matches
2088 // specified to the end of the rules list.
2089 Matches []*HttpRoute_RouteMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
2090 // The detailed rule defining how to route matched traffic.
2091 Action *HttpRoute_RouteAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
2092 }
2093
2094 func (x *HttpRoute_RouteRule) Reset() {
2095 *x = HttpRoute_RouteRule{}
2096 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[21]
2097 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2098 ms.StoreMessageInfo(mi)
2099 }
2100
2101 func (x *HttpRoute_RouteRule) String() string {
2102 return protoimpl.X.MessageStringOf(x)
2103 }
2104
2105 func (*HttpRoute_RouteRule) ProtoMessage() {}
2106
2107 func (x *HttpRoute_RouteRule) ProtoReflect() protoreflect.Message {
2108 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[21]
2109 if x != nil {
2110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2111 if ms.LoadMessageInfo() == nil {
2112 ms.StoreMessageInfo(mi)
2113 }
2114 return ms
2115 }
2116 return mi.MessageOf(x)
2117 }
2118
2119 // Deprecated: Use HttpRoute_RouteRule.ProtoReflect.Descriptor instead.
2120 func (*HttpRoute_RouteRule) Descriptor() ([]byte, []int) {
2121 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 14}
2122 }
2123
2124 func (x *HttpRoute_RouteRule) GetMatches() []*HttpRoute_RouteMatch {
2125 if x != nil {
2126 return x.Matches
2127 }
2128 return nil
2129 }
2130
2131 func (x *HttpRoute_RouteRule) GetAction() *HttpRoute_RouteAction {
2132 if x != nil {
2133 return x.Action
2134 }
2135 return nil
2136 }
2137
2138 // Represents an integer value range.
2139 type HttpRoute_HeaderMatch_IntegerRange struct {
2140 state protoimpl.MessageState
2141 sizeCache protoimpl.SizeCache
2142 unknownFields protoimpl.UnknownFields
2143
2144 // Start of the range (inclusive)
2145 Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
2146 // End of the range (exclusive)
2147 End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
2148 }
2149
2150 func (x *HttpRoute_HeaderMatch_IntegerRange) Reset() {
2151 *x = HttpRoute_HeaderMatch_IntegerRange{}
2152 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[23]
2153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2154 ms.StoreMessageInfo(mi)
2155 }
2156
2157 func (x *HttpRoute_HeaderMatch_IntegerRange) String() string {
2158 return protoimpl.X.MessageStringOf(x)
2159 }
2160
2161 func (*HttpRoute_HeaderMatch_IntegerRange) ProtoMessage() {}
2162
2163 func (x *HttpRoute_HeaderMatch_IntegerRange) ProtoReflect() protoreflect.Message {
2164 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[23]
2165 if x != nil {
2166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2167 if ms.LoadMessageInfo() == nil {
2168 ms.StoreMessageInfo(mi)
2169 }
2170 return ms
2171 }
2172 return mi.MessageOf(x)
2173 }
2174
2175 // Deprecated: Use HttpRoute_HeaderMatch_IntegerRange.ProtoReflect.Descriptor instead.
2176 func (*HttpRoute_HeaderMatch_IntegerRange) Descriptor() ([]byte, []int) {
2177 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 0, 0}
2178 }
2179
2180 func (x *HttpRoute_HeaderMatch_IntegerRange) GetStart() int32 {
2181 if x != nil {
2182 return x.Start
2183 }
2184 return 0
2185 }
2186
2187 func (x *HttpRoute_HeaderMatch_IntegerRange) GetEnd() int32 {
2188 if x != nil {
2189 return x.End
2190 }
2191 return 0
2192 }
2193
2194 // Specification of how client requests are delayed as part of fault
2195 // injection before being sent to a destination.
2196 type HttpRoute_FaultInjectionPolicy_Delay struct {
2197 state protoimpl.MessageState
2198 sizeCache protoimpl.SizeCache
2199 unknownFields protoimpl.UnknownFields
2200
2201 // Specify a fixed delay before forwarding the request.
2202 FixedDelay *durationpb.Duration `protobuf:"bytes,1,opt,name=fixed_delay,json=fixedDelay,proto3" json:"fixed_delay,omitempty"`
2203 // The percentage of traffic on which delay will be injected.
2204 //
2205 // The value must be between [0, 100]
2206 Percentage int32 `protobuf:"varint,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
2207 }
2208
2209 func (x *HttpRoute_FaultInjectionPolicy_Delay) Reset() {
2210 *x = HttpRoute_FaultInjectionPolicy_Delay{}
2211 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[24]
2212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2213 ms.StoreMessageInfo(mi)
2214 }
2215
2216 func (x *HttpRoute_FaultInjectionPolicy_Delay) String() string {
2217 return protoimpl.X.MessageStringOf(x)
2218 }
2219
2220 func (*HttpRoute_FaultInjectionPolicy_Delay) ProtoMessage() {}
2221
2222 func (x *HttpRoute_FaultInjectionPolicy_Delay) ProtoReflect() protoreflect.Message {
2223 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[24]
2224 if x != nil {
2225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2226 if ms.LoadMessageInfo() == nil {
2227 ms.StoreMessageInfo(mi)
2228 }
2229 return ms
2230 }
2231 return mi.MessageOf(x)
2232 }
2233
2234 // Deprecated: Use HttpRoute_FaultInjectionPolicy_Delay.ProtoReflect.Descriptor instead.
2235 func (*HttpRoute_FaultInjectionPolicy_Delay) Descriptor() ([]byte, []int) {
2236 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 5, 0}
2237 }
2238
2239 func (x *HttpRoute_FaultInjectionPolicy_Delay) GetFixedDelay() *durationpb.Duration {
2240 if x != nil {
2241 return x.FixedDelay
2242 }
2243 return nil
2244 }
2245
2246 func (x *HttpRoute_FaultInjectionPolicy_Delay) GetPercentage() int32 {
2247 if x != nil {
2248 return x.Percentage
2249 }
2250 return 0
2251 }
2252
2253 // Specification of how client requests are aborted as part of fault
2254 // injection before being sent to a destination.
2255 type HttpRoute_FaultInjectionPolicy_Abort struct {
2256 state protoimpl.MessageState
2257 sizeCache protoimpl.SizeCache
2258 unknownFields protoimpl.UnknownFields
2259
2260 // The HTTP status code used to abort the request.
2261 //
2262 // The value must be between 200 and 599 inclusive.
2263 HttpStatus int32 `protobuf:"varint,1,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"`
2264 // The percentage of traffic which will be aborted.
2265 //
2266 // The value must be between [0, 100]
2267 Percentage int32 `protobuf:"varint,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
2268 }
2269
2270 func (x *HttpRoute_FaultInjectionPolicy_Abort) Reset() {
2271 *x = HttpRoute_FaultInjectionPolicy_Abort{}
2272 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[25]
2273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2274 ms.StoreMessageInfo(mi)
2275 }
2276
2277 func (x *HttpRoute_FaultInjectionPolicy_Abort) String() string {
2278 return protoimpl.X.MessageStringOf(x)
2279 }
2280
2281 func (*HttpRoute_FaultInjectionPolicy_Abort) ProtoMessage() {}
2282
2283 func (x *HttpRoute_FaultInjectionPolicy_Abort) ProtoReflect() protoreflect.Message {
2284 mi := &file_google_cloud_networkservices_v1_http_route_proto_msgTypes[25]
2285 if x != nil {
2286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2287 if ms.LoadMessageInfo() == nil {
2288 ms.StoreMessageInfo(mi)
2289 }
2290 return ms
2291 }
2292 return mi.MessageOf(x)
2293 }
2294
2295 // Deprecated: Use HttpRoute_FaultInjectionPolicy_Abort.ProtoReflect.Descriptor instead.
2296 func (*HttpRoute_FaultInjectionPolicy_Abort) Descriptor() ([]byte, []int) {
2297 return file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP(), []int{0, 5, 1}
2298 }
2299
2300 func (x *HttpRoute_FaultInjectionPolicy_Abort) GetHttpStatus() int32 {
2301 if x != nil {
2302 return x.HttpStatus
2303 }
2304 return 0
2305 }
2306
2307 func (x *HttpRoute_FaultInjectionPolicy_Abort) GetPercentage() int32 {
2308 if x != nil {
2309 return x.Percentage
2310 }
2311 return 0
2312 }
2313
2314 var File_google_cloud_networkservices_v1_http_route_proto protoreflect.FileDescriptor
2315
2316 var file_google_cloud_networkservices_v1_http_route_proto_rawDesc = []byte{
2317 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e,
2318 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76,
2319 0x31, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
2320 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2321 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
2322 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
2323 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
2324 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
2325 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
2326 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
2327 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
2328 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
2329 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2330 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
2331 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
2332 0x74, 0x6f, 0x22, 0xe9, 0x2c, 0x0a, 0x09, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
2333 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
2334 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x6c,
2335 0x66, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
2336 0x03, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x25, 0x0a, 0x0b, 0x64,
2337 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
2338 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
2339 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
2340 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2341 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
2342 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
2343 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
2344 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2345 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
2346 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
2347 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61,
2348 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09,
2349 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x06, 0x6d, 0x65, 0x73,
2350 0x68, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x01, 0xfa, 0x41,
2351 0x25, 0x0a, 0x23, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
2352 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
2353 0x6d, 0x2f, 0x4d, 0x65, 0x73, 0x68, 0x52, 0x06, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x73, 0x12, 0x4a,
2354 0x0a, 0x08, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09,
2355 0x42, 0x2e, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x28, 0x0a, 0x26, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
2356 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2357 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
2358 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x73, 0x12, 0x53, 0x0a, 0x06, 0x6c, 0x61,
2359 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f,
2360 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
2361 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74,
2362 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
2363 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12,
2364 0x4f, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34,
2365 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65,
2366 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
2367 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65,
2368 0x52, 0x75, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73,
2369 0x1a, 0xac, 0x03, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68,
2370 0x12, 0x21, 0x0a, 0x0b, 0x65, 0x78, 0x61, 0x63, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18,
2371 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x78, 0x61, 0x63, 0x74, 0x4d, 0x61,
2372 0x74, 0x63, 0x68, 0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x65, 0x78, 0x5f, 0x6d, 0x61, 0x74,
2373 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x65,
2374 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x23, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78,
2375 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
2376 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0d, 0x70,
2377 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01,
2378 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x74,
2379 0x63, 0x68, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x6d, 0x61, 0x74,
2380 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x75, 0x66, 0x66,
2381 0x69, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x66, 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x67, 0x65,
2382 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67,
2383 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77,
2384 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48,
2385 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d,
2386 0x61, 0x74, 0x63, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67,
2387 0x65, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12,
2388 0x16, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
2389 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x76, 0x65, 0x72,
2390 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69,
2391 0x6e, 0x76, 0x65, 0x72, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0x36, 0x0a, 0x0c, 0x49, 0x6e,
2392 0x74, 0x65, 0x67, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
2393 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,
2394 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65,
2395 0x6e, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x1a,
2396 0xb8, 0x01, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
2397 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x21, 0x0a, 0x0b, 0x65, 0x78, 0x61, 0x63, 0x74,
2398 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a,
2399 0x65, 0x78, 0x61, 0x63, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65,
2400 0x67, 0x65, 0x78, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48,
2401 0x00, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x65, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x25, 0x0a,
2402 0x0d, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04,
2403 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x4d,
2404 0x61, 0x74, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x61,
2405 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x71,
2406 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x42, 0x0b, 0x0a,
2407 0x09, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xe9, 0x02, 0x0a, 0x0a, 0x52,
2408 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x75, 0x6c,
2409 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01,
2410 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x66, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x4d, 0x61,
2411 0x74, 0x63, 0x68, 0x12, 0x23, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x5f, 0x6d, 0x61,
2412 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, 0x65,
2413 0x66, 0x69, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x21, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x65,
2414 0x78, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
2415 0x0a, 0x72, 0x65, 0x67, 0x65, 0x78, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x69,
2416 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
2417 0x52, 0x0a, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x61, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x07,
2418 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e,
2419 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74,
2420 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
2421 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
2422 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x69,
2423 0x0a, 0x10, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
2424 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2425 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
2426 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52,
2427 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65,
2428 0x74, 0x65, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x0f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x50,
2429 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x50, 0x61, 0x74,
2430 0x68, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0xe6, 0x02, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x74, 0x69,
2431 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
2432 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xfa, 0x41,
2433 0x27, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2434 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e,
2435 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
2436 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
2437 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x76, 0x0a,
2438 0x17, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f,
2439 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39,
2440 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65,
2441 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
2442 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65,
2443 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15,
2444 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64,
2445 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x78, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
2446 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65,
2447 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2448 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65,
2449 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f,
2450 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69,
2451 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x16, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
2452 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x1a,
2453 0xe8, 0x03, 0x0a, 0x08, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d,
2454 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20,
2455 0x01, 0x28, 0x09, 0x52, 0x0c, 0x68, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63,
2456 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65,
2457 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x61, 0x74, 0x68, 0x52, 0x65,
2458 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78,
2459 0x5f, 0x72, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
2460 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x65, 0x0a,
2461 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04,
2462 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2463 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69,
2464 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
2465 0x2e, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
2466 0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
2467 0x43, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x5f, 0x72, 0x65,
2468 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x68, 0x74,
2469 0x74, 0x70, 0x73, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
2470 0x74, 0x72, 0x69, 0x70, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
2471 0x52, 0x0a, 0x73, 0x74, 0x72, 0x69, 0x70, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d,
2472 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x07, 0x20,
2473 0x01, 0x28, 0x05, 0x52, 0x0c, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63,
2474 0x74, 0x22, 0x96, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f,
2475 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x5f, 0x43,
2476 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
2477 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x41,
2478 0x4e, 0x45, 0x4e, 0x54, 0x4c, 0x59, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01,
2479 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53,
2480 0x45, 0x45, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x45,
2481 0x4d, 0x50, 0x4f, 0x52, 0x41, 0x52, 0x59, 0x5f, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54,
2482 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x45, 0x52, 0x4d, 0x41, 0x4e, 0x45, 0x4e, 0x54, 0x5f,
2483 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x10, 0x05, 0x1a, 0xff, 0x02, 0x0a, 0x14, 0x46,
2484 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c,
2485 0x69, 0x63, 0x79, 0x12, 0x5b, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01,
2486 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2487 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
2488 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x46,
2489 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c,
2490 0x69, 0x63, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x52, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79,
2491 0x12, 0x5b, 0x0a, 0x05, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
2492 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e,
2493 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76,
2494 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x46, 0x61, 0x75, 0x6c,
2495 0x74, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2496 0x2e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x1a, 0x63, 0x0a,
2497 0x05, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x3a, 0x0a, 0x0b, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f,
2498 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
2499 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
2500 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x66, 0x69, 0x78, 0x65, 0x64, 0x44, 0x65, 0x6c,
2501 0x61, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65,
2502 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61,
2503 0x67, 0x65, 0x1a, 0x48, 0x0a, 0x05, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x68,
2504 0x74, 0x74, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
2505 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a,
2506 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
2507 0x52, 0x0a, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x1a, 0x5e, 0x0a, 0x1d,
2508 0x53, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41,
2509 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3d, 0x0a,
2510 0x0a, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
2511 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2512 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41,
2513 0x02, 0x52, 0x09, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x54, 0x74, 0x6c, 0x1a, 0xc4, 0x02, 0x0a,
2514 0x0e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12,
2515 0x54, 0x0a, 0x03, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67,
2516 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77,
2517 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48,
2518 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d,
2519 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
2520 0x52, 0x03, 0x73, 0x65, 0x74, 0x12, 0x54, 0x0a, 0x03, 0x61, 0x64, 0x64, 0x18, 0x02, 0x20, 0x03,
2521 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2522 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
2523 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48,
2524 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x41, 0x64,
2525 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x61, 0x64, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72,
2526 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d,
2527 0x6f, 0x76, 0x65, 0x1a, 0x36, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
2528 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
2529 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
2530 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08, 0x41,
2531 0x64, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
2532 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
2533 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
2534 0x02, 0x38, 0x01, 0x1a, 0x5f, 0x0a, 0x0a, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74,
2535 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78,
2536 0x5f, 0x72, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11,
2537 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74,
2538 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x77, 0x72, 0x69, 0x74,
2539 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x77,
2540 0x72, 0x69, 0x74, 0x65, 0x1a, 0x9c, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x50, 0x6f,
2541 0x6c, 0x69, 0x63, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f,
2542 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f,
2543 0x72, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
2544 0x1f, 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02,
2545 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73,
2546 0x12, 0x41, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x5f, 0x74, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65,
2547 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2548 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61,
2549 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x70, 0x65, 0x72, 0x54, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65,
2550 0x6f, 0x75, 0x74, 0x1a, 0x9b, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d,
2551 0x69, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x58, 0x0a, 0x0b, 0x64,
2552 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
2553 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2554 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e,
2555 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x44, 0x65, 0x73,
2556 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
2557 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x0e, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f,
2558 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0,
2559 0x41, 0x01, 0x52, 0x0d, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e,
2560 0x74, 0x1a, 0xb6, 0x02, 0x0a, 0x0a, 0x43, 0x6f, 0x72, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2561 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
2562 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4f, 0x72,
2563 0x69, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6f,
2564 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x67, 0x65, 0x78, 0x65, 0x73, 0x18, 0x02, 0x20,
2565 0x03, 0x28, 0x09, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e,
2566 0x52, 0x65, 0x67, 0x65, 0x78, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77,
2567 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c,
2568 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d,
2569 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20,
2570 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
2571 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64,
2572 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x70, 0x6f, 0x73,
2573 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f,
2574 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x41, 0x67,
2575 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65,
2576 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x6c,
2577 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x1a,
2578 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08,
2579 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x8b, 0x01, 0x0a, 0x12, 0x48,
2580 0x74, 0x74, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
2581 0x65, 0x12, 0x26, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x64, 0x79,
2582 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x73,
2583 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x24, 0x0a, 0x0a, 0x62, 0x79, 0x74,
2584 0x65, 0x73, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0,
2585 0x41, 0x01, 0x48, 0x00, 0x52, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x42, 0x6f, 0x64, 0x79, 0x12,
2586 0x1b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42,
2587 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x0a, 0x0a, 0x08,
2588 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x1a, 0x89, 0x0a, 0x0a, 0x0b, 0x52, 0x6f, 0x75,
2589 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74,
2590 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36,
2591 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65,
2592 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
2593 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69,
2594 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
2595 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4f, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
2596 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2597 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72,
2598 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75,
2599 0x74, 0x65, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x08, 0x72, 0x65, 0x64,
2600 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x75, 0x0a, 0x16, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x69,
2601 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18,
2602 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2603 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
2604 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74,
2605 0x65, 0x2e, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
2606 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x14, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x6a,
2607 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x71, 0x0a, 0x17,
2608 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6d,
2609 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e,
2610 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74,
2611 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
2612 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
2613 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
2614 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12,
2615 0x73, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64,
2616 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28,
2617 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2618 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
2619 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x65,
2620 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x16, 0x72, 0x65,
2621 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x69,
2622 0x66, 0x69, 0x65, 0x72, 0x12, 0x56, 0x0a, 0x0b, 0x75, 0x72, 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x72,
2623 0x69, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2624 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
2625 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70,
2626 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65,
2627 0x52, 0x0a, 0x75, 0x72, 0x6c, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x07,
2628 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
2629 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
2630 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75,
2631 0x74, 0x12, 0x59, 0x0a, 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
2632 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2633 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65,
2634 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f,
2635 0x75, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
2636 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x72, 0x0a, 0x15,
2637 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x70,
2638 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f,
2639 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f,
2640 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74,
2641 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d,
2642 0x69, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x13, 0x72, 0x65, 0x71,
2643 0x75, 0x65, 0x73, 0x74, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2644 0x12, 0x56, 0x0a, 0x0b, 0x63, 0x6f, 0x72, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18,
2645 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2646 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
2647 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74,
2648 0x65, 0x2e, 0x43, 0x6f, 0x72, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0a, 0x63, 0x6f,
2649 0x72, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x89, 0x01, 0x0a, 0x19, 0x73, 0x74, 0x61,
2650 0x74, 0x65, 0x66, 0x75, 0x6c, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x66,
2651 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67,
2652 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77,
2653 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48,
2654 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75,
2655 0x6c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79,
2656 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x17, 0x73, 0x74, 0x61,
2657 0x74, 0x65, 0x66, 0x75, 0x6c, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69,
2658 0x6e, 0x69, 0x74, 0x79, 0x12, 0x6b, 0x0a, 0x0f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x72,
2659 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e,
2660 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74,
2661 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
2662 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x44, 0x69,
2663 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x03, 0xe0, 0x41,
2664 0x01, 0x52, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
2665 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75,
2666 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2667 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
2668 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x69, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d,
2669 0x65, 0x6f, 0x75, 0x74, 0x1a, 0xac, 0x01, 0x0a, 0x09, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x75,
2670 0x6c, 0x65, 0x12, 0x4f, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20,
2671 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2672 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
2673 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e,
2674 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63,
2675 0x68, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
2676 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2677 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
2678 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x2e,
2679 0x52, 0x6f, 0x75, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74,
2680 0x69, 0x6f, 0x6e, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
2681 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
2682 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
2683 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x6e,
2684 0xea, 0x41, 0x6b, 0x0a, 0x28, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
2685 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
2686 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x3f, 0x70,
2687 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
2688 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63,
2689 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
2690 0x73, 0x2f, 0x7b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x7d, 0x22, 0xd8,
2691 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
2692 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
2693 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a,
2694 0x12, 0x28, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
2695 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
2696 0x2f, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
2697 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
2698 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
2699 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20,
2700 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x39,
2701 0x0a, 0x16, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
2702 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03,
2703 0xe0, 0x41, 0x01, 0x52, 0x14, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69,
2704 0x61, 0x6c, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x16, 0x4c, 0x69,
2705 0x73, 0x74, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
2706 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x6f, 0x75,
2707 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2708 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
2709 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70,
2710 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65,
2711 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
2712 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
2713 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72,
2714 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b,
2715 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x5b, 0x0a, 0x13, 0x47,
2716 0x65, 0x74, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
2717 0x73, 0x74, 0x12, 0x44, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
2718 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
2719 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2720 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75,
2721 0x74, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xdb, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65,
2722 0x61, 0x74, 0x65, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
2723 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
2724 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x12, 0x28, 0x6e, 0x65, 0x74,
2725 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
2726 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x74, 0x74, 0x70,
2727 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a,
2728 0x0d, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02,
2729 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x52,
2730 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x4e, 0x0a, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72,
2731 0x6f, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f,
2732 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
2733 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74,
2734 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x68, 0x74, 0x74,
2735 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74,
2736 0x65, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2737 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
2738 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2739 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61,
2740 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
2741 0x61, 0x73, 0x6b, 0x12, 0x4e, 0x0a, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74,
2742 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2743 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65,
2744 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f,
2745 0x75, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x52, 0x6f,
2746 0x75, 0x74, 0x65, 0x22, 0x5e, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x74, 0x74,
2747 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a,
2748 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02,
2749 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
2750 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
2751 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x74, 0x74, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x04, 0x6e,
2752 0x61, 0x6d, 0x65, 0x42, 0xef, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2753 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
2754 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x48, 0x74, 0x74,
2755 0x70, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63,
2756 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
2757 0x67, 0x6f, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
2758 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
2759 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x6e, 0x65, 0x74, 0x77, 0x6f,
2760 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47,
2761 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77,
2762 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02,
2763 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65,
2764 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31,
2765 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
2766 0x3a, 0x3a, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
2767 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2768 }
2769
2770 var (
2771 file_google_cloud_networkservices_v1_http_route_proto_rawDescOnce sync.Once
2772 file_google_cloud_networkservices_v1_http_route_proto_rawDescData = file_google_cloud_networkservices_v1_http_route_proto_rawDesc
2773 )
2774
2775 func file_google_cloud_networkservices_v1_http_route_proto_rawDescGZIP() []byte {
2776 file_google_cloud_networkservices_v1_http_route_proto_rawDescOnce.Do(func() {
2777 file_google_cloud_networkservices_v1_http_route_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networkservices_v1_http_route_proto_rawDescData)
2778 })
2779 return file_google_cloud_networkservices_v1_http_route_proto_rawDescData
2780 }
2781
2782 var file_google_cloud_networkservices_v1_http_route_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
2783 var file_google_cloud_networkservices_v1_http_route_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
2784 var file_google_cloud_networkservices_v1_http_route_proto_goTypes = []any{
2785 (HttpRoute_Redirect_ResponseCode)(0), // 0: google.cloud.networkservices.v1.HttpRoute.Redirect.ResponseCode
2786 (*HttpRoute)(nil), // 1: google.cloud.networkservices.v1.HttpRoute
2787 (*ListHttpRoutesRequest)(nil), // 2: google.cloud.networkservices.v1.ListHttpRoutesRequest
2788 (*ListHttpRoutesResponse)(nil), // 3: google.cloud.networkservices.v1.ListHttpRoutesResponse
2789 (*GetHttpRouteRequest)(nil), // 4: google.cloud.networkservices.v1.GetHttpRouteRequest
2790 (*CreateHttpRouteRequest)(nil), // 5: google.cloud.networkservices.v1.CreateHttpRouteRequest
2791 (*UpdateHttpRouteRequest)(nil), // 6: google.cloud.networkservices.v1.UpdateHttpRouteRequest
2792 (*DeleteHttpRouteRequest)(nil), // 7: google.cloud.networkservices.v1.DeleteHttpRouteRequest
2793 (*HttpRoute_HeaderMatch)(nil), // 8: google.cloud.networkservices.v1.HttpRoute.HeaderMatch
2794 (*HttpRoute_QueryParameterMatch)(nil), // 9: google.cloud.networkservices.v1.HttpRoute.QueryParameterMatch
2795 (*HttpRoute_RouteMatch)(nil), // 10: google.cloud.networkservices.v1.HttpRoute.RouteMatch
2796 (*HttpRoute_Destination)(nil), // 11: google.cloud.networkservices.v1.HttpRoute.Destination
2797 (*HttpRoute_Redirect)(nil), // 12: google.cloud.networkservices.v1.HttpRoute.Redirect
2798 (*HttpRoute_FaultInjectionPolicy)(nil), // 13: google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy
2799 (*HttpRoute_StatefulSessionAffinityPolicy)(nil), // 14: google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy
2800 (*HttpRoute_HeaderModifier)(nil), // 15: google.cloud.networkservices.v1.HttpRoute.HeaderModifier
2801 (*HttpRoute_URLRewrite)(nil), // 16: google.cloud.networkservices.v1.HttpRoute.URLRewrite
2802 (*HttpRoute_RetryPolicy)(nil), // 17: google.cloud.networkservices.v1.HttpRoute.RetryPolicy
2803 (*HttpRoute_RequestMirrorPolicy)(nil), // 18: google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy
2804 (*HttpRoute_CorsPolicy)(nil), // 19: google.cloud.networkservices.v1.HttpRoute.CorsPolicy
2805 (*HttpRoute_HttpDirectResponse)(nil), // 20: google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse
2806 (*HttpRoute_RouteAction)(nil), // 21: google.cloud.networkservices.v1.HttpRoute.RouteAction
2807 (*HttpRoute_RouteRule)(nil), // 22: google.cloud.networkservices.v1.HttpRoute.RouteRule
2808 nil, // 23: google.cloud.networkservices.v1.HttpRoute.LabelsEntry
2809 (*HttpRoute_HeaderMatch_IntegerRange)(nil), // 24: google.cloud.networkservices.v1.HttpRoute.HeaderMatch.IntegerRange
2810 (*HttpRoute_FaultInjectionPolicy_Delay)(nil), // 25: google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay
2811 (*HttpRoute_FaultInjectionPolicy_Abort)(nil), // 26: google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort
2812 nil, // 27: google.cloud.networkservices.v1.HttpRoute.HeaderModifier.SetEntry
2813 nil, // 28: google.cloud.networkservices.v1.HttpRoute.HeaderModifier.AddEntry
2814 (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp
2815 (*fieldmaskpb.FieldMask)(nil), // 30: google.protobuf.FieldMask
2816 (*durationpb.Duration)(nil), // 31: google.protobuf.Duration
2817 }
2818 var file_google_cloud_networkservices_v1_http_route_proto_depIdxs = []int32{
2819 29, // 0: google.cloud.networkservices.v1.HttpRoute.create_time:type_name -> google.protobuf.Timestamp
2820 29, // 1: google.cloud.networkservices.v1.HttpRoute.update_time:type_name -> google.protobuf.Timestamp
2821 23, // 2: google.cloud.networkservices.v1.HttpRoute.labels:type_name -> google.cloud.networkservices.v1.HttpRoute.LabelsEntry
2822 22, // 3: google.cloud.networkservices.v1.HttpRoute.rules:type_name -> google.cloud.networkservices.v1.HttpRoute.RouteRule
2823 1, // 4: google.cloud.networkservices.v1.ListHttpRoutesResponse.http_routes:type_name -> google.cloud.networkservices.v1.HttpRoute
2824 1, // 5: google.cloud.networkservices.v1.CreateHttpRouteRequest.http_route:type_name -> google.cloud.networkservices.v1.HttpRoute
2825 30, // 6: google.cloud.networkservices.v1.UpdateHttpRouteRequest.update_mask:type_name -> google.protobuf.FieldMask
2826 1, // 7: google.cloud.networkservices.v1.UpdateHttpRouteRequest.http_route:type_name -> google.cloud.networkservices.v1.HttpRoute
2827 24, // 8: google.cloud.networkservices.v1.HttpRoute.HeaderMatch.range_match:type_name -> google.cloud.networkservices.v1.HttpRoute.HeaderMatch.IntegerRange
2828 8, // 9: google.cloud.networkservices.v1.HttpRoute.RouteMatch.headers:type_name -> google.cloud.networkservices.v1.HttpRoute.HeaderMatch
2829 9, // 10: google.cloud.networkservices.v1.HttpRoute.RouteMatch.query_parameters:type_name -> google.cloud.networkservices.v1.HttpRoute.QueryParameterMatch
2830 15, // 11: google.cloud.networkservices.v1.HttpRoute.Destination.request_header_modifier:type_name -> google.cloud.networkservices.v1.HttpRoute.HeaderModifier
2831 15, // 12: google.cloud.networkservices.v1.HttpRoute.Destination.response_header_modifier:type_name -> google.cloud.networkservices.v1.HttpRoute.HeaderModifier
2832 0, // 13: google.cloud.networkservices.v1.HttpRoute.Redirect.response_code:type_name -> google.cloud.networkservices.v1.HttpRoute.Redirect.ResponseCode
2833 25, // 14: google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.delay:type_name -> google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay
2834 26, // 15: google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.abort:type_name -> google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Abort
2835 31, // 16: google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy.cookie_ttl:type_name -> google.protobuf.Duration
2836 27, // 17: google.cloud.networkservices.v1.HttpRoute.HeaderModifier.set:type_name -> google.cloud.networkservices.v1.HttpRoute.HeaderModifier.SetEntry
2837 28, // 18: google.cloud.networkservices.v1.HttpRoute.HeaderModifier.add:type_name -> google.cloud.networkservices.v1.HttpRoute.HeaderModifier.AddEntry
2838 31, // 19: google.cloud.networkservices.v1.HttpRoute.RetryPolicy.per_try_timeout:type_name -> google.protobuf.Duration
2839 11, // 20: google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy.destination:type_name -> google.cloud.networkservices.v1.HttpRoute.Destination
2840 11, // 21: google.cloud.networkservices.v1.HttpRoute.RouteAction.destinations:type_name -> google.cloud.networkservices.v1.HttpRoute.Destination
2841 12, // 22: google.cloud.networkservices.v1.HttpRoute.RouteAction.redirect:type_name -> google.cloud.networkservices.v1.HttpRoute.Redirect
2842 13, // 23: google.cloud.networkservices.v1.HttpRoute.RouteAction.fault_injection_policy:type_name -> google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy
2843 15, // 24: google.cloud.networkservices.v1.HttpRoute.RouteAction.request_header_modifier:type_name -> google.cloud.networkservices.v1.HttpRoute.HeaderModifier
2844 15, // 25: google.cloud.networkservices.v1.HttpRoute.RouteAction.response_header_modifier:type_name -> google.cloud.networkservices.v1.HttpRoute.HeaderModifier
2845 16, // 26: google.cloud.networkservices.v1.HttpRoute.RouteAction.url_rewrite:type_name -> google.cloud.networkservices.v1.HttpRoute.URLRewrite
2846 31, // 27: google.cloud.networkservices.v1.HttpRoute.RouteAction.timeout:type_name -> google.protobuf.Duration
2847 17, // 28: google.cloud.networkservices.v1.HttpRoute.RouteAction.retry_policy:type_name -> google.cloud.networkservices.v1.HttpRoute.RetryPolicy
2848 18, // 29: google.cloud.networkservices.v1.HttpRoute.RouteAction.request_mirror_policy:type_name -> google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy
2849 19, // 30: google.cloud.networkservices.v1.HttpRoute.RouteAction.cors_policy:type_name -> google.cloud.networkservices.v1.HttpRoute.CorsPolicy
2850 14, // 31: google.cloud.networkservices.v1.HttpRoute.RouteAction.stateful_session_affinity:type_name -> google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy
2851 20, // 32: google.cloud.networkservices.v1.HttpRoute.RouteAction.direct_response:type_name -> google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse
2852 31, // 33: google.cloud.networkservices.v1.HttpRoute.RouteAction.idle_timeout:type_name -> google.protobuf.Duration
2853 10, // 34: google.cloud.networkservices.v1.HttpRoute.RouteRule.matches:type_name -> google.cloud.networkservices.v1.HttpRoute.RouteMatch
2854 21, // 35: google.cloud.networkservices.v1.HttpRoute.RouteRule.action:type_name -> google.cloud.networkservices.v1.HttpRoute.RouteAction
2855 31, // 36: google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy.Delay.fixed_delay:type_name -> google.protobuf.Duration
2856 37, // [37:37] is the sub-list for method output_type
2857 37, // [37:37] is the sub-list for method input_type
2858 37, // [37:37] is the sub-list for extension type_name
2859 37, // [37:37] is the sub-list for extension extendee
2860 0, // [0:37] is the sub-list for field type_name
2861 }
2862
2863 func init() { file_google_cloud_networkservices_v1_http_route_proto_init() }
2864 func file_google_cloud_networkservices_v1_http_route_proto_init() {
2865 if File_google_cloud_networkservices_v1_http_route_proto != nil {
2866 return
2867 }
2868 file_google_cloud_networkservices_v1_http_route_proto_msgTypes[7].OneofWrappers = []any{
2869 (*HttpRoute_HeaderMatch_ExactMatch)(nil),
2870 (*HttpRoute_HeaderMatch_RegexMatch)(nil),
2871 (*HttpRoute_HeaderMatch_PrefixMatch)(nil),
2872 (*HttpRoute_HeaderMatch_PresentMatch)(nil),
2873 (*HttpRoute_HeaderMatch_SuffixMatch)(nil),
2874 (*HttpRoute_HeaderMatch_RangeMatch)(nil),
2875 }
2876 file_google_cloud_networkservices_v1_http_route_proto_msgTypes[8].OneofWrappers = []any{
2877 (*HttpRoute_QueryParameterMatch_ExactMatch)(nil),
2878 (*HttpRoute_QueryParameterMatch_RegexMatch)(nil),
2879 (*HttpRoute_QueryParameterMatch_PresentMatch)(nil),
2880 }
2881 file_google_cloud_networkservices_v1_http_route_proto_msgTypes[9].OneofWrappers = []any{
2882 (*HttpRoute_RouteMatch_FullPathMatch)(nil),
2883 (*HttpRoute_RouteMatch_PrefixMatch)(nil),
2884 (*HttpRoute_RouteMatch_RegexMatch)(nil),
2885 }
2886 file_google_cloud_networkservices_v1_http_route_proto_msgTypes[19].OneofWrappers = []any{
2887 (*HttpRoute_HttpDirectResponse_StringBody)(nil),
2888 (*HttpRoute_HttpDirectResponse_BytesBody)(nil),
2889 }
2890 type x struct{}
2891 out := protoimpl.TypeBuilder{
2892 File: protoimpl.DescBuilder{
2893 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2894 RawDescriptor: file_google_cloud_networkservices_v1_http_route_proto_rawDesc,
2895 NumEnums: 1,
2896 NumMessages: 28,
2897 NumExtensions: 0,
2898 NumServices: 0,
2899 },
2900 GoTypes: file_google_cloud_networkservices_v1_http_route_proto_goTypes,
2901 DependencyIndexes: file_google_cloud_networkservices_v1_http_route_proto_depIdxs,
2902 EnumInfos: file_google_cloud_networkservices_v1_http_route_proto_enumTypes,
2903 MessageInfos: file_google_cloud_networkservices_v1_http_route_proto_msgTypes,
2904 }.Build()
2905 File_google_cloud_networkservices_v1_http_route_proto = out.File
2906 file_google_cloud_networkservices_v1_http_route_proto_rawDesc = nil
2907 file_google_cloud_networkservices_v1_http_route_proto_goTypes = nil
2908 file_google_cloud_networkservices_v1_http_route_proto_depIdxs = nil
2909 }