Class EmploymentRecord

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

DIVISION_NAME_FIELD_NUMBER

public static final int DIVISION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EMPLOYER_NAME_FIELD_NUMBER

public static final int EMPLOYER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EMPLOYER_NAME_SNIPPET_FIELD_NUMBER

public static final int EMPLOYER_NAME_SNIPPET_FIELD_NUMBER
Field Value
TypeDescription
int

END_DATE_FIELD_NUMBER

public static final int END_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

IS_CURRENT_FIELD_NUMBER

public static final int IS_CURRENT_FIELD_NUMBER
Field Value
TypeDescription
int

IS_SELF_EMPLOYED_FIELD_NUMBER

public static final int IS_SELF_EMPLOYED_FIELD_NUMBER
Field Value
TypeDescription
int

IS_SUPERVISOR_FIELD_NUMBER

public static final int IS_SUPERVISOR_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_DESCRIPTION_FIELD_NUMBER

public static final int JOB_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_DESCRIPTION_SNIPPET_FIELD_NUMBER

public static final int JOB_DESCRIPTION_SNIPPET_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_TITLE_FIELD_NUMBER

public static final int JOB_TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_TITLE_SNIPPET_FIELD_NUMBER

public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER
Field Value
TypeDescription
int

START_DATE_FIELD_NUMBER

public static final int START_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EmploymentRecord getDefaultInstance()
Returns
TypeDescription
EmploymentRecord

getDescriptor()

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

newBuilder()

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

newBuilder(EmploymentRecord prototype)

public static EmploymentRecord.Builder newBuilder(EmploymentRecord prototype)
Parameter
NameDescription
prototypeEmploymentRecord
Returns
TypeDescription
EmploymentRecord.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAddress()

public Address getAddress()

The physical address of the employer.

.google.cloud.talent.v4beta1.Address address = 5;

Returns
TypeDescription
Address

The address.

getAddressOrBuilder()

public AddressOrBuilder getAddressOrBuilder()

The physical address of the employer.

.google.cloud.talent.v4beta1.Address address = 5;

Returns
TypeDescription
AddressOrBuilder

getDefaultInstanceForType()

public EmploymentRecord getDefaultInstanceForType()
Returns
TypeDescription
EmploymentRecord

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

The bytes for employerNameSnippet.

getEndDate()

public Date getEndDate()

End date of the employment.

.google.type.Date end_date = 2;

Returns
TypeDescription
com.google.type.Date

The endDate.

getEndDateOrBuilder()

public DateOrBuilder getEndDateOrBuilder()

End date of the employment.

.google.type.Date end_date = 2;

Returns
TypeDescription
com.google.type.DateOrBuilder

getIsCurrent()

public BoolValue getIsCurrent()

If this employment is current.

.google.protobuf.BoolValue is_current = 10;

Returns
TypeDescription
BoolValue

The isCurrent.

getIsCurrentOrBuilder()

public BoolValueOrBuilder getIsCurrentOrBuilder()

If this employment is current.

.google.protobuf.BoolValue is_current = 10;

Returns
TypeDescription
BoolValueOrBuilder

getIsSelfEmployed()

public BoolValue getIsSelfEmployed()

If this employment is self-employed.

.google.protobuf.BoolValue is_self_employed = 9;

Returns
TypeDescription
BoolValue

The isSelfEmployed.

getIsSelfEmployedOrBuilder()

public BoolValueOrBuilder getIsSelfEmployedOrBuilder()

If this employment is self-employed.

.google.protobuf.BoolValue is_self_employed = 9;

Returns
TypeDescription
BoolValueOrBuilder

getIsSupervisor()

public BoolValue getIsSupervisor()

If the jobs is a supervisor position.

.google.protobuf.BoolValue is_supervisor = 8;

Returns
TypeDescription
BoolValue

The isSupervisor.

getIsSupervisorOrBuilder()

public BoolValueOrBuilder getIsSupervisorOrBuilder()

If the jobs is a supervisor position.

.google.protobuf.BoolValue is_supervisor = 8;

Returns
TypeDescription
BoolValueOrBuilder

getJobDescription()

public String getJobDescription()

The description of job content. Number of characters allowed is 100,000.

string job_description = 7;

Returns
TypeDescription
String

The jobDescription.

getJobDescriptionBytes()

public ByteString getJobDescriptionBytes()

The description of job content. Number of characters allowed is 100,000.

string job_description = 7;

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

The bytes for jobTitle.

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

The bytes for jobTitleSnippet.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartDate()

public Date getStartDate()

Start date of the employment.

.google.type.Date start_date = 1;

Returns
TypeDescription
com.google.type.Date

The startDate.

getStartDateOrBuilder()

public DateOrBuilder getStartDateOrBuilder()

Start date of the employment.

.google.type.Date start_date = 1;

Returns
TypeDescription
com.google.type.DateOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAddress()

public boolean hasAddress()

The physical address of the employer.

.google.cloud.talent.v4beta1.Address address = 5;

Returns
TypeDescription
boolean

Whether the address field is set.

hasEndDate()

public boolean hasEndDate()

End date of the employment.

.google.type.Date end_date = 2;

Returns
TypeDescription
boolean

Whether the endDate field is set.

hasIsCurrent()

public boolean hasIsCurrent()

If this employment is current.

.google.protobuf.BoolValue is_current = 10;

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

Whether the isSupervisor field is set.

hasStartDate()

public boolean hasStartDate()

Start date of the employment.

.google.type.Date start_date = 1;

Returns
TypeDescription
boolean

Whether the startDate field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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