Class Activity.Builder (2.2.9)

public static final class Activity.Builder extends GeneratedMessageV3.Builder<Activity.Builder> implements ActivityOrBuilder

Resource that represents an individual or collaborative activity participated in by a candidate, for example, an open-source project, a class assignment, and so on.

Protobuf type google.cloud.talent.v4beta1.Activity

Implements

ActivityOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllSkillsUsed(Iterable<? extends Skill> values)

public Activity.Builder addAllSkillsUsed(Iterable<? extends Skill> values)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4beta1.Skill>
Returns
TypeDescription
Activity.Builder

addAllSkillsUsedSnippet(Iterable<String> values)

public Activity.Builder addAllSkillsUsedSnippet(Iterable<String> values)

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<String>

The skillsUsedSnippet to add.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

addAllTeamMembers(Iterable<String> values)

public Activity.Builder addAllTeamMembers(Iterable<String> values)

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Parameter
NameDescription
valuesIterable<String>

The teamMembers to add.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSkillsUsed(Skill value)

public Activity.Builder addSkillsUsed(Skill value)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameter
NameDescription
valueSkill
Returns
TypeDescription
Activity.Builder

addSkillsUsed(Skill.Builder builderForValue)

public Activity.Builder addSkillsUsed(Skill.Builder builderForValue)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameter
NameDescription
builderForValueSkill.Builder
Returns
TypeDescription
Activity.Builder

addSkillsUsed(int index, Skill value)

public Activity.Builder addSkillsUsed(int index, Skill value)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameters
NameDescription
indexint
valueSkill
Returns
TypeDescription
Activity.Builder

addSkillsUsed(int index, Skill.Builder builderForValue)

public Activity.Builder addSkillsUsed(int index, Skill.Builder builderForValue)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameters
NameDescription
indexint
builderForValueSkill.Builder
Returns
TypeDescription
Activity.Builder

addSkillsUsedBuilder()

public Skill.Builder addSkillsUsedBuilder()

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Returns
TypeDescription
Skill.Builder

addSkillsUsedBuilder(int index)

public Skill.Builder addSkillsUsedBuilder(int index)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Skill.Builder

addSkillsUsedSnippet(String value)

public Activity.Builder addSkillsUsedSnippet(String value)

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The skillsUsedSnippet to add.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

addSkillsUsedSnippetBytes(ByteString value)

public Activity.Builder addSkillsUsedSnippetBytes(ByteString value)

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes of the skillsUsedSnippet to add.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

addTeamMembers(String value)

public Activity.Builder addTeamMembers(String value)

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Parameter
NameDescription
valueString

The teamMembers to add.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

addTeamMembersBytes(ByteString value)

public Activity.Builder addTeamMembersBytes(ByteString value)

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Parameter
NameDescription
valueByteString

The bytes of the teamMembers to add.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

build()

public Activity build()
Returns
TypeDescription
Activity

buildPartial()

public Activity buildPartial()
Returns
TypeDescription
Activity

clear()

public Activity.Builder clear()
Returns
TypeDescription
Activity.Builder
Overrides

clearActivityDescriptionSnippet()

public Activity.Builder clearActivityDescriptionSnippet()

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

string activity_description_snippet = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Activity.Builder

This builder for chaining.

clearActivityNameSnippet()

public Activity.Builder clearActivityNameSnippet()

Output only. Activity 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 activity_name_snippet = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Activity.Builder

This builder for chaining.

clearCreateDate()

public Activity.Builder clearCreateDate()

The first creation date of the activity.

.google.type.Date create_date = 4;

Returns
TypeDescription
Activity.Builder

clearDescription()

public Activity.Builder clearDescription()

Activity description. Number of characters allowed is 100,000.

string description = 2;

Returns
TypeDescription
Activity.Builder

This builder for chaining.

clearDisplayName()

public Activity.Builder clearDisplayName()

Activity display name. Number of characters allowed is 100.

string display_name = 1;

Returns
TypeDescription
Activity.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Activity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Activity.Builder
Overrides

clearSkillsUsed()

public Activity.Builder clearSkillsUsed()

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Returns
TypeDescription
Activity.Builder

clearSkillsUsedSnippet()

public Activity.Builder clearSkillsUsedSnippet()

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Activity.Builder

This builder for chaining.

clearTeamMembers()

public Activity.Builder clearTeamMembers()

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Returns
TypeDescription
Activity.Builder

This builder for chaining.

clearUpdateDate()

public Activity.Builder clearUpdateDate()

The last update date of the activity.

.google.type.Date update_date = 5;

Returns
TypeDescription
Activity.Builder

clearUri()

public Activity.Builder clearUri()

Activity URI. Number of characters allowed is 4,000.

string uri = 3;

Returns
TypeDescription
Activity.Builder

This builder for chaining.

clone()

public Activity.Builder clone()
Returns
TypeDescription
Activity.Builder
Overrides

getActivityDescriptionSnippet()

public String getActivityDescriptionSnippet()

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

string activity_description_snippet = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The activityDescriptionSnippet.

getActivityDescriptionSnippetBytes()

public ByteString getActivityDescriptionSnippetBytes()

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

string activity_description_snippet = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for activityDescriptionSnippet.

getActivityNameSnippet()

public String getActivityNameSnippet()

Output only. Activity 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 activity_name_snippet = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The activityNameSnippet.

getActivityNameSnippetBytes()

public ByteString getActivityNameSnippetBytes()

Output only. Activity 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 activity_name_snippet = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for activityNameSnippet.

getCreateDate()

public Date getCreateDate()

The first creation date of the activity.

.google.type.Date create_date = 4;

Returns
TypeDescription
com.google.type.Date

The createDate.

getCreateDateBuilder()

public Date.Builder getCreateDateBuilder()

The first creation date of the activity.

.google.type.Date create_date = 4;

Returns
TypeDescription
com.google.type.Date.Builder

getCreateDateOrBuilder()

public DateOrBuilder getCreateDateOrBuilder()

The first creation date of the activity.

.google.type.Date create_date = 4;

Returns
TypeDescription
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public Activity getDefaultInstanceForType()
Returns
TypeDescription
Activity

getDescription()

public String getDescription()

Activity description. Number of characters allowed is 100,000.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Activity description. Number of characters allowed is 100,000.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Activity display name. Number of characters allowed is 100.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Activity display name. Number of characters allowed is 100.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getSkillsUsed(int index)

public Skill getSkillsUsed(int index)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Skill

getSkillsUsedBuilder(int index)

public Skill.Builder getSkillsUsedBuilder(int index)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Skill.Builder

getSkillsUsedBuilderList()

public List<Skill.Builder> getSkillsUsedBuilderList()

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Returns
TypeDescription
List<Builder>

getSkillsUsedCount()

public int getSkillsUsedCount()

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Returns
TypeDescription
int

getSkillsUsedList()

public List<Skill> getSkillsUsedList()

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Returns
TypeDescription
List<Skill>

getSkillsUsedOrBuilder(int index)

public SkillOrBuilder getSkillsUsedOrBuilder(int index)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
SkillOrBuilder

getSkillsUsedOrBuilderList()

public List<? extends SkillOrBuilder> getSkillsUsedOrBuilderList()

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4beta1.SkillOrBuilder>

getSkillsUsedSnippet(int index)

public String getSkillsUsedSnippet(int index)

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The skillsUsedSnippet at the given index.

getSkillsUsedSnippetBytes(int index)

public ByteString getSkillsUsedSnippetBytes(int index)

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the skillsUsedSnippet at the given index.

getSkillsUsedSnippetCount()

public int getSkillsUsedSnippetCount()

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of skillsUsedSnippet.

getSkillsUsedSnippetList()

public ProtocolStringList getSkillsUsedSnippetList()

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ProtocolStringList

A list containing the skillsUsedSnippet.

getTeamMembers(int index)

public String getTeamMembers(int index)

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The teamMembers at the given index.

getTeamMembersBytes(int index)

public ByteString getTeamMembersBytes(int index)

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the teamMembers at the given index.

getTeamMembersCount()

public int getTeamMembersCount()

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Returns
TypeDescription
int

The count of teamMembers.

getTeamMembersList()

public ProtocolStringList getTeamMembersList()

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Returns
TypeDescription
ProtocolStringList

A list containing the teamMembers.

getUpdateDate()

public Date getUpdateDate()

The last update date of the activity.

.google.type.Date update_date = 5;

Returns
TypeDescription
com.google.type.Date

The updateDate.

getUpdateDateBuilder()

public Date.Builder getUpdateDateBuilder()

The last update date of the activity.

.google.type.Date update_date = 5;

Returns
TypeDescription
com.google.type.Date.Builder

getUpdateDateOrBuilder()

public DateOrBuilder getUpdateDateOrBuilder()

The last update date of the activity.

.google.type.Date update_date = 5;

Returns
TypeDescription
com.google.type.DateOrBuilder

getUri()

public String getUri()

Activity URI. Number of characters allowed is 4,000.

string uri = 3;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Activity URI. Number of characters allowed is 4,000.

string uri = 3;

Returns
TypeDescription
ByteString

The bytes for uri.

hasCreateDate()

public boolean hasCreateDate()

The first creation date of the activity.

.google.type.Date create_date = 4;

Returns
TypeDescription
boolean

Whether the createDate field is set.

hasUpdateDate()

public boolean hasUpdateDate()

The last update date of the activity.

.google.type.Date update_date = 5;

Returns
TypeDescription
boolean

Whether the updateDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateDate(Date value)

public Activity.Builder mergeCreateDate(Date value)

The first creation date of the activity.

.google.type.Date create_date = 4;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Activity.Builder

mergeFrom(Activity other)

public Activity.Builder mergeFrom(Activity other)
Parameter
NameDescription
otherActivity
Returns
TypeDescription
Activity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Activity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Activity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Activity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Activity.Builder
Overrides

mergeUpdateDate(Date value)

public Activity.Builder mergeUpdateDate(Date value)

The last update date of the activity.

.google.type.Date update_date = 5;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Activity.Builder

removeSkillsUsed(int index)

public Activity.Builder removeSkillsUsed(int index)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Activity.Builder

setActivityDescriptionSnippet(String value)

public Activity.Builder setActivityDescriptionSnippet(String value)

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

string activity_description_snippet = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The activityDescriptionSnippet to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setActivityDescriptionSnippetBytes(ByteString value)

public Activity.Builder setActivityDescriptionSnippetBytes(ByteString value)

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

string activity_description_snippet = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for activityDescriptionSnippet to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setActivityNameSnippet(String value)

public Activity.Builder setActivityNameSnippet(String value)

Output only. Activity 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 activity_name_snippet = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The activityNameSnippet to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setActivityNameSnippetBytes(ByteString value)

public Activity.Builder setActivityNameSnippetBytes(ByteString value)

Output only. Activity 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 activity_name_snippet = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for activityNameSnippet to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setCreateDate(Date value)

public Activity.Builder setCreateDate(Date value)

The first creation date of the activity.

.google.type.Date create_date = 4;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Activity.Builder

setCreateDate(Date.Builder builderForValue)

public Activity.Builder setCreateDate(Date.Builder builderForValue)

The first creation date of the activity.

.google.type.Date create_date = 4;

Parameter
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
Activity.Builder

setDescription(String value)

public Activity.Builder setDescription(String value)

Activity description. Number of characters allowed is 100,000.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Activity.Builder setDescriptionBytes(ByteString value)

Activity description. Number of characters allowed is 100,000.

string description = 2;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setDisplayName(String value)

public Activity.Builder setDisplayName(String value)

Activity display name. Number of characters allowed is 100.

string display_name = 1;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Activity.Builder setDisplayNameBytes(ByteString value)

Activity display name. Number of characters allowed is 100.

string display_name = 1;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Activity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Activity.Builder
Overrides

setSkillsUsed(int index, Skill value)

public Activity.Builder setSkillsUsed(int index, Skill value)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameters
NameDescription
indexint
valueSkill
Returns
TypeDescription
Activity.Builder

setSkillsUsed(int index, Skill.Builder builderForValue)

public Activity.Builder setSkillsUsed(int index, Skill.Builder builderForValue)

A list of skills used in this activity. The limitation for max number of skills used is 50.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 7;

Parameters
NameDescription
indexint
builderForValueSkill.Builder
Returns
TypeDescription
Activity.Builder

setSkillsUsedSnippet(int index, String value)

public Activity.Builder setSkillsUsedSnippet(int index, String value)

Output only. Skill used snippet shows how the corresponding skills_used are related to a search query. It's empty if the corresponding skills_used are not related to the search query.

repeated string skills_used_snippet = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The skillsUsedSnippet to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setTeamMembers(int index, String value)

public Activity.Builder setTeamMembers(int index, String value)

A list of team members involved in this activity. Number of characters allowed is 100. The limitation for max number of team members is 50.

repeated string team_members = 6;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The teamMembers to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateDate(Date value)

public Activity.Builder setUpdateDate(Date value)

The last update date of the activity.

.google.type.Date update_date = 5;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Activity.Builder

setUpdateDate(Date.Builder builderForValue)

public Activity.Builder setUpdateDate(Date.Builder builderForValue)

The last update date of the activity.

.google.type.Date update_date = 5;

Parameter
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
Activity.Builder

setUri(String value)

public Activity.Builder setUri(String value)

Activity URI. Number of characters allowed is 4,000.

string uri = 3;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.

setUriBytes(ByteString value)

public Activity.Builder setUriBytes(ByteString value)

Activity URI. Number of characters allowed is 4,000.

string uri = 3;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
Activity.Builder

This builder for chaining.