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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Skill.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Skill.Builder
Overrides

build()

public Skill build()
Returns
TypeDescription
Skill

buildPartial()

public Skill buildPartial()
Returns
TypeDescription
Skill

clear()

public Skill.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Skill.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Skill.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Skill.Builder
Overrides

clearLastUsedDate()

public Skill.Builder clearLastUsedDate()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
TypeDescription
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
TypeDescription
Skill.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Skill.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Skill.Builder

This builder for chaining.

clone()

public Skill.Builder clone()
Returns
TypeDescription
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
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getLastUsedDateBuilder()

public Date.Builder getLastUsedDateBuilder()

The last time this skill was used.

.google.type.Date last_used_date = 2;

Returns
TypeDescription
com.google.type.Date.Builder

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.

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Skill other)

public Skill.Builder mergeFrom(Skill other)
Parameter
NameDescription
otherSkill
Returns
TypeDescription
Skill.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Skill.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Skill.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Skill.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Skill.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Skill.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The context to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for context to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Skill.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Skill.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
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
NameDescription
valueSkillProficiencyLevel

The level to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The skillNameSnippet to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for skillNameSnippet to set.

Returns
TypeDescription
Skill.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Skill.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Skill.Builder
Overrides