Class protos.google.cloud.talent.v4beta1.Profile

Represents a Profile.

Package

@google-cloud/talent

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.talent.v4beta1.IProfile);

Constructs a new Profile.

Parameter
NameDescription
properties IProfile

Properties to set

Properties

activities

public activities: google.cloud.talent.v4beta1.IActivity[];

Profile activities.

additionalContactInfo

public additionalContactInfo: google.cloud.talent.v4beta1.IAdditionalContactInfo[];

Profile additionalContactInfo.

addresses

public addresses: google.cloud.talent.v4beta1.IAddress[];

Profile addresses.

applications

public applications: string[];

Profile applications.

assignments

public assignments: string[];

Profile assignments.

availabilitySignals

public availabilitySignals: google.cloud.talent.v4beta1.IAvailabilitySignal[];

Profile availabilitySignals.

candidateUpdateTime

public candidateUpdateTime?: (google.protobuf.ITimestamp|null);

Profile candidateUpdateTime.

certifications

public certifications: google.cloud.talent.v4beta1.ICertification[];

Profile certifications.

createTime

public createTime?: (google.protobuf.ITimestamp|null);

Profile createTime.

customAttributes

public customAttributes: { [k: string]: google.cloud.talent.v4beta1.ICustomAttribute };

Profile customAttributes.

derivedAddresses

public derivedAddresses: google.cloud.talent.v4beta1.ILocation[];

Profile derivedAddresses.

educationRecords

public educationRecords: google.cloud.talent.v4beta1.IEducationRecord[];

Profile educationRecords.

emailAddresses

public emailAddresses: google.cloud.talent.v4beta1.IEmail[];

Profile emailAddresses.

employmentRecords

public employmentRecords: google.cloud.talent.v4beta1.IEmploymentRecord[];

Profile employmentRecords.

externalId

public externalId: string;

Profile externalId.

groupId

public groupId: string;

Profile groupId.

isHirable

public isHirable?: (google.protobuf.IBoolValue|null);

Profile isHirable.

keywordSnippet

public keywordSnippet: string;

Profile keywordSnippet.

name

public name: string;

Profile name.

patents

public patents: google.cloud.talent.v4beta1.IPatent[];

Profile patents.

personalUris

public personalUris: google.cloud.talent.v4beta1.IPersonalUri[];

Profile personalUris.

personNames

public personNames: google.cloud.talent.v4beta1.IPersonName[];

Profile personNames.

phoneNumbers

public phoneNumbers: google.cloud.talent.v4beta1.IPhone[];

Profile phoneNumbers.

processed

public processed: boolean;

Profile processed.

publications

public publications: google.cloud.talent.v4beta1.IPublication[];

Profile publications.

resume

public resume?: (google.cloud.talent.v4beta1.IResume|null);

Profile resume.

resumeUpdateTime

public resumeUpdateTime?: (google.protobuf.ITimestamp|null);

Profile resumeUpdateTime.

skills

public skills: google.cloud.talent.v4beta1.ISkill[];

Profile skills.

source

public source: string;

Profile source.

updateTime

public updateTime?: (google.protobuf.ITimestamp|null);

Profile updateTime.

uri

public uri: string;

Profile uri.

Methods

create(properties)

public static create(properties?: google.cloud.talent.v4beta1.IProfile): google.cloud.talent.v4beta1.Profile;

Creates a new Profile instance using the specified properties.

Parameter
NameDescription
properties IProfile

Properties to set

Returns
TypeDescription
google.cloud.talent.v4beta1.Profile

Profile instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Profile;

Decodes a Profile message from the specified reader or buffer.

Parameters
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
google.cloud.talent.v4beta1.Profile

Profile

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Profile;

Decodes a Profile message from the specified reader or buffer, length delimited.

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
google.cloud.talent.v4beta1.Profile

Profile

encode(message, writer)

public static encode(message: google.cloud.talent.v4beta1.IProfile, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified Profile message. Does not implicitly messages.

Parameters
NameDescription
message IProfile

Profile message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.talent.v4beta1.IProfile, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified Profile message, length delimited. Does not implicitly messages.

Parameters
NameDescription
message IProfile

Profile message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Profile;

Creates a Profile message from a plain object. Also converts values to their respective internal types.

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
google.cloud.talent.v4beta1.Profile

Profile

toJSON()

public toJSON(): { [k: string]: any };

Converts this Profile to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.talent.v4beta1.Profile, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a Profile message. Also converts values to other types if specified.

Parameters
NameDescription
message google.cloud.talent.v4beta1.Profile

Profile

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a Profile message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not