- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.2.9
public static final class Job.Builder extends GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
A Job resource represents a job posting (also referred to as a "job listing" or "job requisition"). A job belongs to a Company, which is the hiring entity responsible for the job.
Protobuf type google.cloud.talent.v4.Job
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Job.BuilderImplements
JobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAddresses(String value)
public Job.Builder addAddresses(String value)
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Parameter | |
---|---|
Name | Description |
value |
String The addresses to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addAddressesBytes(ByteString value)
public Job.Builder addAddressesBytes(ByteString value)
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the addresses to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addAllAddresses(Iterable<String> values)
public Job.Builder addAllAddresses(Iterable<String> values)
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The addresses to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addAllDegreeTypes(Iterable<? extends DegreeType> values)
public Job.Builder addAllDegreeTypes(Iterable<? extends DegreeType> values)
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.talent.v4.DegreeType> The degreeTypes to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addAllDegreeTypesValue(Iterable<Integer> values)
public Job.Builder addAllDegreeTypesValue(Iterable<Integer> values)
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for degreeTypes to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addAllEmploymentTypes(Iterable<? extends EmploymentType> values)
public Job.Builder addAllEmploymentTypes(Iterable<? extends EmploymentType> values)
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.talent.v4.EmploymentType> The employmentTypes to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addAllEmploymentTypesValue(Iterable<Integer> values)
public Job.Builder addAllEmploymentTypesValue(Iterable<Integer> values)
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for employmentTypes to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addAllJobBenefits(Iterable<? extends JobBenefit> values)
public Job.Builder addAllJobBenefits(Iterable<? extends JobBenefit> values)
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.talent.v4.JobBenefit> The jobBenefits to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addAllJobBenefitsValue(Iterable<Integer> values)
public Job.Builder addAllJobBenefitsValue(Iterable<Integer> values)
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for jobBenefits to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addDegreeTypes(DegreeType value)
public Job.Builder addDegreeTypes(DegreeType value)
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Parameter | |
---|---|
Name | Description |
value |
DegreeType The degreeTypes to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addDegreeTypesValue(int value)
public Job.Builder addDegreeTypesValue(int value)
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for degreeTypes to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addEmploymentTypes(EmploymentType value)
public Job.Builder addEmploymentTypes(EmploymentType value)
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Parameter | |
---|---|
Name | Description |
value |
EmploymentType The employmentTypes to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addEmploymentTypesValue(int value)
public Job.Builder addEmploymentTypesValue(int value)
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for employmentTypes to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addJobBenefits(JobBenefit value)
public Job.Builder addJobBenefits(JobBenefit value)
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Parameter | |
---|---|
Name | Description |
value |
JobBenefit The jobBenefits to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addJobBenefitsValue(int value)
public Job.Builder addJobBenefitsValue(int value)
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for jobBenefits to add. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
build()
public Job build()
Returns | |
---|---|
Type | Description |
Job |
buildPartial()
public Job buildPartial()
Returns | |
---|---|
Type | Description |
Job |
clear()
public Job.Builder clear()
Returns | |
---|---|
Type | Description |
Job.Builder |
clearAddresses()
public Job.Builder clearAddresses()
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearApplicationInfo()
public Job.Builder clearApplicationInfo()
Job application information.
.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearCompany()
public Job.Builder clearCompany()
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/foo/tenants/bar/companies/baz".
string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearCompanyDisplayName()
public Job.Builder clearCompanyDisplayName()
Output only. Display name of the company listing the job.
string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearCompensationInfo()
public Job.Builder clearCompensationInfo()
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee.
.google.cloud.talent.v4.CompensationInfo compensation_info = 9;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearCustomAttributes()
public Job.Builder clearCustomAttributes()
Returns | |
---|---|
Type | Description |
Job.Builder |
clearDegreeTypes()
public Job.Builder clearDegreeTypes()
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearDepartment()
public Job.Builder clearDepartment()
The department or functional area within the company with the open position.
The maximum number of allowed characters is 255.
string department = 12;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearDerivedInfo()
public Job.Builder clearDerivedInfo()
Output only. Derived details about the job posting.
.google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.Builder |
clearDescription()
public Job.Builder clearDescription()
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, 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.
string description = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearEmploymentTypes()
public Job.Builder clearEmploymentTypes()
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Job.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Job.Builder |
clearIncentives()
public Job.Builder clearIncentives()
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.
string incentives = 14;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearJobBenefits()
public Job.Builder clearJobBenefits()
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearJobEndTime()
public Job.Builder clearJobEndTime()
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_end_time = 23;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearJobLevel()
public Job.Builder clearJobLevel()
The experience level associated with the job, such as "Entry Level".
.google.cloud.talent.v4.JobLevel job_level = 16;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearJobStartTime()
public Job.Builder clearJobStartTime()
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_start_time = 22;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearLanguageCode()
public Job.Builder clearLanguageCode()
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{: class="external" target="_blank" }.
If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.
string language_code = 15;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearName()
public Job.Builder clearName()
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/foo/tenants/bar/jobs/baz".
Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.
string name = 1;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Job.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Job.Builder |
clearPostingCreateTime()
public Job.Builder clearPostingCreateTime()
Output only. The timestamp when this job posting was created.
.google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.Builder |
clearPostingExpireTime()
public Job.Builder clearPostingExpireTime()
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 API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the 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, language_code and 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 must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as [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. If the field masks include 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.
.google.protobuf.Timestamp posting_expire_time = 25;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearPostingPublishTime()
public Job.Builder clearPostingPublishTime()
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.
.google.protobuf.Timestamp posting_publish_time = 24;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearPostingRegion()
public Job.Builder clearPostingRegion()
The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a 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 or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.
.google.cloud.talent.v4.PostingRegion posting_region = 20;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearPostingUpdateTime()
public Job.Builder clearPostingUpdateTime()
Output only. The timestamp when this job posting was last updated.
.google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.Builder |
clearProcessingOptions()
public Job.Builder clearProcessingOptions()
Options for job processing.
.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearPromotionValue()
public Job.Builder clearPromotionValue()
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.
int32 promotion_value = 17;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearQualifications()
public Job.Builder clearQualifications()
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 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.
string qualifications = 18;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearRequisitionId()
public Job.Builder clearRequisitionId()
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, language_code and requisition_id.
The maximum number of allowed characters is 255.
string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearResponsibilities()
public Job.Builder clearResponsibilities()
A description of job responsibilities. The use of this field is recommended as an alternative to using the more general 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.
string responsibilities = 19;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearTitle()
public Job.Builder clearTitle()
Required. The title of the job, such as "Software Engineer"
The maximum number of allowed characters is 500.
string title = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearVisibility() (deprecated)
public Job.Builder clearVisibility()
Deprecated. google.cloud.talent.v4.Job.visibility is deprecated. See google/cloud/talent/v4/job.proto;l=295
Deprecated. The job is only visible to the owner.
The visibility of the job.
Defaults to Visibility.ACCOUNT_ONLY if not specified.
.google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true];
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clone()
public Job.Builder clone()
Returns | |
---|---|
Type | Description |
Job.Builder |
containsCustomAttributes(String key)
public boolean containsCustomAttributes(String key)
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAddresses(int index)
public String getAddresses(int index)
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The addresses at the given index. |
getAddressesBytes(int index)
public ByteString getAddressesBytes(int index)
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the addresses at the given index. |
getAddressesCount()
public int getAddressesCount()
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Returns | |
---|---|
Type | Description |
int |
The count of addresses. |
getAddressesList()
public ProtocolStringList getAddressesList()
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the addresses. |
getApplicationInfo()
public Job.ApplicationInfo getApplicationInfo()
Job application information.
.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;
Returns | |
---|---|
Type | Description |
Job.ApplicationInfo |
The applicationInfo. |
getApplicationInfoBuilder()
public Job.ApplicationInfo.Builder getApplicationInfoBuilder()
Job application information.
.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;
Returns | |
---|---|
Type | Description |
Job.ApplicationInfo.Builder |
getApplicationInfoOrBuilder()
public Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder()
Job application information.
.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;
Returns | |
---|---|
Type | Description |
Job.ApplicationInfoOrBuilder |
getCompany()
public String getCompany()
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/foo/tenants/bar/companies/baz".
string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The company. |
getCompanyBytes()
public ByteString getCompanyBytes()
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/foo/tenants/bar/companies/baz".
string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for company. |
getCompanyDisplayName()
public String getCompanyDisplayName()
Output only. Display name of the company listing the job.
string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The companyDisplayName. |
getCompanyDisplayNameBytes()
public ByteString getCompanyDisplayNameBytes()
Output only. Display name of the company listing the job.
string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for companyDisplayName. |
getCompensationInfo()
public CompensationInfo getCompensationInfo()
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee.
.google.cloud.talent.v4.CompensationInfo compensation_info = 9;
Returns | |
---|---|
Type | Description |
CompensationInfo |
The compensationInfo. |
getCompensationInfoBuilder()
public CompensationInfo.Builder getCompensationInfoBuilder()
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee.
.google.cloud.talent.v4.CompensationInfo compensation_info = 9;
Returns | |
---|---|
Type | Description |
CompensationInfo.Builder |
getCompensationInfoOrBuilder()
public CompensationInfoOrBuilder getCompensationInfoOrBuilder()
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee.
.google.cloud.talent.v4.CompensationInfo compensation_info = 9;
Returns | |
---|---|
Type | Description |
CompensationInfoOrBuilder |
getCustomAttributes() (deprecated)
public Map<String,CustomAttribute> getCustomAttributes()
Use #getCustomAttributesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,CustomAttribute> |
getCustomAttributesCount()
public int getCustomAttributesCount()
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Returns | |
---|---|
Type | Description |
int |
getCustomAttributesMap()
public Map<String,CustomAttribute> getCustomAttributesMap()
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Returns | |
---|---|
Type | Description |
Map<String,CustomAttribute> |
getCustomAttributesOrDefault(String key, CustomAttribute defaultValue)
public CustomAttribute getCustomAttributesOrDefault(String key, CustomAttribute defaultValue)
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
CustomAttribute |
Returns | |
---|---|
Type | Description |
CustomAttribute |
getCustomAttributesOrThrow(String key)
public CustomAttribute getCustomAttributesOrThrow(String key)
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
CustomAttribute |
getDefaultInstanceForType()
public Job getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Job |
getDegreeTypes(int index)
public DegreeType getDegreeTypes(int index)
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
DegreeType |
The degreeTypes at the given index. |
getDegreeTypesCount()
public int getDegreeTypesCount()
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Returns | |
---|---|
Type | Description |
int |
The count of degreeTypes. |
getDegreeTypesList()
public List<DegreeType> getDegreeTypesList()
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Returns | |
---|---|
Type | Description |
List<DegreeType> |
A list containing the degreeTypes. |
getDegreeTypesValue(int index)
public int getDegreeTypesValue(int index)
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of degreeTypes at the given index. |
getDegreeTypesValueList()
public List<Integer> getDegreeTypesValueList()
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for degreeTypes. |
getDepartment()
public String getDepartment()
The department or functional area within the company with the open position.
The maximum number of allowed characters is 255.
string department = 12;
Returns | |
---|---|
Type | Description |
String |
The department. |
getDepartmentBytes()
public ByteString getDepartmentBytes()
The department or functional area within the company with the open position.
The maximum number of allowed characters is 255.
string department = 12;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for department. |
getDerivedInfo()
public Job.DerivedInfo getDerivedInfo()
Output only. Derived details about the job posting.
.google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.DerivedInfo |
The derivedInfo. |
getDerivedInfoBuilder()
public Job.DerivedInfo.Builder getDerivedInfoBuilder()
Output only. Derived details about the job posting.
.google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.DerivedInfo.Builder |
getDerivedInfoOrBuilder()
public Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder()
Output only. Derived details about the job posting.
.google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job.DerivedInfoOrBuilder |
getDescription()
public String getDescription()
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, 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.
string description = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
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, 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.
string description = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEmploymentTypes(int index)
public EmploymentType getEmploymentTypes(int index)
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
EmploymentType |
The employmentTypes at the given index. |
getEmploymentTypesCount()
public int getEmploymentTypesCount()
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Returns | |
---|---|
Type | Description |
int |
The count of employmentTypes. |
getEmploymentTypesList()
public List<EmploymentType> getEmploymentTypesList()
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Returns | |
---|---|
Type | Description |
List<EmploymentType> |
A list containing the employmentTypes. |
getEmploymentTypesValue(int index)
public int getEmploymentTypesValue(int index)
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of employmentTypes at the given index. |
getEmploymentTypesValueList()
public List<Integer> getEmploymentTypesValueList()
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for employmentTypes. |
getIncentives()
public String getIncentives()
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.
string incentives = 14;
Returns | |
---|---|
Type | Description |
String |
The incentives. |
getIncentivesBytes()
public ByteString getIncentivesBytes()
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.
string incentives = 14;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for incentives. |
getJobBenefits(int index)
public JobBenefit getJobBenefits(int index)
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
JobBenefit |
The jobBenefits at the given index. |
getJobBenefitsCount()
public int getJobBenefitsCount()
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Returns | |
---|---|
Type | Description |
int |
The count of jobBenefits. |
getJobBenefitsList()
public List<JobBenefit> getJobBenefitsList()
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Returns | |
---|---|
Type | Description |
List<JobBenefit> |
A list containing the jobBenefits. |
getJobBenefitsValue(int index)
public int getJobBenefitsValue(int index)
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of jobBenefits at the given index. |
getJobBenefitsValueList()
public List<Integer> getJobBenefitsValueList()
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for jobBenefits. |
getJobEndTime()
public Timestamp getJobEndTime()
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_end_time = 23;
Returns | |
---|---|
Type | Description |
Timestamp |
The jobEndTime. |
getJobEndTimeBuilder()
public Timestamp.Builder getJobEndTimeBuilder()
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_end_time = 23;
Returns | |
---|---|
Type | Description |
Builder |
getJobEndTimeOrBuilder()
public TimestampOrBuilder getJobEndTimeOrBuilder()
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_end_time = 23;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getJobLevel()
public JobLevel getJobLevel()
The experience level associated with the job, such as "Entry Level".
.google.cloud.talent.v4.JobLevel job_level = 16;
Returns | |
---|---|
Type | Description |
JobLevel |
The jobLevel. |
getJobLevelValue()
public int getJobLevelValue()
The experience level associated with the job, such as "Entry Level".
.google.cloud.talent.v4.JobLevel job_level = 16;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for jobLevel. |
getJobStartTime()
public Timestamp getJobStartTime()
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_start_time = 22;
Returns | |
---|---|
Type | Description |
Timestamp |
The jobStartTime. |
getJobStartTimeBuilder()
public Timestamp.Builder getJobStartTimeBuilder()
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_start_time = 22;
Returns | |
---|---|
Type | Description |
Builder |
getJobStartTimeOrBuilder()
public TimestampOrBuilder getJobStartTimeOrBuilder()
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_start_time = 22;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getLanguageCode()
public String getLanguageCode()
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{: class="external" target="_blank" }.
If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.
string language_code = 15;
Returns | |
---|---|
Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
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{: class="external" target="_blank" }.
If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.
string language_code = 15;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for languageCode. |
getMutableCustomAttributes() (deprecated)
public Map<String,CustomAttribute> getMutableCustomAttributes()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,CustomAttribute> |
getName()
public String getName()
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/foo/tenants/bar/jobs/baz".
Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
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/foo/tenants/bar/jobs/baz".
Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPostingCreateTime()
public Timestamp getPostingCreateTime()
Output only. The timestamp when this job posting was created.
.google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The postingCreateTime. |
getPostingCreateTimeBuilder()
public Timestamp.Builder getPostingCreateTimeBuilder()
Output only. The timestamp when this job posting was created.
.google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getPostingCreateTimeOrBuilder()
public TimestampOrBuilder getPostingCreateTimeOrBuilder()
Output only. The timestamp when this job posting was created.
.google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getPostingExpireTime()
public Timestamp getPostingExpireTime()
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 API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the 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, language_code and 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 must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as [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. If the field masks include 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.
.google.protobuf.Timestamp posting_expire_time = 25;
Returns | |
---|---|
Type | Description |
Timestamp |
The postingExpireTime. |
getPostingExpireTimeBuilder()
public Timestamp.Builder getPostingExpireTimeBuilder()
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 API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the 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, language_code and 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 must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as [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. If the field masks include 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.
.google.protobuf.Timestamp posting_expire_time = 25;
Returns | |
---|---|
Type | Description |
Builder |
getPostingExpireTimeOrBuilder()
public TimestampOrBuilder getPostingExpireTimeOrBuilder()
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 API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the 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, language_code and 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 must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as [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. If the field masks include 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.
.google.protobuf.Timestamp posting_expire_time = 25;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getPostingPublishTime()
public Timestamp getPostingPublishTime()
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.
.google.protobuf.Timestamp posting_publish_time = 24;
Returns | |
---|---|
Type | Description |
Timestamp |
The postingPublishTime. |
getPostingPublishTimeBuilder()
public Timestamp.Builder getPostingPublishTimeBuilder()
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.
.google.protobuf.Timestamp posting_publish_time = 24;
Returns | |
---|---|
Type | Description |
Builder |
getPostingPublishTimeOrBuilder()
public TimestampOrBuilder getPostingPublishTimeOrBuilder()
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.
.google.protobuf.Timestamp posting_publish_time = 24;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getPostingRegion()
public PostingRegion getPostingRegion()
The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a 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 or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.
.google.cloud.talent.v4.PostingRegion posting_region = 20;
Returns | |
---|---|
Type | Description |
PostingRegion |
The postingRegion. |
getPostingRegionValue()
public int getPostingRegionValue()
The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a 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 or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.
.google.cloud.talent.v4.PostingRegion posting_region = 20;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for postingRegion. |
getPostingUpdateTime()
public Timestamp getPostingUpdateTime()
Output only. The timestamp when this job posting was last updated.
.google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The postingUpdateTime. |
getPostingUpdateTimeBuilder()
public Timestamp.Builder getPostingUpdateTimeBuilder()
Output only. The timestamp when this job posting was last updated.
.google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getPostingUpdateTimeOrBuilder()
public TimestampOrBuilder getPostingUpdateTimeOrBuilder()
Output only. The timestamp when this job posting was last updated.
.google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getProcessingOptions()
public Job.ProcessingOptions getProcessingOptions()
Options for job processing.
.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;
Returns | |
---|---|
Type | Description |
Job.ProcessingOptions |
The processingOptions. |
getProcessingOptionsBuilder()
public Job.ProcessingOptions.Builder getProcessingOptionsBuilder()
Options for job processing.
.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;
Returns | |
---|---|
Type | Description |
Job.ProcessingOptions.Builder |
getProcessingOptionsOrBuilder()
public Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder()
Options for job processing.
.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;
Returns | |
---|---|
Type | Description |
Job.ProcessingOptionsOrBuilder |
getPromotionValue()
public int getPromotionValue()
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.
int32 promotion_value = 17;
Returns | |
---|---|
Type | Description |
int |
The promotionValue. |
getQualifications()
public String getQualifications()
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 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.
string qualifications = 18;
Returns | |
---|---|
Type | Description |
String |
The qualifications. |
getQualificationsBytes()
public ByteString getQualificationsBytes()
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 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.
string qualifications = 18;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for qualifications. |
getRequisitionId()
public String getRequisitionId()
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, language_code and requisition_id.
The maximum number of allowed characters is 255.
string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The requisitionId. |
getRequisitionIdBytes()
public ByteString getRequisitionIdBytes()
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, language_code and requisition_id.
The maximum number of allowed characters is 255.
string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requisitionId. |
getResponsibilities()
public String getResponsibilities()
A description of job responsibilities. The use of this field is recommended as an alternative to using the more general 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.
string responsibilities = 19;
Returns | |
---|---|
Type | Description |
String |
The responsibilities. |
getResponsibilitiesBytes()
public ByteString getResponsibilitiesBytes()
A description of job responsibilities. The use of this field is recommended as an alternative to using the more general 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.
string responsibilities = 19;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for responsibilities. |
getTitle()
public String getTitle()
Required. The title of the job, such as "Software Engineer"
The maximum number of allowed characters is 500.
string title = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()
Required. The title of the job, such as "Software Engineer"
The maximum number of allowed characters is 500.
string title = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for title. |
getVisibility() (deprecated)
public Visibility getVisibility()
Deprecated. google.cloud.talent.v4.Job.visibility is deprecated. See google/cloud/talent/v4/job.proto;l=295
Deprecated. The job is only visible to the owner.
The visibility of the job.
Defaults to Visibility.ACCOUNT_ONLY if not specified.
.google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true];
Returns | |
---|---|
Type | Description |
Visibility |
The visibility. |
getVisibilityValue() (deprecated)
public int getVisibilityValue()
Deprecated. google.cloud.talent.v4.Job.visibility is deprecated. See google/cloud/talent/v4/job.proto;l=295
Deprecated. The job is only visible to the owner.
The visibility of the job.
Defaults to Visibility.ACCOUNT_ONLY if not specified.
.google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for visibility. |
hasApplicationInfo()
public boolean hasApplicationInfo()
Job application information.
.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the applicationInfo field is set. |
hasCompensationInfo()
public boolean hasCompensationInfo()
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee.
.google.cloud.talent.v4.CompensationInfo compensation_info = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the compensationInfo field is set. |
hasDerivedInfo()
public boolean hasDerivedInfo()
Output only. Derived details about the job posting.
.google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the derivedInfo field is set. |
hasJobEndTime()
public boolean hasJobEndTime()
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_end_time = 23;
Returns | |
---|---|
Type | Description |
boolean |
Whether the jobEndTime field is set. |
hasJobStartTime()
public boolean hasJobStartTime()
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_start_time = 22;
Returns | |
---|---|
Type | Description |
boolean |
Whether the jobStartTime field is set. |
hasPostingCreateTime()
public boolean hasPostingCreateTime()
Output only. The timestamp when this job posting was created.
.google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the postingCreateTime field is set. |
hasPostingExpireTime()
public boolean hasPostingExpireTime()
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 API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the 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, language_code and 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 must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as [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. If the field masks include 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.
.google.protobuf.Timestamp posting_expire_time = 25;
Returns | |
---|---|
Type | Description |
boolean |
Whether the postingExpireTime field is set. |
hasPostingPublishTime()
public boolean hasPostingPublishTime()
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.
.google.protobuf.Timestamp posting_publish_time = 24;
Returns | |
---|---|
Type | Description |
boolean |
Whether the postingPublishTime field is set. |
hasPostingUpdateTime()
public boolean hasPostingUpdateTime()
Output only. The timestamp when this job posting was last updated.
.google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the postingUpdateTime field is set. |
hasProcessingOptions()
public boolean hasProcessingOptions()
Options for job processing.
.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;
Returns | |
---|---|
Type | Description |
boolean |
Whether the processingOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeApplicationInfo(Job.ApplicationInfo value)
public Job.Builder mergeApplicationInfo(Job.ApplicationInfo value)
Job application information.
.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;
Parameter | |
---|---|
Name | Description |
value |
Job.ApplicationInfo |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeCompensationInfo(CompensationInfo value)
public Job.Builder mergeCompensationInfo(CompensationInfo value)
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee.
.google.cloud.talent.v4.CompensationInfo compensation_info = 9;
Parameter | |
---|---|
Name | Description |
value |
CompensationInfo |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeDerivedInfo(Job.DerivedInfo value)
public Job.Builder mergeDerivedInfo(Job.DerivedInfo value)
Output only. Derived details about the job posting.
.google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Job.DerivedInfo |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeFrom(Job other)
public Job.Builder mergeFrom(Job other)
Parameter | |
---|---|
Name | Description |
other |
Job |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Job.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Job.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Job.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeJobEndTime(Timestamp value)
public Job.Builder mergeJobEndTime(Timestamp value)
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_end_time = 23;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeJobStartTime(Timestamp value)
public Job.Builder mergeJobStartTime(Timestamp value)
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_start_time = 22;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergePostingCreateTime(Timestamp value)
public Job.Builder mergePostingCreateTime(Timestamp value)
Output only. The timestamp when this job posting was created.
.google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergePostingExpireTime(Timestamp value)
public Job.Builder mergePostingExpireTime(Timestamp value)
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 API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the 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, language_code and 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 must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as [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. If the field masks include 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.
.google.protobuf.Timestamp posting_expire_time = 25;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergePostingPublishTime(Timestamp value)
public Job.Builder mergePostingPublishTime(Timestamp value)
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.
.google.protobuf.Timestamp posting_publish_time = 24;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergePostingUpdateTime(Timestamp value)
public Job.Builder mergePostingUpdateTime(Timestamp value)
Output only. The timestamp when this job posting was last updated.
.google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeProcessingOptions(Job.ProcessingOptions value)
public Job.Builder mergeProcessingOptions(Job.ProcessingOptions value)
Options for job processing.
.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;
Parameter | |
---|---|
Name | Description |
value |
Job.ProcessingOptions |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Job.Builder |
putAllCustomAttributes(Map<String,CustomAttribute> values)
public Job.Builder putAllCustomAttributes(Map<String,CustomAttribute> values)
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Parameter | |
---|---|
Name | Description |
values |
Map<String,CustomAttribute> |
Returns | |
---|---|
Type | Description |
Job.Builder |
putCustomAttributes(String key, CustomAttribute value)
public Job.Builder putCustomAttributes(String key, CustomAttribute value)
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
CustomAttribute |
Returns | |
---|---|
Type | Description |
Job.Builder |
putCustomAttributesBuilderIfAbsent(String key)
public CustomAttribute.Builder putCustomAttributesBuilderIfAbsent(String key)
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
CustomAttribute.Builder |
removeCustomAttributes(String key)
public Job.Builder removeCustomAttributes(String key)
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*
. 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.
map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Job.Builder |
setAddresses(int index, String value)
public Job.Builder setAddresses(int index, String value)
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_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original 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.
Jobs with multiple addresses must have their addresses with the same [LocationType][] to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a [LocationType.STREET_ADDRESS][] and the second is a [LocationType.LOCALITY][].) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes.
The maximum number of allowed characters is 500.
repeated string addresses = 6;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The addresses to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setApplicationInfo(Job.ApplicationInfo value)
public Job.Builder setApplicationInfo(Job.ApplicationInfo value)
Job application information.
.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;
Parameter | |
---|---|
Name | Description |
value |
Job.ApplicationInfo |
Returns | |
---|---|
Type | Description |
Job.Builder |
setApplicationInfo(Job.ApplicationInfo.Builder builderForValue)
public Job.Builder setApplicationInfo(Job.ApplicationInfo.Builder builderForValue)
Job application information.
.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
Job.ApplicationInfo.Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setCompany(String value)
public Job.Builder setCompany(String value)
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/foo/tenants/bar/companies/baz".
string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The company to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setCompanyBytes(ByteString value)
public Job.Builder setCompanyBytes(ByteString value)
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/foo/tenants/bar/companies/baz".
string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for company to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setCompanyDisplayName(String value)
public Job.Builder setCompanyDisplayName(String value)
Output only. Display name of the company listing the job.
string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The companyDisplayName to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setCompanyDisplayNameBytes(ByteString value)
public Job.Builder setCompanyDisplayNameBytes(ByteString value)
Output only. Display name of the company listing the job.
string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for companyDisplayName to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setCompensationInfo(CompensationInfo value)
public Job.Builder setCompensationInfo(CompensationInfo value)
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee.
.google.cloud.talent.v4.CompensationInfo compensation_info = 9;
Parameter | |
---|---|
Name | Description |
value |
CompensationInfo |
Returns | |
---|---|
Type | Description |
Job.Builder |
setCompensationInfo(CompensationInfo.Builder builderForValue)
public Job.Builder setCompensationInfo(CompensationInfo.Builder builderForValue)
Job compensation information (a.k.a. "pay rate") i.e., the compensation that will paid to the employee.
.google.cloud.talent.v4.CompensationInfo compensation_info = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
CompensationInfo.Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setDegreeTypes(int index, DegreeType value)
public Job.Builder setDegreeTypes(int index, DegreeType value)
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
DegreeType The degreeTypes to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setDegreeTypesValue(int index, int value)
public Job.Builder setDegreeTypesValue(int index, int value)
The desired education degrees for the job, such as Bachelors, Masters.
repeated .google.cloud.talent.v4.DegreeType degree_types = 11;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for degreeTypes to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setDepartment(String value)
public Job.Builder setDepartment(String value)
The department or functional area within the company with the open position.
The maximum number of allowed characters is 255.
string department = 12;
Parameter | |
---|---|
Name | Description |
value |
String The department to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setDepartmentBytes(ByteString value)
public Job.Builder setDepartmentBytes(ByteString value)
The department or functional area within the company with the open position.
The maximum number of allowed characters is 255.
string department = 12;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for department to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setDerivedInfo(Job.DerivedInfo value)
public Job.Builder setDerivedInfo(Job.DerivedInfo value)
Output only. Derived details about the job posting.
.google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Job.DerivedInfo |
Returns | |
---|---|
Type | Description |
Job.Builder |
setDerivedInfo(Job.DerivedInfo.Builder builderForValue)
public Job.Builder setDerivedInfo(Job.DerivedInfo.Builder builderForValue)
Output only. Derived details about the job posting.
.google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Job.DerivedInfo.Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setDescription(String value)
public Job.Builder setDescription(String value)
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, 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.
string description = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Job.Builder setDescriptionBytes(ByteString value)
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, 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.
string description = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setEmploymentTypes(int index, EmploymentType value)
public Job.Builder setEmploymentTypes(int index, EmploymentType value)
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
EmploymentType The employmentTypes to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setEmploymentTypesValue(int index, int value)
public Job.Builder setEmploymentTypesValue(int index, int value)
The employment type(s) of a job, for example, full time or part time.
repeated .google.cloud.talent.v4.EmploymentType employment_types = 13;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for employmentTypes to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
setIncentives(String value)
public Job.Builder setIncentives(String value)
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.
string incentives = 14;
Parameter | |
---|---|
Name | Description |
value |
String The incentives to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setIncentivesBytes(ByteString value)
public Job.Builder setIncentivesBytes(ByteString value)
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.
string incentives = 14;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for incentives to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setJobBenefits(int index, JobBenefit value)
public Job.Builder setJobBenefits(int index, JobBenefit value)
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
JobBenefit The jobBenefits to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setJobBenefitsValue(int index, int value)
public Job.Builder setJobBenefitsValue(int index, int value)
The benefits included with the job.
repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for jobBenefits to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setJobEndTime(Timestamp value)
public Job.Builder setJobEndTime(Timestamp value)
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_end_time = 23;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setJobEndTime(Timestamp.Builder builderForValue)
public Job.Builder setJobEndTime(Timestamp.Builder builderForValue)
The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_end_time = 23;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setJobLevel(JobLevel value)
public Job.Builder setJobLevel(JobLevel value)
The experience level associated with the job, such as "Entry Level".
.google.cloud.talent.v4.JobLevel job_level = 16;
Parameter | |
---|---|
Name | Description |
value |
JobLevel The jobLevel to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setJobLevelValue(int value)
public Job.Builder setJobLevelValue(int value)
The experience level associated with the job, such as "Entry Level".
.google.cloud.talent.v4.JobLevel job_level = 16;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for jobLevel to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setJobStartTime(Timestamp value)
public Job.Builder setJobStartTime(Timestamp value)
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_start_time = 22;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setJobStartTime(Timestamp.Builder builderForValue)
public Job.Builder setJobStartTime(Timestamp.Builder builderForValue)
The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.
.google.protobuf.Timestamp job_start_time = 22;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setLanguageCode(String value)
public Job.Builder setLanguageCode(String value)
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{: class="external" target="_blank" }.
If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.
string language_code = 15;
Parameter | |
---|---|
Name | Description |
value |
String The languageCode to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public Job.Builder setLanguageCodeBytes(ByteString value)
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{: class="external" target="_blank" }.
If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.
string language_code = 15;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for languageCode to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setName(String value)
public Job.Builder setName(String value)
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/foo/tenants/bar/jobs/baz".
Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Job.Builder setNameBytes(ByteString value)
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/foo/tenants/bar/jobs/baz".
Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setPostingCreateTime(Timestamp value)
public Job.Builder setPostingCreateTime(Timestamp value)
Output only. The timestamp when this job posting was created.
.google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setPostingCreateTime(Timestamp.Builder builderForValue)
public Job.Builder setPostingCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when this job posting was created.
.google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setPostingExpireTime(Timestamp value)
public Job.Builder setPostingExpireTime(Timestamp value)
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 API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the 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, language_code and 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 must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as [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. If the field masks include 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.
.google.protobuf.Timestamp posting_expire_time = 25;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setPostingExpireTime(Timestamp.Builder builderForValue)
public Job.Builder setPostingExpireTime(Timestamp.Builder builderForValue)
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 API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the 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, language_code and 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 must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as [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. If the field masks include 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.
.google.protobuf.Timestamp posting_expire_time = 25;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setPostingPublishTime(Timestamp value)
public Job.Builder setPostingPublishTime(Timestamp value)
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.
.google.protobuf.Timestamp posting_publish_time = 24;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setPostingPublishTime(Timestamp.Builder builderForValue)
public Job.Builder setPostingPublishTime(Timestamp.Builder builderForValue)
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.
.google.protobuf.Timestamp posting_publish_time = 24;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setPostingRegion(PostingRegion value)
public Job.Builder setPostingRegion(PostingRegion value)
The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a 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 or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.
.google.cloud.talent.v4.PostingRegion posting_region = 20;
Parameter | |
---|---|
Name | Description |
value |
PostingRegion The postingRegion to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setPostingRegionValue(int value)
public Job.Builder setPostingRegionValue(int value)
The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a 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 or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.
.google.cloud.talent.v4.PostingRegion posting_region = 20;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for postingRegion to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setPostingUpdateTime(Timestamp value)
public Job.Builder setPostingUpdateTime(Timestamp value)
Output only. The timestamp when this job posting was last updated.
.google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setPostingUpdateTime(Timestamp.Builder builderForValue)
public Job.Builder setPostingUpdateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when this job posting was last updated.
.google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setProcessingOptions(Job.ProcessingOptions value)
public Job.Builder setProcessingOptions(Job.ProcessingOptions value)
Options for job processing.
.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;
Parameter | |
---|---|
Name | Description |
value |
Job.ProcessingOptions |
Returns | |
---|---|
Type | Description |
Job.Builder |
setProcessingOptions(Job.ProcessingOptions.Builder builderForValue)
public Job.Builder setProcessingOptions(Job.ProcessingOptions.Builder builderForValue)
Options for job processing.
.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;
Parameter | |
---|---|
Name | Description |
builderForValue |
Job.ProcessingOptions.Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setPromotionValue(int value)
public Job.Builder setPromotionValue(int value)
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.
int32 promotion_value = 17;
Parameter | |
---|---|
Name | Description |
value |
int The promotionValue to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setQualifications(String value)
public Job.Builder setQualifications(String value)
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 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.
string qualifications = 18;
Parameter | |
---|---|
Name | Description |
value |
String The qualifications to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setQualificationsBytes(ByteString value)
public Job.Builder setQualificationsBytes(ByteString value)
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 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.
string qualifications = 18;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for qualifications to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Job.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
setRequisitionId(String value)
public Job.Builder setRequisitionId(String value)
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, language_code and requisition_id.
The maximum number of allowed characters is 255.
string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The requisitionId to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setRequisitionIdBytes(ByteString value)
public Job.Builder setRequisitionIdBytes(ByteString value)
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, language_code and requisition_id.
The maximum number of allowed characters is 255.
string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requisitionId to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setResponsibilities(String value)
public Job.Builder setResponsibilities(String value)
A description of job responsibilities. The use of this field is recommended as an alternative to using the more general 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.
string responsibilities = 19;
Parameter | |
---|---|
Name | Description |
value |
String The responsibilities to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setResponsibilitiesBytes(ByteString value)
public Job.Builder setResponsibilitiesBytes(ByteString value)
A description of job responsibilities. The use of this field is recommended as an alternative to using the more general 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.
string responsibilities = 19;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for responsibilities to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setTitle(String value)
public Job.Builder setTitle(String value)
Required. The title of the job, such as "Software Engineer"
The maximum number of allowed characters is 500.
string title = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The title to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public Job.Builder setTitleBytes(ByteString value)
Required. The title of the job, such as "Software Engineer"
The maximum number of allowed characters is 500.
string title = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Job.Builder |
setVisibility(Visibility value) (deprecated)
public Job.Builder setVisibility(Visibility value)
Deprecated. google.cloud.talent.v4.Job.visibility is deprecated. See google/cloud/talent/v4/job.proto;l=295
Deprecated. The job is only visible to the owner.
The visibility of the job.
Defaults to Visibility.ACCOUNT_ONLY if not specified.
.google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
Visibility The visibility to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setVisibilityValue(int value) (deprecated)
public Job.Builder setVisibilityValue(int value)
Deprecated. google.cloud.talent.v4.Job.visibility is deprecated. See google/cloud/talent/v4/job.proto;l=295
Deprecated. The job is only visible to the owner.
The visibility of the job.
Defaults to Visibility.ACCOUNT_ONLY if not specified.
.google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for visibility to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |