1// Copyright 2021 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/dialogflow/cx/v3/security_settings.proto 20 21package cx 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 _ "google.golang.org/genproto/googleapis/longrunning" 30 grpc "google.golang.org/grpc" 31 codes "google.golang.org/grpc/codes" 32 status "google.golang.org/grpc/status" 33 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 34 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 35 emptypb "google.golang.org/protobuf/types/known/emptypb" 36 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 37) 38 39const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44) 45 46// Defines how we redact data. 47type SecuritySettings_RedactionStrategy int32 48 49const ( 50 // Do not redact. 51 SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED SecuritySettings_RedactionStrategy = 0 52 // Call redaction service to clean up the data to be persisted. 53 SecuritySettings_REDACT_WITH_SERVICE SecuritySettings_RedactionStrategy = 1 54) 55 56// Enum value maps for SecuritySettings_RedactionStrategy. 57var ( 58 SecuritySettings_RedactionStrategy_name = map[int32]string{ 59 0: "REDACTION_STRATEGY_UNSPECIFIED", 60 1: "REDACT_WITH_SERVICE", 61 } 62 SecuritySettings_RedactionStrategy_value = map[string]int32{ 63 "REDACTION_STRATEGY_UNSPECIFIED": 0, 64 "REDACT_WITH_SERVICE": 1, 65 } 66) 67 68func (x SecuritySettings_RedactionStrategy) Enum() *SecuritySettings_RedactionStrategy { 69 p := new(SecuritySettings_RedactionStrategy) 70 *p = x 71 return p 72} 73 74func (x SecuritySettings_RedactionStrategy) String() string { 75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 76} 77 78func (SecuritySettings_RedactionStrategy) Descriptor() protoreflect.EnumDescriptor { 79 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[0].Descriptor() 80} 81 82func (SecuritySettings_RedactionStrategy) Type() protoreflect.EnumType { 83 return &file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[0] 84} 85 86func (x SecuritySettings_RedactionStrategy) Number() protoreflect.EnumNumber { 87 return protoreflect.EnumNumber(x) 88} 89 90// Deprecated: Use SecuritySettings_RedactionStrategy.Descriptor instead. 91func (SecuritySettings_RedactionStrategy) EnumDescriptor() ([]byte, []int) { 92 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6, 0} 93} 94 95// Defines what types of data to redact. 96type SecuritySettings_RedactionScope int32 97 98const ( 99 // Don't redact any kind of data. 100 SecuritySettings_REDACTION_SCOPE_UNSPECIFIED SecuritySettings_RedactionScope = 0 101 // On data to be written to disk or similar devices that are capable of 102 // holding data even if power is disconnected. This includes data that are 103 // temporarily saved on disk. 104 SecuritySettings_REDACT_DISK_STORAGE SecuritySettings_RedactionScope = 2 105) 106 107// Enum value maps for SecuritySettings_RedactionScope. 108var ( 109 SecuritySettings_RedactionScope_name = map[int32]string{ 110 0: "REDACTION_SCOPE_UNSPECIFIED", 111 2: "REDACT_DISK_STORAGE", 112 } 113 SecuritySettings_RedactionScope_value = map[string]int32{ 114 "REDACTION_SCOPE_UNSPECIFIED": 0, 115 "REDACT_DISK_STORAGE": 2, 116 } 117) 118 119func (x SecuritySettings_RedactionScope) Enum() *SecuritySettings_RedactionScope { 120 p := new(SecuritySettings_RedactionScope) 121 *p = x 122 return p 123} 124 125func (x SecuritySettings_RedactionScope) String() string { 126 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 127} 128 129func (SecuritySettings_RedactionScope) Descriptor() protoreflect.EnumDescriptor { 130 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[1].Descriptor() 131} 132 133func (SecuritySettings_RedactionScope) Type() protoreflect.EnumType { 134 return &file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[1] 135} 136 137func (x SecuritySettings_RedactionScope) Number() protoreflect.EnumNumber { 138 return protoreflect.EnumNumber(x) 139} 140 141// Deprecated: Use SecuritySettings_RedactionScope.Descriptor instead. 142func (SecuritySettings_RedactionScope) EnumDescriptor() ([]byte, []int) { 143 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6, 1} 144} 145 146// Type of data we purge after retention settings triggers purge. 147type SecuritySettings_PurgeDataType int32 148 149const ( 150 // Unspecified. Do not use. 151 SecuritySettings_PURGE_DATA_TYPE_UNSPECIFIED SecuritySettings_PurgeDataType = 0 152 // Dialogflow history. This does not include Cloud logging, which is 153 // owned by the user - not Dialogflow. 154 SecuritySettings_DIALOGFLOW_HISTORY SecuritySettings_PurgeDataType = 1 155) 156 157// Enum value maps for SecuritySettings_PurgeDataType. 158var ( 159 SecuritySettings_PurgeDataType_name = map[int32]string{ 160 0: "PURGE_DATA_TYPE_UNSPECIFIED", 161 1: "DIALOGFLOW_HISTORY", 162 } 163 SecuritySettings_PurgeDataType_value = map[string]int32{ 164 "PURGE_DATA_TYPE_UNSPECIFIED": 0, 165 "DIALOGFLOW_HISTORY": 1, 166 } 167) 168 169func (x SecuritySettings_PurgeDataType) Enum() *SecuritySettings_PurgeDataType { 170 p := new(SecuritySettings_PurgeDataType) 171 *p = x 172 return p 173} 174 175func (x SecuritySettings_PurgeDataType) String() string { 176 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 177} 178 179func (SecuritySettings_PurgeDataType) Descriptor() protoreflect.EnumDescriptor { 180 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[2].Descriptor() 181} 182 183func (SecuritySettings_PurgeDataType) Type() protoreflect.EnumType { 184 return &file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[2] 185} 186 187func (x SecuritySettings_PurgeDataType) Number() protoreflect.EnumNumber { 188 return protoreflect.EnumNumber(x) 189} 190 191// Deprecated: Use SecuritySettings_PurgeDataType.Descriptor instead. 192func (SecuritySettings_PurgeDataType) EnumDescriptor() ([]byte, []int) { 193 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6, 2} 194} 195 196// The request message for [SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings]. 197type GetSecuritySettingsRequest struct { 198 state protoimpl.MessageState 199 sizeCache protoimpl.SizeCache 200 unknownFields protoimpl.UnknownFields 201 202 // Required. Resource name of the settings. 203 // Format: `projects/<Project ID>/locations/<Location 204 // ID>/securitySettings/<security settings ID>`. 205 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 206} 207 208func (x *GetSecuritySettingsRequest) Reset() { 209 *x = GetSecuritySettingsRequest{} 210 if protoimpl.UnsafeEnabled { 211 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[0] 212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 213 ms.StoreMessageInfo(mi) 214 } 215} 216 217func (x *GetSecuritySettingsRequest) String() string { 218 return protoimpl.X.MessageStringOf(x) 219} 220 221func (*GetSecuritySettingsRequest) ProtoMessage() {} 222 223func (x *GetSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 224 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[0] 225 if protoimpl.UnsafeEnabled && x != nil { 226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 227 if ms.LoadMessageInfo() == nil { 228 ms.StoreMessageInfo(mi) 229 } 230 return ms 231 } 232 return mi.MessageOf(x) 233} 234 235// Deprecated: Use GetSecuritySettingsRequest.ProtoReflect.Descriptor instead. 236func (*GetSecuritySettingsRequest) Descriptor() ([]byte, []int) { 237 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{0} 238} 239 240func (x *GetSecuritySettingsRequest) GetName() string { 241 if x != nil { 242 return x.Name 243 } 244 return "" 245} 246 247// The request message for [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings]. 248type UpdateSecuritySettingsRequest struct { 249 state protoimpl.MessageState 250 sizeCache protoimpl.SizeCache 251 unknownFields protoimpl.UnknownFields 252 253 // Required. [SecuritySettings] object that contains values for each of the 254 // fields to update. 255 SecuritySettings *SecuritySettings `protobuf:"bytes,1,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` 256 // Required. The mask to control which fields get updated. If the mask is not present, 257 // all fields will be updated. 258 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 259} 260 261func (x *UpdateSecuritySettingsRequest) Reset() { 262 *x = UpdateSecuritySettingsRequest{} 263 if protoimpl.UnsafeEnabled { 264 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[1] 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 ms.StoreMessageInfo(mi) 267 } 268} 269 270func (x *UpdateSecuritySettingsRequest) String() string { 271 return protoimpl.X.MessageStringOf(x) 272} 273 274func (*UpdateSecuritySettingsRequest) ProtoMessage() {} 275 276func (x *UpdateSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 277 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[1] 278 if protoimpl.UnsafeEnabled && x != nil { 279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 280 if ms.LoadMessageInfo() == nil { 281 ms.StoreMessageInfo(mi) 282 } 283 return ms 284 } 285 return mi.MessageOf(x) 286} 287 288// Deprecated: Use UpdateSecuritySettingsRequest.ProtoReflect.Descriptor instead. 289func (*UpdateSecuritySettingsRequest) Descriptor() ([]byte, []int) { 290 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{1} 291} 292 293func (x *UpdateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings { 294 if x != nil { 295 return x.SecuritySettings 296 } 297 return nil 298} 299 300func (x *UpdateSecuritySettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 301 if x != nil { 302 return x.UpdateMask 303 } 304 return nil 305} 306 307// The request message for [SecuritySettings.ListSecuritySettings][]. 308type ListSecuritySettingsRequest struct { 309 state protoimpl.MessageState 310 sizeCache protoimpl.SizeCache 311 unknownFields protoimpl.UnknownFields 312 313 // Required. The location to list all security settings for. 314 // Format: `projects/<Project ID>/locations/<Location ID>`. 315 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 316 // The maximum number of items to return in a single page. By default 20 and 317 // at most 100. 318 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 319 // The next_page_token value returned from a previous list request. 320 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 321} 322 323func (x *ListSecuritySettingsRequest) Reset() { 324 *x = ListSecuritySettingsRequest{} 325 if protoimpl.UnsafeEnabled { 326 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[2] 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 ms.StoreMessageInfo(mi) 329 } 330} 331 332func (x *ListSecuritySettingsRequest) String() string { 333 return protoimpl.X.MessageStringOf(x) 334} 335 336func (*ListSecuritySettingsRequest) ProtoMessage() {} 337 338func (x *ListSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 339 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[2] 340 if protoimpl.UnsafeEnabled && x != nil { 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 if ms.LoadMessageInfo() == nil { 343 ms.StoreMessageInfo(mi) 344 } 345 return ms 346 } 347 return mi.MessageOf(x) 348} 349 350// Deprecated: Use ListSecuritySettingsRequest.ProtoReflect.Descriptor instead. 351func (*ListSecuritySettingsRequest) Descriptor() ([]byte, []int) { 352 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{2} 353} 354 355func (x *ListSecuritySettingsRequest) GetParent() string { 356 if x != nil { 357 return x.Parent 358 } 359 return "" 360} 361 362func (x *ListSecuritySettingsRequest) GetPageSize() int32 { 363 if x != nil { 364 return x.PageSize 365 } 366 return 0 367} 368 369func (x *ListSecuritySettingsRequest) GetPageToken() string { 370 if x != nil { 371 return x.PageToken 372 } 373 return "" 374} 375 376// The response message for [SecuritySettings.ListSecuritySettings][]. 377type ListSecuritySettingsResponse struct { 378 state protoimpl.MessageState 379 sizeCache protoimpl.SizeCache 380 unknownFields protoimpl.UnknownFields 381 382 // The list of security settings. 383 SecuritySettings []*SecuritySettings `protobuf:"bytes,1,rep,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` 384 // Token to retrieve the next page of results, or empty if there are no more 385 // results in the list. 386 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 387} 388 389func (x *ListSecuritySettingsResponse) Reset() { 390 *x = ListSecuritySettingsResponse{} 391 if protoimpl.UnsafeEnabled { 392 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[3] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 ms.StoreMessageInfo(mi) 395 } 396} 397 398func (x *ListSecuritySettingsResponse) String() string { 399 return protoimpl.X.MessageStringOf(x) 400} 401 402func (*ListSecuritySettingsResponse) ProtoMessage() {} 403 404func (x *ListSecuritySettingsResponse) ProtoReflect() protoreflect.Message { 405 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[3] 406 if protoimpl.UnsafeEnabled && x != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(x) 414} 415 416// Deprecated: Use ListSecuritySettingsResponse.ProtoReflect.Descriptor instead. 417func (*ListSecuritySettingsResponse) Descriptor() ([]byte, []int) { 418 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{3} 419} 420 421func (x *ListSecuritySettingsResponse) GetSecuritySettings() []*SecuritySettings { 422 if x != nil { 423 return x.SecuritySettings 424 } 425 return nil 426} 427 428func (x *ListSecuritySettingsResponse) GetNextPageToken() string { 429 if x != nil { 430 return x.NextPageToken 431 } 432 return "" 433} 434 435// The request message for [SecuritySettings.CreateSecuritySettings][]. 436type CreateSecuritySettingsRequest struct { 437 state protoimpl.MessageState 438 sizeCache protoimpl.SizeCache 439 unknownFields protoimpl.UnknownFields 440 441 // Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. 442 // Format: `projects/<Project ID>/locations/<Location ID>`. 443 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 444 // Required. The security settings to create. 445 SecuritySettings *SecuritySettings `protobuf:"bytes,2,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` 446} 447 448func (x *CreateSecuritySettingsRequest) Reset() { 449 *x = CreateSecuritySettingsRequest{} 450 if protoimpl.UnsafeEnabled { 451 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[4] 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 453 ms.StoreMessageInfo(mi) 454 } 455} 456 457func (x *CreateSecuritySettingsRequest) String() string { 458 return protoimpl.X.MessageStringOf(x) 459} 460 461func (*CreateSecuritySettingsRequest) ProtoMessage() {} 462 463func (x *CreateSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 464 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[4] 465 if protoimpl.UnsafeEnabled && x != nil { 466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 467 if ms.LoadMessageInfo() == nil { 468 ms.StoreMessageInfo(mi) 469 } 470 return ms 471 } 472 return mi.MessageOf(x) 473} 474 475// Deprecated: Use CreateSecuritySettingsRequest.ProtoReflect.Descriptor instead. 476func (*CreateSecuritySettingsRequest) Descriptor() ([]byte, []int) { 477 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{4} 478} 479 480func (x *CreateSecuritySettingsRequest) GetParent() string { 481 if x != nil { 482 return x.Parent 483 } 484 return "" 485} 486 487func (x *CreateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings { 488 if x != nil { 489 return x.SecuritySettings 490 } 491 return nil 492} 493 494// The request message for [SecuritySettings.DeleteSecuritySettings][]. 495type DeleteSecuritySettingsRequest struct { 496 state protoimpl.MessageState 497 sizeCache protoimpl.SizeCache 498 unknownFields protoimpl.UnknownFields 499 500 // Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. 501 // Format: `projects/<Project ID>/locations/<Location 502 // ID>/securitySettings/<Security Settings ID>`. 503 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 504} 505 506func (x *DeleteSecuritySettingsRequest) Reset() { 507 *x = DeleteSecuritySettingsRequest{} 508 if protoimpl.UnsafeEnabled { 509 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[5] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 ms.StoreMessageInfo(mi) 512 } 513} 514 515func (x *DeleteSecuritySettingsRequest) String() string { 516 return protoimpl.X.MessageStringOf(x) 517} 518 519func (*DeleteSecuritySettingsRequest) ProtoMessage() {} 520 521func (x *DeleteSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 522 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[5] 523 if protoimpl.UnsafeEnabled && x != nil { 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 525 if ms.LoadMessageInfo() == nil { 526 ms.StoreMessageInfo(mi) 527 } 528 return ms 529 } 530 return mi.MessageOf(x) 531} 532 533// Deprecated: Use DeleteSecuritySettingsRequest.ProtoReflect.Descriptor instead. 534func (*DeleteSecuritySettingsRequest) Descriptor() ([]byte, []int) { 535 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{5} 536} 537 538func (x *DeleteSecuritySettingsRequest) GetName() string { 539 if x != nil { 540 return x.Name 541 } 542 return "" 543} 544 545// Represents the settings related to security issues, such as data redaction 546// and data retention. It may take hours for updates on the settings to 547// propagate to all the related components and take effect. 548type SecuritySettings struct { 549 state protoimpl.MessageState 550 sizeCache protoimpl.SizeCache 551 unknownFields protoimpl.UnknownFields 552 553 // Required. Resource name of the settings. 554 // Format: `projects/<Project ID>/locations/<Location 555 // ID>/securitySettings/<Security Settings ID>`. 556 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 557 // Required. The human-readable name of the security settings, unique within the 558 // location. 559 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 560 // Strategy that defines how we do redaction. 561 RedactionStrategy SecuritySettings_RedactionStrategy `protobuf:"varint,3,opt,name=redaction_strategy,json=redactionStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.SecuritySettings_RedactionStrategy" json:"redaction_strategy,omitempty"` 562 // Defines the data for which Dialogflow applies redaction. Dialogflow does 563 // not redact data that it does not have access to – for example, Cloud 564 // logging. 565 RedactionScope SecuritySettings_RedactionScope `protobuf:"varint,4,opt,name=redaction_scope,json=redactionScope,proto3,enum=google.cloud.dialogflow.cx.v3.SecuritySettings_RedactionScope" json:"redaction_scope,omitempty"` 566 // DLP inspect template name. Use this template to define inspect base 567 // settings. 568 // 569 // If empty, we use the default DLP inspect config. 570 // 571 // The template name will have one of the following formats: 572 // `projects/<Project ID>/inspectTemplates/<Template ID>` OR 573 // `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template 574 // ID>` OR 575 // `organizations/<Organization ID>/inspectTemplates/<Template ID>` 576 InspectTemplate string `protobuf:"bytes,9,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` 577 // Specifies how data is retained. Note that even if the data is 578 // purged due to retention policy, we may still hold it in backup storage for 579 // a few days without allowing direct readings. 580 // 581 // Types that are assignable to DataRetention: 582 // *SecuritySettings_RetentionWindowDays 583 DataRetention isSecuritySettings_DataRetention `protobuf_oneof:"data_retention"` 584 // List of types of data to remove when retention settings triggers purge. 585 PurgeDataTypes []SecuritySettings_PurgeDataType `protobuf:"varint,8,rep,packed,name=purge_data_types,json=purgeDataTypes,proto3,enum=google.cloud.dialogflow.cx.v3.SecuritySettings_PurgeDataType" json:"purge_data_types,omitempty"` 586} 587 588func (x *SecuritySettings) Reset() { 589 *x = SecuritySettings{} 590 if protoimpl.UnsafeEnabled { 591 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6] 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 593 ms.StoreMessageInfo(mi) 594 } 595} 596 597func (x *SecuritySettings) String() string { 598 return protoimpl.X.MessageStringOf(x) 599} 600 601func (*SecuritySettings) ProtoMessage() {} 602 603func (x *SecuritySettings) ProtoReflect() protoreflect.Message { 604 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6] 605 if protoimpl.UnsafeEnabled && x != nil { 606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 607 if ms.LoadMessageInfo() == nil { 608 ms.StoreMessageInfo(mi) 609 } 610 return ms 611 } 612 return mi.MessageOf(x) 613} 614 615// Deprecated: Use SecuritySettings.ProtoReflect.Descriptor instead. 616func (*SecuritySettings) Descriptor() ([]byte, []int) { 617 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6} 618} 619 620func (x *SecuritySettings) GetName() string { 621 if x != nil { 622 return x.Name 623 } 624 return "" 625} 626 627func (x *SecuritySettings) GetDisplayName() string { 628 if x != nil { 629 return x.DisplayName 630 } 631 return "" 632} 633 634func (x *SecuritySettings) GetRedactionStrategy() SecuritySettings_RedactionStrategy { 635 if x != nil { 636 return x.RedactionStrategy 637 } 638 return SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED 639} 640 641func (x *SecuritySettings) GetRedactionScope() SecuritySettings_RedactionScope { 642 if x != nil { 643 return x.RedactionScope 644 } 645 return SecuritySettings_REDACTION_SCOPE_UNSPECIFIED 646} 647 648func (x *SecuritySettings) GetInspectTemplate() string { 649 if x != nil { 650 return x.InspectTemplate 651 } 652 return "" 653} 654 655func (m *SecuritySettings) GetDataRetention() isSecuritySettings_DataRetention { 656 if m != nil { 657 return m.DataRetention 658 } 659 return nil 660} 661 662func (x *SecuritySettings) GetRetentionWindowDays() int32 { 663 if x, ok := x.GetDataRetention().(*SecuritySettings_RetentionWindowDays); ok { 664 return x.RetentionWindowDays 665 } 666 return 0 667} 668 669func (x *SecuritySettings) GetPurgeDataTypes() []SecuritySettings_PurgeDataType { 670 if x != nil { 671 return x.PurgeDataTypes 672 } 673 return nil 674} 675 676type isSecuritySettings_DataRetention interface { 677 isSecuritySettings_DataRetention() 678} 679 680type SecuritySettings_RetentionWindowDays struct { 681 // Retains data in interaction logging for the specified number of days. 682 // This does not apply to Cloud logging, which is owned by the user - not 683 // Dialogflow. 684 // User must Set a value lower than Dialogflow's default 30d TTL. Setting a 685 // value higher than that has no effect. 686 // A missing value or setting to 0 also means we use Dialogflow's default 687 // TTL. 688 // Note: Interaction logging is a limited access feature. Talk to your 689 // Google representative to check availability for you. 690 RetentionWindowDays int32 `protobuf:"varint,6,opt,name=retention_window_days,json=retentionWindowDays,proto3,oneof"` 691} 692 693func (*SecuritySettings_RetentionWindowDays) isSecuritySettings_DataRetention() {} 694 695var File_google_cloud_dialogflow_cx_v3_security_settings_proto protoreflect.FileDescriptor 696 697var file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDesc = []byte{ 698 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 699 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x2f, 700 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 701 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 702 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 703 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 704 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 705 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 706 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 707 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 708 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 709 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 710 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 711 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 712 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 713 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 714 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 715 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 716 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 717 0x1a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 718 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 719 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 720 0x2c, 0x0a, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 721 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 722 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 723 0x61, 0x6d, 0x65, 0x22, 0xc4, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 724 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 725 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 726 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 727 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 728 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 729 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 730 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 731 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 732 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 733 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 734 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 735 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xa5, 0x01, 0x0a, 0x1b, 0x4c, 736 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 737 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 738 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 739 0x41, 0x2c, 0x12, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 740 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 741 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x06, 742 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 743 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 744 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 745 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 746 0x65, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 747 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 748 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 749 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 750 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 751 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 752 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 753 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 754 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 755 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 756 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xce, 0x01, 0x0a, 0x1d, 0x43, 0x72, 757 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 758 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 759 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 760 0xfa, 0x41, 0x2c, 0x12, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 761 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 762 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 763 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 764 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 765 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 766 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 767 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 768 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 769 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x67, 0x0a, 0x1d, 0x44, 0x65, 770 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 771 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 772 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 773 0x2c, 0x0a, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 774 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 775 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 776 0x61, 0x6d, 0x65, 0x22, 0xf1, 0x06, 0x0a, 0x10, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 777 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 778 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 779 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 780 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 781 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x70, 0x0a, 0x12, 0x72, 0x65, 0x64, 782 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 783 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 784 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 785 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 786 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 787 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x11, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 788 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x67, 0x0a, 0x0f, 0x72, 789 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x04, 790 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 791 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 792 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 793 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 794 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 795 0x63, 0x6f, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x5f, 796 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 797 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 798 0x34, 0x0a, 0x15, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 799 0x64, 0x6f, 0x77, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 800 0x52, 0x13, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 801 0x77, 0x44, 0x61, 0x79, 0x73, 0x12, 0x67, 0x0a, 0x10, 0x70, 0x75, 0x72, 0x67, 0x65, 0x5f, 0x64, 802 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0e, 0x32, 803 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 804 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 805 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 806 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 807 0x70, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x50, 808 0x0a, 0x11, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 809 0x65, 0x67, 0x79, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x44, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 810 0x5f, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 811 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x44, 0x41, 0x43, 812 0x54, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 813 0x22, 0x4a, 0x0a, 0x0e, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x63, 0x6f, 814 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x44, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 815 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 816 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x44, 0x41, 0x43, 0x54, 0x5f, 0x44, 0x49, 817 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x02, 0x22, 0x48, 0x0a, 0x0d, 818 0x50, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 819 0x1b, 0x50, 0x55, 0x52, 0x47, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 820 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 821 0x0a, 0x12, 0x44, 0x49, 0x41, 0x4c, 0x4f, 0x47, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x48, 0x49, 0x53, 822 0x54, 0x4f, 0x52, 0x59, 0x10, 0x01, 0x3a, 0x7d, 0xea, 0x41, 0x7a, 0x0a, 0x2a, 0x64, 0x69, 0x61, 823 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 824 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 825 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 826 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 827 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 828 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 829 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 830 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x42, 0x10, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x72, 0x65, 831 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0xef, 0x09, 0x0a, 0x17, 0x53, 0x65, 0x63, 0x75, 832 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 833 0x69, 0x63, 0x65, 0x12, 0xf3, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 834 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3c, 835 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 836 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x43, 837 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 838 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 839 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 840 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 841 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x6a, 0x82, 842 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x22, 0x34, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 843 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 844 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 845 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x3a, 0x11, 0x73, 0x65, 0x63, 846 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0xda, 0x41, 847 0x18, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 848 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x47, 0x65, 849 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 850 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 851 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 852 0x33, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 853 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 854 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 855 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 856 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x43, 0x82, 857 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 858 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 859 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 860 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 861 0x6d, 0x65, 0x12, 0x8b, 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 862 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3c, 0x2e, 863 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 864 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 865 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 866 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 867 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 868 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x75, 869 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x81, 0x01, 0x82, 870 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x32, 0x46, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x75, 871 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x6e, 0x61, 872 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 873 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 874 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x11, 0x73, 875 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 876 0xda, 0x41, 0x1d, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 877 0x69, 0x6e, 0x67, 0x73, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 878 0x12, 0xd6, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 879 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 880 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 881 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 882 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 883 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 884 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 885 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 886 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 887 0x73, 0x65, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x33, 0x2f, 888 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 889 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 890 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 891 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xb3, 0x01, 0x0a, 0x16, 0x44, 0x65, 892 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 893 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 894 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 895 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 896 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 897 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 898 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 899 0x02, 0x36, 0x2a, 0x34, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 900 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 901 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 902 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 903 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 904 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 905 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 906 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 907 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 908 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 909 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 910 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0xa5, 0x01, 0x0a, 0x21, 0x63, 0x6f, 911 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 912 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x42, 913 0x15, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 914 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 915 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 916 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 917 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 918 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 919 0x46, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 920 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 921 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 922} 923 924var ( 925 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescOnce sync.Once 926 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescData = file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDesc 927) 928 929func file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP() []byte { 930 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescOnce.Do(func() { 931 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescData) 932 }) 933 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescData 934} 935 936var file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 937var file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 938var file_google_cloud_dialogflow_cx_v3_security_settings_proto_goTypes = []interface{}{ 939 (SecuritySettings_RedactionStrategy)(0), // 0: google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy 940 (SecuritySettings_RedactionScope)(0), // 1: google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope 941 (SecuritySettings_PurgeDataType)(0), // 2: google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType 942 (*GetSecuritySettingsRequest)(nil), // 3: google.cloud.dialogflow.cx.v3.GetSecuritySettingsRequest 943 (*UpdateSecuritySettingsRequest)(nil), // 4: google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest 944 (*ListSecuritySettingsRequest)(nil), // 5: google.cloud.dialogflow.cx.v3.ListSecuritySettingsRequest 945 (*ListSecuritySettingsResponse)(nil), // 6: google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse 946 (*CreateSecuritySettingsRequest)(nil), // 7: google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest 947 (*DeleteSecuritySettingsRequest)(nil), // 8: google.cloud.dialogflow.cx.v3.DeleteSecuritySettingsRequest 948 (*SecuritySettings)(nil), // 9: google.cloud.dialogflow.cx.v3.SecuritySettings 949 (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask 950 (*emptypb.Empty)(nil), // 11: google.protobuf.Empty 951} 952var file_google_cloud_dialogflow_cx_v3_security_settings_proto_depIdxs = []int32{ 953 9, // 0: google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest.security_settings:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings 954 10, // 1: google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest.update_mask:type_name -> google.protobuf.FieldMask 955 9, // 2: google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse.security_settings:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings 956 9, // 3: google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest.security_settings:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings 957 0, // 4: google.cloud.dialogflow.cx.v3.SecuritySettings.redaction_strategy:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy 958 1, // 5: google.cloud.dialogflow.cx.v3.SecuritySettings.redaction_scope:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope 959 2, // 6: google.cloud.dialogflow.cx.v3.SecuritySettings.purge_data_types:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType 960 7, // 7: google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest 961 3, // 8: google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.GetSecuritySettingsRequest 962 4, // 9: google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest 963 5, // 10: google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.ListSecuritySettingsRequest 964 8, // 11: google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.DeleteSecuritySettingsRequest 965 9, // 12: google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3.SecuritySettings 966 9, // 13: google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3.SecuritySettings 967 9, // 14: google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3.SecuritySettings 968 6, // 15: google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse 969 11, // 16: google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings:output_type -> google.protobuf.Empty 970 12, // [12:17] is the sub-list for method output_type 971 7, // [7:12] is the sub-list for method input_type 972 7, // [7:7] is the sub-list for extension type_name 973 7, // [7:7] is the sub-list for extension extendee 974 0, // [0:7] is the sub-list for field type_name 975} 976 977func init() { file_google_cloud_dialogflow_cx_v3_security_settings_proto_init() } 978func file_google_cloud_dialogflow_cx_v3_security_settings_proto_init() { 979 if File_google_cloud_dialogflow_cx_v3_security_settings_proto != nil { 980 return 981 } 982 if !protoimpl.UnsafeEnabled { 983 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 984 switch v := v.(*GetSecuritySettingsRequest); i { 985 case 0: 986 return &v.state 987 case 1: 988 return &v.sizeCache 989 case 2: 990 return &v.unknownFields 991 default: 992 return nil 993 } 994 } 995 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 996 switch v := v.(*UpdateSecuritySettingsRequest); i { 997 case 0: 998 return &v.state 999 case 1: 1000 return &v.sizeCache 1001 case 2: 1002 return &v.unknownFields 1003 default: 1004 return nil 1005 } 1006 } 1007 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1008 switch v := v.(*ListSecuritySettingsRequest); i { 1009 case 0: 1010 return &v.state 1011 case 1: 1012 return &v.sizeCache 1013 case 2: 1014 return &v.unknownFields 1015 default: 1016 return nil 1017 } 1018 } 1019 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1020 switch v := v.(*ListSecuritySettingsResponse); i { 1021 case 0: 1022 return &v.state 1023 case 1: 1024 return &v.sizeCache 1025 case 2: 1026 return &v.unknownFields 1027 default: 1028 return nil 1029 } 1030 } 1031 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1032 switch v := v.(*CreateSecuritySettingsRequest); i { 1033 case 0: 1034 return &v.state 1035 case 1: 1036 return &v.sizeCache 1037 case 2: 1038 return &v.unknownFields 1039 default: 1040 return nil 1041 } 1042 } 1043 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1044 switch v := v.(*DeleteSecuritySettingsRequest); i { 1045 case 0: 1046 return &v.state 1047 case 1: 1048 return &v.sizeCache 1049 case 2: 1050 return &v.unknownFields 1051 default: 1052 return nil 1053 } 1054 } 1055 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1056 switch v := v.(*SecuritySettings); i { 1057 case 0: 1058 return &v.state 1059 case 1: 1060 return &v.sizeCache 1061 case 2: 1062 return &v.unknownFields 1063 default: 1064 return nil 1065 } 1066 } 1067 } 1068 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6].OneofWrappers = []interface{}{ 1069 (*SecuritySettings_RetentionWindowDays)(nil), 1070 } 1071 type x struct{} 1072 out := protoimpl.TypeBuilder{ 1073 File: protoimpl.DescBuilder{ 1074 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1075 RawDescriptor: file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDesc, 1076 NumEnums: 3, 1077 NumMessages: 7, 1078 NumExtensions: 0, 1079 NumServices: 1, 1080 }, 1081 GoTypes: file_google_cloud_dialogflow_cx_v3_security_settings_proto_goTypes, 1082 DependencyIndexes: file_google_cloud_dialogflow_cx_v3_security_settings_proto_depIdxs, 1083 EnumInfos: file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes, 1084 MessageInfos: file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes, 1085 }.Build() 1086 File_google_cloud_dialogflow_cx_v3_security_settings_proto = out.File 1087 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDesc = nil 1088 file_google_cloud_dialogflow_cx_v3_security_settings_proto_goTypes = nil 1089 file_google_cloud_dialogflow_cx_v3_security_settings_proto_depIdxs = nil 1090} 1091 1092// Reference imports to suppress errors if they are not otherwise used. 1093var _ context.Context 1094var _ grpc.ClientConnInterface 1095 1096// This is a compile-time assertion to ensure that this generated file 1097// is compatible with the grpc package it is being compiled against. 1098const _ = grpc.SupportPackageIsVersion6 1099 1100// SecuritySettingsServiceClient is the client API for SecuritySettingsService service. 1101// 1102// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1103type SecuritySettingsServiceClient interface { 1104 // Create security settings in the specified location. 1105 CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1106 // Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1107 // The returned settings may be stale by up to 1 minute. 1108 GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1109 // Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1110 UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1111 // Returns the list of all security settings in the specified location. 1112 ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error) 1113 // Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1114 DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1115} 1116 1117type securitySettingsServiceClient struct { 1118 cc grpc.ClientConnInterface 1119} 1120 1121func NewSecuritySettingsServiceClient(cc grpc.ClientConnInterface) SecuritySettingsServiceClient { 1122 return &securitySettingsServiceClient{cc} 1123} 1124 1125func (c *securitySettingsServiceClient) CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1126 out := new(SecuritySettings) 1127 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/CreateSecuritySettings", in, out, opts...) 1128 if err != nil { 1129 return nil, err 1130 } 1131 return out, nil 1132} 1133 1134func (c *securitySettingsServiceClient) GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1135 out := new(SecuritySettings) 1136 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/GetSecuritySettings", in, out, opts...) 1137 if err != nil { 1138 return nil, err 1139 } 1140 return out, nil 1141} 1142 1143func (c *securitySettingsServiceClient) UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1144 out := new(SecuritySettings) 1145 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/UpdateSecuritySettings", in, out, opts...) 1146 if err != nil { 1147 return nil, err 1148 } 1149 return out, nil 1150} 1151 1152func (c *securitySettingsServiceClient) ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error) { 1153 out := new(ListSecuritySettingsResponse) 1154 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/ListSecuritySettings", in, out, opts...) 1155 if err != nil { 1156 return nil, err 1157 } 1158 return out, nil 1159} 1160 1161func (c *securitySettingsServiceClient) DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1162 out := new(emptypb.Empty) 1163 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/DeleteSecuritySettings", in, out, opts...) 1164 if err != nil { 1165 return nil, err 1166 } 1167 return out, nil 1168} 1169 1170// SecuritySettingsServiceServer is the server API for SecuritySettingsService service. 1171type SecuritySettingsServiceServer interface { 1172 // Create security settings in the specified location. 1173 CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error) 1174 // Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1175 // The returned settings may be stale by up to 1 minute. 1176 GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error) 1177 // Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1178 UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error) 1179 // Returns the list of all security settings in the specified location. 1180 ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) 1181 // Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1182 DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) 1183} 1184 1185// UnimplementedSecuritySettingsServiceServer can be embedded to have forward compatible implementations. 1186type UnimplementedSecuritySettingsServiceServer struct { 1187} 1188 1189func (*UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error) { 1190 return nil, status.Errorf(codes.Unimplemented, "method CreateSecuritySettings not implemented") 1191} 1192func (*UnimplementedSecuritySettingsServiceServer) GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error) { 1193 return nil, status.Errorf(codes.Unimplemented, "method GetSecuritySettings not implemented") 1194} 1195func (*UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error) { 1196 return nil, status.Errorf(codes.Unimplemented, "method UpdateSecuritySettings not implemented") 1197} 1198func (*UnimplementedSecuritySettingsServiceServer) ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) { 1199 return nil, status.Errorf(codes.Unimplemented, "method ListSecuritySettings not implemented") 1200} 1201func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) { 1202 return nil, status.Errorf(codes.Unimplemented, "method DeleteSecuritySettings not implemented") 1203} 1204 1205func RegisterSecuritySettingsServiceServer(s *grpc.Server, srv SecuritySettingsServiceServer) { 1206 s.RegisterService(&_SecuritySettingsService_serviceDesc, srv) 1207} 1208 1209func _SecuritySettingsService_CreateSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1210 in := new(CreateSecuritySettingsRequest) 1211 if err := dec(in); err != nil { 1212 return nil, err 1213 } 1214 if interceptor == nil { 1215 return srv.(SecuritySettingsServiceServer).CreateSecuritySettings(ctx, in) 1216 } 1217 info := &grpc.UnaryServerInfo{ 1218 Server: srv, 1219 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/CreateSecuritySettings", 1220 } 1221 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1222 return srv.(SecuritySettingsServiceServer).CreateSecuritySettings(ctx, req.(*CreateSecuritySettingsRequest)) 1223 } 1224 return interceptor(ctx, in, info, handler) 1225} 1226 1227func _SecuritySettingsService_GetSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1228 in := new(GetSecuritySettingsRequest) 1229 if err := dec(in); err != nil { 1230 return nil, err 1231 } 1232 if interceptor == nil { 1233 return srv.(SecuritySettingsServiceServer).GetSecuritySettings(ctx, in) 1234 } 1235 info := &grpc.UnaryServerInfo{ 1236 Server: srv, 1237 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/GetSecuritySettings", 1238 } 1239 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1240 return srv.(SecuritySettingsServiceServer).GetSecuritySettings(ctx, req.(*GetSecuritySettingsRequest)) 1241 } 1242 return interceptor(ctx, in, info, handler) 1243} 1244 1245func _SecuritySettingsService_UpdateSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1246 in := new(UpdateSecuritySettingsRequest) 1247 if err := dec(in); err != nil { 1248 return nil, err 1249 } 1250 if interceptor == nil { 1251 return srv.(SecuritySettingsServiceServer).UpdateSecuritySettings(ctx, in) 1252 } 1253 info := &grpc.UnaryServerInfo{ 1254 Server: srv, 1255 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/UpdateSecuritySettings", 1256 } 1257 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1258 return srv.(SecuritySettingsServiceServer).UpdateSecuritySettings(ctx, req.(*UpdateSecuritySettingsRequest)) 1259 } 1260 return interceptor(ctx, in, info, handler) 1261} 1262 1263func _SecuritySettingsService_ListSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1264 in := new(ListSecuritySettingsRequest) 1265 if err := dec(in); err != nil { 1266 return nil, err 1267 } 1268 if interceptor == nil { 1269 return srv.(SecuritySettingsServiceServer).ListSecuritySettings(ctx, in) 1270 } 1271 info := &grpc.UnaryServerInfo{ 1272 Server: srv, 1273 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/ListSecuritySettings", 1274 } 1275 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1276 return srv.(SecuritySettingsServiceServer).ListSecuritySettings(ctx, req.(*ListSecuritySettingsRequest)) 1277 } 1278 return interceptor(ctx, in, info, handler) 1279} 1280 1281func _SecuritySettingsService_DeleteSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1282 in := new(DeleteSecuritySettingsRequest) 1283 if err := dec(in); err != nil { 1284 return nil, err 1285 } 1286 if interceptor == nil { 1287 return srv.(SecuritySettingsServiceServer).DeleteSecuritySettings(ctx, in) 1288 } 1289 info := &grpc.UnaryServerInfo{ 1290 Server: srv, 1291 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/DeleteSecuritySettings", 1292 } 1293 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1294 return srv.(SecuritySettingsServiceServer).DeleteSecuritySettings(ctx, req.(*DeleteSecuritySettingsRequest)) 1295 } 1296 return interceptor(ctx, in, info, handler) 1297} 1298 1299var _SecuritySettingsService_serviceDesc = grpc.ServiceDesc{ 1300 ServiceName: "google.cloud.dialogflow.cx.v3.SecuritySettingsService", 1301 HandlerType: (*SecuritySettingsServiceServer)(nil), 1302 Methods: []grpc.MethodDesc{ 1303 { 1304 MethodName: "CreateSecuritySettings", 1305 Handler: _SecuritySettingsService_CreateSecuritySettings_Handler, 1306 }, 1307 { 1308 MethodName: "GetSecuritySettings", 1309 Handler: _SecuritySettingsService_GetSecuritySettings_Handler, 1310 }, 1311 { 1312 MethodName: "UpdateSecuritySettings", 1313 Handler: _SecuritySettingsService_UpdateSecuritySettings_Handler, 1314 }, 1315 { 1316 MethodName: "ListSecuritySettings", 1317 Handler: _SecuritySettingsService_ListSecuritySettings_Handler, 1318 }, 1319 { 1320 MethodName: "DeleteSecuritySettings", 1321 Handler: _SecuritySettingsService_DeleteSecuritySettings_Handler, 1322 }, 1323 }, 1324 Streams: []grpc.StreamDesc{}, 1325 Metadata: "google/cloud/dialogflow/cx/v3/security_settings.proto", 1326} 1327