1// Copyright 2020 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.22.0 18// protoc v3.11.2 19// source: google/cloud/talent/v4beta1/event.proto 20 21package talent 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 timestamp "github.com/golang/protobuf/ptypes/timestamp" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45// An enumeration of an event attributed to the behavior of the end user, 46// such as a job seeker. 47type JobEvent_JobEventType int32 48 49const ( 50 // The event is unspecified by other provided values. 51 JobEvent_JOB_EVENT_TYPE_UNSPECIFIED JobEvent_JobEventType = 0 52 // The job seeker or other entity interacting with the service has 53 // had a job rendered in their view, such as in a list of search results in 54 // a compressed or clipped format. This event is typically associated with 55 // the viewing of a jobs list on a single page by a job seeker. 56 JobEvent_IMPRESSION JobEvent_JobEventType = 1 57 // The job seeker, or other entity interacting with the service, has 58 // viewed the details of a job, including the full description. This 59 // event doesn't apply to the viewing a snippet of a job appearing as a 60 // part of the job search results. Viewing a snippet is associated with an 61 // [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION]). 62 JobEvent_VIEW JobEvent_JobEventType = 2 63 // The job seeker or other entity interacting with the service 64 // performed an action to view a job and was redirected to a different 65 // website for job. 66 JobEvent_VIEW_REDIRECT JobEvent_JobEventType = 3 67 // The job seeker or other entity interacting with the service 68 // began the process or demonstrated the intention of applying for a job. 69 JobEvent_APPLICATION_START JobEvent_JobEventType = 4 70 // The job seeker or other entity interacting with the service 71 // submitted an application for a job. 72 JobEvent_APPLICATION_FINISH JobEvent_JobEventType = 5 73 // The job seeker or other entity interacting with the service 74 // submitted an application for a job with a single click without 75 // entering information. If a job seeker performs this action, send only 76 // this event to the service. Do not also send 77 // [JobEventType.APPLICATION_START][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_START] or [JobEventType.APPLICATION_FINISH][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_FINISH] 78 // events. 79 JobEvent_APPLICATION_QUICK_SUBMISSION JobEvent_JobEventType = 6 80 // The job seeker or other entity interacting with the service 81 // performed an action to apply to a job and was redirected to a different 82 // website to complete the application. 83 JobEvent_APPLICATION_REDIRECT JobEvent_JobEventType = 7 84 // The job seeker or other entity interacting with the service began the 85 // process or demonstrated the intention of applying for a job from the 86 // search results page without viewing the details of the job posting. 87 // If sending this event, JobEventType.VIEW event shouldn't be sent. 88 JobEvent_APPLICATION_START_FROM_SEARCH JobEvent_JobEventType = 8 89 // The job seeker, or other entity interacting with the service, performs an 90 // action with a single click from the search results page to apply to a job 91 // (without viewing the details of the job posting), and is redirected 92 // to a different website to complete the application. If a candidate 93 // performs this action, send only this event to the service. Do not also 94 // send [JobEventType.APPLICATION_START][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_START], 95 // [JobEventType.APPLICATION_FINISH][google.cloud.talent.v4beta1.JobEvent.JobEventType.APPLICATION_FINISH] or [JobEventType.VIEW][google.cloud.talent.v4beta1.JobEvent.JobEventType.VIEW] events. 96 JobEvent_APPLICATION_REDIRECT_FROM_SEARCH JobEvent_JobEventType = 9 97 // This event should be used when a company submits an application 98 // on behalf of a job seeker. This event is intended for use by staffing 99 // agencies attempting to place candidates. 100 JobEvent_APPLICATION_COMPANY_SUBMIT JobEvent_JobEventType = 10 101 // The job seeker or other entity interacting with the service demonstrated 102 // an interest in a job by bookmarking or saving it. 103 JobEvent_BOOKMARK JobEvent_JobEventType = 11 104 // The job seeker or other entity interacting with the service was 105 // sent a notification, such as an email alert or device notification, 106 // containing one or more jobs listings generated by the service. 107 JobEvent_NOTIFICATION JobEvent_JobEventType = 12 108 // The job seeker or other entity interacting with the service was 109 // employed by the hiring entity (employer). Send this event 110 // only if the job seeker was hired through an application that was 111 // initiated by a search conducted through the Cloud Talent Solution 112 // service. 113 JobEvent_HIRED JobEvent_JobEventType = 13 114 // A recruiter or staffing agency submitted an application on behalf of the 115 // candidate after interacting with the service to identify a suitable job 116 // posting. 117 JobEvent_SENT_CV JobEvent_JobEventType = 14 118 // The entity interacting with the service (for example, the job seeker), 119 // was granted an initial interview by the hiring entity (employer). This 120 // event should only be sent if the job seeker was granted an interview as 121 // part of an application that was initiated by a search conducted through / 122 // recommendation provided by the Cloud Talent Solution service. 123 JobEvent_INTERVIEW_GRANTED JobEvent_JobEventType = 15 124) 125 126// Enum value maps for JobEvent_JobEventType. 127var ( 128 JobEvent_JobEventType_name = map[int32]string{ 129 0: "JOB_EVENT_TYPE_UNSPECIFIED", 130 1: "IMPRESSION", 131 2: "VIEW", 132 3: "VIEW_REDIRECT", 133 4: "APPLICATION_START", 134 5: "APPLICATION_FINISH", 135 6: "APPLICATION_QUICK_SUBMISSION", 136 7: "APPLICATION_REDIRECT", 137 8: "APPLICATION_START_FROM_SEARCH", 138 9: "APPLICATION_REDIRECT_FROM_SEARCH", 139 10: "APPLICATION_COMPANY_SUBMIT", 140 11: "BOOKMARK", 141 12: "NOTIFICATION", 142 13: "HIRED", 143 14: "SENT_CV", 144 15: "INTERVIEW_GRANTED", 145 } 146 JobEvent_JobEventType_value = map[string]int32{ 147 "JOB_EVENT_TYPE_UNSPECIFIED": 0, 148 "IMPRESSION": 1, 149 "VIEW": 2, 150 "VIEW_REDIRECT": 3, 151 "APPLICATION_START": 4, 152 "APPLICATION_FINISH": 5, 153 "APPLICATION_QUICK_SUBMISSION": 6, 154 "APPLICATION_REDIRECT": 7, 155 "APPLICATION_START_FROM_SEARCH": 8, 156 "APPLICATION_REDIRECT_FROM_SEARCH": 9, 157 "APPLICATION_COMPANY_SUBMIT": 10, 158 "BOOKMARK": 11, 159 "NOTIFICATION": 12, 160 "HIRED": 13, 161 "SENT_CV": 14, 162 "INTERVIEW_GRANTED": 15, 163 } 164) 165 166func (x JobEvent_JobEventType) Enum() *JobEvent_JobEventType { 167 p := new(JobEvent_JobEventType) 168 *p = x 169 return p 170} 171 172func (x JobEvent_JobEventType) String() string { 173 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 174} 175 176func (JobEvent_JobEventType) Descriptor() protoreflect.EnumDescriptor { 177 return file_google_cloud_talent_v4beta1_event_proto_enumTypes[0].Descriptor() 178} 179 180func (JobEvent_JobEventType) Type() protoreflect.EnumType { 181 return &file_google_cloud_talent_v4beta1_event_proto_enumTypes[0] 182} 183 184func (x JobEvent_JobEventType) Number() protoreflect.EnumNumber { 185 return protoreflect.EnumNumber(x) 186} 187 188// Deprecated: Use JobEvent_JobEventType.Descriptor instead. 189func (JobEvent_JobEventType) EnumDescriptor() ([]byte, []int) { 190 return file_google_cloud_talent_v4beta1_event_proto_rawDescGZIP(), []int{1, 0} 191} 192 193// The enum represents types of client events for a candidate profile. 194type ProfileEvent_ProfileEventType int32 195 196const ( 197 // Default value. 198 ProfileEvent_PROFILE_EVENT_TYPE_UNSPECIFIED ProfileEvent_ProfileEventType = 0 199 // Send this event when a [ProfileEvent.profiles][google.cloud.talent.v4beta1.ProfileEvent.profiles] was sent as a part of 200 // a result set for a CTS API call and was rendered in the end user's UI 201 // (that is, the [ProfileEvent.recruiter][google.cloud.talent.v4beta1.ProfileEvent.recruiter]). 202 ProfileEvent_IMPRESSION ProfileEvent_ProfileEventType = 1 203 // The VIEW event records the action of a candidate's profile being 204 // viewed by an end user. This is critical to tracking product metrics and 205 // should be sent for every profile VIEW that happens in your system, 206 // whether the event is associated with an API call (for example, a 207 // recruiter making a request for a result set and clicking on a profile) 208 // or not (a recruiter using the system to view profile details without 209 // making a request). 210 // 211 // For a VIEW events associated with API calls, the 212 // [ClientEvent.request_id][google.cloud.talent.v4beta1.ClientEvent.request_id] should be populated. If the VIEW is not 213 // associated with an API call, [request_id][google.cloud.talent.v4beta1.ClientEvent.request_id] should 214 // not be populated. 215 // 216 // This event requires a valid recruiter and one valid ID in profiles. 217 ProfileEvent_VIEW ProfileEvent_ProfileEventType = 2 218 // The profile is bookmarked. 219 ProfileEvent_BOOKMARK ProfileEvent_ProfileEventType = 3 220) 221 222// Enum value maps for ProfileEvent_ProfileEventType. 223var ( 224 ProfileEvent_ProfileEventType_name = map[int32]string{ 225 0: "PROFILE_EVENT_TYPE_UNSPECIFIED", 226 1: "IMPRESSION", 227 2: "VIEW", 228 3: "BOOKMARK", 229 } 230 ProfileEvent_ProfileEventType_value = map[string]int32{ 231 "PROFILE_EVENT_TYPE_UNSPECIFIED": 0, 232 "IMPRESSION": 1, 233 "VIEW": 2, 234 "BOOKMARK": 3, 235 } 236) 237 238func (x ProfileEvent_ProfileEventType) Enum() *ProfileEvent_ProfileEventType { 239 p := new(ProfileEvent_ProfileEventType) 240 *p = x 241 return p 242} 243 244func (x ProfileEvent_ProfileEventType) String() string { 245 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 246} 247 248func (ProfileEvent_ProfileEventType) Descriptor() protoreflect.EnumDescriptor { 249 return file_google_cloud_talent_v4beta1_event_proto_enumTypes[1].Descriptor() 250} 251 252func (ProfileEvent_ProfileEventType) Type() protoreflect.EnumType { 253 return &file_google_cloud_talent_v4beta1_event_proto_enumTypes[1] 254} 255 256func (x ProfileEvent_ProfileEventType) Number() protoreflect.EnumNumber { 257 return protoreflect.EnumNumber(x) 258} 259 260// Deprecated: Use ProfileEvent_ProfileEventType.Descriptor instead. 261func (ProfileEvent_ProfileEventType) EnumDescriptor() ([]byte, []int) { 262 return file_google_cloud_talent_v4beta1_event_proto_rawDescGZIP(), []int{2, 0} 263} 264 265// An event issued when an end user interacts with the application that 266// implements Cloud Talent Solution. Providing this information improves the 267// quality of results for the API clients, enabling the 268// service to perform optimally. The number of events sent must be consistent 269// with other calls, such as job searches, issued to the service by the client. 270type ClientEvent struct { 271 state protoimpl.MessageState 272 sizeCache protoimpl.SizeCache 273 unknownFields protoimpl.UnknownFields 274 275 // Strongly recommended for the best service experience. 276 // 277 // A unique ID generated in the API responses. It can be found in 278 // [ResponseMetadata.request_id][google.cloud.talent.v4beta1.ResponseMetadata.request_id]. 279 RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 280 // Required. A unique identifier, generated by the client application. 281 EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` 282 // Required. The timestamp of the event. 283 CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 284 // Required. 285 // 286 // The detail information of a specific event type. 287 // 288 // Types that are assignable to Event: 289 // *ClientEvent_JobEvent 290 // *ClientEvent_ProfileEvent 291 Event isClientEvent_Event `protobuf_oneof:"event"` 292 // Notes about the event provided by recruiters or other users, for example, 293 // feedback on why a profile was bookmarked. 294 EventNotes string `protobuf:"bytes,9,opt,name=event_notes,json=eventNotes,proto3" json:"event_notes,omitempty"` 295} 296 297func (x *ClientEvent) Reset() { 298 *x = ClientEvent{} 299 if protoimpl.UnsafeEnabled { 300 mi := &file_google_cloud_talent_v4beta1_event_proto_msgTypes[0] 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 ms.StoreMessageInfo(mi) 303 } 304} 305 306func (x *ClientEvent) String() string { 307 return protoimpl.X.MessageStringOf(x) 308} 309 310func (*ClientEvent) ProtoMessage() {} 311 312func (x *ClientEvent) ProtoReflect() protoreflect.Message { 313 mi := &file_google_cloud_talent_v4beta1_event_proto_msgTypes[0] 314 if protoimpl.UnsafeEnabled && x != nil { 315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 316 if ms.LoadMessageInfo() == nil { 317 ms.StoreMessageInfo(mi) 318 } 319 return ms 320 } 321 return mi.MessageOf(x) 322} 323 324// Deprecated: Use ClientEvent.ProtoReflect.Descriptor instead. 325func (*ClientEvent) Descriptor() ([]byte, []int) { 326 return file_google_cloud_talent_v4beta1_event_proto_rawDescGZIP(), []int{0} 327} 328 329func (x *ClientEvent) GetRequestId() string { 330 if x != nil { 331 return x.RequestId 332 } 333 return "" 334} 335 336func (x *ClientEvent) GetEventId() string { 337 if x != nil { 338 return x.EventId 339 } 340 return "" 341} 342 343func (x *ClientEvent) GetCreateTime() *timestamp.Timestamp { 344 if x != nil { 345 return x.CreateTime 346 } 347 return nil 348} 349 350func (m *ClientEvent) GetEvent() isClientEvent_Event { 351 if m != nil { 352 return m.Event 353 } 354 return nil 355} 356 357func (x *ClientEvent) GetJobEvent() *JobEvent { 358 if x, ok := x.GetEvent().(*ClientEvent_JobEvent); ok { 359 return x.JobEvent 360 } 361 return nil 362} 363 364func (x *ClientEvent) GetProfileEvent() *ProfileEvent { 365 if x, ok := x.GetEvent().(*ClientEvent_ProfileEvent); ok { 366 return x.ProfileEvent 367 } 368 return nil 369} 370 371func (x *ClientEvent) GetEventNotes() string { 372 if x != nil { 373 return x.EventNotes 374 } 375 return "" 376} 377 378type isClientEvent_Event interface { 379 isClientEvent_Event() 380} 381 382type ClientEvent_JobEvent struct { 383 // An event issued when a job seeker interacts with the application that 384 // implements Cloud Talent Solution. 385 JobEvent *JobEvent `protobuf:"bytes,5,opt,name=job_event,json=jobEvent,proto3,oneof"` 386} 387 388type ClientEvent_ProfileEvent struct { 389 // An event issued when a profile searcher interacts with the application 390 // that implements Cloud Talent Solution. 391 ProfileEvent *ProfileEvent `protobuf:"bytes,6,opt,name=profile_event,json=profileEvent,proto3,oneof"` 392} 393 394func (*ClientEvent_JobEvent) isClientEvent_Event() {} 395 396func (*ClientEvent_ProfileEvent) isClientEvent_Event() {} 397 398// An event issued when a job seeker interacts with the application that 399// implements Cloud Talent Solution. 400type JobEvent struct { 401 state protoimpl.MessageState 402 sizeCache protoimpl.SizeCache 403 unknownFields protoimpl.UnknownFields 404 405 // Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]). 406 Type JobEvent_JobEventType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.JobEvent_JobEventType" json:"type,omitempty"` 407 // Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event. 408 // For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event, 409 // this field contains the identifiers of all jobs shown to the job seeker. 410 // If this was a [view][google.cloud.talent.v4beta1.JobEvent.JobEventType.VIEW] event, this field contains the 411 // identifier of the viewed job. 412 // 413 // The format is 414 // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for 415 // example, "projects/foo/tenants/bar/jobs/baz". 416 Jobs []string `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"` 417 // The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event. 418 // 419 // The format is 420 // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", 421 // for example, "projects/foo/tenants/bar/profiles/baz". 422 Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"` 423} 424 425func (x *JobEvent) Reset() { 426 *x = JobEvent{} 427 if protoimpl.UnsafeEnabled { 428 mi := &file_google_cloud_talent_v4beta1_event_proto_msgTypes[1] 429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 430 ms.StoreMessageInfo(mi) 431 } 432} 433 434func (x *JobEvent) String() string { 435 return protoimpl.X.MessageStringOf(x) 436} 437 438func (*JobEvent) ProtoMessage() {} 439 440func (x *JobEvent) ProtoReflect() protoreflect.Message { 441 mi := &file_google_cloud_talent_v4beta1_event_proto_msgTypes[1] 442 if protoimpl.UnsafeEnabled && x != nil { 443 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 444 if ms.LoadMessageInfo() == nil { 445 ms.StoreMessageInfo(mi) 446 } 447 return ms 448 } 449 return mi.MessageOf(x) 450} 451 452// Deprecated: Use JobEvent.ProtoReflect.Descriptor instead. 453func (*JobEvent) Descriptor() ([]byte, []int) { 454 return file_google_cloud_talent_v4beta1_event_proto_rawDescGZIP(), []int{1} 455} 456 457func (x *JobEvent) GetType() JobEvent_JobEventType { 458 if x != nil { 459 return x.Type 460 } 461 return JobEvent_JOB_EVENT_TYPE_UNSPECIFIED 462} 463 464func (x *JobEvent) GetJobs() []string { 465 if x != nil { 466 return x.Jobs 467 } 468 return nil 469} 470 471func (x *JobEvent) GetProfile() string { 472 if x != nil { 473 return x.Profile 474 } 475 return "" 476} 477 478// An event issued when a profile searcher interacts with the application 479// that implements Cloud Talent Solution. 480type ProfileEvent struct { 481 state protoimpl.MessageState 482 sizeCache protoimpl.SizeCache 483 unknownFields protoimpl.UnknownFields 484 485 // Required. Type of event. 486 Type ProfileEvent_ProfileEventType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.ProfileEvent_ProfileEventType" json:"type,omitempty"` 487 // Required. The [profile name(s)][google.cloud.talent.v4beta1.Profile.name] associated with this client event. 488 // 489 // The format is 490 // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", 491 // for example, "projects/foo/tenants/bar/profiles/baz". 492 Profiles []string `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"` 493 // The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this client event. Leave it 494 // empty if the event isn't associated with a job. 495 // 496 // The format is 497 // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for 498 // example, "projects/foo/tenants/bar/jobs/baz". 499 Jobs []string `protobuf:"bytes,6,rep,name=jobs,proto3" json:"jobs,omitempty"` 500} 501 502func (x *ProfileEvent) Reset() { 503 *x = ProfileEvent{} 504 if protoimpl.UnsafeEnabled { 505 mi := &file_google_cloud_talent_v4beta1_event_proto_msgTypes[2] 506 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 507 ms.StoreMessageInfo(mi) 508 } 509} 510 511func (x *ProfileEvent) String() string { 512 return protoimpl.X.MessageStringOf(x) 513} 514 515func (*ProfileEvent) ProtoMessage() {} 516 517func (x *ProfileEvent) ProtoReflect() protoreflect.Message { 518 mi := &file_google_cloud_talent_v4beta1_event_proto_msgTypes[2] 519 if protoimpl.UnsafeEnabled && x != nil { 520 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 521 if ms.LoadMessageInfo() == nil { 522 ms.StoreMessageInfo(mi) 523 } 524 return ms 525 } 526 return mi.MessageOf(x) 527} 528 529// Deprecated: Use ProfileEvent.ProtoReflect.Descriptor instead. 530func (*ProfileEvent) Descriptor() ([]byte, []int) { 531 return file_google_cloud_talent_v4beta1_event_proto_rawDescGZIP(), []int{2} 532} 533 534func (x *ProfileEvent) GetType() ProfileEvent_ProfileEventType { 535 if x != nil { 536 return x.Type 537 } 538 return ProfileEvent_PROFILE_EVENT_TYPE_UNSPECIFIED 539} 540 541func (x *ProfileEvent) GetProfiles() []string { 542 if x != nil { 543 return x.Profiles 544 } 545 return nil 546} 547 548func (x *ProfileEvent) GetJobs() []string { 549 if x != nil { 550 return x.Jobs 551 } 552 return nil 553} 554 555var File_google_cloud_talent_v4beta1_event_proto protoreflect.FileDescriptor 556 557var file_google_cloud_talent_v4beta1_event_proto_rawDesc = []byte{ 558 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 559 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x65, 0x76, 560 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 561 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 562 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 563 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 564 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 565 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 566 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 567 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 568 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x02, 0x0a, 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 569 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 570 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 571 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 572 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x65, 0x76, 573 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 574 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 575 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 576 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x63, 0x72, 0x65, 577 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x09, 0x6a, 0x6f, 0x62, 0x5f, 0x65, 578 0x76, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 579 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 580 0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x76, 0x65, 0x6e, 581 0x74, 0x48, 0x00, 0x52, 0x08, 0x6a, 0x6f, 0x62, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 582 0x0d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x06, 583 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 584 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 585 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 586 0x00, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 587 0x1f, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x09, 588 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 589 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x8b, 0x04, 0x0a, 0x08, 0x4a, 0x6f, 590 0x62, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 591 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 592 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 593 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 594 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 595 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 596 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0x18, 0x0a, 0x07, 597 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 598 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0xfe, 0x02, 0x0a, 0x0c, 0x4a, 0x6f, 0x62, 0x45, 0x76, 599 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x4a, 0x4f, 0x42, 0x5f, 0x45, 600 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 601 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4d, 0x50, 0x52, 0x45, 602 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x49, 0x45, 0x57, 0x10, 603 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 604 0x43, 0x54, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 605 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x41, 606 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x4e, 0x49, 0x53, 607 0x48, 0x10, 0x05, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 608 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x49, 0x43, 0x4b, 0x5f, 0x53, 0x55, 0x42, 0x4d, 0x49, 0x53, 0x53, 609 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 610 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x10, 0x07, 0x12, 611 0x21, 0x0a, 0x1d, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 612 0x54, 0x41, 0x52, 0x54, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 613 0x10, 0x08, 0x12, 0x24, 0x0a, 0x20, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 614 0x4e, 0x5f, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 615 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x10, 0x09, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x50, 0x50, 0x4c, 616 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x4e, 0x59, 0x5f, 617 0x53, 0x55, 0x42, 0x4d, 0x49, 0x54, 0x10, 0x0a, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x4f, 0x4f, 0x4b, 618 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 619 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x49, 0x52, 0x45, 620 0x44, 0x10, 0x0d, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x56, 0x10, 0x0e, 621 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x47, 0x52, 622 0x41, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x0f, 0x22, 0xf8, 0x01, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x66, 623 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 624 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 625 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 626 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 627 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 628 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 629 0x08, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 630 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x12, 631 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6a, 0x6f, 632 0x62, 0x73, 0x22, 0x5e, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 633 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 634 0x45, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 635 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4d, 636 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x49, 637 0x45, 0x57, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x4f, 0x4f, 0x4b, 0x4d, 0x41, 0x52, 0x4b, 638 0x10, 0x03, 0x42, 0x78, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 639 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 640 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 641 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 642 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 643 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 644 0x2f, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 645 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x53, 0x62, 0x06, 0x70, 0x72, 646 0x6f, 0x74, 0x6f, 0x33, 647} 648 649var ( 650 file_google_cloud_talent_v4beta1_event_proto_rawDescOnce sync.Once 651 file_google_cloud_talent_v4beta1_event_proto_rawDescData = file_google_cloud_talent_v4beta1_event_proto_rawDesc 652) 653 654func file_google_cloud_talent_v4beta1_event_proto_rawDescGZIP() []byte { 655 file_google_cloud_talent_v4beta1_event_proto_rawDescOnce.Do(func() { 656 file_google_cloud_talent_v4beta1_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_talent_v4beta1_event_proto_rawDescData) 657 }) 658 return file_google_cloud_talent_v4beta1_event_proto_rawDescData 659} 660 661var file_google_cloud_talent_v4beta1_event_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 662var file_google_cloud_talent_v4beta1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 663var file_google_cloud_talent_v4beta1_event_proto_goTypes = []interface{}{ 664 (JobEvent_JobEventType)(0), // 0: google.cloud.talent.v4beta1.JobEvent.JobEventType 665 (ProfileEvent_ProfileEventType)(0), // 1: google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType 666 (*ClientEvent)(nil), // 2: google.cloud.talent.v4beta1.ClientEvent 667 (*JobEvent)(nil), // 3: google.cloud.talent.v4beta1.JobEvent 668 (*ProfileEvent)(nil), // 4: google.cloud.talent.v4beta1.ProfileEvent 669 (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp 670} 671var file_google_cloud_talent_v4beta1_event_proto_depIdxs = []int32{ 672 5, // 0: google.cloud.talent.v4beta1.ClientEvent.create_time:type_name -> google.protobuf.Timestamp 673 3, // 1: google.cloud.talent.v4beta1.ClientEvent.job_event:type_name -> google.cloud.talent.v4beta1.JobEvent 674 4, // 2: google.cloud.talent.v4beta1.ClientEvent.profile_event:type_name -> google.cloud.talent.v4beta1.ProfileEvent 675 0, // 3: google.cloud.talent.v4beta1.JobEvent.type:type_name -> google.cloud.talent.v4beta1.JobEvent.JobEventType 676 1, // 4: google.cloud.talent.v4beta1.ProfileEvent.type:type_name -> google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType 677 5, // [5:5] is the sub-list for method output_type 678 5, // [5:5] is the sub-list for method input_type 679 5, // [5:5] is the sub-list for extension type_name 680 5, // [5:5] is the sub-list for extension extendee 681 0, // [0:5] is the sub-list for field type_name 682} 683 684func init() { file_google_cloud_talent_v4beta1_event_proto_init() } 685func file_google_cloud_talent_v4beta1_event_proto_init() { 686 if File_google_cloud_talent_v4beta1_event_proto != nil { 687 return 688 } 689 if !protoimpl.UnsafeEnabled { 690 file_google_cloud_talent_v4beta1_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 691 switch v := v.(*ClientEvent); i { 692 case 0: 693 return &v.state 694 case 1: 695 return &v.sizeCache 696 case 2: 697 return &v.unknownFields 698 default: 699 return nil 700 } 701 } 702 file_google_cloud_talent_v4beta1_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 703 switch v := v.(*JobEvent); i { 704 case 0: 705 return &v.state 706 case 1: 707 return &v.sizeCache 708 case 2: 709 return &v.unknownFields 710 default: 711 return nil 712 } 713 } 714 file_google_cloud_talent_v4beta1_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 715 switch v := v.(*ProfileEvent); i { 716 case 0: 717 return &v.state 718 case 1: 719 return &v.sizeCache 720 case 2: 721 return &v.unknownFields 722 default: 723 return nil 724 } 725 } 726 } 727 file_google_cloud_talent_v4beta1_event_proto_msgTypes[0].OneofWrappers = []interface{}{ 728 (*ClientEvent_JobEvent)(nil), 729 (*ClientEvent_ProfileEvent)(nil), 730 } 731 type x struct{} 732 out := protoimpl.TypeBuilder{ 733 File: protoimpl.DescBuilder{ 734 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 735 RawDescriptor: file_google_cloud_talent_v4beta1_event_proto_rawDesc, 736 NumEnums: 2, 737 NumMessages: 3, 738 NumExtensions: 0, 739 NumServices: 0, 740 }, 741 GoTypes: file_google_cloud_talent_v4beta1_event_proto_goTypes, 742 DependencyIndexes: file_google_cloud_talent_v4beta1_event_proto_depIdxs, 743 EnumInfos: file_google_cloud_talent_v4beta1_event_proto_enumTypes, 744 MessageInfos: file_google_cloud_talent_v4beta1_event_proto_msgTypes, 745 }.Build() 746 File_google_cloud_talent_v4beta1_event_proto = out.File 747 file_google_cloud_talent_v4beta1_event_proto_rawDesc = nil 748 file_google_cloud_talent_v4beta1_event_proto_goTypes = nil 749 file_google_cloud_talent_v4beta1_event_proto_depIdxs = nil 750} 751