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.25.0-devel 18// protoc v3.13.0 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 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 _ "google.golang.org/genproto/googleapis/longrunning" 31 grpc "google.golang.org/grpc" 32 codes "google.golang.org/grpc/codes" 33 status "google.golang.org/grpc/status" 34 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 35 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 36 emptypb "google.golang.org/protobuf/types/known/emptypb" 37 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 38) 39 40const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45) 46 47// This is a compile-time assertion that a sufficiently up-to-date version 48// of the legacy proto package is being used. 49const _ = proto.ProtoPackageIsVersion4 50 51// Defines how we redact data. 52type SecuritySettings_RedactionStrategy int32 53 54const ( 55 // Do not redact. 56 SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED SecuritySettings_RedactionStrategy = 0 57 // Call redaction service to clean up the data to be persisted. 58 SecuritySettings_REDACT_WITH_SERVICE SecuritySettings_RedactionStrategy = 1 59) 60 61// Enum value maps for SecuritySettings_RedactionStrategy. 62var ( 63 SecuritySettings_RedactionStrategy_name = map[int32]string{ 64 0: "REDACTION_STRATEGY_UNSPECIFIED", 65 1: "REDACT_WITH_SERVICE", 66 } 67 SecuritySettings_RedactionStrategy_value = map[string]int32{ 68 "REDACTION_STRATEGY_UNSPECIFIED": 0, 69 "REDACT_WITH_SERVICE": 1, 70 } 71) 72 73func (x SecuritySettings_RedactionStrategy) Enum() *SecuritySettings_RedactionStrategy { 74 p := new(SecuritySettings_RedactionStrategy) 75 *p = x 76 return p 77} 78 79func (x SecuritySettings_RedactionStrategy) String() string { 80 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 81} 82 83func (SecuritySettings_RedactionStrategy) Descriptor() protoreflect.EnumDescriptor { 84 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[0].Descriptor() 85} 86 87func (SecuritySettings_RedactionStrategy) Type() protoreflect.EnumType { 88 return &file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[0] 89} 90 91func (x SecuritySettings_RedactionStrategy) Number() protoreflect.EnumNumber { 92 return protoreflect.EnumNumber(x) 93} 94 95// Deprecated: Use SecuritySettings_RedactionStrategy.Descriptor instead. 96func (SecuritySettings_RedactionStrategy) EnumDescriptor() ([]byte, []int) { 97 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6, 0} 98} 99 100// Defines what types of data to redact. 101type SecuritySettings_RedactionScope int32 102 103const ( 104 // Don't redact any kind of data. 105 SecuritySettings_REDACTION_SCOPE_UNSPECIFIED SecuritySettings_RedactionScope = 0 106 // On data to be written to disk or similar devices that are capable of 107 // holding data even if power is disconnected. This includes data that are 108 // temporarily saved on disk. 109 SecuritySettings_REDACT_DISK_STORAGE SecuritySettings_RedactionScope = 2 110) 111 112// Enum value maps for SecuritySettings_RedactionScope. 113var ( 114 SecuritySettings_RedactionScope_name = map[int32]string{ 115 0: "REDACTION_SCOPE_UNSPECIFIED", 116 2: "REDACT_DISK_STORAGE", 117 } 118 SecuritySettings_RedactionScope_value = map[string]int32{ 119 "REDACTION_SCOPE_UNSPECIFIED": 0, 120 "REDACT_DISK_STORAGE": 2, 121 } 122) 123 124func (x SecuritySettings_RedactionScope) Enum() *SecuritySettings_RedactionScope { 125 p := new(SecuritySettings_RedactionScope) 126 *p = x 127 return p 128} 129 130func (x SecuritySettings_RedactionScope) String() string { 131 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 132} 133 134func (SecuritySettings_RedactionScope) Descriptor() protoreflect.EnumDescriptor { 135 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[1].Descriptor() 136} 137 138func (SecuritySettings_RedactionScope) Type() protoreflect.EnumType { 139 return &file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[1] 140} 141 142func (x SecuritySettings_RedactionScope) Number() protoreflect.EnumNumber { 143 return protoreflect.EnumNumber(x) 144} 145 146// Deprecated: Use SecuritySettings_RedactionScope.Descriptor instead. 147func (SecuritySettings_RedactionScope) EnumDescriptor() ([]byte, []int) { 148 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6, 1} 149} 150 151// Type of data we purge after retention settings triggers purge. 152type SecuritySettings_PurgeDataType int32 153 154const ( 155 // Unspecified. Do not use. 156 SecuritySettings_PURGE_DATA_TYPE_UNSPECIFIED SecuritySettings_PurgeDataType = 0 157 // Dialogflow history. This does not include Stackdriver log, which is 158 // owned by the user not Dialogflow. 159 SecuritySettings_DIALOGFLOW_HISTORY SecuritySettings_PurgeDataType = 1 160) 161 162// Enum value maps for SecuritySettings_PurgeDataType. 163var ( 164 SecuritySettings_PurgeDataType_name = map[int32]string{ 165 0: "PURGE_DATA_TYPE_UNSPECIFIED", 166 1: "DIALOGFLOW_HISTORY", 167 } 168 SecuritySettings_PurgeDataType_value = map[string]int32{ 169 "PURGE_DATA_TYPE_UNSPECIFIED": 0, 170 "DIALOGFLOW_HISTORY": 1, 171 } 172) 173 174func (x SecuritySettings_PurgeDataType) Enum() *SecuritySettings_PurgeDataType { 175 p := new(SecuritySettings_PurgeDataType) 176 *p = x 177 return p 178} 179 180func (x SecuritySettings_PurgeDataType) String() string { 181 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 182} 183 184func (SecuritySettings_PurgeDataType) Descriptor() protoreflect.EnumDescriptor { 185 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[2].Descriptor() 186} 187 188func (SecuritySettings_PurgeDataType) Type() protoreflect.EnumType { 189 return &file_google_cloud_dialogflow_cx_v3_security_settings_proto_enumTypes[2] 190} 191 192func (x SecuritySettings_PurgeDataType) Number() protoreflect.EnumNumber { 193 return protoreflect.EnumNumber(x) 194} 195 196// Deprecated: Use SecuritySettings_PurgeDataType.Descriptor instead. 197func (SecuritySettings_PurgeDataType) EnumDescriptor() ([]byte, []int) { 198 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6, 2} 199} 200 201// The request message for [SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings]. 202type GetSecuritySettingsRequest struct { 203 state protoimpl.MessageState 204 sizeCache protoimpl.SizeCache 205 unknownFields protoimpl.UnknownFields 206 207 // Required. Resource name of the settings. 208 // Format: `projects/<Project ID>/locations/<Location 209 // ID>/securitySettings/<security settings ID>`. 210 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 211} 212 213func (x *GetSecuritySettingsRequest) Reset() { 214 *x = GetSecuritySettingsRequest{} 215 if protoimpl.UnsafeEnabled { 216 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[0] 217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 218 ms.StoreMessageInfo(mi) 219 } 220} 221 222func (x *GetSecuritySettingsRequest) String() string { 223 return protoimpl.X.MessageStringOf(x) 224} 225 226func (*GetSecuritySettingsRequest) ProtoMessage() {} 227 228func (x *GetSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 229 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[0] 230 if protoimpl.UnsafeEnabled && x != nil { 231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 232 if ms.LoadMessageInfo() == nil { 233 ms.StoreMessageInfo(mi) 234 } 235 return ms 236 } 237 return mi.MessageOf(x) 238} 239 240// Deprecated: Use GetSecuritySettingsRequest.ProtoReflect.Descriptor instead. 241func (*GetSecuritySettingsRequest) Descriptor() ([]byte, []int) { 242 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{0} 243} 244 245func (x *GetSecuritySettingsRequest) GetName() string { 246 if x != nil { 247 return x.Name 248 } 249 return "" 250} 251 252// The request message for [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings]. 253type UpdateSecuritySettingsRequest struct { 254 state protoimpl.MessageState 255 sizeCache protoimpl.SizeCache 256 unknownFields protoimpl.UnknownFields 257 258 // Required. [SecuritySettings] object that contains values for each of the 259 // fields to update. 260 SecuritySettings *SecuritySettings `protobuf:"bytes,1,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` 261 // Required. The mask to control which fields get updated. If the mask is not present, 262 // all fields will be updated. 263 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 264} 265 266func (x *UpdateSecuritySettingsRequest) Reset() { 267 *x = UpdateSecuritySettingsRequest{} 268 if protoimpl.UnsafeEnabled { 269 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[1] 270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 271 ms.StoreMessageInfo(mi) 272 } 273} 274 275func (x *UpdateSecuritySettingsRequest) String() string { 276 return protoimpl.X.MessageStringOf(x) 277} 278 279func (*UpdateSecuritySettingsRequest) ProtoMessage() {} 280 281func (x *UpdateSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 282 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[1] 283 if protoimpl.UnsafeEnabled && x != nil { 284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 285 if ms.LoadMessageInfo() == nil { 286 ms.StoreMessageInfo(mi) 287 } 288 return ms 289 } 290 return mi.MessageOf(x) 291} 292 293// Deprecated: Use UpdateSecuritySettingsRequest.ProtoReflect.Descriptor instead. 294func (*UpdateSecuritySettingsRequest) Descriptor() ([]byte, []int) { 295 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{1} 296} 297 298func (x *UpdateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings { 299 if x != nil { 300 return x.SecuritySettings 301 } 302 return nil 303} 304 305func (x *UpdateSecuritySettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 306 if x != nil { 307 return x.UpdateMask 308 } 309 return nil 310} 311 312// The request message for [SecuritySettings.ListSecuritySettings][]. 313type ListSecuritySettingsRequest struct { 314 state protoimpl.MessageState 315 sizeCache protoimpl.SizeCache 316 unknownFields protoimpl.UnknownFields 317 318 // Required. The location to list all security settings for. 319 // Format: `projects/<Project ID>/locations/<Location ID>`. 320 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 321 // The maximum number of items to return in a single page. By default 20 and 322 // at most 100. 323 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 324 // The next_page_token value returned from a previous list request. 325 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 326} 327 328func (x *ListSecuritySettingsRequest) Reset() { 329 *x = ListSecuritySettingsRequest{} 330 if protoimpl.UnsafeEnabled { 331 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[2] 332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 333 ms.StoreMessageInfo(mi) 334 } 335} 336 337func (x *ListSecuritySettingsRequest) String() string { 338 return protoimpl.X.MessageStringOf(x) 339} 340 341func (*ListSecuritySettingsRequest) ProtoMessage() {} 342 343func (x *ListSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 344 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[2] 345 if protoimpl.UnsafeEnabled && x != nil { 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 347 if ms.LoadMessageInfo() == nil { 348 ms.StoreMessageInfo(mi) 349 } 350 return ms 351 } 352 return mi.MessageOf(x) 353} 354 355// Deprecated: Use ListSecuritySettingsRequest.ProtoReflect.Descriptor instead. 356func (*ListSecuritySettingsRequest) Descriptor() ([]byte, []int) { 357 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{2} 358} 359 360func (x *ListSecuritySettingsRequest) GetParent() string { 361 if x != nil { 362 return x.Parent 363 } 364 return "" 365} 366 367func (x *ListSecuritySettingsRequest) GetPageSize() int32 { 368 if x != nil { 369 return x.PageSize 370 } 371 return 0 372} 373 374func (x *ListSecuritySettingsRequest) GetPageToken() string { 375 if x != nil { 376 return x.PageToken 377 } 378 return "" 379} 380 381// The response message for [SecuritySettings.ListSecuritySettings][]. 382type ListSecuritySettingsResponse struct { 383 state protoimpl.MessageState 384 sizeCache protoimpl.SizeCache 385 unknownFields protoimpl.UnknownFields 386 387 // The list of security settings. 388 SecuritySettings []*SecuritySettings `protobuf:"bytes,1,rep,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` 389 // Token to retrieve the next page of results, or empty if there are no more 390 // results in the list. 391 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 392} 393 394func (x *ListSecuritySettingsResponse) Reset() { 395 *x = ListSecuritySettingsResponse{} 396 if protoimpl.UnsafeEnabled { 397 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[3] 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 ms.StoreMessageInfo(mi) 400 } 401} 402 403func (x *ListSecuritySettingsResponse) String() string { 404 return protoimpl.X.MessageStringOf(x) 405} 406 407func (*ListSecuritySettingsResponse) ProtoMessage() {} 408 409func (x *ListSecuritySettingsResponse) ProtoReflect() protoreflect.Message { 410 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[3] 411 if protoimpl.UnsafeEnabled && x != nil { 412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 413 if ms.LoadMessageInfo() == nil { 414 ms.StoreMessageInfo(mi) 415 } 416 return ms 417 } 418 return mi.MessageOf(x) 419} 420 421// Deprecated: Use ListSecuritySettingsResponse.ProtoReflect.Descriptor instead. 422func (*ListSecuritySettingsResponse) Descriptor() ([]byte, []int) { 423 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{3} 424} 425 426func (x *ListSecuritySettingsResponse) GetSecuritySettings() []*SecuritySettings { 427 if x != nil { 428 return x.SecuritySettings 429 } 430 return nil 431} 432 433func (x *ListSecuritySettingsResponse) GetNextPageToken() string { 434 if x != nil { 435 return x.NextPageToken 436 } 437 return "" 438} 439 440// The request message for [SecuritySettings.CreateSecuritySettings][]. 441type CreateSecuritySettingsRequest struct { 442 state protoimpl.MessageState 443 sizeCache protoimpl.SizeCache 444 unknownFields protoimpl.UnknownFields 445 446 // Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. 447 // Format: `projects/<Project ID>/locations/<Location ID>`. 448 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 449 // Required. The security settings to create. 450 SecuritySettings *SecuritySettings `protobuf:"bytes,2,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` 451} 452 453func (x *CreateSecuritySettingsRequest) Reset() { 454 *x = CreateSecuritySettingsRequest{} 455 if protoimpl.UnsafeEnabled { 456 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[4] 457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 458 ms.StoreMessageInfo(mi) 459 } 460} 461 462func (x *CreateSecuritySettingsRequest) String() string { 463 return protoimpl.X.MessageStringOf(x) 464} 465 466func (*CreateSecuritySettingsRequest) ProtoMessage() {} 467 468func (x *CreateSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 469 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[4] 470 if protoimpl.UnsafeEnabled && x != nil { 471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 472 if ms.LoadMessageInfo() == nil { 473 ms.StoreMessageInfo(mi) 474 } 475 return ms 476 } 477 return mi.MessageOf(x) 478} 479 480// Deprecated: Use CreateSecuritySettingsRequest.ProtoReflect.Descriptor instead. 481func (*CreateSecuritySettingsRequest) Descriptor() ([]byte, []int) { 482 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{4} 483} 484 485func (x *CreateSecuritySettingsRequest) GetParent() string { 486 if x != nil { 487 return x.Parent 488 } 489 return "" 490} 491 492func (x *CreateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings { 493 if x != nil { 494 return x.SecuritySettings 495 } 496 return nil 497} 498 499// The request message for [SecuritySettings.DeleteSecuritySettings][]. 500type DeleteSecuritySettingsRequest struct { 501 state protoimpl.MessageState 502 sizeCache protoimpl.SizeCache 503 unknownFields protoimpl.UnknownFields 504 505 // Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. 506 // Format: `projects/<Project ID>/locations/<Location 507 // ID>/securitySettings/<Security Settings ID>`. 508 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 509} 510 511func (x *DeleteSecuritySettingsRequest) Reset() { 512 *x = DeleteSecuritySettingsRequest{} 513 if protoimpl.UnsafeEnabled { 514 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[5] 515 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 516 ms.StoreMessageInfo(mi) 517 } 518} 519 520func (x *DeleteSecuritySettingsRequest) String() string { 521 return protoimpl.X.MessageStringOf(x) 522} 523 524func (*DeleteSecuritySettingsRequest) ProtoMessage() {} 525 526func (x *DeleteSecuritySettingsRequest) ProtoReflect() protoreflect.Message { 527 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[5] 528 if protoimpl.UnsafeEnabled && x != nil { 529 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 530 if ms.LoadMessageInfo() == nil { 531 ms.StoreMessageInfo(mi) 532 } 533 return ms 534 } 535 return mi.MessageOf(x) 536} 537 538// Deprecated: Use DeleteSecuritySettingsRequest.ProtoReflect.Descriptor instead. 539func (*DeleteSecuritySettingsRequest) Descriptor() ([]byte, []int) { 540 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{5} 541} 542 543func (x *DeleteSecuritySettingsRequest) GetName() string { 544 if x != nil { 545 return x.Name 546 } 547 return "" 548} 549 550// Represents the settings related to security issues, such as data redaction 551// and data retention. It may take hours for updates on the settings to 552// propagate to all the related components and take effect. 553type SecuritySettings struct { 554 state protoimpl.MessageState 555 sizeCache protoimpl.SizeCache 556 unknownFields protoimpl.UnknownFields 557 558 // Required. Resource name of the settings. 559 // Format: `projects/<Project ID>/locations/<Location 560 // ID>/securitySettings/<Security Settings ID>`. 561 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 562 // Required. The human-readable name of the security settings, unique within the 563 // location. 564 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 565 // Strategy that defines how we do redaction. 566 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"` 567 // Defines on what data we apply redaction. Note that we don't 568 // redact data to which we don't have access, e.g., Stackdriver logs. 569 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"` 570 // DLP inspect template name. Use this template to define inspect base 571 // settings. 572 // 573 // If empty, we use the default DLP inspect config. 574 // 575 // The template name will have one of the following formats: 576 // `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR 577 // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` 578 InspectTemplate string `protobuf:"bytes,9,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` 579 // Specifies how data is retained. Note that even if the data is 580 // purged due to retention policy, we may still hold it in backup storage for 581 // a few days without allowing direct readings. 582 // 583 // Types that are assignable to DataRetention: 584 // *SecuritySettings_RetentionWindowDays 585 DataRetention isSecuritySettings_DataRetention `protobuf_oneof:"data_retention"` 586 // List of types of data to remove when retention settings triggers purge. 587 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"` 588} 589 590func (x *SecuritySettings) Reset() { 591 *x = SecuritySettings{} 592 if protoimpl.UnsafeEnabled { 593 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6] 594 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 595 ms.StoreMessageInfo(mi) 596 } 597} 598 599func (x *SecuritySettings) String() string { 600 return protoimpl.X.MessageStringOf(x) 601} 602 603func (*SecuritySettings) ProtoMessage() {} 604 605func (x *SecuritySettings) ProtoReflect() protoreflect.Message { 606 mi := &file_google_cloud_dialogflow_cx_v3_security_settings_proto_msgTypes[6] 607 if protoimpl.UnsafeEnabled && x != nil { 608 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 609 if ms.LoadMessageInfo() == nil { 610 ms.StoreMessageInfo(mi) 611 } 612 return ms 613 } 614 return mi.MessageOf(x) 615} 616 617// Deprecated: Use SecuritySettings.ProtoReflect.Descriptor instead. 618func (*SecuritySettings) Descriptor() ([]byte, []int) { 619 return file_google_cloud_dialogflow_cx_v3_security_settings_proto_rawDescGZIP(), []int{6} 620} 621 622func (x *SecuritySettings) GetName() string { 623 if x != nil { 624 return x.Name 625 } 626 return "" 627} 628 629func (x *SecuritySettings) GetDisplayName() string { 630 if x != nil { 631 return x.DisplayName 632 } 633 return "" 634} 635 636func (x *SecuritySettings) GetRedactionStrategy() SecuritySettings_RedactionStrategy { 637 if x != nil { 638 return x.RedactionStrategy 639 } 640 return SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED 641} 642 643func (x *SecuritySettings) GetRedactionScope() SecuritySettings_RedactionScope { 644 if x != nil { 645 return x.RedactionScope 646 } 647 return SecuritySettings_REDACTION_SCOPE_UNSPECIFIED 648} 649 650func (x *SecuritySettings) GetInspectTemplate() string { 651 if x != nil { 652 return x.InspectTemplate 653 } 654 return "" 655} 656 657func (m *SecuritySettings) GetDataRetention() isSecuritySettings_DataRetention { 658 if m != nil { 659 return m.DataRetention 660 } 661 return nil 662} 663 664func (x *SecuritySettings) GetRetentionWindowDays() int32 { 665 if x, ok := x.GetDataRetention().(*SecuritySettings_RetentionWindowDays); ok { 666 return x.RetentionWindowDays 667 } 668 return 0 669} 670 671func (x *SecuritySettings) GetPurgeDataTypes() []SecuritySettings_PurgeDataType { 672 if x != nil { 673 return x.PurgeDataTypes 674 } 675 return nil 676} 677 678type isSecuritySettings_DataRetention interface { 679 isSecuritySettings_DataRetention() 680} 681 682type SecuritySettings_RetentionWindowDays struct { 683 // Retains the data for the specified number of days. 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 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