Class Activity

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

ACTIVITY_NAME_SNIPPET_FIELD_NUMBER

public static final int ACTIVITY_NAME_SNIPPET_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_DATE_FIELD_NUMBER

public static final int CREATE_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SKILLS_USED_FIELD_NUMBER

public static final int SKILLS_USED_FIELD_NUMBER
Field Value
TypeDescription
int

SKILLS_USED_SNIPPET_FIELD_NUMBER

public static final int SKILLS_USED_SNIPPET_FIELD_NUMBER
Field Value
TypeDescription
int

TEAM_MEMBERS_FIELD_NUMBER

public static final int TEAM_MEMBERS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_DATE_FIELD_NUMBER

public static final int UPDATE_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Activity getDefaultInstance()
Returns
TypeDescription
Activity

getDescriptor()

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

newBuilder()

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

newBuilder(Activity prototype)

public static Activity.Builder newBuilder(Activity prototype)
Parameter
NameDescription
prototypeActivity
Returns
TypeDescription
Activity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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.

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.

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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.

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 Activity.Builder newBuilderForType()
Returns
TypeDescription
Activity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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