Class Skill.Builder (2.2.9)

public static final class Skill.Builder extends GeneratedMessageV3.Builder<Skill.Builder> implements SkillOrBuilder

Resource that represents a skill of a candidate.

Protobuf type google.cloud.talent.v4beta1.Skill

Implements

SkillOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Skill.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Skill.Builder
Overrides

build()

public Skill build()
Returns
Type Description
Skill

buildPartial()

public Skill buildPartial()
Returns
Type Description
Skill

clear()

public Skill.Builder clear()
Returns
Type Description
Skill.Builder
Overrides

clearContext()

public Skill.Builder clearContext()

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

string context = 4;

Returns
Type Description
Skill.Builder

This builder for chaining.

clearDisplayName()

public Skill.Builder clearDisplayName()

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

string display_name = 1;

Returns
Type Description
Skill.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Skill.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Skill.Builder
Overrides

clearLastUsedDate()

public Skill.Builder clearLastUsedDate()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
Type Description
Skill.Builder

clearLevel()

public Skill.Builder clearLevel()

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

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

Returns
Type Description
Skill.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Skill.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Skill.Builder
Overrides

clearSkillNameSnippet()

public Skill.Builder clearSkillNameSnippet()

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
Type Description
Skill.Builder

This builder for chaining.

clone()

public Skill.Builder clone()
Returns
Type Description
Skill.Builder
Overrides

getContext()

public String getContext()

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

string context = 4;

Returns
Type Description
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
Type Description
ByteString

The bytes for context.

getDefaultInstanceForType()

public Skill getDefaultInstanceForType()
Returns
Type Description
Skill

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

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

string display_name = 1;

Returns
Type Description
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
Type Description
ByteString

The bytes for displayName.

getLastUsedDate()

public Date getLastUsedDate()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
Type Description
com.google.type.Date

The lastUsedDate.

getLastUsedDateBuilder()

public Date.Builder getLastUsedDateBuilder()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
Type Description
com.google.type.Date.Builder

getLastUsedDateOrBuilder()

public DateOrBuilder getLastUsedDateOrBuilder()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for level.

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
Type Description
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
Type Description
ByteString

The bytes for skillNameSnippet.

hasLastUsedDate()

public boolean hasLastUsedDate()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
Type Description
boolean

Whether the lastUsedDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Skill other)

public Skill.Builder mergeFrom(Skill other)
Parameter
Name Description
other Skill
Returns
Type Description
Skill.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Skill.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Skill.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public Skill.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Skill.Builder
Overrides

mergeLastUsedDate(Date value)

public Skill.Builder mergeLastUsedDate(Date value)

The last time this skill was used.

.google.type.Date last_used_date = 2;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Skill.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Skill.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Skill.Builder
Overrides

setContext(String value)

public Skill.Builder setContext(String value)

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

string context = 4;

Parameter
Name Description
value String

The context to set.

Returns
Type Description
Skill.Builder

This builder for chaining.

setContextBytes(ByteString value)

public Skill.Builder setContextBytes(ByteString value)

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

string context = 4;

Parameter
Name Description
value ByteString

The bytes for context to set.

Returns
Type Description
Skill.Builder

This builder for chaining.

setDisplayName(String value)

public Skill.Builder setDisplayName(String value)

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

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Skill.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Skill.Builder setDisplayNameBytes(ByteString value)

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

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Skill.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Skill.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Skill.Builder
Overrides

setLastUsedDate(Date value)

public Skill.Builder setLastUsedDate(Date value)

The last time this skill was used.

.google.type.Date last_used_date = 2;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Skill.Builder

setLastUsedDate(Date.Builder builderForValue)

public Skill.Builder setLastUsedDate(Date.Builder builderForValue)

The last time this skill was used.

.google.type.Date last_used_date = 2;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
Skill.Builder

setLevel(SkillProficiencyLevel value)

public Skill.Builder setLevel(SkillProficiencyLevel value)

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

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

Parameter
Name Description
value SkillProficiencyLevel

The level to set.

Returns
Type Description
Skill.Builder

This builder for chaining.

setLevelValue(int value)

public Skill.Builder setLevelValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for level to set.

Returns
Type Description
Skill.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Skill.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Skill.Builder
Overrides

setSkillNameSnippet(String value)

public Skill.Builder setSkillNameSnippet(String value)

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];

Parameter
Name Description
value String

The skillNameSnippet to set.

Returns
Type Description
Skill.Builder

This builder for chaining.

setSkillNameSnippetBytes(ByteString value)

public Skill.Builder setSkillNameSnippetBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for skillNameSnippet to set.

Returns
Type Description
Skill.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Skill.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Skill.Builder
Overrides