Class Job (2.29.0)

public final class Job extends GeneratedMessageV3 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

Implements

JobOrBuilder

Static Fields

ADDRESSES_FIELD_NUMBER

public static final int ADDRESSES_FIELD_NUMBER
Field Value
TypeDescription
int

APPLICATION_INFO_FIELD_NUMBER

public static final int APPLICATION_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

COMPANY_DISPLAY_NAME_FIELD_NUMBER

public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

COMPANY_FIELD_NUMBER

public static final int COMPANY_FIELD_NUMBER
Field Value
TypeDescription
int

COMPENSATION_INFO_FIELD_NUMBER

public static final int COMPENSATION_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_ATTRIBUTES_FIELD_NUMBER

public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

DEGREE_TYPES_FIELD_NUMBER

public static final int DEGREE_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

DEPARTMENT_FIELD_NUMBER

public static final int DEPARTMENT_FIELD_NUMBER
Field Value
TypeDescription
int

DERIVED_INFO_FIELD_NUMBER

public static final int DERIVED_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

EMPLOYMENT_TYPES_FIELD_NUMBER

public static final int EMPLOYMENT_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

INCENTIVES_FIELD_NUMBER

public static final int INCENTIVES_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_BENEFITS_FIELD_NUMBER

public static final int JOB_BENEFITS_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_END_TIME_FIELD_NUMBER

public static final int JOB_END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_LEVEL_FIELD_NUMBER

public static final int JOB_LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_START_TIME_FIELD_NUMBER

public static final int JOB_START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

POSTING_CREATE_TIME_FIELD_NUMBER

public static final int POSTING_CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

POSTING_EXPIRE_TIME_FIELD_NUMBER

public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

POSTING_PUBLISH_TIME_FIELD_NUMBER

public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

POSTING_REGION_FIELD_NUMBER

public static final int POSTING_REGION_FIELD_NUMBER
Field Value
TypeDescription
int

POSTING_UPDATE_TIME_FIELD_NUMBER

public static final int POSTING_UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSING_OPTIONS_FIELD_NUMBER

public static final int PROCESSING_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

PROMOTION_VALUE_FIELD_NUMBER

public static final int PROMOTION_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

QUALIFICATIONS_FIELD_NUMBER

public static final int QUALIFICATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

REQUISITION_ID_FIELD_NUMBER

public static final int REQUISITION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

RESPONSIBILITIES_FIELD_NUMBER

public static final int RESPONSIBILITIES_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

VISIBILITY_FIELD_NUMBER

public static final int VISIBILITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Job getDefaultInstance()
Returns
TypeDescription
Job

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Job.Builder newBuilder()
Returns
TypeDescription
Job.Builder

newBuilder(Job prototype)

public static Job.Builder newBuilder(Job prototype)
Parameter
NameDescription
prototypeJob
Returns
TypeDescription
Job.Builder

parseDelimitedFrom(InputStream input)

public static Job parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Job parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Job parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Job parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Job parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Job parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Job parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Job parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Job
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Job> parser()
Returns
TypeDescription
Parser<Job>

Methods

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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the addresses.

getApplicationInfo()

public Job.ApplicationInfo getApplicationInfo()

Job application information.

.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;

Returns
TypeDescription
Job.ApplicationInfo

The applicationInfo.

getApplicationInfoOrBuilder()

public Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder()

Job application information.

.google.cloud.talent.v4.Job.ApplicationInfo application_info = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CompensationInfo

The compensationInfo.

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
TypeDescription
CompensationInfoOrBuilder

getCustomAttributes()

public Map<String,CustomAttribute> getCustomAttributes()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueCustomAttribute
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
CustomAttribute

getDefaultInstanceForType()

public Job getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Job.DerivedInfo

The derivedInfo.

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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The jobEndTime.

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The jobStartTime.

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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Job> getParserForType()
Returns
TypeDescription
Parser<Job>
Overrides

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
TypeDescription
Timestamp

The postingCreateTime.

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
TypeDescription
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
TypeDescription
Timestamp

The postingExpireTime.

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
TypeDescription
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
TypeDescription
Timestamp

The postingPublishTime.

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The postingUpdateTime.

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
TypeDescription
TimestampOrBuilder

getProcessingOptions()

public Job.ProcessingOptions getProcessingOptions()

Options for job processing.

.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;

Returns
TypeDescription
Job.ProcessingOptions

The processingOptions.

getProcessingOptionsOrBuilder()

public Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder()

Options for job processing.

.google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for responsibilities.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the processingOptions field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Job.Builder newBuilderForType()
Returns
TypeDescription
Job.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Job.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Job.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Job.Builder toBuilder()
Returns
TypeDescription
Job.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException