Debian Codegraph @

networkservices/apiv1/networkservicespb/endpoint_policy.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/endpoint_policy.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 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // The type of endpoint policy.
41 type EndpointPolicy_EndpointPolicyType int32
42
43 const (
44 // Default value. Must not be used.
45 EndpointPolicy_ENDPOINT_POLICY_TYPE_UNSPECIFIED EndpointPolicy_EndpointPolicyType = 0
46 // Represents a proxy deployed as a sidecar.
47 EndpointPolicy_SIDECAR_PROXY EndpointPolicy_EndpointPolicyType = 1
48 // Represents a proxyless gRPC backend.
49 EndpointPolicy_GRPC_SERVER EndpointPolicy_EndpointPolicyType = 2
50 )
51
52 // Enum value maps for EndpointPolicy_EndpointPolicyType.
53 var (
54 EndpointPolicy_EndpointPolicyType_name = map[int32]string{
55 0: "ENDPOINT_POLICY_TYPE_UNSPECIFIED",
56 1: "SIDECAR_PROXY",
57 2: "GRPC_SERVER",
58 }
59 EndpointPolicy_EndpointPolicyType_value = map[string]int32{
60 "ENDPOINT_POLICY_TYPE_UNSPECIFIED": 0,
61 "SIDECAR_PROXY": 1,
62 "GRPC_SERVER": 2,
63 }
64 )
65
66 func (x EndpointPolicy_EndpointPolicyType) Enum() *EndpointPolicy_EndpointPolicyType {
67 p := new(EndpointPolicy_EndpointPolicyType)
68 *p = x
69 return p
70 }
71
72 func (x EndpointPolicy_EndpointPolicyType) String() string {
73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
74 }
75
76 func (EndpointPolicy_EndpointPolicyType) Descriptor() protoreflect.EnumDescriptor {
77 return file_google_cloud_networkservices_v1_endpoint_policy_proto_enumTypes[0].Descriptor()
78 }
79
80 func (EndpointPolicy_EndpointPolicyType) Type() protoreflect.EnumType {
81 return &file_google_cloud_networkservices_v1_endpoint_policy_proto_enumTypes[0]
82 }
83
84 func (x EndpointPolicy_EndpointPolicyType) Number() protoreflect.EnumNumber {
85 return protoreflect.EnumNumber(x)
86 }
87
88 // Deprecated: Use EndpointPolicy_EndpointPolicyType.Descriptor instead.
89 func (EndpointPolicy_EndpointPolicyType) EnumDescriptor() ([]byte, []int) {
90 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP(), []int{0, 0}
91 }
92
93 // EndpointPolicy is a resource that helps apply desired configuration
94 // on the endpoints that match specific criteria.
95 // For example, this resource can be used to apply "authentication config"
96 // an all endpoints that serve on port 8080.
97 type EndpointPolicy struct {
98 state protoimpl.MessageState
99 sizeCache protoimpl.SizeCache
100 unknownFields protoimpl.UnknownFields
101
102 // Identifier. Name of the EndpointPolicy resource. It matches pattern
103 // `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`.
104 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
105 // Output only. The timestamp when the resource was created.
106 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
107 // Output only. The timestamp when the resource was updated.
108 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
109 // Optional. Set of label tags associated with the EndpointPolicy resource.
110 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
111 // Required. The type of endpoint policy. This is primarily used to validate
112 // the configuration.
113 Type EndpointPolicy_EndpointPolicyType `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.networkservices.v1.EndpointPolicy_EndpointPolicyType" json:"type,omitempty"`
114 // Optional. This field specifies the URL of AuthorizationPolicy resource that
115 // applies authorization policies to the inbound traffic at the
116 // matched endpoints. Refer to Authorization. If this field is not
117 // specified, authorization is disabled(no authz checks) for this
118 // endpoint.
119 AuthorizationPolicy string `protobuf:"bytes,7,opt,name=authorization_policy,json=authorizationPolicy,proto3" json:"authorization_policy,omitempty"`
120 // Required. A matcher that selects endpoints to which the policies should be
121 // applied.
122 EndpointMatcher *EndpointMatcher `protobuf:"bytes,9,opt,name=endpoint_matcher,json=endpointMatcher,proto3" json:"endpoint_matcher,omitempty"`
123 // Optional. Port selector for the (matched) endpoints. If no port selector is
124 // provided, the matched config is applied to all ports.
125 TrafficPortSelector *TrafficPortSelector `protobuf:"bytes,10,opt,name=traffic_port_selector,json=trafficPortSelector,proto3" json:"traffic_port_selector,omitempty"`
126 // Optional. A free-text description of the resource. Max length 1024
127 // characters.
128 Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
129 // Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is
130 // used to determine the authentication policy to be applied to terminate the
131 // inbound traffic at the identified backends. If this field is not set,
132 // authentication is disabled(open) for this endpoint.
133 ServerTlsPolicy string `protobuf:"bytes,12,opt,name=server_tls_policy,json=serverTlsPolicy,proto3" json:"server_tls_policy,omitempty"`
134 // Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy
135 // can be set to specify the authentication for traffic from the proxy to the
136 // actual endpoints. More specifically, it is applied to the outgoing traffic
137 // from the proxy to the endpoint. This is typically used for sidecar model
138 // where the proxy identifies itself as endpoint to the control plane, with
139 // the connection between sidecar and endpoint requiring authentication. If
140 // this field is not set, authentication is disabled(open). Applicable only
141 // when EndpointPolicyType is SIDECAR_PROXY.
142 ClientTlsPolicy string `protobuf:"bytes,13,opt,name=client_tls_policy,json=clientTlsPolicy,proto3" json:"client_tls_policy,omitempty"`
143 }
144
145 func (x *EndpointPolicy) Reset() {
146 *x = EndpointPolicy{}
147 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[0]
148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
149 ms.StoreMessageInfo(mi)
150 }
151
152 func (x *EndpointPolicy) String() string {
153 return protoimpl.X.MessageStringOf(x)
154 }
155
156 func (*EndpointPolicy) ProtoMessage() {}
157
158 func (x *EndpointPolicy) ProtoReflect() protoreflect.Message {
159 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[0]
160 if x != nil {
161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
162 if ms.LoadMessageInfo() == nil {
163 ms.StoreMessageInfo(mi)
164 }
165 return ms
166 }
167 return mi.MessageOf(x)
168 }
169
170 // Deprecated: Use EndpointPolicy.ProtoReflect.Descriptor instead.
171 func (*EndpointPolicy) Descriptor() ([]byte, []int) {
172 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP(), []int{0}
173 }
174
175 func (x *EndpointPolicy) GetName() string {
176 if x != nil {
177 return x.Name
178 }
179 return ""
180 }
181
182 func (x *EndpointPolicy) GetCreateTime() *timestamppb.Timestamp {
183 if x != nil {
184 return x.CreateTime
185 }
186 return nil
187 }
188
189 func (x *EndpointPolicy) GetUpdateTime() *timestamppb.Timestamp {
190 if x != nil {
191 return x.UpdateTime
192 }
193 return nil
194 }
195
196 func (x *EndpointPolicy) GetLabels() map[string]string {
197 if x != nil {
198 return x.Labels
199 }
200 return nil
201 }
202
203 func (x *EndpointPolicy) GetType() EndpointPolicy_EndpointPolicyType {
204 if x != nil {
205 return x.Type
206 }
207 return EndpointPolicy_ENDPOINT_POLICY_TYPE_UNSPECIFIED
208 }
209
210 func (x *EndpointPolicy) GetAuthorizationPolicy() string {
211 if x != nil {
212 return x.AuthorizationPolicy
213 }
214 return ""
215 }
216
217 func (x *EndpointPolicy) GetEndpointMatcher() *EndpointMatcher {
218 if x != nil {
219 return x.EndpointMatcher
220 }
221 return nil
222 }
223
224 func (x *EndpointPolicy) GetTrafficPortSelector() *TrafficPortSelector {
225 if x != nil {
226 return x.TrafficPortSelector
227 }
228 return nil
229 }
230
231 func (x *EndpointPolicy) GetDescription() string {
232 if x != nil {
233 return x.Description
234 }
235 return ""
236 }
237
238 func (x *EndpointPolicy) GetServerTlsPolicy() string {
239 if x != nil {
240 return x.ServerTlsPolicy
241 }
242 return ""
243 }
244
245 func (x *EndpointPolicy) GetClientTlsPolicy() string {
246 if x != nil {
247 return x.ClientTlsPolicy
248 }
249 return ""
250 }
251
252 // Request used with the ListEndpointPolicies method.
253 type ListEndpointPoliciesRequest struct {
254 state protoimpl.MessageState
255 sizeCache protoimpl.SizeCache
256 unknownFields protoimpl.UnknownFields
257
258 // Required. The project and location from which the EndpointPolicies should
259 // be listed, specified in the format `projects/*/locations/global`.
260 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
261 // Maximum number of EndpointPolicies to return per call.
262 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
263 // The value returned by the last `ListEndpointPoliciesResponse`
264 // Indicates that this is a continuation of a prior
265 // `ListEndpointPolicies` call, and that the system should return the
266 // next page of data.
267 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
268 // Optional. If true, allow partial responses for multi-regional Aggregated
269 // List requests. Otherwise if one of the locations is down or unreachable,
270 // the Aggregated List request will fail.
271 ReturnPartialSuccess bool `protobuf:"varint,4,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
272 }
273
274 func (x *ListEndpointPoliciesRequest) Reset() {
275 *x = ListEndpointPoliciesRequest{}
276 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[1]
277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
278 ms.StoreMessageInfo(mi)
279 }
280
281 func (x *ListEndpointPoliciesRequest) String() string {
282 return protoimpl.X.MessageStringOf(x)
283 }
284
285 func (*ListEndpointPoliciesRequest) ProtoMessage() {}
286
287 func (x *ListEndpointPoliciesRequest) ProtoReflect() protoreflect.Message {
288 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[1]
289 if x != nil {
290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
291 if ms.LoadMessageInfo() == nil {
292 ms.StoreMessageInfo(mi)
293 }
294 return ms
295 }
296 return mi.MessageOf(x)
297 }
298
299 // Deprecated: Use ListEndpointPoliciesRequest.ProtoReflect.Descriptor instead.
300 func (*ListEndpointPoliciesRequest) Descriptor() ([]byte, []int) {
301 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP(), []int{1}
302 }
303
304 func (x *ListEndpointPoliciesRequest) GetParent() string {
305 if x != nil {
306 return x.Parent
307 }
308 return ""
309 }
310
311 func (x *ListEndpointPoliciesRequest) GetPageSize() int32 {
312 if x != nil {
313 return x.PageSize
314 }
315 return 0
316 }
317
318 func (x *ListEndpointPoliciesRequest) GetPageToken() string {
319 if x != nil {
320 return x.PageToken
321 }
322 return ""
323 }
324
325 func (x *ListEndpointPoliciesRequest) GetReturnPartialSuccess() bool {
326 if x != nil {
327 return x.ReturnPartialSuccess
328 }
329 return false
330 }
331
332 // Response returned by the ListEndpointPolicies method.
333 type ListEndpointPoliciesResponse struct {
334 state protoimpl.MessageState
335 sizeCache protoimpl.SizeCache
336 unknownFields protoimpl.UnknownFields
337
338 // List of EndpointPolicy resources.
339 EndpointPolicies []*EndpointPolicy `protobuf:"bytes,1,rep,name=endpoint_policies,json=endpointPolicies,proto3" json:"endpoint_policies,omitempty"`
340 // If there might be more results than those appearing in this response, then
341 // `next_page_token` is included. To get the next set of results, call this
342 // method again using the value of `next_page_token` as `page_token`.
343 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
344 // Unreachable resources. Populated when the request opts into
345 // [return_partial_success][google.cloud.networkservices.v1.ListEndpointPoliciesRequest.return_partial_success]
346 // and reading across collections e.g. when
347 // attempting to list all resources across all supported locations.
348 Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
349 }
350
351 func (x *ListEndpointPoliciesResponse) Reset() {
352 *x = ListEndpointPoliciesResponse{}
353 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[2]
354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
355 ms.StoreMessageInfo(mi)
356 }
357
358 func (x *ListEndpointPoliciesResponse) String() string {
359 return protoimpl.X.MessageStringOf(x)
360 }
361
362 func (*ListEndpointPoliciesResponse) ProtoMessage() {}
363
364 func (x *ListEndpointPoliciesResponse) ProtoReflect() protoreflect.Message {
365 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[2]
366 if x != nil {
367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368 if ms.LoadMessageInfo() == nil {
369 ms.StoreMessageInfo(mi)
370 }
371 return ms
372 }
373 return mi.MessageOf(x)
374 }
375
376 // Deprecated: Use ListEndpointPoliciesResponse.ProtoReflect.Descriptor instead.
377 func (*ListEndpointPoliciesResponse) Descriptor() ([]byte, []int) {
378 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP(), []int{2}
379 }
380
381 func (x *ListEndpointPoliciesResponse) GetEndpointPolicies() []*EndpointPolicy {
382 if x != nil {
383 return x.EndpointPolicies
384 }
385 return nil
386 }
387
388 func (x *ListEndpointPoliciesResponse) GetNextPageToken() string {
389 if x != nil {
390 return x.NextPageToken
391 }
392 return ""
393 }
394
395 func (x *ListEndpointPoliciesResponse) GetUnreachable() []string {
396 if x != nil {
397 return x.Unreachable
398 }
399 return nil
400 }
401
402 // Request used with the GetEndpointPolicy method.
403 type GetEndpointPolicyRequest struct {
404 state protoimpl.MessageState
405 sizeCache protoimpl.SizeCache
406 unknownFields protoimpl.UnknownFields
407
408 // Required. A name of the EndpointPolicy to get. Must be in the format
409 // `projects/*/locations/global/endpointPolicies/*`.
410 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
411 }
412
413 func (x *GetEndpointPolicyRequest) Reset() {
414 *x = GetEndpointPolicyRequest{}
415 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[3]
416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
417 ms.StoreMessageInfo(mi)
418 }
419
420 func (x *GetEndpointPolicyRequest) String() string {
421 return protoimpl.X.MessageStringOf(x)
422 }
423
424 func (*GetEndpointPolicyRequest) ProtoMessage() {}
425
426 func (x *GetEndpointPolicyRequest) ProtoReflect() protoreflect.Message {
427 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[3]
428 if x != nil {
429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
430 if ms.LoadMessageInfo() == nil {
431 ms.StoreMessageInfo(mi)
432 }
433 return ms
434 }
435 return mi.MessageOf(x)
436 }
437
438 // Deprecated: Use GetEndpointPolicyRequest.ProtoReflect.Descriptor instead.
439 func (*GetEndpointPolicyRequest) Descriptor() ([]byte, []int) {
440 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP(), []int{3}
441 }
442
443 func (x *GetEndpointPolicyRequest) GetName() string {
444 if x != nil {
445 return x.Name
446 }
447 return ""
448 }
449
450 // Request used with the CreateEndpointPolicy method.
451 type CreateEndpointPolicyRequest struct {
452 state protoimpl.MessageState
453 sizeCache protoimpl.SizeCache
454 unknownFields protoimpl.UnknownFields
455
456 // Required. The parent resource of the EndpointPolicy. Must be in the
457 // format `projects/*/locations/global`.
458 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
459 // Required. Short name of the EndpointPolicy resource to be created.
460 // E.g. "CustomECS".
461 EndpointPolicyId string `protobuf:"bytes,2,opt,name=endpoint_policy_id,json=endpointPolicyId,proto3" json:"endpoint_policy_id,omitempty"`
462 // Required. EndpointPolicy resource to be created.
463 EndpointPolicy *EndpointPolicy `protobuf:"bytes,3,opt,name=endpoint_policy,json=endpointPolicy,proto3" json:"endpoint_policy,omitempty"`
464 }
465
466 func (x *CreateEndpointPolicyRequest) Reset() {
467 *x = CreateEndpointPolicyRequest{}
468 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[4]
469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
470 ms.StoreMessageInfo(mi)
471 }
472
473 func (x *CreateEndpointPolicyRequest) String() string {
474 return protoimpl.X.MessageStringOf(x)
475 }
476
477 func (*CreateEndpointPolicyRequest) ProtoMessage() {}
478
479 func (x *CreateEndpointPolicyRequest) ProtoReflect() protoreflect.Message {
480 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[4]
481 if x != nil {
482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
483 if ms.LoadMessageInfo() == nil {
484 ms.StoreMessageInfo(mi)
485 }
486 return ms
487 }
488 return mi.MessageOf(x)
489 }
490
491 // Deprecated: Use CreateEndpointPolicyRequest.ProtoReflect.Descriptor instead.
492 func (*CreateEndpointPolicyRequest) Descriptor() ([]byte, []int) {
493 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP(), []int{4}
494 }
495
496 func (x *CreateEndpointPolicyRequest) GetParent() string {
497 if x != nil {
498 return x.Parent
499 }
500 return ""
501 }
502
503 func (x *CreateEndpointPolicyRequest) GetEndpointPolicyId() string {
504 if x != nil {
505 return x.EndpointPolicyId
506 }
507 return ""
508 }
509
510 func (x *CreateEndpointPolicyRequest) GetEndpointPolicy() *EndpointPolicy {
511 if x != nil {
512 return x.EndpointPolicy
513 }
514 return nil
515 }
516
517 // Request used with the UpdateEndpointPolicy method.
518 type UpdateEndpointPolicyRequest struct {
519 state protoimpl.MessageState
520 sizeCache protoimpl.SizeCache
521 unknownFields protoimpl.UnknownFields
522
523 // Optional. Field mask is used to specify the fields to be overwritten in the
524 // EndpointPolicy resource by the update.
525 // The fields specified in the update_mask are relative to the resource, not
526 // the full request. A field will be overwritten if it is in the mask. If the
527 // user does not provide a mask then all fields will be overwritten.
528 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
529 // Required. Updated EndpointPolicy resource.
530 EndpointPolicy *EndpointPolicy `protobuf:"bytes,2,opt,name=endpoint_policy,json=endpointPolicy,proto3" json:"endpoint_policy,omitempty"`
531 }
532
533 func (x *UpdateEndpointPolicyRequest) Reset() {
534 *x = UpdateEndpointPolicyRequest{}
535 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[5]
536 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
537 ms.StoreMessageInfo(mi)
538 }
539
540 func (x *UpdateEndpointPolicyRequest) String() string {
541 return protoimpl.X.MessageStringOf(x)
542 }
543
544 func (*UpdateEndpointPolicyRequest) ProtoMessage() {}
545
546 func (x *UpdateEndpointPolicyRequest) ProtoReflect() protoreflect.Message {
547 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[5]
548 if x != nil {
549 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
550 if ms.LoadMessageInfo() == nil {
551 ms.StoreMessageInfo(mi)
552 }
553 return ms
554 }
555 return mi.MessageOf(x)
556 }
557
558 // Deprecated: Use UpdateEndpointPolicyRequest.ProtoReflect.Descriptor instead.
559 func (*UpdateEndpointPolicyRequest) Descriptor() ([]byte, []int) {
560 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP(), []int{5}
561 }
562
563 func (x *UpdateEndpointPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
564 if x != nil {
565 return x.UpdateMask
566 }
567 return nil
568 }
569
570 func (x *UpdateEndpointPolicyRequest) GetEndpointPolicy() *EndpointPolicy {
571 if x != nil {
572 return x.EndpointPolicy
573 }
574 return nil
575 }
576
577 // Request used with the DeleteEndpointPolicy method.
578 type DeleteEndpointPolicyRequest struct {
579 state protoimpl.MessageState
580 sizeCache protoimpl.SizeCache
581 unknownFields protoimpl.UnknownFields
582
583 // Required. A name of the EndpointPolicy to delete. Must be in the format
584 // `projects/*/locations/global/endpointPolicies/*`.
585 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
586 }
587
588 func (x *DeleteEndpointPolicyRequest) Reset() {
589 *x = DeleteEndpointPolicyRequest{}
590 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[6]
591 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
592 ms.StoreMessageInfo(mi)
593 }
594
595 func (x *DeleteEndpointPolicyRequest) String() string {
596 return protoimpl.X.MessageStringOf(x)
597 }
598
599 func (*DeleteEndpointPolicyRequest) ProtoMessage() {}
600
601 func (x *DeleteEndpointPolicyRequest) ProtoReflect() protoreflect.Message {
602 mi := &file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes[6]
603 if x != nil {
604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
605 if ms.LoadMessageInfo() == nil {
606 ms.StoreMessageInfo(mi)
607 }
608 return ms
609 }
610 return mi.MessageOf(x)
611 }
612
613 // Deprecated: Use DeleteEndpointPolicyRequest.ProtoReflect.Descriptor instead.
614 func (*DeleteEndpointPolicyRequest) Descriptor() ([]byte, []int) {
615 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP(), []int{6}
616 }
617
618 func (x *DeleteEndpointPolicyRequest) GetName() string {
619 if x != nil {
620 return x.Name
621 }
622 return ""
623 }
624
625 var File_google_cloud_networkservices_v1_endpoint_policy_proto protoreflect.FileDescriptor
626
627 var file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDesc = []byte{
628 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e,
629 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x76,
630 0x31, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
631 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
632 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72,
633 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
634 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
635 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
636 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
637 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
638 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
639 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
640 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
641 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70,
642 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
643 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e,
644 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x09, 0x0a, 0x0e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
645 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
646 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d,
647 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
648 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
649 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
650 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
651 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
652 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
653 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
654 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
655 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
656 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
657 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
658 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
659 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
660 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12,
661 0x5b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e,
662 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74,
663 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
664 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x45,
665 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70,
666 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x6d, 0x0a, 0x14,
667 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f,
668 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3a, 0xe0, 0x41, 0x01, 0xfa,
669 0x41, 0x34, 0x0a, 0x32, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72,
670 0x69, 0x74, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
671 0x6f, 0x6d, 0x2f, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
672 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
673 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x60, 0x0a, 0x10, 0x65,
674 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18,
675 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
676 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
677 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
678 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x65, 0x6e,
679 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x6d, 0x0a,
680 0x15, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x65,
681 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67,
682 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77,
683 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54,
684 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
685 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x13, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63,
686 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0b,
687 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28,
688 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
689 0x69, 0x6f, 0x6e, 0x12, 0x62, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x6c,
690 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36,
691 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x30, 0x0a, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
692 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
693 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73,
694 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c,
695 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x62, 0x0a, 0x11, 0x63, 0x6c, 0x69, 0x65, 0x6e,
696 0x74, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0d, 0x20, 0x01,
697 0x28, 0x09, 0x42, 0x36, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x30, 0x0a, 0x2e, 0x6e, 0x65, 0x74, 0x77,
698 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
699 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x69, 0x65, 0x6e,
700 0x74, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x65,
701 0x6e, 0x74, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x39, 0x0a, 0x0b, 0x4c,
702 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
703 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
704 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
705 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x12, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
706 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20,
707 0x45, 0x4e, 0x44, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f,
708 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
709 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x49, 0x44, 0x45, 0x43, 0x41, 0x52, 0x5f, 0x50, 0x52,
710 0x4f, 0x58, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x53, 0x45,
711 0x52, 0x56, 0x45, 0x52, 0x10, 0x02, 0x3a, 0x7e, 0xea, 0x41, 0x7b, 0x0a, 0x2d, 0x6e, 0x65, 0x74,
712 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
713 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x64, 0x70,
714 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4a, 0x70, 0x72, 0x6f, 0x6a,
715 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c,
716 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
717 0x6f, 0x6e, 0x7d, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69,
718 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70,
719 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x22, 0xe3, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45,
720 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52,
721 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
722 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x12, 0x2d,
723 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e,
724 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45,
725 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70,
726 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69,
727 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69,
728 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
729 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
730 0x6e, 0x12, 0x39, 0x0a, 0x16, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74,
731 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
732 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x61,
733 0x72, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0xc6, 0x01, 0x0a,
734 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c,
735 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a,
736 0x11, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69,
737 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
738 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
739 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f,
740 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, 0x65, 0x6e, 0x64, 0x70, 0x6f,
741 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e,
742 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,
743 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f,
744 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62,
745 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63,
746 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x65, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x64, 0x70,
747 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
748 0x74, 0x12, 0x49, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
749 0x35, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
750 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
751 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
752 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xfe, 0x01, 0x0a,
753 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50,
754 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06,
755 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41,
756 0x02, 0xfa, 0x41, 0x2f, 0x12, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72,
757 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
758 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c,
759 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x12, 0x65,
760 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69,
761 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x65, 0x6e,
762 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x5d,
763 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
764 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
765 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65,
766 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
767 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x65,
768 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xbe, 0x01,
769 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
770 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a,
771 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01,
772 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
773 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03,
774 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12,
775 0x5d, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69,
776 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
777 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73,
778 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f,
779 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e,
780 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x68,
781 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
782 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a,
783 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0xe0, 0x41, 0x02,
784 0xfa, 0x41, 0x2f, 0x0a, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
785 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
786 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69,
787 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x86, 0x05, 0xea, 0x41, 0x8a, 0x01, 0x0a,
788 0x32, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
789 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
790 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c,
791 0x69, 0x63, 0x79, 0x12, 0x54, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70,
792 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
793 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x75, 0x74,
794 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
795 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
796 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0xea, 0x41, 0x7f, 0x0a, 0x2e, 0x6e, 0x65,
797 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x67, 0x6f,
798 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72,
799 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4d, 0x70, 0x72,
800 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d,
801 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61,
802 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x50,
803 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
804 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0xea, 0x41, 0x7f, 0x0a, 0x2e,
805 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e,
806 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
807 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4d,
808 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
809 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f,
810 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6c,
811 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x69, 0x65, 0x6e,
812 0x74, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x0a, 0x23, 0x63,
813 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
814 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e,
815 0x76, 0x31, 0x42, 0x13, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69,
816 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, 0x6c, 0x6f, 0x75, 0x64,
817 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6e,
818 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61,
819 0x70, 0x69, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65, 0x72, 0x76,
820 0x69, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x65,
821 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
822 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53,
823 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f,
824 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
825 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x22, 0x47,
826 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x65,
827 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x56,
828 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
829 }
830
831 var (
832 file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescOnce sync.Once
833 file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescData = file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDesc
834 )
835
836 func file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescGZIP() []byte {
837 file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescOnce.Do(func() {
838 file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescData)
839 })
840 return file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDescData
841 }
842
843 var file_google_cloud_networkservices_v1_endpoint_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
844 var file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
845 var file_google_cloud_networkservices_v1_endpoint_policy_proto_goTypes = []any{
846 (EndpointPolicy_EndpointPolicyType)(0), // 0: google.cloud.networkservices.v1.EndpointPolicy.EndpointPolicyType
847 (*EndpointPolicy)(nil), // 1: google.cloud.networkservices.v1.EndpointPolicy
848 (*ListEndpointPoliciesRequest)(nil), // 2: google.cloud.networkservices.v1.ListEndpointPoliciesRequest
849 (*ListEndpointPoliciesResponse)(nil), // 3: google.cloud.networkservices.v1.ListEndpointPoliciesResponse
850 (*GetEndpointPolicyRequest)(nil), // 4: google.cloud.networkservices.v1.GetEndpointPolicyRequest
851 (*CreateEndpointPolicyRequest)(nil), // 5: google.cloud.networkservices.v1.CreateEndpointPolicyRequest
852 (*UpdateEndpointPolicyRequest)(nil), // 6: google.cloud.networkservices.v1.UpdateEndpointPolicyRequest
853 (*DeleteEndpointPolicyRequest)(nil), // 7: google.cloud.networkservices.v1.DeleteEndpointPolicyRequest
854 nil, // 8: google.cloud.networkservices.v1.EndpointPolicy.LabelsEntry
855 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
856 (*EndpointMatcher)(nil), // 10: google.cloud.networkservices.v1.EndpointMatcher
857 (*TrafficPortSelector)(nil), // 11: google.cloud.networkservices.v1.TrafficPortSelector
858 (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask
859 }
860 var file_google_cloud_networkservices_v1_endpoint_policy_proto_depIdxs = []int32{
861 9, // 0: google.cloud.networkservices.v1.EndpointPolicy.create_time:type_name -> google.protobuf.Timestamp
862 9, // 1: google.cloud.networkservices.v1.EndpointPolicy.update_time:type_name -> google.protobuf.Timestamp
863 8, // 2: google.cloud.networkservices.v1.EndpointPolicy.labels:type_name -> google.cloud.networkservices.v1.EndpointPolicy.LabelsEntry
864 0, // 3: google.cloud.networkservices.v1.EndpointPolicy.type:type_name -> google.cloud.networkservices.v1.EndpointPolicy.EndpointPolicyType
865 10, // 4: google.cloud.networkservices.v1.EndpointPolicy.endpoint_matcher:type_name -> google.cloud.networkservices.v1.EndpointMatcher
866 11, // 5: google.cloud.networkservices.v1.EndpointPolicy.traffic_port_selector:type_name -> google.cloud.networkservices.v1.TrafficPortSelector
867 1, // 6: google.cloud.networkservices.v1.ListEndpointPoliciesResponse.endpoint_policies:type_name -> google.cloud.networkservices.v1.EndpointPolicy
868 1, // 7: google.cloud.networkservices.v1.CreateEndpointPolicyRequest.endpoint_policy:type_name -> google.cloud.networkservices.v1.EndpointPolicy
869 12, // 8: google.cloud.networkservices.v1.UpdateEndpointPolicyRequest.update_mask:type_name -> google.protobuf.FieldMask
870 1, // 9: google.cloud.networkservices.v1.UpdateEndpointPolicyRequest.endpoint_policy:type_name -> google.cloud.networkservices.v1.EndpointPolicy
871 10, // [10:10] is the sub-list for method output_type
872 10, // [10:10] is the sub-list for method input_type
873 10, // [10:10] is the sub-list for extension type_name
874 10, // [10:10] is the sub-list for extension extendee
875 0, // [0:10] is the sub-list for field type_name
876 }
877
878 func init() { file_google_cloud_networkservices_v1_endpoint_policy_proto_init() }
879 func file_google_cloud_networkservices_v1_endpoint_policy_proto_init() {
880 if File_google_cloud_networkservices_v1_endpoint_policy_proto != nil {
881 return
882 }
883 file_google_cloud_networkservices_v1_common_proto_init()
884 type x struct{}
885 out := protoimpl.TypeBuilder{
886 File: protoimpl.DescBuilder{
887 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
888 RawDescriptor: file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDesc,
889 NumEnums: 1,
890 NumMessages: 8,
891 NumExtensions: 0,
892 NumServices: 0,
893 },
894 GoTypes: file_google_cloud_networkservices_v1_endpoint_policy_proto_goTypes,
895 DependencyIndexes: file_google_cloud_networkservices_v1_endpoint_policy_proto_depIdxs,
896 EnumInfos: file_google_cloud_networkservices_v1_endpoint_policy_proto_enumTypes,
897 MessageInfos: file_google_cloud_networkservices_v1_endpoint_policy_proto_msgTypes,
898 }.Build()
899 File_google_cloud_networkservices_v1_endpoint_policy_proto = out.File
900 file_google_cloud_networkservices_v1_endpoint_policy_proto_rawDesc = nil
901 file_google_cloud_networkservices_v1_endpoint_policy_proto_goTypes = nil
902 file_google_cloud_networkservices_v1_endpoint_policy_proto_depIdxs = nil
903 }