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 // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` 574 InspectTemplate string `protobuf:"bytes,9,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` 575 // Specifies how data is retained. Note that even if the data is 576 // purged due to retention policy, we may still hold it in backup storage for 577 // a few days without allowing direct readings. 578 // 579 // Types that are assignable to DataRetention: 580 // *SecuritySettings_RetentionWindowDays 581 DataRetention isSecuritySettings_DataRetention `protobuf_oneof:"data_retention"` 582 // List of types of data to remove when retention settings triggers purge. 583 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"` 584} 585 586func (x *SecuritySettings) Reset() { 587 *x = SecuritySettings{} 588 if protoimpl.UnsafeEnabled { 589 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6] 590 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 591 ms.StoreMessageInfo(mi) 592 } 593} 594 595func (x *SecuritySettings) String() string { 596 return protoimpl.X.MessageStringOf(x) 597} 598 599func (*SecuritySettings) ProtoMessage() {} 600 601func (x *SecuritySettings) ProtoReflect() protoreflect.Message { 602 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6] 603 if protoimpl.UnsafeEnabled && x != nil { 604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 605 if ms.LoadMessageInfo() == nil { 606 ms.StoreMessageInfo(mi) 607 } 608 return ms 609 } 610 return mi.MessageOf(x) 611} 612 613// Deprecated: Use SecuritySettings.ProtoReflect.Descriptor instead. 614func (*SecuritySettings) Descriptor() ([]byte, []int) { 615 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6} 616} 617 618func (x *SecuritySettings) GetName() string { 619 if x != nil { 620 return x.Name 621 } 622 return "" 623} 624 625func (x *SecuritySettings) GetDisplayName() string { 626 if x != nil { 627 return x.DisplayName 628 } 629 return "" 630} 631 632func (x *SecuritySettings) GetRedactionStrategy() SecuritySettings_RedactionStrategy { 633 if x != nil { 634 return x.RedactionStrategy 635 } 636 return SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED 637} 638 639func (x *SecuritySettings) GetRedactionScope() SecuritySettings_RedactionScope { 640 if x != nil { 641 return x.RedactionScope 642 } 643 return SecuritySettings_REDACTION_SCOPE_UNSPECIFIED 644} 645 646func (x *SecuritySettings) GetInspectTemplate() string { 647 if x != nil { 648 return x.InspectTemplate 649 } 650 return "" 651} 652 653func (m *SecuritySettings) GetDataRetention() isSecuritySettings_DataRetention { 654 if m != nil { 655 return m.DataRetention 656 } 657 return nil 658} 659 660func (x *SecuritySettings) GetRetentionWindowDays() int32 { 661 if x, ok := x.GetDataRetention().(*SecuritySettings_RetentionWindowDays); ok { 662 return x.RetentionWindowDays 663 } 664 return 0 665} 666 667func (x *SecuritySettings) GetPurgeDataTypes() []SecuritySettings_PurgeDataType { 668 if x != nil { 669 return x.PurgeDataTypes 670 } 671 return nil 672} 673 674type isSecuritySettings_DataRetention interface { 675 isSecuritySettings_DataRetention() 676} 677 678type SecuritySettings_RetentionWindowDays struct { 679 // Retains data in interaction logging for the specified number of days. 680 // This does not apply to Cloud logging, which is owned by the user - not 681 // Dialogflow. 682 // User must Set a value lower than Dialogflow's default 30d TTL. Setting a 683 // value higher than that has no effect. 684 // A missing value or setting to 0 also means we use Dialogflow's default 685 // TTL. 686 // Note: Interaction logging is a limited access feature. Talk to your 687 // Google representative to check availability for you. 688 RetentionWindowDays int32 `protobuf:"varint,6,opt,name=retention_window_days,json=retentionWindowDays,proto3,oneof"` 689} 690 691func (*SecuritySettings_RetentionWindowDays) isSecuritySettings_DataRetention() {} 692 693var File_google_cloud_dialogflow_cx_v3_security_settings_proto protoreflect.FileDescriptor 694 695var file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDesc = []byte{ 696 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 697 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x2f, 698 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 699 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 700 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 701 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 702 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 703 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 704 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 705 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 706 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 707 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 708 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 709 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 710 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 711 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 712 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 713 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 714 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 715 0x1a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 716 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 717 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 718 0x2c, 0x0a, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 719 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 720 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 721 0x61, 0x6d, 0x65, 0x22, 0xc4, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 722 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 723 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 724 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 725 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 726 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 727 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 728 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 729 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 730 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 731 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 732 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 733 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xa5, 0x01, 0x0a, 0x1b, 0x4c, 734 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 735 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 736 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 737 0x41, 0x2c, 0x12, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 738 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 739 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x06, 740 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 741 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 742 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 743 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 744 0x65, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 745 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 746 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 747 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 748 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 749 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 750 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 751 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 752 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 753 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 754 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xce, 0x01, 0x0a, 0x1d, 0x43, 0x72, 755 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 756 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 757 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 758 0xfa, 0x41, 0x2c, 0x12, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 759 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 760 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 761 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 762 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 763 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 764 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 765 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 766 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 767 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x67, 0x0a, 0x1d, 0x44, 0x65, 768 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 769 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 770 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 771 0x2c, 0x0a, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 772 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 773 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 774 0x61, 0x6d, 0x65, 0x22, 0xf1, 0x06, 0x0a, 0x10, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 775 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 776 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 777 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 778 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 779 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x70, 0x0a, 0x12, 0x72, 0x65, 0x64, 780 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 781 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 782 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 783 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 784 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 785 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x11, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 786 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x67, 0x0a, 0x0f, 0x72, 787 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x04, 788 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 789 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 790 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 791 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 792 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 793 0x63, 0x6f, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x5f, 794 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 795 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 796 0x34, 0x0a, 0x15, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 797 0x64, 0x6f, 0x77, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 798 0x52, 0x13, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 799 0x77, 0x44, 0x61, 0x79, 0x73, 0x12, 0x67, 0x0a, 0x10, 0x70, 0x75, 0x72, 0x67, 0x65, 0x5f, 0x64, 800 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0e, 0x32, 801 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 802 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 803 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 804 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 805 0x70, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x50, 806 0x0a, 0x11, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 807 0x65, 0x67, 0x79, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x44, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 808 0x5f, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 809 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x44, 0x41, 0x43, 810 0x54, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 811 0x22, 0x4a, 0x0a, 0x0e, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x63, 0x6f, 812 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x44, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 813 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 814 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x44, 0x41, 0x43, 0x54, 0x5f, 0x44, 0x49, 815 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x02, 0x22, 0x48, 0x0a, 0x0d, 816 0x50, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 817 0x1b, 0x50, 0x55, 0x52, 0x47, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 818 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 819 0x0a, 0x12, 0x44, 0x49, 0x41, 0x4c, 0x4f, 0x47, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x48, 0x49, 0x53, 820 0x54, 0x4f, 0x52, 0x59, 0x10, 0x01, 0x3a, 0x7d, 0xea, 0x41, 0x7a, 0x0a, 0x2a, 0x64, 0x69, 0x61, 821 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 822 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 823 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 824 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 825 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 826 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 827 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 828 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x42, 0x10, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x72, 0x65, 829 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0xef, 0x09, 0x0a, 0x17, 0x53, 0x65, 0x63, 0x75, 830 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 831 0x69, 0x63, 0x65, 0x12, 0xf3, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 832 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3c, 833 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 834 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x43, 835 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 836 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 837 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 838 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 839 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x6a, 0x82, 840 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x22, 0x34, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 841 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 842 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 843 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x3a, 0x11, 0x73, 0x65, 0x63, 844 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0xda, 0x41, 845 0x18, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 846 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x47, 0x65, 847 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 848 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 849 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 850 0x33, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 851 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 852 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 853 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 854 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x43, 0x82, 855 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 856 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 857 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 858 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 859 0x6d, 0x65, 0x12, 0x8b, 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 860 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3c, 0x2e, 861 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 862 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 863 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 864 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 865 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 866 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x63, 0x75, 867 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x81, 0x01, 0x82, 868 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x32, 0x46, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x75, 869 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x6e, 0x61, 870 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 871 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 872 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x11, 0x73, 873 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 874 0xda, 0x41, 0x1d, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 875 0x69, 0x6e, 0x67, 0x73, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 876 0x12, 0xd6, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 877 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 878 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 879 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 880 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 881 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 882 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 883 0x63, 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 884 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 885 0x73, 0x65, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x33, 0x2f, 886 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 887 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 888 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 889 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xb3, 0x01, 0x0a, 0x16, 0x44, 0x65, 890 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 891 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 892 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 893 0x78, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 894 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 895 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 896 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 897 0x02, 0x36, 0x2a, 0x34, 0x2f, 0x76, 0x33, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 898 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 899 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 900 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 901 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 902 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 903 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 904 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 905 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 906 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 907 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 908 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0xa5, 0x01, 0x0a, 0x21, 0x63, 0x6f, 909 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 910 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x42, 911 0x15, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 912 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 913 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 914 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 915 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 916 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 917 0x46, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 918 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 919 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 920} 921 922var ( 923 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescOnce sync.Once 924 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescData = file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDesc 925) 926 927func file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP() []byte { 928 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescOnce.Do(func() { 929 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescData) 930 }) 931 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescData 932} 933 934var file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 935var file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 936var file_google_cloud_dialogflow_cx_v3_security_settings_proto_goTypes = []interface{}{ 937 (SecuritySettings_RedactionStrategy)(0), // 0: google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy 938 (SecuritySettings_RedactionScope)(0), // 1: google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope 939 (SecuritySettings_PurgeDataType)(0), // 2: google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType 940 (*GetSecuritySettingsRequest)(nil), // 3: google.cloud.dialogflow.cx.v3.GetSecuritySettingsRequest 941 (*UpdateSecuritySettingsRequest)(nil), // 4: google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest 942 (*ListSecuritySettingsRequest)(nil), // 5: google.cloud.dialogflow.cx.v3.ListSecuritySettingsRequest 943 (*ListSecuritySettingsResponse)(nil), // 6: google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse 944 (*CreateSecuritySettingsRequest)(nil), // 7: google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest 945 (*DeleteSecuritySettingsRequest)(nil), // 8: google.cloud.dialogflow.cx.v3.DeleteSecuritySettingsRequest 946 (*SecuritySettings)(nil), // 9: google.cloud.dialogflow.cx.v3.SecuritySettings 947 (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask 948 (*emptypb.Empty)(nil), // 11: google.protobuf.Empty 949} 950var file_google_cloud_dialogflow_cx_v3_security_settings_proto_depIdxs = []int32{ 951 9, // 0: google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest.security_settings:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings 952 10, // 1: google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest.update_mask:type_name -> google.protobuf.FieldMask 953 9, // 2: google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse.security_settings:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings 954 9, // 3: google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest.security_settings:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings 955 0, // 4: google.cloud.dialogflow.cx.v3.SecuritySettings.redaction_strategy:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy 956 1, // 5: google.cloud.dialogflow.cx.v3.SecuritySettings.redaction_scope:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope 957 2, // 6: google.cloud.dialogflow.cx.v3.SecuritySettings.purge_data_types:type_name -> google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType 958 7, // 7: google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest 959 3, // 8: google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.GetSecuritySettingsRequest 960 4, // 9: google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest 961 5, // 10: google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.ListSecuritySettingsRequest 962 8, // 11: google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3.DeleteSecuritySettingsRequest 963 9, // 12: google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3.SecuritySettings 964 9, // 13: google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3.SecuritySettings 965 9, // 14: google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3.SecuritySettings 966 6, // 15: google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse 967 11, // 16: google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings:output_type -> google.protobuf.Empty 968 12, // [12:17] is the sub-list for method output_type 969 7, // [7:12] is the sub-list for method input_type 970 7, // [7:7] is the sub-list for extension type_name 971 7, // [7:7] is the sub-list for extension extendee 972 0, // [0:7] is the sub-list for field type_name 973} 974 975func init() { file_google_cloud_dialogflow_cx_v3_security_settings_proto_init() } 976func file_google_cloud_dialogflow_cx_v3_security_settings_proto_init() { 977 if File_google_cloud_dialogflow_cx_v3_security_settings_proto != nil { 978 return 979 } 980 if !protoimpl.UnsafeEnabled { 981 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 982 switch v := v.(*GetSecuritySettingsRequest); i { 983 case 0: 984 return &v.state 985 case 1: 986 return &v.sizeCache 987 case 2: 988 return &v.unknownFields 989 default: 990 return nil 991 } 992 } 993 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 994 switch v := v.(*UpdateSecuritySettingsRequest); i { 995 case 0: 996 return &v.state 997 case 1: 998 return &v.sizeCache 999 case 2: 1000 return &v.unknownFields 1001 default: 1002 return nil 1003 } 1004 } 1005 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1006 switch v := v.(*ListSecuritySettingsRequest); i { 1007 case 0: 1008 return &v.state 1009 case 1: 1010 return &v.sizeCache 1011 case 2: 1012 return &v.unknownFields 1013 default: 1014 return nil 1015 } 1016 } 1017 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1018 switch v := v.(*ListSecuritySettingsResponse); i { 1019 case 0: 1020 return &v.state 1021 case 1: 1022 return &v.sizeCache 1023 case 2: 1024 return &v.unknownFields 1025 default: 1026 return nil 1027 } 1028 } 1029 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1030 switch v := v.(*CreateSecuritySettingsRequest); i { 1031 case 0: 1032 return &v.state 1033 case 1: 1034 return &v.sizeCache 1035 case 2: 1036 return &v.unknownFields 1037 default: 1038 return nil 1039 } 1040 } 1041 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1042 switch v := v.(*DeleteSecuritySettingsRequest); i { 1043 case 0: 1044 return &v.state 1045 case 1: 1046 return &v.sizeCache 1047 case 2: 1048 return &v.unknownFields 1049 default: 1050 return nil 1051 } 1052 } 1053 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1054 switch v := v.(*SecuritySettings); i { 1055 case 0: 1056 return &v.state 1057 case 1: 1058 return &v.sizeCache 1059 case 2: 1060 return &v.unknownFields 1061 default: 1062 return nil 1063 } 1064 } 1065 } 1066 file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6].OneofWrappers = []interface{}{ 1067 (*SecuritySettings_RetentionWindowDays)(nil), 1068 } 1069 type x struct{} 1070 out := protoimpl.TypeBuilder{ 1071 File: protoimpl.DescBuilder{ 1072 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1073 RawDescriptor: file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDesc, 1074 NumEnums: 3, 1075 NumMessages: 7, 1076 NumExtensions: 0, 1077 NumServices: 1, 1078 }, 1079 GoTypes: file_google_cloud_dialogflow_cx_v3_security_settings_proto_goTypes, 1080 DependencyIndexes: file_google_cloud_dialogflow_cx_v3_security_settings_proto_depIdxs, 1081 EnumInfos: file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes, 1082 MessageInfos: file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes, 1083 }.Build() 1084 File_google_cloud_dialogflow_cx_v3_security_settings_proto = out.File 1085 file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDesc = nil 1086 file_google_cloud_dialogflow_cx_v3_security_settings_proto_goTypes = nil 1087 file_google_cloud_dialogflow_cx_v3_security_settings_proto_depIdxs = nil 1088} 1089 1090// Reference imports to suppress errors if they are not otherwise used. 1091var _ context.Context 1092var _ grpc.ClientConnInterface 1093 1094// This is a compile-time assertion to ensure that this generated file 1095// is compatible with the grpc package it is being compiled against. 1096const _ = grpc.SupportPackageIsVersion6 1097 1098// SecuritySettingsServiceClient is the client API for SecuritySettingsService service. 1099// 1100// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1101type SecuritySettingsServiceClient interface { 1102 // Create security settings in the specified location. 1103 CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1104 // Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1105 // The returned settings may be stale by up to 1 minute. 1106 GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1107 // Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1108 UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1109 // Returns the list of all security settings in the specified location. 1110 ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error) 1111 // Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1112 DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1113} 1114 1115type securitySettingsServiceClient struct { 1116 cc grpc.ClientConnInterface 1117} 1118 1119func NewSecuritySettingsServiceClient(cc grpc.ClientConnInterface) SecuritySettingsServiceClient { 1120 return &securitySettingsServiceClient{cc} 1121} 1122 1123func (c *securitySettingsServiceClient) CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1124 out := new(SecuritySettings) 1125 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/CreateSecuritySettings", in, out, opts...) 1126 if err != nil { 1127 return nil, err 1128 } 1129 return out, nil 1130} 1131 1132func (c *securitySettingsServiceClient) GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1133 out := new(SecuritySettings) 1134 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/GetSecuritySettings", in, out, opts...) 1135 if err != nil { 1136 return nil, err 1137 } 1138 return out, nil 1139} 1140 1141func (c *securitySettingsServiceClient) UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1142 out := new(SecuritySettings) 1143 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/UpdateSecuritySettings", in, out, opts...) 1144 if err != nil { 1145 return nil, err 1146 } 1147 return out, nil 1148} 1149 1150func (c *securitySettingsServiceClient) ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error) { 1151 out := new(ListSecuritySettingsResponse) 1152 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/ListSecuritySettings", in, out, opts...) 1153 if err != nil { 1154 return nil, err 1155 } 1156 return out, nil 1157} 1158 1159func (c *securitySettingsServiceClient) DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1160 out := new(emptypb.Empty) 1161 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/DeleteSecuritySettings", in, out, opts...) 1162 if err != nil { 1163 return nil, err 1164 } 1165 return out, nil 1166} 1167 1168// SecuritySettingsServiceServer is the server API for SecuritySettingsService service. 1169type SecuritySettingsServiceServer interface { 1170 // Create security settings in the specified location. 1171 CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error) 1172 // Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1173 // The returned settings may be stale by up to 1 minute. 1174 GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error) 1175 // Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1176 UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error) 1177 // Returns the list of all security settings in the specified location. 1178 ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) 1179 // Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. 1180 DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) 1181} 1182 1183// UnimplementedSecuritySettingsServiceServer can be embedded to have forward compatible implementations. 1184type UnimplementedSecuritySettingsServiceServer struct { 1185} 1186 1187func (*UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error) { 1188 return nil, status.Errorf(codes.Unimplemented, "method CreateSecuritySettings not implemented") 1189} 1190func (*UnimplementedSecuritySettingsServiceServer) GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error) { 1191 return nil, status.Errorf(codes.Unimplemented, "method GetSecuritySettings not implemented") 1192} 1193func (*UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error) { 1194 return nil, status.Errorf(codes.Unimplemented, "method UpdateSecuritySettings not implemented") 1195} 1196func (*UnimplementedSecuritySettingsServiceServer) ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) { 1197 return nil, status.Errorf(codes.Unimplemented, "method ListSecuritySettings not implemented") 1198} 1199func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) { 1200 return nil, status.Errorf(codes.Unimplemented, "method DeleteSecuritySettings not implemented") 1201} 1202 1203func RegisterSecuritySettingsServiceServer(s *grpc.Server, srv SecuritySettingsServiceServer) { 1204 s.RegisterService(&_SecuritySettingsService_serviceDesc, srv) 1205} 1206 1207func _SecuritySettingsService_CreateSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1208 in := new(CreateSecuritySettingsRequest) 1209 if err := dec(in); err != nil { 1210 return nil, err 1211 } 1212 if interceptor == nil { 1213 return srv.(SecuritySettingsServiceServer).CreateSecuritySettings(ctx, in) 1214 } 1215 info := &grpc.UnaryServerInfo{ 1216 Server: srv, 1217 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/CreateSecuritySettings", 1218 } 1219 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1220 return srv.(SecuritySettingsServiceServer).CreateSecuritySettings(ctx, req.(*CreateSecuritySettingsRequest)) 1221 } 1222 return interceptor(ctx, in, info, handler) 1223} 1224 1225func _SecuritySettingsService_GetSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1226 in := new(GetSecuritySettingsRequest) 1227 if err := dec(in); err != nil { 1228 return nil, err 1229 } 1230 if interceptor == nil { 1231 return srv.(SecuritySettingsServiceServer).GetSecuritySettings(ctx, in) 1232 } 1233 info := &grpc.UnaryServerInfo{ 1234 Server: srv, 1235 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/GetSecuritySettings", 1236 } 1237 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1238 return srv.(SecuritySettingsServiceServer).GetSecuritySettings(ctx, req.(*GetSecuritySettingsRequest)) 1239 } 1240 return interceptor(ctx, in, info, handler) 1241} 1242 1243func _SecuritySettingsService_UpdateSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1244 in := new(UpdateSecuritySettingsRequest) 1245 if err := dec(in); err != nil { 1246 return nil, err 1247 } 1248 if interceptor == nil { 1249 return srv.(SecuritySettingsServiceServer).UpdateSecuritySettings(ctx, in) 1250 } 1251 info := &grpc.UnaryServerInfo{ 1252 Server: srv, 1253 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/UpdateSecuritySettings", 1254 } 1255 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1256 return srv.(SecuritySettingsServiceServer).UpdateSecuritySettings(ctx, req.(*UpdateSecuritySettingsRequest)) 1257 } 1258 return interceptor(ctx, in, info, handler) 1259} 1260 1261func _SecuritySettingsService_ListSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1262 in := new(ListSecuritySettingsRequest) 1263 if err := dec(in); err != nil { 1264 return nil, err 1265 } 1266 if interceptor == nil { 1267 return srv.(SecuritySettingsServiceServer).ListSecuritySettings(ctx, in) 1268 } 1269 info := &grpc.UnaryServerInfo{ 1270 Server: srv, 1271 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/ListSecuritySettings", 1272 } 1273 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1274 return srv.(SecuritySettingsServiceServer).ListSecuritySettings(ctx, req.(*ListSecuritySettingsRequest)) 1275 } 1276 return interceptor(ctx, in, info, handler) 1277} 1278 1279func _SecuritySettingsService_DeleteSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1280 in := new(DeleteSecuritySettingsRequest) 1281 if err := dec(in); err != nil { 1282 return nil, err 1283 } 1284 if interceptor == nil { 1285 return srv.(SecuritySettingsServiceServer).DeleteSecuritySettings(ctx, in) 1286 } 1287 info := &grpc.UnaryServerInfo{ 1288 Server: srv, 1289 FullMethod: "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/DeleteSecuritySettings", 1290 } 1291 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1292 return srv.(SecuritySettingsServiceServer).DeleteSecuritySettings(ctx, req.(*DeleteSecuritySettingsRequest)) 1293 } 1294 return interceptor(ctx, in, info, handler) 1295} 1296 1297var _SecuritySettingsService_serviceDesc = grpc.ServiceDesc{ 1298 ServiceName: "google.cloud.dialogflow.cx.v3.SecuritySettingsService", 1299 HandlerType: (*SecuritySettingsServiceServer)(nil), 1300 Methods: []grpc.MethodDesc{ 1301 { 1302 MethodName: "CreateSecuritySettings", 1303 Handler: _SecuritySettingsService_CreateSecuritySettings_Handler, 1304 }, 1305 { 1306 MethodName: "GetSecuritySettings", 1307 Handler: _SecuritySettingsService_GetSecuritySettings_Handler, 1308 }, 1309 { 1310 MethodName: "UpdateSecuritySettings", 1311 Handler: _SecuritySettingsService_UpdateSecuritySettings_Handler, 1312 }, 1313 { 1314 MethodName: "ListSecuritySettings", 1315 Handler: _SecuritySettingsService_ListSecuritySettings_Handler, 1316 }, 1317 { 1318 MethodName: "DeleteSecuritySettings", 1319 Handler: _SecuritySettingsService_DeleteSecuritySettings_Handler, 1320 }, 1321 }, 1322 Streams: []grpc.StreamDesc{}, 1323 Metadata: "google/cloud/dialogflow/cx/v3/security_settings.proto", 1324} 1325