public final class EmploymentRecord extends GeneratedMessageV3 implements EmploymentRecordOrBuilder
Resource that represents an employment record of a candidate.
Protobuf type google.cloud.talent.v4beta1.EmploymentRecord
Static Fields
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
Field Value
DIVISION_NAME_FIELD_NUMBER
public static final int DIVISION_NAME_FIELD_NUMBER
Field Value
EMPLOYER_NAME_FIELD_NUMBER
public static final int EMPLOYER_NAME_FIELD_NUMBER
Field Value
EMPLOYER_NAME_SNIPPET_FIELD_NUMBER
public static final int EMPLOYER_NAME_SNIPPET_FIELD_NUMBER
Field Value
END_DATE_FIELD_NUMBER
public static final int END_DATE_FIELD_NUMBER
Field Value
IS_CURRENT_FIELD_NUMBER
public static final int IS_CURRENT_FIELD_NUMBER
Field Value
IS_SELF_EMPLOYED_FIELD_NUMBER
public static final int IS_SELF_EMPLOYED_FIELD_NUMBER
Field Value
IS_SUPERVISOR_FIELD_NUMBER
public static final int IS_SUPERVISOR_FIELD_NUMBER
Field Value
JOB_DESCRIPTION_FIELD_NUMBER
public static final int JOB_DESCRIPTION_FIELD_NUMBER
Field Value
JOB_DESCRIPTION_SNIPPET_FIELD_NUMBER
public static final int JOB_DESCRIPTION_SNIPPET_FIELD_NUMBER
Field Value
JOB_TITLE_FIELD_NUMBER
public static final int JOB_TITLE_FIELD_NUMBER
Field Value
JOB_TITLE_SNIPPET_FIELD_NUMBER
public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER
Field Value
START_DATE_FIELD_NUMBER
public static final int START_DATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EmploymentRecord getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EmploymentRecord.Builder newBuilder()
Returns
newBuilder(EmploymentRecord prototype)
public static EmploymentRecord.Builder newBuilder(EmploymentRecord prototype)
Parameter
Returns
public static EmploymentRecord parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EmploymentRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EmploymentRecord parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EmploymentRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EmploymentRecord parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EmploymentRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EmploymentRecord parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EmploymentRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EmploymentRecord parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EmploymentRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EmploymentRecord parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EmploymentRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EmploymentRecord> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAddress()
public Address getAddress()
The physical address of the employer.
.google.cloud.talent.v4beta1.Address address = 5;
Returns
getAddressOrBuilder()
public AddressOrBuilder getAddressOrBuilder()
The physical address of the employer.
.google.cloud.talent.v4beta1.Address address = 5;
Returns
getDefaultInstanceForType()
public EmploymentRecord getDefaultInstanceForType()
Returns
getDivisionName()
public String getDivisionName()
The division name of the employment.
For example, division, department, client, and so on.
Number of characters allowed is 100.
string division_name = 4;
Returns
Type | Description |
String | The divisionName.
|
getDivisionNameBytes()
public ByteString getDivisionNameBytes()
The division name of the employment.
For example, division, department, client, and so on.
Number of characters allowed is 100.
string division_name = 4;
Returns
Type | Description |
ByteString | The bytes for divisionName.
|
getEmployerName()
public String getEmployerName()
The name of the employer company/organization.
For example, "Google", "Alphabet", and so on.
Number of characters allowed is 250.
string employer_name = 3;
Returns
Type | Description |
String | The employerName.
|
getEmployerNameBytes()
public ByteString getEmployerNameBytes()
The name of the employer company/organization.
For example, "Google", "Alphabet", and so on.
Number of characters allowed is 250.
string employer_name = 3;
Returns
Type | Description |
ByteString | The bytes for employerName.
|
getEmployerNameSnippet()
public String getEmployerNameSnippet()
Output only. The employer name snippet shows how the employer_name is
related to a search query. It's empty if the employer_name isn't
related to the search query.
string employer_name_snippet = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The employerNameSnippet.
|
getEmployerNameSnippetBytes()
public ByteString getEmployerNameSnippetBytes()
Output only. The employer name snippet shows how the employer_name is
related to a search query. It's empty if the employer_name isn't
related to the search query.
string employer_name_snippet = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for employerNameSnippet.
|
getEndDate()
End date of the employment.
.google.type.Date end_date = 2;
Returns
Type | Description |
com.google.type.Date | The endDate.
|
getEndDateOrBuilder()
public DateOrBuilder getEndDateOrBuilder()
End date of the employment.
.google.type.Date end_date = 2;
Returns
Type | Description |
com.google.type.DateOrBuilder | |
getIsCurrent()
public BoolValue getIsCurrent()
If this employment is current.
.google.protobuf.BoolValue is_current = 10;
Returns
getIsCurrentOrBuilder()
public BoolValueOrBuilder getIsCurrentOrBuilder()
If this employment is current.
.google.protobuf.BoolValue is_current = 10;
Returns
getIsSelfEmployed()
public BoolValue getIsSelfEmployed()
If this employment is self-employed.
.google.protobuf.BoolValue is_self_employed = 9;
Returns
getIsSelfEmployedOrBuilder()
public BoolValueOrBuilder getIsSelfEmployedOrBuilder()
If this employment is self-employed.
.google.protobuf.BoolValue is_self_employed = 9;
Returns
getIsSupervisor()
public BoolValue getIsSupervisor()
If the jobs is a supervisor position.
.google.protobuf.BoolValue is_supervisor = 8;
Returns
getIsSupervisorOrBuilder()
public BoolValueOrBuilder getIsSupervisorOrBuilder()
If the jobs is a supervisor position.
.google.protobuf.BoolValue is_supervisor = 8;
Returns
getJobDescription()
public String getJobDescription()
The description of job content.
Number of characters allowed is 100,000.
string job_description = 7;
Returns
Type | Description |
String | The jobDescription.
|
getJobDescriptionBytes()
public ByteString getJobDescriptionBytes()
The description of job content.
Number of characters allowed is 100,000.
string job_description = 7;
Returns
Type | Description |
ByteString | The bytes for jobDescription.
|
getJobDescriptionSnippet()
public String getJobDescriptionSnippet()
Output only. The job description snippet shows how the job_description
is related to a search query. It's empty if the job_description isn't
related to the search query.
string job_description_snippet = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The jobDescriptionSnippet.
|
getJobDescriptionSnippetBytes()
public ByteString getJobDescriptionSnippetBytes()
Output only. The job description snippet shows how the job_description
is related to a search query. It's empty if the job_description isn't
related to the search query.
string job_description_snippet = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for jobDescriptionSnippet.
|
getJobTitle()
public String getJobTitle()
The job title of the employment.
For example, "Software Engineer", "Data Scientist", and so on.
Number of characters allowed is 250.
string job_title = 6;
Returns
Type | Description |
String | The jobTitle.
|
getJobTitleBytes()
public ByteString getJobTitleBytes()
The job title of the employment.
For example, "Software Engineer", "Data Scientist", and so on.
Number of characters allowed is 250.
string job_title = 6;
Returns
getJobTitleSnippet()
public String getJobTitleSnippet()
Output only. The job title snippet shows how the job_title is related
to a search query. It's empty if the job_title isn't related to the
search query.
string job_title_snippet = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The jobTitleSnippet.
|
getJobTitleSnippetBytes()
public ByteString getJobTitleSnippetBytes()
Output only. The job title snippet shows how the job_title is related
to a search query. It's empty if the job_title isn't related to the
search query.
string job_title_snippet = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for jobTitleSnippet.
|
getParserForType()
public Parser<EmploymentRecord> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartDate()
public Date getStartDate()
Start date of the employment.
.google.type.Date start_date = 1;
Returns
Type | Description |
com.google.type.Date | The startDate.
|
getStartDateOrBuilder()
public DateOrBuilder getStartDateOrBuilder()
Start date of the employment.
.google.type.Date start_date = 1;
Returns
Type | Description |
com.google.type.DateOrBuilder | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAddress()
public boolean hasAddress()
The physical address of the employer.
.google.cloud.talent.v4beta1.Address address = 5;
Returns
Type | Description |
boolean | Whether the address field is set.
|
hasEndDate()
public boolean hasEndDate()
End date of the employment.
.google.type.Date end_date = 2;
Returns
Type | Description |
boolean | Whether the endDate field is set.
|
hasIsCurrent()
public boolean hasIsCurrent()
If this employment is current.
.google.protobuf.BoolValue is_current = 10;
Returns
Type | Description |
boolean | Whether the isCurrent field is set.
|
hasIsSelfEmployed()
public boolean hasIsSelfEmployed()
If this employment is self-employed.
.google.protobuf.BoolValue is_self_employed = 9;
Returns
Type | Description |
boolean | Whether the isSelfEmployed field is set.
|
hasIsSupervisor()
public boolean hasIsSupervisor()
If the jobs is a supervisor position.
.google.protobuf.BoolValue is_supervisor = 8;
Returns
Type | Description |
boolean | Whether the isSupervisor field is set.
|
hasStartDate()
public boolean hasStartDate()
Start date of the employment.
.google.type.Date start_date = 1;
Returns
Type | Description |
boolean | Whether the startDate field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EmploymentRecord.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EmploymentRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EmploymentRecord.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions