Class Activity (2.2.9)

public final class Activity extends GeneratedMessageV3 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 Fields

ACTIVITY_DESCRIPTION_SNIPPET_FIELD_NUMBER

public static final int ACTIVITY_DESCRIPTION_SNIPPET_FIELD_NUMBER
Field Value
Type Description
int

ACTIVITY_NAME_SNIPPET_FIELD_NUMBER

public static final int ACTIVITY_NAME_SNIPPET_FIELD_NUMBER
Field Value
Type Description
int

CREATE_DATE_FIELD_NUMBER

public static final int CREATE_DATE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

SKILLS_USED_FIELD_NUMBER

public static final int SKILLS_USED_FIELD_NUMBER
Field Value
Type Description
int

SKILLS_USED_SNIPPET_FIELD_NUMBER

public static final int SKILLS_USED_SNIPPET_FIELD_NUMBER
Field Value
Type Description
int

TEAM_MEMBERS_FIELD_NUMBER

public static final int TEAM_MEMBERS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_DATE_FIELD_NUMBER

public static final int UPDATE_DATE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Activity getDefaultInstance()
Returns
Type Description
Activity

getDescriptor()

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

newBuilder()

public static Activity.Builder newBuilder()
Returns
Type Description
Activity.Builder

newBuilder(Activity prototype)

public static Activity.Builder newBuilder(Activity prototype)
Parameter
Name Description
prototype Activity
Returns
Type Description
Activity.Builder

parseDelimitedFrom(InputStream input)

public static Activity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Activity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Activity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Activity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Activity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Activity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Activity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Activity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Activity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Activity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Activity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Activity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Activity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Activity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Activity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Activity
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Activity parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Activity
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Activity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Activity
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Activity parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Activity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Activity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Activity
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Activity> parser()
Returns
Type Description
Parser<Activity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for activityNameSnippet.

getCreateDate()

public Date getCreateDate()

The first creation date of the activity.

.google.type.Date create_date = 4;

Returns
Type Description
com.google.type.Date

The createDate.

getCreateDateOrBuilder()

public DateOrBuilder getCreateDateOrBuilder()

The first creation date of the activity.

.google.type.Date create_date = 4;

Returns
Type Description
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public Activity getDefaultInstanceForType()
Returns
Type Description
Activity

getDescription()

public String getDescription()

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

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Activity display name. Number of characters allowed is 100.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Activity display name. Number of characters allowed is 100.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getParserForType()

public Parser<Activity> getParserForType()
Returns
Type Description
Parser<Activity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the teamMembers.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUpdateDate()

public Date getUpdateDate()

The last update date of the activity.

.google.type.Date update_date = 5;

Returns
Type Description
com.google.type.Date

The updateDate.

getUpdateDateOrBuilder()

public DateOrBuilder getUpdateDateOrBuilder()

The last update date of the activity.

.google.type.Date update_date = 5;

Returns
Type Description
com.google.type.DateOrBuilder

getUri()

public String getUri()

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

string uri = 3;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

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

string uri = 3;

Returns
Type Description
ByteString

The bytes for uri.

hasCreateDate()

public boolean hasCreateDate()

The first creation date of the activity.

.google.type.Date create_date = 4;

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

Whether the updateDate field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Activity.Builder newBuilderForType()
Returns
Type Description
Activity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Activity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Activity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Activity.Builder toBuilder()
Returns
Type Description
Activity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException