You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1179 lines
47 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/talent/v4beta1/profile_service.proto
  3. package talent // import "google.golang.org/genproto/googleapis/cloud/talent/v4beta1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import empty "github.com/golang/protobuf/ptypes/empty"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. import field_mask "google.golang.org/genproto/protobuf/field_mask"
  10. import (
  11. context "golang.org/x/net/context"
  12. grpc "google.golang.org/grpc"
  13. )
  14. // Reference imports to suppress errors if they are not otherwise used.
  15. var _ = proto.Marshal
  16. var _ = fmt.Errorf
  17. var _ = math.Inf
  18. // This is a compile-time assertion to ensure that this generated file
  19. // is compatible with the proto package it is being compiled against.
  20. // A compilation error at this line likely means your copy of the
  21. // proto package needs to be updated.
  22. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  23. // List profiles request.
  24. type ListProfilesRequest struct {
  25. // Required.
  26. //
  27. // The resource name of the tenant under which the job is created.
  28. //
  29. // The format is "projects/{project_id}/tenants/{tenant_id}", for example,
  30. // "projects/api-test-project/tenants/foo".
  31. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  32. // Optional.
  33. //
  34. // The token that specifies the current offset (that is, starting result).
  35. //
  36. // Please set the value to
  37. // [ListProfilesResponse.next_page_token][google.cloud.talent.v4beta1.ListProfilesResponse.next_page_token]
  38. // to continue the list.
  39. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  40. // Optional.
  41. //
  42. // The maximum number of profiles to be returned, at most 100.
  43. //
  44. // Default is 100 unless a positive number smaller than 100 is specified.
  45. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  46. // Optional.
  47. //
  48. // A field mask to specify the profile fields to be listed in response.
  49. // All fields are listed if it is unset.
  50. //
  51. // Valid values are:
  52. //
  53. // * name
  54. FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
  55. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  56. XXX_unrecognized []byte `json:"-"`
  57. XXX_sizecache int32 `json:"-"`
  58. }
  59. func (m *ListProfilesRequest) Reset() { *m = ListProfilesRequest{} }
  60. func (m *ListProfilesRequest) String() string { return proto.CompactTextString(m) }
  61. func (*ListProfilesRequest) ProtoMessage() {}
  62. func (*ListProfilesRequest) Descriptor() ([]byte, []int) {
  63. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{0}
  64. }
  65. func (m *ListProfilesRequest) XXX_Unmarshal(b []byte) error {
  66. return xxx_messageInfo_ListProfilesRequest.Unmarshal(m, b)
  67. }
  68. func (m *ListProfilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  69. return xxx_messageInfo_ListProfilesRequest.Marshal(b, m, deterministic)
  70. }
  71. func (dst *ListProfilesRequest) XXX_Merge(src proto.Message) {
  72. xxx_messageInfo_ListProfilesRequest.Merge(dst, src)
  73. }
  74. func (m *ListProfilesRequest) XXX_Size() int {
  75. return xxx_messageInfo_ListProfilesRequest.Size(m)
  76. }
  77. func (m *ListProfilesRequest) XXX_DiscardUnknown() {
  78. xxx_messageInfo_ListProfilesRequest.DiscardUnknown(m)
  79. }
  80. var xxx_messageInfo_ListProfilesRequest proto.InternalMessageInfo
  81. func (m *ListProfilesRequest) GetParent() string {
  82. if m != nil {
  83. return m.Parent
  84. }
  85. return ""
  86. }
  87. func (m *ListProfilesRequest) GetPageToken() string {
  88. if m != nil {
  89. return m.PageToken
  90. }
  91. return ""
  92. }
  93. func (m *ListProfilesRequest) GetPageSize() int32 {
  94. if m != nil {
  95. return m.PageSize
  96. }
  97. return 0
  98. }
  99. func (m *ListProfilesRequest) GetFieldMask() *field_mask.FieldMask {
  100. if m != nil {
  101. return m.FieldMask
  102. }
  103. return nil
  104. }
  105. // The List profiles response object.
  106. type ListProfilesResponse struct {
  107. // Profiles for the specific tenant.
  108. Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
  109. // A token to retrieve the next page of results. This is empty if there are no
  110. // more results.
  111. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  112. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  113. XXX_unrecognized []byte `json:"-"`
  114. XXX_sizecache int32 `json:"-"`
  115. }
  116. func (m *ListProfilesResponse) Reset() { *m = ListProfilesResponse{} }
  117. func (m *ListProfilesResponse) String() string { return proto.CompactTextString(m) }
  118. func (*ListProfilesResponse) ProtoMessage() {}
  119. func (*ListProfilesResponse) Descriptor() ([]byte, []int) {
  120. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{1}
  121. }
  122. func (m *ListProfilesResponse) XXX_Unmarshal(b []byte) error {
  123. return xxx_messageInfo_ListProfilesResponse.Unmarshal(m, b)
  124. }
  125. func (m *ListProfilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  126. return xxx_messageInfo_ListProfilesResponse.Marshal(b, m, deterministic)
  127. }
  128. func (dst *ListProfilesResponse) XXX_Merge(src proto.Message) {
  129. xxx_messageInfo_ListProfilesResponse.Merge(dst, src)
  130. }
  131. func (m *ListProfilesResponse) XXX_Size() int {
  132. return xxx_messageInfo_ListProfilesResponse.Size(m)
  133. }
  134. func (m *ListProfilesResponse) XXX_DiscardUnknown() {
  135. xxx_messageInfo_ListProfilesResponse.DiscardUnknown(m)
  136. }
  137. var xxx_messageInfo_ListProfilesResponse proto.InternalMessageInfo
  138. func (m *ListProfilesResponse) GetProfiles() []*Profile {
  139. if m != nil {
  140. return m.Profiles
  141. }
  142. return nil
  143. }
  144. func (m *ListProfilesResponse) GetNextPageToken() string {
  145. if m != nil {
  146. return m.NextPageToken
  147. }
  148. return ""
  149. }
  150. // Create profile request.
  151. type CreateProfileRequest struct {
  152. // Required.
  153. //
  154. // The name of the tenant this profile belongs to.
  155. //
  156. // The format is "projects/{project_id}/tenants/{tenant_id}", for example,
  157. // "projects/api-test-project/tenants/foo".
  158. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  159. // Required.
  160. //
  161. // The profile to be created.
  162. Profile *Profile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
  163. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  164. XXX_unrecognized []byte `json:"-"`
  165. XXX_sizecache int32 `json:"-"`
  166. }
  167. func (m *CreateProfileRequest) Reset() { *m = CreateProfileRequest{} }
  168. func (m *CreateProfileRequest) String() string { return proto.CompactTextString(m) }
  169. func (*CreateProfileRequest) ProtoMessage() {}
  170. func (*CreateProfileRequest) Descriptor() ([]byte, []int) {
  171. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{2}
  172. }
  173. func (m *CreateProfileRequest) XXX_Unmarshal(b []byte) error {
  174. return xxx_messageInfo_CreateProfileRequest.Unmarshal(m, b)
  175. }
  176. func (m *CreateProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  177. return xxx_messageInfo_CreateProfileRequest.Marshal(b, m, deterministic)
  178. }
  179. func (dst *CreateProfileRequest) XXX_Merge(src proto.Message) {
  180. xxx_messageInfo_CreateProfileRequest.Merge(dst, src)
  181. }
  182. func (m *CreateProfileRequest) XXX_Size() int {
  183. return xxx_messageInfo_CreateProfileRequest.Size(m)
  184. }
  185. func (m *CreateProfileRequest) XXX_DiscardUnknown() {
  186. xxx_messageInfo_CreateProfileRequest.DiscardUnknown(m)
  187. }
  188. var xxx_messageInfo_CreateProfileRequest proto.InternalMessageInfo
  189. func (m *CreateProfileRequest) GetParent() string {
  190. if m != nil {
  191. return m.Parent
  192. }
  193. return ""
  194. }
  195. func (m *CreateProfileRequest) GetProfile() *Profile {
  196. if m != nil {
  197. return m.Profile
  198. }
  199. return nil
  200. }
  201. // Get profile request.
  202. type GetProfileRequest struct {
  203. // Required.
  204. //
  205. // Resource name of the profile to get.
  206. //
  207. // The format is
  208. // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
  209. // for example, "projects/api-test-project/tenants/foo/profiles/bar".
  210. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  211. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  212. XXX_unrecognized []byte `json:"-"`
  213. XXX_sizecache int32 `json:"-"`
  214. }
  215. func (m *GetProfileRequest) Reset() { *m = GetProfileRequest{} }
  216. func (m *GetProfileRequest) String() string { return proto.CompactTextString(m) }
  217. func (*GetProfileRequest) ProtoMessage() {}
  218. func (*GetProfileRequest) Descriptor() ([]byte, []int) {
  219. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{3}
  220. }
  221. func (m *GetProfileRequest) XXX_Unmarshal(b []byte) error {
  222. return xxx_messageInfo_GetProfileRequest.Unmarshal(m, b)
  223. }
  224. func (m *GetProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  225. return xxx_messageInfo_GetProfileRequest.Marshal(b, m, deterministic)
  226. }
  227. func (dst *GetProfileRequest) XXX_Merge(src proto.Message) {
  228. xxx_messageInfo_GetProfileRequest.Merge(dst, src)
  229. }
  230. func (m *GetProfileRequest) XXX_Size() int {
  231. return xxx_messageInfo_GetProfileRequest.Size(m)
  232. }
  233. func (m *GetProfileRequest) XXX_DiscardUnknown() {
  234. xxx_messageInfo_GetProfileRequest.DiscardUnknown(m)
  235. }
  236. var xxx_messageInfo_GetProfileRequest proto.InternalMessageInfo
  237. func (m *GetProfileRequest) GetName() string {
  238. if m != nil {
  239. return m.Name
  240. }
  241. return ""
  242. }
  243. // Update profile request
  244. type UpdateProfileRequest struct {
  245. // Required.
  246. //
  247. // Profile to be updated.
  248. Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
  249. // Optional.
  250. //
  251. // A field mask to specify the profile fields to update.
  252. //
  253. // A full update is performed if it is unset.
  254. //
  255. // Valid values are:
  256. //
  257. // * externalId
  258. // * source
  259. // * uri
  260. // * isHirable
  261. // * createTime
  262. // * updateTime
  263. // * resumeHrxml
  264. // * personNames
  265. // * addresses
  266. // * emailAddresses
  267. // * phoneNumbers
  268. // * personalUris
  269. // * additionalContactInfo
  270. // * employmentRecords
  271. // * educationRecords
  272. // * skills
  273. // * projects
  274. // * publications
  275. // * patents
  276. // * certifications
  277. // * jobApplications
  278. // * recruitingNotes
  279. // * customAttributes
  280. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  281. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  282. XXX_unrecognized []byte `json:"-"`
  283. XXX_sizecache int32 `json:"-"`
  284. }
  285. func (m *UpdateProfileRequest) Reset() { *m = UpdateProfileRequest{} }
  286. func (m *UpdateProfileRequest) String() string { return proto.CompactTextString(m) }
  287. func (*UpdateProfileRequest) ProtoMessage() {}
  288. func (*UpdateProfileRequest) Descriptor() ([]byte, []int) {
  289. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{4}
  290. }
  291. func (m *UpdateProfileRequest) XXX_Unmarshal(b []byte) error {
  292. return xxx_messageInfo_UpdateProfileRequest.Unmarshal(m, b)
  293. }
  294. func (m *UpdateProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  295. return xxx_messageInfo_UpdateProfileRequest.Marshal(b, m, deterministic)
  296. }
  297. func (dst *UpdateProfileRequest) XXX_Merge(src proto.Message) {
  298. xxx_messageInfo_UpdateProfileRequest.Merge(dst, src)
  299. }
  300. func (m *UpdateProfileRequest) XXX_Size() int {
  301. return xxx_messageInfo_UpdateProfileRequest.Size(m)
  302. }
  303. func (m *UpdateProfileRequest) XXX_DiscardUnknown() {
  304. xxx_messageInfo_UpdateProfileRequest.DiscardUnknown(m)
  305. }
  306. var xxx_messageInfo_UpdateProfileRequest proto.InternalMessageInfo
  307. func (m *UpdateProfileRequest) GetProfile() *Profile {
  308. if m != nil {
  309. return m.Profile
  310. }
  311. return nil
  312. }
  313. func (m *UpdateProfileRequest) GetUpdateMask() *field_mask.FieldMask {
  314. if m != nil {
  315. return m.UpdateMask
  316. }
  317. return nil
  318. }
  319. // Delete profile request.
  320. type DeleteProfileRequest struct {
  321. // Required.
  322. //
  323. // Resource name of the profile to be deleted.
  324. //
  325. // The format is
  326. // "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
  327. // for example, "projects/api-test-project/tenants/foo/profiles/bar".
  328. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  329. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  330. XXX_unrecognized []byte `json:"-"`
  331. XXX_sizecache int32 `json:"-"`
  332. }
  333. func (m *DeleteProfileRequest) Reset() { *m = DeleteProfileRequest{} }
  334. func (m *DeleteProfileRequest) String() string { return proto.CompactTextString(m) }
  335. func (*DeleteProfileRequest) ProtoMessage() {}
  336. func (*DeleteProfileRequest) Descriptor() ([]byte, []int) {
  337. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{5}
  338. }
  339. func (m *DeleteProfileRequest) XXX_Unmarshal(b []byte) error {
  340. return xxx_messageInfo_DeleteProfileRequest.Unmarshal(m, b)
  341. }
  342. func (m *DeleteProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  343. return xxx_messageInfo_DeleteProfileRequest.Marshal(b, m, deterministic)
  344. }
  345. func (dst *DeleteProfileRequest) XXX_Merge(src proto.Message) {
  346. xxx_messageInfo_DeleteProfileRequest.Merge(dst, src)
  347. }
  348. func (m *DeleteProfileRequest) XXX_Size() int {
  349. return xxx_messageInfo_DeleteProfileRequest.Size(m)
  350. }
  351. func (m *DeleteProfileRequest) XXX_DiscardUnknown() {
  352. xxx_messageInfo_DeleteProfileRequest.DiscardUnknown(m)
  353. }
  354. var xxx_messageInfo_DeleteProfileRequest proto.InternalMessageInfo
  355. func (m *DeleteProfileRequest) GetName() string {
  356. if m != nil {
  357. return m.Name
  358. }
  359. return ""
  360. }
  361. // The request body of the `SearchProfiles` call.
  362. type SearchProfilesRequest struct {
  363. // Required.
  364. //
  365. // The resource name of the tenant to search within.
  366. //
  367. // The format is "projects/{project_id}/tenants/{tenant_id}", for example,
  368. // "projects/api-test-project/tenants/foo".
  369. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  370. // Required.
  371. //
  372. // The meta information collected about the profile search user. This is used
  373. // to improve the search quality of the service. These values are provided by
  374. // users, and must be precise and consistent.
  375. RequestMetadata *RequestMetadata `protobuf:"bytes,2,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
  376. // Optional.
  377. //
  378. // Search query to execute. See
  379. // [ProfileQuery][google.cloud.talent.v4beta1.ProfileQuery] for more details.
  380. ProfileQuery *ProfileQuery `protobuf:"bytes,3,opt,name=profile_query,json=profileQuery,proto3" json:"profile_query,omitempty"`
  381. // Optional.
  382. //
  383. // A limit on the number of profiles returned in the search results.
  384. // A value above the default value 10 can increase search response time.
  385. //
  386. // The maximum value allowed is 100. Otherwise an error is thrown.
  387. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  388. // Optional.
  389. //
  390. // The pageToken, similar to offset enables users of the API to paginate
  391. // through the search results. To retrieve the first page of results, set the
  392. // pageToken to empty. The search response includes a
  393. // [nextPageToken][google.cloud.talent.v4beta1.SearchProfilesResponse.next_page_token]
  394. // field that can be used to populate the pageToken field for the next page of
  395. // results. Using pageToken instead of offset increases the performance of the
  396. // API, especially compared to larger offset values.
  397. PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  398. // Optional.
  399. //
  400. // An integer that specifies the current offset (that is, starting result) in
  401. // search results. This field is only considered if
  402. // [page_token][google.cloud.talent.v4beta1.SearchProfilesRequest.page_token]
  403. // is unset.
  404. //
  405. // The maximum allowed value is 5000. Otherwise an error is thrown.
  406. //
  407. // For example, 0 means to search from the first profile, and 10 means to
  408. // search from the 11th profile. This can be used for pagination, for example
  409. // pageSize = 10 and offset = 10 means to search from the second page.
  410. Offset int32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
  411. // Optional.
  412. //
  413. // This flag controls the spell-check feature. If `false`, the
  414. // service attempts to correct a misspelled query.
  415. //
  416. // For example, "enginee" is corrected to "engineer".
  417. DisableSpellCheck bool `protobuf:"varint,7,opt,name=disable_spell_check,json=disableSpellCheck,proto3" json:"disable_spell_check,omitempty"`
  418. // Optional.
  419. //
  420. // The criteria that determines how search results are sorted.
  421. // Defaults is "relevance desc" if no value is specified.
  422. //
  423. // Supported options are:
  424. //
  425. // * "relevance desc": By descending relevance, as determined by the API
  426. // algorithms.
  427. // * "update_date desc": Sort by [Profile.update_date][] in descending order
  428. // (recently updated profiles first).
  429. // * "create_date desc": Sort by [Profile.create_date][] in descending order
  430. // (recently created profiles first).
  431. // * "first_name": Sort by [PersonStrcuturedName.given_name][] in ascending
  432. // order.
  433. // * "first_name desc": Sort by [PersonStrcuturedName.given_name][] in
  434. // descending order.
  435. // * "last_name": Sort by [PersonStrcuturedName.family_name][] in ascending
  436. // order.
  437. // * "last_name desc": Sort by [PersonStrcuturedName.family_name][] in
  438. // ascending order.
  439. OrderBy string `protobuf:"bytes,8,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
  440. // Optional.
  441. //
  442. // When sort by field is based on alphabetical order, sort values case
  443. // sensitively (based on ASCII) when the value is set to true. Default value
  444. // is case in-sensitive sort (false).
  445. CaseSensitiveSort bool `protobuf:"varint,9,opt,name=case_sensitive_sort,json=caseSensitiveSort,proto3" json:"case_sensitive_sort,omitempty"`
  446. // Optional.
  447. //
  448. // A list of expressions specifies histogram requests against matching
  449. // profiles for
  450. // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest].
  451. //
  452. // The expression syntax looks like a function definition with optional
  453. // parameters.
  454. //
  455. // Function syntax: function_name(histogram_facet[, list of buckets])
  456. //
  457. // Data types:
  458. //
  459. // * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
  460. // * String: string like "any string with backslash escape for quote(\")."
  461. // * Number: whole number and floating point number like 10, -1 and -0.01.
  462. // * List: list of elements with comma(,) separator surrounded by square
  463. // brackets. For example, [1, 2, 3] and ["one", "two", "three"].
  464. //
  465. // Built-in constants:
  466. //
  467. // * MIN (minimum number similar to java Double.MIN_VALUE)
  468. // * MAX (maximum number similar to java Double.MAX_VALUE)
  469. //
  470. // Built-in functions:
  471. //
  472. // * bucket(start, end[, label])
  473. // Bucket build-in function creates a bucket with range of [start, end). Note
  474. // that the end is exclusive.
  475. // For example, bucket(1, MAX, "positive number") or bucket(1, 10).
  476. //
  477. // Histogram Facets:
  478. //
  479. // * admin1: Admin1 is a global placeholder for referring to state, province,
  480. // or the particular term a country uses to define the geographic structure
  481. // below the country level. Examples include states codes such as "CA", "IL",
  482. // "NY", and provinces, such as "BC".
  483. // * locality: Locality is a global placeholder for referring to city, town,
  484. // or the particular term a country uses to define the geographic structure
  485. // below the admin1 level. Examples include city names such as
  486. // "Mountain View" and "New York".
  487. // * extended_locality: Extended locality is concatenated version of admin1
  488. // and locality with comma separator. For example, "Mountain View, CA" and
  489. // "New York, NY".
  490. // * postal_code: Postal code of profile which follows locale code.
  491. // * country: Country code (ISO-3166-1 alpha-2 code) of profile, such as US,
  492. // JP, GB.
  493. // * job_title: Normalized job titles specified in EmploymentHistory.
  494. // * company_name: Normalized company name of profiles to match on.
  495. // * institution: The school name. For example, "MIT",
  496. // "University of California, Berkeley"
  497. // * degree: Highest education degree in ISCED code. Each value in degree
  498. // covers specific level of education, without any expansion to upper nor
  499. // lower levels of education degree.
  500. // * experience_in_months: experience in months. 0 means 0 month to 1 month
  501. // (exclusive).
  502. // * application_date: The application date specifies application start dates.
  503. // See
  504. // [ApplicationDateFilter][google.cloud.talent.v4beta1.ApplicationDateFilter]
  505. // for more details.
  506. // * application_outcome_reason: The application outcome reason specifies the
  507. // outcome reasons of job application.
  508. // See
  509. // [ApplicationOutcomeReasonFilter][google.cloud.talent.v4beta1.ApplicationOutcomeReasonFilter]
  510. // for more details.
  511. // * application_last_stage: The application last stage specifies the last
  512. // stage of job application.
  513. // See
  514. // [ApplicationLastStageFilter][google.cloud.talent.v4beta1.ApplicationLastStageFilter]
  515. // for more details.
  516. // * application_job_title: The application job title specifies the job
  517. // applied for in the application.
  518. // See
  519. // [ApplicationJobFilter][google.cloud.talent.v4beta1.ApplicationJobFilter]
  520. // for more details.
  521. // * application_status: The application status specifies the status of job
  522. // application.
  523. // See
  524. // [ApplicationStatusFilter][google.cloud.talent.v4beta1.ApplicationStatusFilter]
  525. // for more details.
  526. // * hirable_status: Hirable status specifies the profile's hirable status.
  527. // * string_custom_attribute: String custom attributes. Values can be accessed
  528. // via square bracket notation like string_custom_attribute["key1"].
  529. // * numeric_custom_attribute: Numeric custom attributes. Values can be
  530. // accessed via square bracket notation like numeric_custom_attribute["key1"].
  531. //
  532. // Example expressions:
  533. //
  534. // * count(admin1)
  535. // * count(experience_in_months, [bucket(0, 12, "1 year"),
  536. // bucket(12, 36, "1-3 years"), bucket(36, MAX, "3+ years")])
  537. // * count(string_custom_attribute["assigned_recruiter"])
  538. // * count(numeric_custom_attribute["favorite_number"],
  539. // [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])
  540. HistogramQueries []*HistogramQuery `protobuf:"bytes,10,rep,name=histogram_queries,json=histogramQueries,proto3" json:"histogram_queries,omitempty"`
  541. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  542. XXX_unrecognized []byte `json:"-"`
  543. XXX_sizecache int32 `json:"-"`
  544. }
  545. func (m *SearchProfilesRequest) Reset() { *m = SearchProfilesRequest{} }
  546. func (m *SearchProfilesRequest) String() string { return proto.CompactTextString(m) }
  547. func (*SearchProfilesRequest) ProtoMessage() {}
  548. func (*SearchProfilesRequest) Descriptor() ([]byte, []int) {
  549. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{6}
  550. }
  551. func (m *SearchProfilesRequest) XXX_Unmarshal(b []byte) error {
  552. return xxx_messageInfo_SearchProfilesRequest.Unmarshal(m, b)
  553. }
  554. func (m *SearchProfilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  555. return xxx_messageInfo_SearchProfilesRequest.Marshal(b, m, deterministic)
  556. }
  557. func (dst *SearchProfilesRequest) XXX_Merge(src proto.Message) {
  558. xxx_messageInfo_SearchProfilesRequest.Merge(dst, src)
  559. }
  560. func (m *SearchProfilesRequest) XXX_Size() int {
  561. return xxx_messageInfo_SearchProfilesRequest.Size(m)
  562. }
  563. func (m *SearchProfilesRequest) XXX_DiscardUnknown() {
  564. xxx_messageInfo_SearchProfilesRequest.DiscardUnknown(m)
  565. }
  566. var xxx_messageInfo_SearchProfilesRequest proto.InternalMessageInfo
  567. func (m *SearchProfilesRequest) GetParent() string {
  568. if m != nil {
  569. return m.Parent
  570. }
  571. return ""
  572. }
  573. func (m *SearchProfilesRequest) GetRequestMetadata() *RequestMetadata {
  574. if m != nil {
  575. return m.RequestMetadata
  576. }
  577. return nil
  578. }
  579. func (m *SearchProfilesRequest) GetProfileQuery() *ProfileQuery {
  580. if m != nil {
  581. return m.ProfileQuery
  582. }
  583. return nil
  584. }
  585. func (m *SearchProfilesRequest) GetPageSize() int32 {
  586. if m != nil {
  587. return m.PageSize
  588. }
  589. return 0
  590. }
  591. func (m *SearchProfilesRequest) GetPageToken() string {
  592. if m != nil {
  593. return m.PageToken
  594. }
  595. return ""
  596. }
  597. func (m *SearchProfilesRequest) GetOffset() int32 {
  598. if m != nil {
  599. return m.Offset
  600. }
  601. return 0
  602. }
  603. func (m *SearchProfilesRequest) GetDisableSpellCheck() bool {
  604. if m != nil {
  605. return m.DisableSpellCheck
  606. }
  607. return false
  608. }
  609. func (m *SearchProfilesRequest) GetOrderBy() string {
  610. if m != nil {
  611. return m.OrderBy
  612. }
  613. return ""
  614. }
  615. func (m *SearchProfilesRequest) GetCaseSensitiveSort() bool {
  616. if m != nil {
  617. return m.CaseSensitiveSort
  618. }
  619. return false
  620. }
  621. func (m *SearchProfilesRequest) GetHistogramQueries() []*HistogramQuery {
  622. if m != nil {
  623. return m.HistogramQueries
  624. }
  625. return nil
  626. }
  627. // Response of SearchProfiles method.
  628. type SearchProfilesResponse struct {
  629. // An estimation of the number of profiles that match the specified query.
  630. //
  631. // This number isn't guaranteed to be accurate.
  632. EstimatedTotalSize int64 `protobuf:"varint,1,opt,name=estimated_total_size,json=estimatedTotalSize,proto3" json:"estimated_total_size,omitempty"`
  633. // The spell checking result, and correction.
  634. SpellCorrection *SpellingCorrection `protobuf:"bytes,2,opt,name=spell_correction,json=spellCorrection,proto3" json:"spell_correction,omitempty"`
  635. // Additional information for the API invocation, such as the request
  636. // tracking id.
  637. Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
  638. // A token to retrieve the next page of results. This is empty if there are no
  639. // more results.
  640. NextPageToken string `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  641. // The histogram results that match with specified
  642. // [SearchProfilesRequest.histogram_queries][google.cloud.talent.v4beta1.SearchProfilesRequest.histogram_queries].
  643. HistogramQueryResults []*HistogramQueryResult `protobuf:"bytes,5,rep,name=histogram_query_results,json=histogramQueryResults,proto3" json:"histogram_query_results,omitempty"`
  644. // The profile entities that match the specified
  645. // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest].
  646. SummarizedProfiles []*SummarizedProfile `protobuf:"bytes,6,rep,name=summarized_profiles,json=summarizedProfiles,proto3" json:"summarized_profiles,omitempty"`
  647. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  648. XXX_unrecognized []byte `json:"-"`
  649. XXX_sizecache int32 `json:"-"`
  650. }
  651. func (m *SearchProfilesResponse) Reset() { *m = SearchProfilesResponse{} }
  652. func (m *SearchProfilesResponse) String() string { return proto.CompactTextString(m) }
  653. func (*SearchProfilesResponse) ProtoMessage() {}
  654. func (*SearchProfilesResponse) Descriptor() ([]byte, []int) {
  655. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{7}
  656. }
  657. func (m *SearchProfilesResponse) XXX_Unmarshal(b []byte) error {
  658. return xxx_messageInfo_SearchProfilesResponse.Unmarshal(m, b)
  659. }
  660. func (m *SearchProfilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  661. return xxx_messageInfo_SearchProfilesResponse.Marshal(b, m, deterministic)
  662. }
  663. func (dst *SearchProfilesResponse) XXX_Merge(src proto.Message) {
  664. xxx_messageInfo_SearchProfilesResponse.Merge(dst, src)
  665. }
  666. func (m *SearchProfilesResponse) XXX_Size() int {
  667. return xxx_messageInfo_SearchProfilesResponse.Size(m)
  668. }
  669. func (m *SearchProfilesResponse) XXX_DiscardUnknown() {
  670. xxx_messageInfo_SearchProfilesResponse.DiscardUnknown(m)
  671. }
  672. var xxx_messageInfo_SearchProfilesResponse proto.InternalMessageInfo
  673. func (m *SearchProfilesResponse) GetEstimatedTotalSize() int64 {
  674. if m != nil {
  675. return m.EstimatedTotalSize
  676. }
  677. return 0
  678. }
  679. func (m *SearchProfilesResponse) GetSpellCorrection() *SpellingCorrection {
  680. if m != nil {
  681. return m.SpellCorrection
  682. }
  683. return nil
  684. }
  685. func (m *SearchProfilesResponse) GetMetadata() *ResponseMetadata {
  686. if m != nil {
  687. return m.Metadata
  688. }
  689. return nil
  690. }
  691. func (m *SearchProfilesResponse) GetNextPageToken() string {
  692. if m != nil {
  693. return m.NextPageToken
  694. }
  695. return ""
  696. }
  697. func (m *SearchProfilesResponse) GetHistogramQueryResults() []*HistogramQueryResult {
  698. if m != nil {
  699. return m.HistogramQueryResults
  700. }
  701. return nil
  702. }
  703. func (m *SearchProfilesResponse) GetSummarizedProfiles() []*SummarizedProfile {
  704. if m != nil {
  705. return m.SummarizedProfiles
  706. }
  707. return nil
  708. }
  709. // Output only.
  710. //
  711. // Profile entry with metadata inside
  712. // [SearchProfilesResponse][google.cloud.talent.v4beta1.SearchProfilesResponse].
  713. type SummarizedProfile struct {
  714. // A list of profiles that are linked by [Profile.cluster_id][].
  715. Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
  716. // A profile summary shows the profile summary and how the profile matches the
  717. // search query.
  718. //
  719. // In profile summary, the profiles with the same [Profile.cluster_id][] are
  720. // merged together. Among profiles, same education/employment records may be
  721. // slightly different but they are merged into one with best efforts.
  722. //
  723. // For example, in one profile the school name is "UC Berkeley" and the field
  724. // study is "Computer Science" and in another one the school name is
  725. // "University of California at Berkeley" and the field study is "CS". The API
  726. // merges these two inputs into one and selects one value for each field. For
  727. // example, the school name in summary is set to "University of California at
  728. // Berkeley" and the field of study is set to "Computer Science".
  729. Summary *Profile `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
  730. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  731. XXX_unrecognized []byte `json:"-"`
  732. XXX_sizecache int32 `json:"-"`
  733. }
  734. func (m *SummarizedProfile) Reset() { *m = SummarizedProfile{} }
  735. func (m *SummarizedProfile) String() string { return proto.CompactTextString(m) }
  736. func (*SummarizedProfile) ProtoMessage() {}
  737. func (*SummarizedProfile) Descriptor() ([]byte, []int) {
  738. return fileDescriptor_profile_service_3bca0b0b843d4427, []int{8}
  739. }
  740. func (m *SummarizedProfile) XXX_Unmarshal(b []byte) error {
  741. return xxx_messageInfo_SummarizedProfile.Unmarshal(m, b)
  742. }
  743. func (m *SummarizedProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  744. return xxx_messageInfo_SummarizedProfile.Marshal(b, m, deterministic)
  745. }
  746. func (dst *SummarizedProfile) XXX_Merge(src proto.Message) {
  747. xxx_messageInfo_SummarizedProfile.Merge(dst, src)
  748. }
  749. func (m *SummarizedProfile) XXX_Size() int {
  750. return xxx_messageInfo_SummarizedProfile.Size(m)
  751. }
  752. func (m *SummarizedProfile) XXX_DiscardUnknown() {
  753. xxx_messageInfo_SummarizedProfile.DiscardUnknown(m)
  754. }
  755. var xxx_messageInfo_SummarizedProfile proto.InternalMessageInfo
  756. func (m *SummarizedProfile) GetProfiles() []*Profile {
  757. if m != nil {
  758. return m.Profiles
  759. }
  760. return nil
  761. }
  762. func (m *SummarizedProfile) GetSummary() *Profile {
  763. if m != nil {
  764. return m.Summary
  765. }
  766. return nil
  767. }
  768. func init() {
  769. proto.RegisterType((*ListProfilesRequest)(nil), "google.cloud.talent.v4beta1.ListProfilesRequest")
  770. proto.RegisterType((*ListProfilesResponse)(nil), "google.cloud.talent.v4beta1.ListProfilesResponse")
  771. proto.RegisterType((*CreateProfileRequest)(nil), "google.cloud.talent.v4beta1.CreateProfileRequest")
  772. proto.RegisterType((*GetProfileRequest)(nil), "google.cloud.talent.v4beta1.GetProfileRequest")
  773. proto.RegisterType((*UpdateProfileRequest)(nil), "google.cloud.talent.v4beta1.UpdateProfileRequest")
  774. proto.RegisterType((*DeleteProfileRequest)(nil), "google.cloud.talent.v4beta1.DeleteProfileRequest")
  775. proto.RegisterType((*SearchProfilesRequest)(nil), "google.cloud.talent.v4beta1.SearchProfilesRequest")
  776. proto.RegisterType((*SearchProfilesResponse)(nil), "google.cloud.talent.v4beta1.SearchProfilesResponse")
  777. proto.RegisterType((*SummarizedProfile)(nil), "google.cloud.talent.v4beta1.SummarizedProfile")
  778. }
  779. // Reference imports to suppress errors if they are not otherwise used.
  780. var _ context.Context
  781. var _ grpc.ClientConn
  782. // This is a compile-time assertion to ensure that this generated file
  783. // is compatible with the grpc package it is being compiled against.
  784. const _ = grpc.SupportPackageIsVersion4
  785. // ProfileServiceClient is the client API for ProfileService service.
  786. //
  787. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  788. type ProfileServiceClient interface {
  789. // Lists profiles by filter. The order is unspecified.
  790. ListProfiles(ctx context.Context, in *ListProfilesRequest, opts ...grpc.CallOption) (*ListProfilesResponse, error)
  791. // Creates and returns a new profile.
  792. CreateProfile(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*Profile, error)
  793. // Gets the specified profile.
  794. GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*Profile, error)
  795. // Updates the specified profile and returns the updated result.
  796. UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*Profile, error)
  797. // Deletes the specified profile.
  798. DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error)
  799. // Searches for profiles within a tenant.
  800. //
  801. // For example, search by raw queries "software engineer in Mountain View" or
  802. // search by structured filters (location filter, education filter, etc.).
  803. //
  804. // See
  805. // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest]
  806. // for more information.
  807. SearchProfiles(ctx context.Context, in *SearchProfilesRequest, opts ...grpc.CallOption) (*SearchProfilesResponse, error)
  808. }
  809. type profileServiceClient struct {
  810. cc *grpc.ClientConn
  811. }
  812. func NewProfileServiceClient(cc *grpc.ClientConn) ProfileServiceClient {
  813. return &profileServiceClient{cc}
  814. }
  815. func (c *profileServiceClient) ListProfiles(ctx context.Context, in *ListProfilesRequest, opts ...grpc.CallOption) (*ListProfilesResponse, error) {
  816. out := new(ListProfilesResponse)
  817. err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/ListProfiles", in, out, opts...)
  818. if err != nil {
  819. return nil, err
  820. }
  821. return out, nil
  822. }
  823. func (c *profileServiceClient) CreateProfile(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*Profile, error) {
  824. out := new(Profile)
  825. err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/CreateProfile", in, out, opts...)
  826. if err != nil {
  827. return nil, err
  828. }
  829. return out, nil
  830. }
  831. func (c *profileServiceClient) GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*Profile, error) {
  832. out := new(Profile)
  833. err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/GetProfile", in, out, opts...)
  834. if err != nil {
  835. return nil, err
  836. }
  837. return out, nil
  838. }
  839. func (c *profileServiceClient) UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*Profile, error) {
  840. out := new(Profile)
  841. err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/UpdateProfile", in, out, opts...)
  842. if err != nil {
  843. return nil, err
  844. }
  845. return out, nil
  846. }
  847. func (c *profileServiceClient) DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
  848. out := new(empty.Empty)
  849. err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/DeleteProfile", in, out, opts...)
  850. if err != nil {
  851. return nil, err
  852. }
  853. return out, nil
  854. }
  855. func (c *profileServiceClient) SearchProfiles(ctx context.Context, in *SearchProfilesRequest, opts ...grpc.CallOption) (*SearchProfilesResponse, error) {
  856. out := new(SearchProfilesResponse)
  857. err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.ProfileService/SearchProfiles", in, out, opts...)
  858. if err != nil {
  859. return nil, err
  860. }
  861. return out, nil
  862. }
  863. // ProfileServiceServer is the server API for ProfileService service.
  864. type ProfileServiceServer interface {
  865. // Lists profiles by filter. The order is unspecified.
  866. ListProfiles(context.Context, *ListProfilesRequest) (*ListProfilesResponse, error)
  867. // Creates and returns a new profile.
  868. CreateProfile(context.Context, *CreateProfileRequest) (*Profile, error)
  869. // Gets the specified profile.
  870. GetProfile(context.Context, *GetProfileRequest) (*Profile, error)
  871. // Updates the specified profile and returns the updated result.
  872. UpdateProfile(context.Context, *UpdateProfileRequest) (*Profile, error)
  873. // Deletes the specified profile.
  874. DeleteProfile(context.Context, *DeleteProfileRequest) (*empty.Empty, error)
  875. // Searches for profiles within a tenant.
  876. //
  877. // For example, search by raw queries "software engineer in Mountain View" or
  878. // search by structured filters (location filter, education filter, etc.).
  879. //
  880. // See
  881. // [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest]
  882. // for more information.
  883. SearchProfiles(context.Context, *SearchProfilesRequest) (*SearchProfilesResponse, error)
  884. }
  885. func RegisterProfileServiceServer(s *grpc.Server, srv ProfileServiceServer) {
  886. s.RegisterService(&_ProfileService_serviceDesc, srv)
  887. }
  888. func _ProfileService_ListProfiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  889. in := new(ListProfilesRequest)
  890. if err := dec(in); err != nil {
  891. return nil, err
  892. }
  893. if interceptor == nil {
  894. return srv.(ProfileServiceServer).ListProfiles(ctx, in)
  895. }
  896. info := &grpc.UnaryServerInfo{
  897. Server: srv,
  898. FullMethod: "/google.cloud.talent.v4beta1.ProfileService/ListProfiles",
  899. }
  900. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  901. return srv.(ProfileServiceServer).ListProfiles(ctx, req.(*ListProfilesRequest))
  902. }
  903. return interceptor(ctx, in, info, handler)
  904. }
  905. func _ProfileService_CreateProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  906. in := new(CreateProfileRequest)
  907. if err := dec(in); err != nil {
  908. return nil, err
  909. }
  910. if interceptor == nil {
  911. return srv.(ProfileServiceServer).CreateProfile(ctx, in)
  912. }
  913. info := &grpc.UnaryServerInfo{
  914. Server: srv,
  915. FullMethod: "/google.cloud.talent.v4beta1.ProfileService/CreateProfile",
  916. }
  917. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  918. return srv.(ProfileServiceServer).CreateProfile(ctx, req.(*CreateProfileRequest))
  919. }
  920. return interceptor(ctx, in, info, handler)
  921. }
  922. func _ProfileService_GetProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  923. in := new(GetProfileRequest)
  924. if err := dec(in); err != nil {
  925. return nil, err
  926. }
  927. if interceptor == nil {
  928. return srv.(ProfileServiceServer).GetProfile(ctx, in)
  929. }
  930. info := &grpc.UnaryServerInfo{
  931. Server: srv,
  932. FullMethod: "/google.cloud.talent.v4beta1.ProfileService/GetProfile",
  933. }
  934. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  935. return srv.(ProfileServiceServer).GetProfile(ctx, req.(*GetProfileRequest))
  936. }
  937. return interceptor(ctx, in, info, handler)
  938. }
  939. func _ProfileService_UpdateProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  940. in := new(UpdateProfileRequest)
  941. if err := dec(in); err != nil {
  942. return nil, err
  943. }
  944. if interceptor == nil {
  945. return srv.(ProfileServiceServer).UpdateProfile(ctx, in)
  946. }
  947. info := &grpc.UnaryServerInfo{
  948. Server: srv,
  949. FullMethod: "/google.cloud.talent.v4beta1.ProfileService/UpdateProfile",
  950. }
  951. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  952. return srv.(ProfileServiceServer).UpdateProfile(ctx, req.(*UpdateProfileRequest))
  953. }
  954. return interceptor(ctx, in, info, handler)
  955. }
  956. func _ProfileService_DeleteProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  957. in := new(DeleteProfileRequest)
  958. if err := dec(in); err != nil {
  959. return nil, err
  960. }
  961. if interceptor == nil {
  962. return srv.(ProfileServiceServer).DeleteProfile(ctx, in)
  963. }
  964. info := &grpc.UnaryServerInfo{
  965. Server: srv,
  966. FullMethod: "/google.cloud.talent.v4beta1.ProfileService/DeleteProfile",
  967. }
  968. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  969. return srv.(ProfileServiceServer).DeleteProfile(ctx, req.(*DeleteProfileRequest))
  970. }
  971. return interceptor(ctx, in, info, handler)
  972. }
  973. func _ProfileService_SearchProfiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  974. in := new(SearchProfilesRequest)
  975. if err := dec(in); err != nil {
  976. return nil, err
  977. }
  978. if interceptor == nil {
  979. return srv.(ProfileServiceServer).SearchProfiles(ctx, in)
  980. }
  981. info := &grpc.UnaryServerInfo{
  982. Server: srv,
  983. FullMethod: "/google.cloud.talent.v4beta1.ProfileService/SearchProfiles",
  984. }
  985. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  986. return srv.(ProfileServiceServer).SearchProfiles(ctx, req.(*SearchProfilesRequest))
  987. }
  988. return interceptor(ctx, in, info, handler)
  989. }
  990. var _ProfileService_serviceDesc = grpc.ServiceDesc{
  991. ServiceName: "google.cloud.talent.v4beta1.ProfileService",
  992. HandlerType: (*ProfileServiceServer)(nil),
  993. Methods: []grpc.MethodDesc{
  994. {
  995. MethodName: "ListProfiles",
  996. Handler: _ProfileService_ListProfiles_Handler,
  997. },
  998. {
  999. MethodName: "CreateProfile",
  1000. Handler: _ProfileService_CreateProfile_Handler,
  1001. },
  1002. {
  1003. MethodName: "GetProfile",
  1004. Handler: _ProfileService_GetProfile_Handler,
  1005. },
  1006. {
  1007. MethodName: "UpdateProfile",
  1008. Handler: _ProfileService_UpdateProfile_Handler,
  1009. },
  1010. {
  1011. MethodName: "DeleteProfile",
  1012. Handler: _ProfileService_DeleteProfile_Handler,
  1013. },
  1014. {
  1015. MethodName: "SearchProfiles",
  1016. Handler: _ProfileService_SearchProfiles_Handler,
  1017. },
  1018. },
  1019. Streams: []grpc.StreamDesc{},
  1020. Metadata: "google/cloud/talent/v4beta1/profile_service.proto",
  1021. }
  1022. func init() {
  1023. proto.RegisterFile("google/cloud/talent/v4beta1/profile_service.proto", fileDescriptor_profile_service_3bca0b0b843d4427)
  1024. }
  1025. var fileDescriptor_profile_service_3bca0b0b843d4427 = []byte{
  1026. // 1056 bytes of a gzipped FileDescriptorProto
  1027. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5f, 0x6f, 0x1b, 0x45,
  1028. 0x10, 0xd7, 0x25, 0x69, 0xe2, 0x4c, 0x9a, 0x26, 0xd9, 0xa4, 0xc1, 0xb8, 0x20, 0xac, 0x13, 0x02,
  1029. 0xd7, 0xa5, 0x77, 0x8d, 0x5b, 0xa9, 0x90, 0x42, 0x05, 0x09, 0x7f, 0x25, 0x8a, 0xc2, 0x39, 0x08,
  1030. 0xd4, 0x97, 0xd3, 0xc6, 0x1e, 0x3b, 0x47, 0xee, 0x6e, 0xaf, 0xbb, 0xeb, 0x08, 0x07, 0x55, 0xa2,
  1031. 0x7c, 0x85, 0x88, 0x27, 0xde, 0x50, 0x1f, 0x79, 0xe3, 0xa3, 0xf0, 0x15, 0xe0, 0x73, 0x80, 0x76,
  1032. 0x6f, 0xef, 0x12, 0xdb, 0xa7, 0x8b, 0x8d, 0x78, 0xbb, 0xdd, 0x99, 0xdf, 0xcc, 0x6f, 0x7f, 0x3b,
  1033. 0x3b, 0x73, 0xb0, 0xd3, 0x67, 0xac, 0x1f, 0xa2, 0xdb, 0x09, 0xd9, 0xa0, 0xeb, 0x4a, 0x1a, 0x62,
  1034. 0x2c, 0xdd, 0xd3, 0x07, 0x47, 0x28, 0xe9, 0x8e, 0x9b, 0x70, 0xd6, 0x0b, 0x42, 0xf4, 0x05, 0xf2,
  1035. 0xd3, 0xa0, 0x83, 0x4e, 0xc2, 0x99, 0x64, 0xe4, 0x56, 0x0a, 0x71, 0x34, 0xc4, 0x49, 0x21, 0x8e,
  1036. 0x81, 0xd4, 0x5e, 0x33, 0xf1, 0x68, 0x12, 0xb8, 0x34, 0x8e, 0x99, 0xa4, 0x32, 0x60, 0xb1, 0x48,
  1037. 0xa1, 0xb5, 0x46, 0x59, 0xb6, 0x0e, 0x8b, 0x22, 0x16, 0x1b, 0xcf, 0xdb, 0x65, 0x9e, 0xbd, 0x20,
  1038. 0x94, 0xc8, 0xb3, 0xa0, 0x77, 0xca, 0x5c, 0x8f, 0x03, 0x21, 0x59, 0x9f, 0xd3, 0x68, 0x9a, 0xb8,
  1039. 0xe6, 0xbc, 0xc6, 0xd5, 0x9c, 0xd3, 0xd5, 0xab, 0xa3, 0x41, 0xcf, 0xc5, 0x28, 0x91, 0x43, 0x63,
  1040. 0xac, 0x8f, 0x1b, 0x7b, 0x01, 0x86, 0x5d, 0x3f, 0xa2, 0xe2, 0x24, 0xf5, 0xb0, 0x5f, 0x5a, 0xb0,
  1041. 0xf9, 0x65, 0x20, 0xe4, 0x41, 0x1a, 0x54, 0x78, 0xf8, 0x6c, 0x80, 0x42, 0x92, 0x6d, 0x58, 0x4c,
  1042. 0x28, 0xc7, 0x58, 0x56, 0xad, 0xba, 0xd5, 0x58, 0xf6, 0xcc, 0x8a, 0xbc, 0x0e, 0x90, 0xd0, 0x3e,
  1043. 0xfa, 0x92, 0x9d, 0x60, 0x5c, 0x9d, 0xd3, 0xb6, 0x65, 0xb5, 0x73, 0xa8, 0x36, 0xc8, 0x2d, 0xd0,
  1044. 0x0b, 0x5f, 0x04, 0x67, 0x58, 0x9d, 0xaf, 0x5b, 0x8d, 0x6b, 0x5e, 0x45, 0x6d, 0xb4, 0x83, 0x33,
  1045. 0x24, 0xef, 0x01, 0x5c, 0xe4, 0xaf, 0x2e, 0xd4, 0xad, 0xc6, 0x4a, 0xab, 0xe6, 0x98, 0x7b, 0xca,
  1046. 0x28, 0x3a, 0x9f, 0x2a, 0x97, 0x27, 0x54, 0x9c, 0x78, 0xcb, 0xbd, 0xec, 0xd3, 0xfe, 0xc9, 0x82,
  1047. 0xad, 0x51, 0x9a, 0x22, 0x61, 0xb1, 0x40, 0xf2, 0x21, 0x54, 0x8c, 0x1e, 0xa2, 0x6a, 0xd5, 0xe7,
  1048. 0x1b, 0x2b, 0xad, 0x37, 0x9d, 0x92, 0x9b, 0x77, 0x4c, 0x00, 0x2f, 0x47, 0x91, 0xb7, 0x60, 0x2d,
  1049. 0xc6, 0x1f, 0xa4, 0x3f, 0x71, 0xac, 0x55, 0xb5, 0x7d, 0x90, 0x1d, 0xcd, 0x8e, 0x61, 0x6b, 0x9f,
  1050. 0x23, 0x95, 0x98, 0x85, 0xb8, 0x42, 0xa9, 0xc7, 0xb0, 0x64, 0x72, 0xe8, 0x78, 0xd3, 0x12, 0xcb,
  1051. 0x40, 0xf6, 0xdb, 0xb0, 0xf1, 0x19, 0xca, 0xb1, 0x64, 0x04, 0x16, 0x62, 0x1a, 0xa1, 0x49, 0xa5,
  1052. 0xbf, 0xed, 0x73, 0x0b, 0xb6, 0xbe, 0x49, 0xba, 0x93, 0xcc, 0x2e, 0x31, 0xb0, 0xfe, 0x03, 0x03,
  1053. 0xf2, 0x08, 0x56, 0x06, 0x3a, 0x6e, 0x7a, 0x61, 0x73, 0x57, 0x5e, 0x18, 0xa4, 0xee, 0xfa, 0xc6,
  1054. 0x9a, 0xb0, 0xf5, 0x31, 0x86, 0x38, 0x41, 0xaa, 0xe8, 0x04, 0x2f, 0x16, 0xe0, 0x66, 0x1b, 0x29,
  1055. 0xef, 0x1c, 0x4f, 0x5b, 0x86, 0xdf, 0xc2, 0x3a, 0x4f, 0x5d, 0xfc, 0x08, 0x25, 0xed, 0x52, 0x49,
  1056. 0x0d, 0xbf, 0x77, 0x4a, 0xcf, 0x68, 0xe2, 0x3e, 0x31, 0x18, 0x6f, 0x8d, 0x8f, 0x6e, 0x90, 0xaf,
  1057. 0x60, 0x35, 0xeb, 0x27, 0xcf, 0x06, 0xc8, 0x87, 0xba, 0x88, 0x57, 0x5a, 0xb7, 0xa7, 0x51, 0xee,
  1058. 0x6b, 0x05, 0xf0, 0xae, 0x27, 0x97, 0x56, 0xa3, 0x0f, 0x62, 0x61, 0xec, 0x41, 0x8c, 0x3e, 0xa6,
  1059. 0x6b, 0xe3, 0x8f, 0x69, 0x1b, 0x16, 0x59, 0xaf, 0x27, 0x50, 0x56, 0x17, 0x35, 0xd0, 0xac, 0x88,
  1060. 0x03, 0x9b, 0xdd, 0x40, 0xd0, 0x23, 0xd5, 0xf3, 0x12, 0x0c, 0x43, 0xbf, 0x73, 0x8c, 0x9d, 0x93,
  1061. 0xea, 0x52, 0xdd, 0x6a, 0x54, 0xbc, 0x0d, 0x63, 0x6a, 0x2b, 0xcb, 0xbe, 0x32, 0x90, 0x57, 0xa1,
  1062. 0xc2, 0x78, 0x17, 0xb9, 0x7f, 0x34, 0xac, 0x56, 0x74, 0x92, 0x25, 0xbd, 0xde, 0x1b, 0xaa, 0x50,
  1063. 0x1d, 0x2a, 0x54, 0xef, 0x8c, 0x45, 0x20, 0x83, 0x53, 0xf4, 0x05, 0xe3, 0xb2, 0xba, 0x9c, 0x86,
  1064. 0x52, 0xa6, 0x76, 0x66, 0x69, 0x33, 0x2e, 0xc9, 0x77, 0xb0, 0x91, 0xf7, 0x2a, 0x2d, 0x50, 0x80,
  1065. 0xa2, 0x0a, 0xfa, 0xdd, 0xdd, 0x29, 0x95, 0xe8, 0xf3, 0x0c, 0x95, 0x8a, 0xb4, 0x7e, 0x7c, 0x79,
  1066. 0x1d, 0xa0, 0xb0, 0xff, 0x9e, 0x87, 0xed, 0xf1, 0x1a, 0x30, 0x6f, 0xfc, 0x1e, 0x6c, 0xa1, 0x90,
  1067. 0x41, 0x44, 0x25, 0x76, 0x7d, 0xc9, 0x24, 0x0d, 0x53, 0x39, 0x55, 0x49, 0xcc, 0x7b, 0x24, 0xb7,
  1068. 0x1d, 0x2a, 0x93, 0x16, 0xf6, 0x29, 0xac, 0x1b, 0x65, 0x18, 0xe7, 0xd8, 0x51, 0xcd, 0xdd, 0x94,
  1069. 0x87, 0x5b, 0xca, 0x52, 0x8b, 0x16, 0xc4, 0xfd, 0xfd, 0x1c, 0xe6, 0xad, 0xe9, 0x40, 0x17, 0x1b,
  1070. 0xe4, 0x0b, 0xa8, 0xe4, 0x25, 0x97, 0x16, 0xc7, 0xdd, 0x2b, 0x4a, 0x2e, 0x3d, 0x46, 0x5e, 0x73,
  1071. 0x39, 0xbc, 0xa8, 0xf5, 0x2c, 0x14, 0xb4, 0x1e, 0x12, 0xc0, 0x2b, 0xa3, 0xaa, 0x0f, 0x7d, 0x8e,
  1072. 0x62, 0x10, 0x4a, 0x51, 0xbd, 0xa6, 0xb5, 0xdf, 0x99, 0x45, 0x7b, 0x8d, 0xf4, 0x6e, 0x1e, 0x17,
  1073. 0xec, 0x0a, 0xe2, 0xc3, 0xa6, 0x18, 0x44, 0x11, 0xe5, 0xc1, 0x19, 0x76, 0xfd, 0xbc, 0xb5, 0x2e,
  1074. 0xea, 0x34, 0x4e, 0xb9, 0x78, 0x39, 0x2e, 0x7b, 0xf2, 0x44, 0x8c, 0x6f, 0x09, 0xfb, 0x17, 0x0b,
  1075. 0x36, 0x26, 0x3c, 0xff, 0x87, 0x36, 0xfe, 0x18, 0x96, 0xd2, 0x6c, 0xc3, 0xd9, 0xda, 0xad, 0x01,
  1076. 0xb5, 0xfe, 0x59, 0x82, 0x1b, 0x66, 0xb3, 0x9d, 0xfe, 0x48, 0x90, 0xdf, 0x2d, 0xb8, 0x7e, 0x79,
  1077. 0xe8, 0x90, 0x7b, 0xa5, 0x21, 0x0b, 0xc6, 0x68, 0x6d, 0x67, 0x06, 0x44, 0x5a, 0x26, 0xf6, 0xc3,
  1078. 0x9f, 0xff, 0xfc, 0xeb, 0x7c, 0x6e, 0x87, 0xb8, 0xf9, 0xc0, 0xff, 0x31, 0x6d, 0x7a, 0x1f, 0x24,
  1079. 0x9c, 0x7d, 0x8f, 0x1d, 0x29, 0xdc, 0xa6, 0x2b, 0x31, 0xa6, 0xb1, 0xfa, 0x7a, 0xee, 0xe6, 0x0a,
  1080. 0xbc, 0xb4, 0x60, 0x75, 0x64, 0x42, 0x91, 0xf2, 0xec, 0x45, 0xd3, 0xac, 0x36, 0x95, 0x6a, 0xf6,
  1081. 0xae, 0xe6, 0xf8, 0xc0, 0x9e, 0x95, 0xe3, 0xae, 0xd5, 0x24, 0xbf, 0x5a, 0x00, 0x17, 0x83, 0x8d,
  1082. 0x94, 0xd7, 0xd4, 0xc4, 0x04, 0x9c, 0x92, 0x60, 0x81, 0x88, 0x6a, 0xd2, 0x14, 0xd2, 0xcb, 0xd9,
  1083. 0xb9, 0xcd, 0xe7, 0xea, 0xce, 0x57, 0x47, 0x86, 0xe9, 0x15, 0x22, 0x16, 0x0d, 0xde, 0x29, 0x39,
  1084. 0xee, 0x69, 0x8e, 0xef, 0xb7, 0x1e, 0x5e, 0x12, 0xd1, 0xfc, 0xda, 0x4d, 0xc5, 0x55, 0x89, 0x79,
  1085. 0x6e, 0xc1, 0xea, 0xc8, 0x98, 0xbd, 0x82, 0x6e, 0xd1, 0x48, 0xae, 0x6d, 0x4f, 0x8c, 0xf4, 0x4f,
  1086. 0xd4, 0x3f, 0x64, 0x26, 0x62, 0x73, 0x66, 0x11, 0xff, 0xb0, 0xe0, 0xc6, 0x68, 0x2f, 0x27, 0xad,
  1087. 0xf2, 0xd6, 0x51, 0x34, 0xfc, 0x6b, 0xf7, 0x67, 0xc2, 0x98, 0xe7, 0xf3, 0xae, 0x26, 0xdd, 0xb2,
  1088. 0xef, 0x4e, 0x57, 0x9a, 0xbb, 0x42, 0x87, 0xd9, 0xb5, 0x9a, 0x7b, 0x2f, 0x2c, 0x78, 0xa3, 0xc3,
  1089. 0xa2, 0xb2, 0xa4, 0x7b, 0x9b, 0xa3, 0x2d, 0xe2, 0x40, 0x09, 0x76, 0x60, 0x3d, 0xfd, 0xc8, 0x60,
  1090. 0xfa, 0x2c, 0xa4, 0x71, 0xdf, 0x61, 0xbc, 0xef, 0xf6, 0x31, 0xd6, 0x72, 0xba, 0xa9, 0x89, 0x26,
  1091. 0x81, 0x28, 0xfc, 0x9d, 0x7f, 0x94, 0x2e, 0x7f, 0x9b, 0x9b, 0xdf, 0x3f, 0x6c, 0x1f, 0x2d, 0x6a,
  1092. 0xcc, 0xfd, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x67, 0x98, 0x26, 0xf1, 0x0c, 0x00, 0x00,
  1093. }