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/v3beta1/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_v3beta1_security_settings_proto_enumTypes[0].Descriptor() 85} 86 87func (SecuritySettings_RedactionStrategy) Type() protoreflect.EnumType { 88 return &file_google_cloud_dialogflow_cx_v3beta1_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_v3beta1_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_v3beta1_security_settings_proto_enumTypes[1].Descriptor() 136} 137 138func (SecuritySettings_RedactionScope) Type() protoreflect.EnumType { 139 return &file_google_cloud_dialogflow_cx_v3beta1_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_v3beta1_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_v3beta1_security_settings_proto_enumTypes[2].Descriptor() 186} 187 188func (SecuritySettings_PurgeDataType) Type() protoreflect.EnumType { 189 return &file_google_cloud_dialogflow_cx_v3beta1_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_v3beta1_security_settings_proto_rawDescGZIP(), []int{6, 2} 199} 200 201// The request message for [SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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_v3beta1_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_v3beta1_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_v3beta1_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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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.v3beta1.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.v3beta1.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.v3beta1.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_v3beta1_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_v3beta1_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_v3beta1_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_v3beta1_security_settings_proto protoreflect.FileDescriptor 694 695var file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDesc = []byte{ 696 0x0a, 0x3a, 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, 0x62, 698 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 699 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 700 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 701 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 702 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 703 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 704 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 705 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 706 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 707 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 708 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 709 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 710 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 711 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 712 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 713 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 714 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 715 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x65, 716 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 717 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 718 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x64, 0x69, 0x61, 719 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 720 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 721 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc9, 0x01, 722 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 723 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 724 0x66, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 725 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 726 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 727 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 728 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 729 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 730 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 731 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 732 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 733 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 734 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xa5, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 735 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 736 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72, 737 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 738 0x2c, 0x12, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 739 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 740 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x06, 0x70, 741 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 742 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 743 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 744 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 745 0x6e, 0x22, 0xa9, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 746 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 747 0x73, 0x65, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 748 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 749 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 750 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 751 0x61, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 752 0x6e, 0x67, 0x73, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 753 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 754 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 755 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd3, 0x01, 756 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 757 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 758 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 759 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x12, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 760 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 761 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 762 0x6e, 0x67, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x66, 0x0a, 0x11, 0x73, 763 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 764 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 765 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 766 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 767 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x03, 0xe0, 0x41, 768 0x02, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 769 0x6e, 0x67, 0x73, 0x22, 0x67, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 770 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 771 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 772 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x64, 0x69, 0x61, 0x6c, 773 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 774 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 775 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x80, 0x07, 0x0a, 776 0x10, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 777 0x73, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 778 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 779 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 780 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 781 0x6d, 0x65, 0x12, 0x75, 0x0a, 0x12, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 782 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x46, 783 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 784 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 785 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 786 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 787 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x11, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 0x6f, 788 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x6c, 0x0a, 0x0f, 0x72, 0x65, 0x64, 789 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 790 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 791 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 792 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 793 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 794 0x6f, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x69, 795 0x6f, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x73, 0x70, 0x65, 796 0x63, 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 797 0x09, 0x52, 0x0f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 798 0x74, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 799 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 800 0x05, 0x48, 0x00, 0x52, 0x13, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 801 0x6e, 0x64, 0x6f, 0x77, 0x44, 0x61, 0x79, 0x73, 0x12, 0x6c, 0x0a, 0x10, 0x70, 0x75, 0x72, 0x67, 802 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 803 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 804 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 805 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 806 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 807 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x70, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 808 0x61, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x50, 0x0a, 0x11, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 809 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x22, 0x0a, 0x1e, 0x52, 810 0x45, 0x44, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 811 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 812 0x17, 0x0a, 0x13, 0x52, 0x45, 0x44, 0x41, 0x43, 0x54, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, 813 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 0x22, 0x4a, 0x0a, 0x0e, 0x52, 0x65, 0x64, 0x61, 814 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 815 0x44, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 816 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, 817 0x45, 0x44, 0x41, 0x43, 0x54, 0x5f, 0x44, 0x49, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, 818 0x47, 0x45, 0x10, 0x02, 0x22, 0x48, 0x0a, 0x0d, 0x50, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 819 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x55, 0x52, 0x47, 0x45, 0x5f, 0x44, 820 0x41, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 821 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x49, 0x41, 0x4c, 0x4f, 0x47, 822 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x01, 0x3a, 0x7d, 823 0xea, 0x41, 0x7a, 0x0a, 0x2a, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 824 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 825 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 826 0x4c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 827 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 828 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 829 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x75, 0x72, 830 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x7d, 0x42, 0x10, 0x0a, 831 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x32, 832 0xb5, 0x0a, 0x0a, 0x17, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 833 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x82, 0x02, 0x0a, 0x16, 834 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 835 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 836 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 837 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 838 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 839 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 840 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 841 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 842 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 843 0x6f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4e, 0x22, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 844 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 845 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 846 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 847 0x67, 0x73, 0x3a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 848 0x74, 0x69, 0x6e, 0x67, 0x73, 0xda, 0x41, 0x18, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, 849 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 850 0x12, 0xd5, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 851 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 852 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 853 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 854 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 855 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 856 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 857 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 858 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x48, 859 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 860 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 861 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 862 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 863 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x9a, 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 864 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 865 0x6e, 0x67, 0x73, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 866 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 867 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 868 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 869 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 870 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 871 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 872 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x86, 0x01, 0x82, 873 0xd3, 0xe4, 0x93, 0x02, 0x60, 0x32, 0x4b, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 874 0x7b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 875 0x67, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 876 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 877 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 878 0x2a, 0x7d, 0x3a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 879 0x74, 0x69, 0x6e, 0x67, 0x73, 0xda, 0x41, 0x1d, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 880 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 881 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0xe5, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 882 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 883 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 884 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 885 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 886 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 887 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 888 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 889 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 890 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 891 0x65, 0x22, 0x4a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x76, 0x33, 0x62, 0x65, 892 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 893 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 894 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 895 0x69, 0x6e, 0x67, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xbd, 0x01, 896 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 897 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 898 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 899 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 900 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 901 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 902 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 903 0x70, 0x74, 0x79, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x2a, 0x39, 0x2f, 0x76, 0x33, 904 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 905 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 906 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 907 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x78, 0xca, 908 0x41, 0x19, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 909 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 0x68, 0x74, 910 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 911 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 912 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 913 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 914 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x69, 0x61, 915 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0xb4, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 916 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 917 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 918 0x61, 0x31, 0x42, 0x15, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 919 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x6f, 0x6f, 920 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 921 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 922 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 923 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 924 0x78, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 925 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 926 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 927 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 928} 929 930var ( 931 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDescOnce sync.Once 932 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDescData = file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDesc 933) 934 935func file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDescGZIP() []byte { 936 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDescOnce.Do(func() { 937 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDescData) 938 }) 939 return file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDescData 940} 941 942var file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 943var file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 944var file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_goTypes = []interface{}{ 945 (SecuritySettings_RedactionStrategy)(0), // 0: google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RedactionStrategy 946 (SecuritySettings_RedactionScope)(0), // 1: google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RedactionScope 947 (SecuritySettings_PurgeDataType)(0), // 2: google.cloud.dialogflow.cx.v3beta1.SecuritySettings.PurgeDataType 948 (*GetSecuritySettingsRequest)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.GetSecuritySettingsRequest 949 (*UpdateSecuritySettingsRequest)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest 950 (*ListSecuritySettingsRequest)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsRequest 951 (*ListSecuritySettingsResponse)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse 952 (*CreateSecuritySettingsRequest)(nil), // 7: google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest 953 (*DeleteSecuritySettingsRequest)(nil), // 8: google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest 954 (*SecuritySettings)(nil), // 9: google.cloud.dialogflow.cx.v3beta1.SecuritySettings 955 (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask 956 (*emptypb.Empty)(nil), // 11: google.protobuf.Empty 957} 958var file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_depIdxs = []int32{ 959 9, // 0: google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest.security_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings 960 10, // 1: google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest.update_mask:type_name -> google.protobuf.FieldMask 961 9, // 2: google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse.security_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings 962 9, // 3: google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest.security_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings 963 0, // 4: google.cloud.dialogflow.cx.v3beta1.SecuritySettings.redaction_strategy:type_name -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RedactionStrategy 964 1, // 5: google.cloud.dialogflow.cx.v3beta1.SecuritySettings.redaction_scope:type_name -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RedactionScope 965 2, // 6: google.cloud.dialogflow.cx.v3beta1.SecuritySettings.purge_data_types:type_name -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings.PurgeDataType 966 7, // 7: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3beta1.CreateSecuritySettingsRequest 967 3, // 8: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3beta1.GetSecuritySettingsRequest 968 4, // 9: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3beta1.UpdateSecuritySettingsRequest 969 5, // 10: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsRequest 970 8, // 11: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings:input_type -> google.cloud.dialogflow.cx.v3beta1.DeleteSecuritySettingsRequest 971 9, // 12: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings 972 9, // 13: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings 973 9, // 14: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3beta1.SecuritySettings 974 6, // 15: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings:output_type -> google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse 975 11, // 16: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings:output_type -> google.protobuf.Empty 976 12, // [12:17] is the sub-list for method output_type 977 7, // [7:12] is the sub-list for method input_type 978 7, // [7:7] is the sub-list for extension type_name 979 7, // [7:7] is the sub-list for extension extendee 980 0, // [0:7] is the sub-list for field type_name 981} 982 983func init() { file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_init() } 984func file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_init() { 985 if File_google_cloud_dialogflow_cx_v3beta1_security_settings_proto != nil { 986 return 987 } 988 if !protoimpl.UnsafeEnabled { 989 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 990 switch v := v.(*GetSecuritySettingsRequest); i { 991 case 0: 992 return &v.state 993 case 1: 994 return &v.sizeCache 995 case 2: 996 return &v.unknownFields 997 default: 998 return nil 999 } 1000 } 1001 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1002 switch v := v.(*UpdateSecuritySettingsRequest); i { 1003 case 0: 1004 return &v.state 1005 case 1: 1006 return &v.sizeCache 1007 case 2: 1008 return &v.unknownFields 1009 default: 1010 return nil 1011 } 1012 } 1013 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1014 switch v := v.(*ListSecuritySettingsRequest); i { 1015 case 0: 1016 return &v.state 1017 case 1: 1018 return &v.sizeCache 1019 case 2: 1020 return &v.unknownFields 1021 default: 1022 return nil 1023 } 1024 } 1025 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1026 switch v := v.(*ListSecuritySettingsResponse); i { 1027 case 0: 1028 return &v.state 1029 case 1: 1030 return &v.sizeCache 1031 case 2: 1032 return &v.unknownFields 1033 default: 1034 return nil 1035 } 1036 } 1037 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1038 switch v := v.(*CreateSecuritySettingsRequest); i { 1039 case 0: 1040 return &v.state 1041 case 1: 1042 return &v.sizeCache 1043 case 2: 1044 return &v.unknownFields 1045 default: 1046 return nil 1047 } 1048 } 1049 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1050 switch v := v.(*DeleteSecuritySettingsRequest); i { 1051 case 0: 1052 return &v.state 1053 case 1: 1054 return &v.sizeCache 1055 case 2: 1056 return &v.unknownFields 1057 default: 1058 return nil 1059 } 1060 } 1061 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1062 switch v := v.(*SecuritySettings); i { 1063 case 0: 1064 return &v.state 1065 case 1: 1066 return &v.sizeCache 1067 case 2: 1068 return &v.unknownFields 1069 default: 1070 return nil 1071 } 1072 } 1073 } 1074 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes[6].OneofWrappers = []interface{}{ 1075 (*SecuritySettings_RetentionWindowDays)(nil), 1076 } 1077 type x struct{} 1078 out := protoimpl.TypeBuilder{ 1079 File: protoimpl.DescBuilder{ 1080 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1081 RawDescriptor: file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDesc, 1082 NumEnums: 3, 1083 NumMessages: 7, 1084 NumExtensions: 0, 1085 NumServices: 1, 1086 }, 1087 GoTypes: file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_goTypes, 1088 DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_depIdxs, 1089 EnumInfos: file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_enumTypes, 1090 MessageInfos: file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_msgTypes, 1091 }.Build() 1092 File_google_cloud_dialogflow_cx_v3beta1_security_settings_proto = out.File 1093 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_rawDesc = nil 1094 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_goTypes = nil 1095 file_google_cloud_dialogflow_cx_v3beta1_security_settings_proto_depIdxs = nil 1096} 1097 1098// Reference imports to suppress errors if they are not otherwise used. 1099var _ context.Context 1100var _ grpc.ClientConnInterface 1101 1102// This is a compile-time assertion to ensure that this generated file 1103// is compatible with the grpc package it is being compiled against. 1104const _ = grpc.SupportPackageIsVersion6 1105 1106// SecuritySettingsServiceClient is the client API for SecuritySettingsService service. 1107// 1108// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1109type SecuritySettingsServiceClient interface { 1110 // Create security settings in the specified location. 1111 CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1112 // Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. 1113 // The returned settings may be stale by up to 1 minute. 1114 GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1115 // Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. 1116 UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) 1117 // Returns the list of all security settings in the specified location. 1118 ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error) 1119 // Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. 1120 DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 1121} 1122 1123type securitySettingsServiceClient struct { 1124 cc grpc.ClientConnInterface 1125} 1126 1127func NewSecuritySettingsServiceClient(cc grpc.ClientConnInterface) SecuritySettingsServiceClient { 1128 return &securitySettingsServiceClient{cc} 1129} 1130 1131func (c *securitySettingsServiceClient) CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1132 out := new(SecuritySettings) 1133 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/CreateSecuritySettings", in, out, opts...) 1134 if err != nil { 1135 return nil, err 1136 } 1137 return out, nil 1138} 1139 1140func (c *securitySettingsServiceClient) GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1141 out := new(SecuritySettings) 1142 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/GetSecuritySettings", in, out, opts...) 1143 if err != nil { 1144 return nil, err 1145 } 1146 return out, nil 1147} 1148 1149func (c *securitySettingsServiceClient) UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) { 1150 out := new(SecuritySettings) 1151 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/UpdateSecuritySettings", in, out, opts...) 1152 if err != nil { 1153 return nil, err 1154 } 1155 return out, nil 1156} 1157 1158func (c *securitySettingsServiceClient) ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error) { 1159 out := new(ListSecuritySettingsResponse) 1160 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/ListSecuritySettings", in, out, opts...) 1161 if err != nil { 1162 return nil, err 1163 } 1164 return out, nil 1165} 1166 1167func (c *securitySettingsServiceClient) DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 1168 out := new(emptypb.Empty) 1169 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/DeleteSecuritySettings", in, out, opts...) 1170 if err != nil { 1171 return nil, err 1172 } 1173 return out, nil 1174} 1175 1176// SecuritySettingsServiceServer is the server API for SecuritySettingsService service. 1177type SecuritySettingsServiceServer interface { 1178 // Create security settings in the specified location. 1179 CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error) 1180 // Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. 1181 // The returned settings may be stale by up to 1 minute. 1182 GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error) 1183 // Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. 1184 UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error) 1185 // Returns the list of all security settings in the specified location. 1186 ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) 1187 // Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. 1188 DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) 1189} 1190 1191// UnimplementedSecuritySettingsServiceServer can be embedded to have forward compatible implementations. 1192type UnimplementedSecuritySettingsServiceServer struct { 1193} 1194 1195func (*UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error) { 1196 return nil, status.Errorf(codes.Unimplemented, "method CreateSecuritySettings not implemented") 1197} 1198func (*UnimplementedSecuritySettingsServiceServer) GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error) { 1199 return nil, status.Errorf(codes.Unimplemented, "method GetSecuritySettings not implemented") 1200} 1201func (*UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error) { 1202 return nil, status.Errorf(codes.Unimplemented, "method UpdateSecuritySettings not implemented") 1203} 1204func (*UnimplementedSecuritySettingsServiceServer) ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) { 1205 return nil, status.Errorf(codes.Unimplemented, "method ListSecuritySettings not implemented") 1206} 1207func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) { 1208 return nil, status.Errorf(codes.Unimplemented, "method DeleteSecuritySettings not implemented") 1209} 1210 1211func RegisterSecuritySettingsServiceServer(s *grpc.Server, srv SecuritySettingsServiceServer) { 1212 s.RegisterService(&_SecuritySettingsService_serviceDesc, srv) 1213} 1214 1215func _SecuritySettingsService_CreateSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1216 in := new(CreateSecuritySettingsRequest) 1217 if err := dec(in); err != nil { 1218 return nil, err 1219 } 1220 if interceptor == nil { 1221 return srv.(SecuritySettingsServiceServer).CreateSecuritySettings(ctx, in) 1222 } 1223 info := &grpc.UnaryServerInfo{ 1224 Server: srv, 1225 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/CreateSecuritySettings", 1226 } 1227 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1228 return srv.(SecuritySettingsServiceServer).CreateSecuritySettings(ctx, req.(*CreateSecuritySettingsRequest)) 1229 } 1230 return interceptor(ctx, in, info, handler) 1231} 1232 1233func _SecuritySettingsService_GetSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1234 in := new(GetSecuritySettingsRequest) 1235 if err := dec(in); err != nil { 1236 return nil, err 1237 } 1238 if interceptor == nil { 1239 return srv.(SecuritySettingsServiceServer).GetSecuritySettings(ctx, in) 1240 } 1241 info := &grpc.UnaryServerInfo{ 1242 Server: srv, 1243 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/GetSecuritySettings", 1244 } 1245 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1246 return srv.(SecuritySettingsServiceServer).GetSecuritySettings(ctx, req.(*GetSecuritySettingsRequest)) 1247 } 1248 return interceptor(ctx, in, info, handler) 1249} 1250 1251func _SecuritySettingsService_UpdateSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1252 in := new(UpdateSecuritySettingsRequest) 1253 if err := dec(in); err != nil { 1254 return nil, err 1255 } 1256 if interceptor == nil { 1257 return srv.(SecuritySettingsServiceServer).UpdateSecuritySettings(ctx, in) 1258 } 1259 info := &grpc.UnaryServerInfo{ 1260 Server: srv, 1261 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/UpdateSecuritySettings", 1262 } 1263 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1264 return srv.(SecuritySettingsServiceServer).UpdateSecuritySettings(ctx, req.(*UpdateSecuritySettingsRequest)) 1265 } 1266 return interceptor(ctx, in, info, handler) 1267} 1268 1269func _SecuritySettingsService_ListSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1270 in := new(ListSecuritySettingsRequest) 1271 if err := dec(in); err != nil { 1272 return nil, err 1273 } 1274 if interceptor == nil { 1275 return srv.(SecuritySettingsServiceServer).ListSecuritySettings(ctx, in) 1276 } 1277 info := &grpc.UnaryServerInfo{ 1278 Server: srv, 1279 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/ListSecuritySettings", 1280 } 1281 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1282 return srv.(SecuritySettingsServiceServer).ListSecuritySettings(ctx, req.(*ListSecuritySettingsRequest)) 1283 } 1284 return interceptor(ctx, in, info, handler) 1285} 1286 1287func _SecuritySettingsService_DeleteSecuritySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1288 in := new(DeleteSecuritySettingsRequest) 1289 if err := dec(in); err != nil { 1290 return nil, err 1291 } 1292 if interceptor == nil { 1293 return srv.(SecuritySettingsServiceServer).DeleteSecuritySettings(ctx, in) 1294 } 1295 info := &grpc.UnaryServerInfo{ 1296 Server: srv, 1297 FullMethod: "/google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService/DeleteSecuritySettings", 1298 } 1299 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1300 return srv.(SecuritySettingsServiceServer).DeleteSecuritySettings(ctx, req.(*DeleteSecuritySettingsRequest)) 1301 } 1302 return interceptor(ctx, in, info, handler) 1303} 1304 1305var _SecuritySettingsService_serviceDesc = grpc.ServiceDesc{ 1306 ServiceName: "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", 1307 HandlerType: (*SecuritySettingsServiceServer)(nil), 1308 Methods: []grpc.MethodDesc{ 1309 { 1310 MethodName: "CreateSecuritySettings", 1311 Handler: _SecuritySettingsService_CreateSecuritySettings_Handler, 1312 }, 1313 { 1314 MethodName: "GetSecuritySettings", 1315 Handler: _SecuritySettingsService_GetSecuritySettings_Handler, 1316 }, 1317 { 1318 MethodName: "UpdateSecuritySettings", 1319 Handler: _SecuritySettingsService_UpdateSecuritySettings_Handler, 1320 }, 1321 { 1322 MethodName: "ListSecuritySettings", 1323 Handler: _SecuritySettingsService_ListSecuritySettings_Handler, 1324 }, 1325 { 1326 MethodName: "DeleteSecuritySettings", 1327 Handler: _SecuritySettingsService_DeleteSecuritySettings_Handler, 1328 }, 1329 }, 1330 Streams: []grpc.StreamDesc{}, 1331 Metadata: "google/cloud/dialogflow/cx/v3beta1/security_settings.proto", 1332} 1333