Debian Codegraph @

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

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