Class Skill

public final class Skill extends GeneratedMessageV3 implements SkillOrBuilder

Resource that represents a skill of a candidate.

Protobuf type google.cloud.talent.v4beta1.Skill

Implements

SkillOrBuilder

Static Fields

CONTEXT_FIELD_NUMBER

public static final int CONTEXT_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_USED_DATE_FIELD_NUMBER

public static final int LAST_USED_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

LEVEL_FIELD_NUMBER

public static final int LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

SKILL_NAME_SNIPPET_FIELD_NUMBER

public static final int SKILL_NAME_SNIPPET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Skill getDefaultInstance()
Returns
TypeDescription
Skill

getDescriptor()

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

newBuilder()

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

newBuilder(Skill prototype)

public static Skill.Builder newBuilder(Skill prototype)
Parameter
NameDescription
prototypeSkill
Returns
TypeDescription
Skill.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getContext()

public String getContext()

A paragraph describes context of this skill. Number of characters allowed is 100,000.

string context = 4;

Returns
TypeDescription
String

The context.

getContextBytes()

public ByteString getContextBytes()

A paragraph describes context of this skill. Number of characters allowed is 100,000.

string context = 4;

Returns
TypeDescription
ByteString

The bytes for context.

getDefaultInstanceForType()

public Skill getDefaultInstanceForType()
Returns
TypeDescription
Skill

getDisplayName()

public String getDisplayName()

Skill display name. For example, "Java", "Python". Number of characters allowed is 100.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Skill display name. For example, "Java", "Python". Number of characters allowed is 100.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLastUsedDate()

public Date getLastUsedDate()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
TypeDescription
com.google.type.Date

The lastUsedDate.

getLastUsedDateOrBuilder()

public DateOrBuilder getLastUsedDateOrBuilder()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
TypeDescription
com.google.type.DateOrBuilder

getLevel()

public SkillProficiencyLevel getLevel()

Skill proficiency level which indicates how proficient the candidate is at this skill.

.google.cloud.talent.v4beta1.SkillProficiencyLevel level = 3;

Returns
TypeDescription
SkillProficiencyLevel

The level.

getLevelValue()

public int getLevelValue()

Skill proficiency level which indicates how proficient the candidate is at this skill.

.google.cloud.talent.v4beta1.SkillProficiencyLevel level = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for level.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSkillNameSnippet()

public String getSkillNameSnippet()

Output only. Skill name snippet shows how the display_name is related to a search query. It's empty if the display_name isn't related to the search query.

string skill_name_snippet = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The skillNameSnippet.

getSkillNameSnippetBytes()

public ByteString getSkillNameSnippetBytes()

Output only. Skill name snippet shows how the display_name is related to a search query. It's empty if the display_name isn't related to the search query.

string skill_name_snippet = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for skillNameSnippet.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasLastUsedDate()

public boolean hasLastUsedDate()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
TypeDescription
boolean

Whether the lastUsedDate 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 Skill.Builder newBuilderForType()
Returns
TypeDescription
Skill.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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