| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/talent/v4beta1/job.proto |
| |
| package talent |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| timestamp "github.com/golang/protobuf/ptypes/timestamp" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| _ "google.golang.org/genproto/googleapis/type/postaladdress" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // A Job resource represents a job posting (also referred to as a "job listing" |
| // or "job requisition"). A job belongs to a |
| // [Company][google.cloud.talent.v4beta1.Company], which is the hiring entity |
| // responsible for the job. |
| type Job struct { |
| // Required during job update. |
| // |
| // The resource name for the job. This is generated by the service when a |
| // job is created. |
| // |
| // The format is |
| // "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for |
| // example, "projects/api-test-project/tenants/foo/jobs/1234". |
| // |
| // Tenant id is optional and the default tenant is used if unspecified, for |
| // example, "projects/api-test-project/jobs/1234". |
| // |
| // Use of this field in job queries and API calls is preferred over the use of |
| // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] since this |
| // value is unique. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Required. The resource name of the company listing the job. |
| // |
| // The format is |
| // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for |
| // example, "projects/api-test-project/tenants/foo/companies/bar". |
| // |
| // Tenant id is optional and the default tenant is used if unspecified, for |
| // example, "projects/api-test-project/companies/bar". |
| Company string `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"` |
| // Required. The requisition ID, also referred to as the posting ID, is |
| // assigned by the client to identify a job. This field is intended to be used |
| // by clients for client identification and tracking of postings. A job isn't |
| // allowed to be created if there is another job with the same |
| // [company][google.cloud.talent.v4beta1.Job.name], |
| // [language_code][google.cloud.talent.v4beta1.Job.language_code] and |
| // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]. |
| // |
| // The maximum number of allowed characters is 255. |
| RequisitionId string `protobuf:"bytes,3,opt,name=requisition_id,json=requisitionId,proto3" json:"requisition_id,omitempty"` |
| // Required. The title of the job, such as "Software Engineer" |
| // |
| // The maximum number of allowed characters is 500. |
| Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` |
| // Required. The description of the job, which typically includes a |
| // multi-paragraph description of the company and related information. |
| // Separate fields are provided on the job object for |
| // [responsibilities][google.cloud.talent.v4beta1.Job.responsibilities], |
| // [qualifications][google.cloud.talent.v4beta1.Job.qualifications], and other |
| // job characteristics. Use of these separate job fields is recommended. |
| // |
| // This field accepts and sanitizes HTML input, and also accepts |
| // bold, italic, ordered list, and unordered list markup tags. |
| // |
| // The maximum number of allowed characters is 100,000. |
| Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` |
| // Optional but strongly recommended for the best service experience. |
| // |
| // Location(s) where the employer is looking to hire for this job posting. |
| // |
| // Specifying the full street address(es) of the hiring location enables |
| // better API results, especially job searches by commute time. |
| // |
| // At most 50 locations are allowed for best search performance. If a job has |
| // more locations, it is suggested to split it into multiple jobs with unique |
| // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]s (e.g. |
| // 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the |
| // same [company][google.cloud.talent.v4beta1.Job.company], |
| // [language_code][google.cloud.talent.v4beta1.Job.language_code] and |
| // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] are not |
| // allowed. If the original |
| // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id] must be |
| // preserved, a custom field should be used for storage. It is also suggested |
| // to group the locations that close to each other in the same job for better |
| // search experience. |
| // |
| // The maximum number of allowed characters is 500. |
| Addresses []string `protobuf:"bytes,6,rep,name=addresses,proto3" json:"addresses,omitempty"` |
| // Optional. Job application information. |
| ApplicationInfo *Job_ApplicationInfo `protobuf:"bytes,7,opt,name=application_info,json=applicationInfo,proto3" json:"application_info,omitempty"` |
| // Optional. The benefits included with the job. |
| JobBenefits []JobBenefit `protobuf:"varint,8,rep,packed,name=job_benefits,json=jobBenefits,proto3,enum=google.cloud.talent.v4beta1.JobBenefit" json:"job_benefits,omitempty"` |
| // Optional. Job compensation information (a.k.a. "pay rate") i.e., the |
| // compensation that will paid to the employee. |
| CompensationInfo *CompensationInfo `protobuf:"bytes,9,opt,name=compensation_info,json=compensationInfo,proto3" json:"compensation_info,omitempty"` |
| // Optional. A map of fields to hold both filterable and non-filterable custom |
| // job attributes that are not covered by the provided structured fields. |
| // |
| // The keys of the map are strings up to 64 bytes and must match the |
| // pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or |
| // KEY_1_LIKE_THIS. |
| // |
| // At most 100 filterable and at most 100 unfilterable keys are supported. |
| // For filterable `string_values`, across all keys at most 200 values are |
| // allowed, with each string no more than 255 characters. For unfilterable |
| // `string_values`, the maximum total size of `string_values` across all keys |
| // is 50KB. |
| CustomAttributes map[string]*CustomAttribute `protobuf:"bytes,10,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // Optional. The desired education degrees for the job, such as Bachelors, |
| // Masters. |
| DegreeTypes []DegreeType `protobuf:"varint,11,rep,packed,name=degree_types,json=degreeTypes,proto3,enum=google.cloud.talent.v4beta1.DegreeType" json:"degree_types,omitempty"` |
| // Optional. The department or functional area within the company with the |
| // open position. |
| // |
| // The maximum number of allowed characters is 255. |
| Department string `protobuf:"bytes,12,opt,name=department,proto3" json:"department,omitempty"` |
| // Optional. The employment type(s) of a job, for example, |
| // [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or |
| // [part time][google.cloud.talent.v4beta1.EmploymentType.PART_TIME]. |
| EmploymentTypes []EmploymentType `protobuf:"varint,13,rep,packed,name=employment_types,json=employmentTypes,proto3,enum=google.cloud.talent.v4beta1.EmploymentType" json:"employment_types,omitempty"` |
| // Optional. A description of bonus, commission, and other compensation |
| // incentives associated with the job not including salary or pay. |
| // |
| // The maximum number of allowed characters is 10,000. |
| Incentives string `protobuf:"bytes,14,opt,name=incentives,proto3" json:"incentives,omitempty"` |
| // Optional. The language of the posting. This field is distinct from |
| // any requirements for fluency that are associated with the job. |
| // |
| // Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". |
| // For more information, see |
| // [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: |
| // class="external" target="_blank" }. |
| // |
| // If this field is unspecified and |
| // [Job.description][google.cloud.talent.v4beta1.Job.description] is present, |
| // detected language code based on |
| // [Job.description][google.cloud.talent.v4beta1.Job.description] is assigned, |
| // otherwise defaults to 'en_US'. |
| LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| // Optional. The experience level associated with the job, such as "Entry |
| // Level". |
| JobLevel JobLevel `protobuf:"varint,16,opt,name=job_level,json=jobLevel,proto3,enum=google.cloud.talent.v4beta1.JobLevel" json:"job_level,omitempty"` |
| // Optional. A promotion value of the job, as determined by the client. |
| // The value determines the sort order of the jobs returned when searching for |
| // jobs using the featured jobs search call, with higher promotional values |
| // being returned first and ties being resolved by relevance sort. Only the |
| // jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH. |
| // |
| // Default value is 0, and negative values are treated as 0. |
| PromotionValue int32 `protobuf:"varint,17,opt,name=promotion_value,json=promotionValue,proto3" json:"promotion_value,omitempty"` |
| // Optional. A description of the qualifications required to perform the |
| // job. The use of this field is recommended |
| // as an alternative to using the more general |
| // [description][google.cloud.talent.v4beta1.Job.description] field. |
| // |
| // This field accepts and sanitizes HTML input, and also accepts |
| // bold, italic, ordered list, and unordered list markup tags. |
| // |
| // The maximum number of allowed characters is 10,000. |
| Qualifications string `protobuf:"bytes,18,opt,name=qualifications,proto3" json:"qualifications,omitempty"` |
| // Optional. A description of job responsibilities. The use of this field is |
| // recommended as an alternative to using the more general |
| // [description][google.cloud.talent.v4beta1.Job.description] field. |
| // |
| // This field accepts and sanitizes HTML input, and also accepts |
| // bold, italic, ordered list, and unordered list markup tags. |
| // |
| // The maximum number of allowed characters is 10,000. |
| Responsibilities string `protobuf:"bytes,19,opt,name=responsibilities,proto3" json:"responsibilities,omitempty"` |
| // Optional. The job |
| // [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, |
| // state, country) throughout which the job is available. If this field is |
| // set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in a |
| // search query within the job region finds this job posting if an exact |
| // location match isn't specified. If this field is set to |
| // [PostingRegion.NATION][google.cloud.talent.v4beta1.PostingRegion.NATION] or |
| // [PostingRegion.ADMINISTRATIVE_AREA][google.cloud.talent.v4beta1.PostingRegion.ADMINISTRATIVE_AREA], |
| // setting job [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] to |
| // the same location level as this field is strongly recommended. |
| PostingRegion PostingRegion `protobuf:"varint,20,opt,name=posting_region,json=postingRegion,proto3,enum=google.cloud.talent.v4beta1.PostingRegion" json:"posting_region,omitempty"` |
| // Optional. The visibility of the job. |
| // |
| // Defaults to |
| // [Visibility.ACCOUNT_ONLY][google.cloud.talent.v4beta1.Visibility.ACCOUNT_ONLY] |
| // if not specified. |
| Visibility Visibility `protobuf:"varint,21,opt,name=visibility,proto3,enum=google.cloud.talent.v4beta1.Visibility" json:"visibility,omitempty"` |
| // Optional. The start timestamp of the job in UTC time zone. Typically this |
| // field is used for contracting engagements. Invalid timestamps are ignored. |
| JobStartTime *timestamp.Timestamp `protobuf:"bytes,22,opt,name=job_start_time,json=jobStartTime,proto3" json:"job_start_time,omitempty"` |
| // Optional. The end timestamp of the job. Typically this field is used for |
| // contracting engagements. Invalid timestamps are ignored. |
| JobEndTime *timestamp.Timestamp `protobuf:"bytes,23,opt,name=job_end_time,json=jobEndTime,proto3" json:"job_end_time,omitempty"` |
| // Optional. The timestamp this job posting was most recently published. The |
| // default value is the time the request arrives at the server. Invalid |
| // timestamps are ignored. |
| PostingPublishTime *timestamp.Timestamp `protobuf:"bytes,24,opt,name=posting_publish_time,json=postingPublishTime,proto3" json:"posting_publish_time,omitempty"` |
| // Optional but strongly recommended for the best service |
| // experience. |
| // |
| // The expiration timestamp of the job. After this timestamp, the |
| // job is marked as expired, and it no longer appears in search results. The |
| // expired job can't be listed by the |
| // [ListJobs][google.cloud.talent.v4beta1.JobService.ListJobs] API, but it can |
| // be retrieved with the |
| // [GetJob][google.cloud.talent.v4beta1.JobService.GetJob] API or updated with |
| // the [UpdateJob][google.cloud.talent.v4beta1.JobService.UpdateJob] API or |
| // deleted with the |
| // [DeleteJob][google.cloud.talent.v4beta1.JobService.DeleteJob] API. An |
| // expired job can be updated and opened again by using a future expiration |
| // timestamp. Updating an expired job fails if there is another existing open |
| // job with same [company][google.cloud.talent.v4beta1.Job.company], |
| // [language_code][google.cloud.talent.v4beta1.Job.language_code] and |
| // [requisition_id][google.cloud.talent.v4beta1.Job.requisition_id]. |
| // |
| // The expired jobs are retained in our system for 90 days. However, the |
| // overall expired job count cannot exceed 3 times the maximum number of |
| // open jobs over previous 7 days. If this threshold is exceeded, |
| // expired jobs are cleaned out in order of earliest expire time. |
| // Expired jobs are no longer accessible after they are cleaned |
| // out. |
| // |
| // Invalid timestamps are ignored, and treated as expire time not provided. |
| // |
| // If the timestamp is before the instant request is made, the job |
| // is treated as expired immediately on creation. This kind of job can |
| // not be updated. And when creating a job with past timestamp, the |
| // [posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] |
| // must be set before |
| // [posting_expire_time][google.cloud.talent.v4beta1.Job.posting_expire_time]. |
| // The purpose of this feature is to allow other objects, such as |
| // [Application][google.cloud.talent.v4beta1.Application], to refer a job that |
| // didn't exist in the system prior to becoming expired. If you want to modify |
| // a job that was expired on creation, delete it and create a new one. |
| // |
| // If this value isn't provided at the time of job creation or is invalid, |
| // the job posting expires after 30 days from the job's creation time. For |
| // example, if the job was created on 2017/01/01 13:00AM UTC with an |
| // unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. |
| // |
| // If this value isn't provided on job update, it depends on the field masks |
| // set by |
| // [UpdateJobRequest.update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask]. |
| // If the field masks include |
| // [job_end_time][google.cloud.talent.v4beta1.Job.job_end_time], or the masks |
| // are empty meaning that every field is updated, the job posting expires |
| // after 30 days from the job's last update time. Otherwise the expiration |
| // date isn't updated. |
| PostingExpireTime *timestamp.Timestamp `protobuf:"bytes,25,opt,name=posting_expire_time,json=postingExpireTime,proto3" json:"posting_expire_time,omitempty"` |
| // Output only. The timestamp when this job posting was created. |
| PostingCreateTime *timestamp.Timestamp `protobuf:"bytes,26,opt,name=posting_create_time,json=postingCreateTime,proto3" json:"posting_create_time,omitempty"` |
| // Output only. The timestamp when this job posting was last updated. |
| PostingUpdateTime *timestamp.Timestamp `protobuf:"bytes,27,opt,name=posting_update_time,json=postingUpdateTime,proto3" json:"posting_update_time,omitempty"` |
| // Output only. Display name of the company listing the job. |
| CompanyDisplayName string `protobuf:"bytes,28,opt,name=company_display_name,json=companyDisplayName,proto3" json:"company_display_name,omitempty"` |
| // Output only. Derived details about the job posting. |
| DerivedInfo *Job_DerivedInfo `protobuf:"bytes,29,opt,name=derived_info,json=derivedInfo,proto3" json:"derived_info,omitempty"` |
| // Optional. Options for job processing. |
| ProcessingOptions *Job_ProcessingOptions `protobuf:"bytes,30,opt,name=processing_options,json=processingOptions,proto3" json:"processing_options,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Job) Reset() { *m = Job{} } |
| func (m *Job) String() string { return proto.CompactTextString(m) } |
| func (*Job) ProtoMessage() {} |
| func (*Job) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c717d27462774c27, []int{0} |
| } |
| |
| func (m *Job) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Job.Unmarshal(m, b) |
| } |
| func (m *Job) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Job.Marshal(b, m, deterministic) |
| } |
| func (m *Job) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Job.Merge(m, src) |
| } |
| func (m *Job) XXX_Size() int { |
| return xxx_messageInfo_Job.Size(m) |
| } |
| func (m *Job) XXX_DiscardUnknown() { |
| xxx_messageInfo_Job.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Job proto.InternalMessageInfo |
| |
| func (m *Job) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Job) GetCompany() string { |
| if m != nil { |
| return m.Company |
| } |
| return "" |
| } |
| |
| func (m *Job) GetRequisitionId() string { |
| if m != nil { |
| return m.RequisitionId |
| } |
| return "" |
| } |
| |
| func (m *Job) GetTitle() string { |
| if m != nil { |
| return m.Title |
| } |
| return "" |
| } |
| |
| func (m *Job) GetDescription() string { |
| if m != nil { |
| return m.Description |
| } |
| return "" |
| } |
| |
| func (m *Job) GetAddresses() []string { |
| if m != nil { |
| return m.Addresses |
| } |
| return nil |
| } |
| |
| func (m *Job) GetApplicationInfo() *Job_ApplicationInfo { |
| if m != nil { |
| return m.ApplicationInfo |
| } |
| return nil |
| } |
| |
| func (m *Job) GetJobBenefits() []JobBenefit { |
| if m != nil { |
| return m.JobBenefits |
| } |
| return nil |
| } |
| |
| func (m *Job) GetCompensationInfo() *CompensationInfo { |
| if m != nil { |
| return m.CompensationInfo |
| } |
| return nil |
| } |
| |
| func (m *Job) GetCustomAttributes() map[string]*CustomAttribute { |
| if m != nil { |
| return m.CustomAttributes |
| } |
| return nil |
| } |
| |
| func (m *Job) GetDegreeTypes() []DegreeType { |
| if m != nil { |
| return m.DegreeTypes |
| } |
| return nil |
| } |
| |
| func (m *Job) GetDepartment() string { |
| if m != nil { |
| return m.Department |
| } |
| return "" |
| } |
| |
| func (m *Job) GetEmploymentTypes() []EmploymentType { |
| if m != nil { |
| return m.EmploymentTypes |
| } |
| return nil |
| } |
| |
| func (m *Job) GetIncentives() string { |
| if m != nil { |
| return m.Incentives |
| } |
| return "" |
| } |
| |
| func (m *Job) GetLanguageCode() string { |
| if m != nil { |
| return m.LanguageCode |
| } |
| return "" |
| } |
| |
| func (m *Job) GetJobLevel() JobLevel { |
| if m != nil { |
| return m.JobLevel |
| } |
| return JobLevel_JOB_LEVEL_UNSPECIFIED |
| } |
| |
| func (m *Job) GetPromotionValue() int32 { |
| if m != nil { |
| return m.PromotionValue |
| } |
| return 0 |
| } |
| |
| func (m *Job) GetQualifications() string { |
| if m != nil { |
| return m.Qualifications |
| } |
| return "" |
| } |
| |
| func (m *Job) GetResponsibilities() string { |
| if m != nil { |
| return m.Responsibilities |
| } |
| return "" |
| } |
| |
| func (m *Job) GetPostingRegion() PostingRegion { |
| if m != nil { |
| return m.PostingRegion |
| } |
| return PostingRegion_POSTING_REGION_UNSPECIFIED |
| } |
| |
| func (m *Job) GetVisibility() Visibility { |
| if m != nil { |
| return m.Visibility |
| } |
| return Visibility_VISIBILITY_UNSPECIFIED |
| } |
| |
| func (m *Job) GetJobStartTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.JobStartTime |
| } |
| return nil |
| } |
| |
| func (m *Job) GetJobEndTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.JobEndTime |
| } |
| return nil |
| } |
| |
| func (m *Job) GetPostingPublishTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.PostingPublishTime |
| } |
| return nil |
| } |
| |
| func (m *Job) GetPostingExpireTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.PostingExpireTime |
| } |
| return nil |
| } |
| |
| func (m *Job) GetPostingCreateTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.PostingCreateTime |
| } |
| return nil |
| } |
| |
| func (m *Job) GetPostingUpdateTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.PostingUpdateTime |
| } |
| return nil |
| } |
| |
| func (m *Job) GetCompanyDisplayName() string { |
| if m != nil { |
| return m.CompanyDisplayName |
| } |
| return "" |
| } |
| |
| func (m *Job) GetDerivedInfo() *Job_DerivedInfo { |
| if m != nil { |
| return m.DerivedInfo |
| } |
| return nil |
| } |
| |
| func (m *Job) GetProcessingOptions() *Job_ProcessingOptions { |
| if m != nil { |
| return m.ProcessingOptions |
| } |
| return nil |
| } |
| |
| // Application related details of a job posting. |
| type Job_ApplicationInfo struct { |
| // Optional. Use this field to specify email address(es) to which resumes or |
| // applications can be sent. |
| // |
| // The maximum number of allowed characters for each entry is 255. |
| Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` |
| // Optional. Use this field to provide instructions, such as "Mail your |
| // application to ...", that a candidate can follow to apply for the job. |
| // |
| // This field accepts and sanitizes HTML input, and also accepts |
| // bold, italic, ordered list, and unordered list markup tags. |
| // |
| // The maximum number of allowed characters is 3,000. |
| Instruction string `protobuf:"bytes,2,opt,name=instruction,proto3" json:"instruction,omitempty"` |
| // Optional. Use this URI field to direct an applicant to a website, for |
| // example to link to an online application form. |
| // |
| // The maximum number of allowed characters for each entry is 2,000. |
| Uris []string `protobuf:"bytes,3,rep,name=uris,proto3" json:"uris,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Job_ApplicationInfo) Reset() { *m = Job_ApplicationInfo{} } |
| func (m *Job_ApplicationInfo) String() string { return proto.CompactTextString(m) } |
| func (*Job_ApplicationInfo) ProtoMessage() {} |
| func (*Job_ApplicationInfo) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c717d27462774c27, []int{0, 0} |
| } |
| |
| func (m *Job_ApplicationInfo) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Job_ApplicationInfo.Unmarshal(m, b) |
| } |
| func (m *Job_ApplicationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Job_ApplicationInfo.Marshal(b, m, deterministic) |
| } |
| func (m *Job_ApplicationInfo) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Job_ApplicationInfo.Merge(m, src) |
| } |
| func (m *Job_ApplicationInfo) XXX_Size() int { |
| return xxx_messageInfo_Job_ApplicationInfo.Size(m) |
| } |
| func (m *Job_ApplicationInfo) XXX_DiscardUnknown() { |
| xxx_messageInfo_Job_ApplicationInfo.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Job_ApplicationInfo proto.InternalMessageInfo |
| |
| func (m *Job_ApplicationInfo) GetEmails() []string { |
| if m != nil { |
| return m.Emails |
| } |
| return nil |
| } |
| |
| func (m *Job_ApplicationInfo) GetInstruction() string { |
| if m != nil { |
| return m.Instruction |
| } |
| return "" |
| } |
| |
| func (m *Job_ApplicationInfo) GetUris() []string { |
| if m != nil { |
| return m.Uris |
| } |
| return nil |
| } |
| |
| // Output only. |
| // |
| // Derived details about the job posting. |
| type Job_DerivedInfo struct { |
| // Structured locations of the job, resolved from |
| // [Job.addresses][google.cloud.talent.v4beta1.Job.addresses]. |
| // |
| // [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are |
| // exactly matched to |
| // [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same |
| // order. |
| Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` |
| // Job categories derived from |
| // [Job.title][google.cloud.talent.v4beta1.Job.title] and |
| // [Job.description][google.cloud.talent.v4beta1.Job.description]. |
| JobCategories []JobCategory `protobuf:"varint,3,rep,packed,name=job_categories,json=jobCategories,proto3,enum=google.cloud.talent.v4beta1.JobCategory" json:"job_categories,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Job_DerivedInfo) Reset() { *m = Job_DerivedInfo{} } |
| func (m *Job_DerivedInfo) String() string { return proto.CompactTextString(m) } |
| func (*Job_DerivedInfo) ProtoMessage() {} |
| func (*Job_DerivedInfo) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c717d27462774c27, []int{0, 1} |
| } |
| |
| func (m *Job_DerivedInfo) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Job_DerivedInfo.Unmarshal(m, b) |
| } |
| func (m *Job_DerivedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Job_DerivedInfo.Marshal(b, m, deterministic) |
| } |
| func (m *Job_DerivedInfo) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Job_DerivedInfo.Merge(m, src) |
| } |
| func (m *Job_DerivedInfo) XXX_Size() int { |
| return xxx_messageInfo_Job_DerivedInfo.Size(m) |
| } |
| func (m *Job_DerivedInfo) XXX_DiscardUnknown() { |
| xxx_messageInfo_Job_DerivedInfo.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Job_DerivedInfo proto.InternalMessageInfo |
| |
| func (m *Job_DerivedInfo) GetLocations() []*Location { |
| if m != nil { |
| return m.Locations |
| } |
| return nil |
| } |
| |
| func (m *Job_DerivedInfo) GetJobCategories() []JobCategory { |
| if m != nil { |
| return m.JobCategories |
| } |
| return nil |
| } |
| |
| // Input only. |
| // |
| // Options for job processing. |
| type Job_ProcessingOptions struct { |
| // Optional. If set to `true`, the service does not attempt to resolve a |
| // more precise address for the job. |
| DisableStreetAddressResolution bool `protobuf:"varint,1,opt,name=disable_street_address_resolution,json=disableStreetAddressResolution,proto3" json:"disable_street_address_resolution,omitempty"` |
| // Optional. Option for job HTML content sanitization. Applied fields are: |
| // |
| // * description |
| // * applicationInfo.instruction |
| // * incentives |
| // * qualifications |
| // * responsibilities |
| // |
| // HTML tags in these fields may be stripped if sanitiazation isn't |
| // disabled. |
| // |
| // Defaults to |
| // [HtmlSanitization.SIMPLE_FORMATTING_ONLY][google.cloud.talent.v4beta1.HtmlSanitization.SIMPLE_FORMATTING_ONLY]. |
| HtmlSanitization HtmlSanitization `protobuf:"varint,2,opt,name=html_sanitization,json=htmlSanitization,proto3,enum=google.cloud.talent.v4beta1.HtmlSanitization" json:"html_sanitization,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Job_ProcessingOptions) Reset() { *m = Job_ProcessingOptions{} } |
| func (m *Job_ProcessingOptions) String() string { return proto.CompactTextString(m) } |
| func (*Job_ProcessingOptions) ProtoMessage() {} |
| func (*Job_ProcessingOptions) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c717d27462774c27, []int{0, 2} |
| } |
| |
| func (m *Job_ProcessingOptions) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Job_ProcessingOptions.Unmarshal(m, b) |
| } |
| func (m *Job_ProcessingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Job_ProcessingOptions.Marshal(b, m, deterministic) |
| } |
| func (m *Job_ProcessingOptions) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Job_ProcessingOptions.Merge(m, src) |
| } |
| func (m *Job_ProcessingOptions) XXX_Size() int { |
| return xxx_messageInfo_Job_ProcessingOptions.Size(m) |
| } |
| func (m *Job_ProcessingOptions) XXX_DiscardUnknown() { |
| xxx_messageInfo_Job_ProcessingOptions.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Job_ProcessingOptions proto.InternalMessageInfo |
| |
| func (m *Job_ProcessingOptions) GetDisableStreetAddressResolution() bool { |
| if m != nil { |
| return m.DisableStreetAddressResolution |
| } |
| return false |
| } |
| |
| func (m *Job_ProcessingOptions) GetHtmlSanitization() HtmlSanitization { |
| if m != nil { |
| return m.HtmlSanitization |
| } |
| return HtmlSanitization_HTML_SANITIZATION_UNSPECIFIED |
| } |
| |
| func init() { |
| proto.RegisterType((*Job)(nil), "google.cloud.talent.v4beta1.Job") |
| proto.RegisterMapType((map[string]*CustomAttribute)(nil), "google.cloud.talent.v4beta1.Job.CustomAttributesEntry") |
| proto.RegisterType((*Job_ApplicationInfo)(nil), "google.cloud.talent.v4beta1.Job.ApplicationInfo") |
| proto.RegisterType((*Job_DerivedInfo)(nil), "google.cloud.talent.v4beta1.Job.DerivedInfo") |
| proto.RegisterType((*Job_ProcessingOptions)(nil), "google.cloud.talent.v4beta1.Job.ProcessingOptions") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/talent/v4beta1/job.proto", fileDescriptor_c717d27462774c27) |
| } |
| |
| var fileDescriptor_c717d27462774c27 = []byte{ |
| // 1091 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x51, 0x73, 0x1b, 0x35, |
| 0x10, 0x1e, 0xc7, 0x4d, 0x1b, 0xcb, 0x89, 0x63, 0xab, 0x69, 0x11, 0x6e, 0x48, 0x0d, 0x4c, 0xa8, |
| 0xa7, 0x80, 0x5d, 0x02, 0xc3, 0x30, 0xc0, 0x03, 0x89, 0x93, 0x81, 0x64, 0x32, 0x24, 0x5c, 0x42, |
| 0x1e, 0xca, 0xc3, 0x8d, 0xee, 0x6e, 0x73, 0x91, 0xb9, 0x93, 0x14, 0x49, 0xe7, 0xc1, 0x3c, 0xf0, |
| 0x63, 0xe0, 0x5f, 0xf0, 0x27, 0xf8, 0x4b, 0x8c, 0xa4, 0xb3, 0xe3, 0xba, 0x1d, 0x3b, 0x6f, 0xda, |
| 0xd5, 0xf7, 0x7d, 0xab, 0xdb, 0xd3, 0xee, 0x0a, 0xed, 0xa6, 0x42, 0xa4, 0x19, 0xf4, 0xe3, 0x4c, |
| 0x14, 0x49, 0x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