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
Static Fields
ACTIVITY_DESCRIPTION_SNIPPET_FIELD_NUMBER
public static final int ACTIVITY_DESCRIPTION_SNIPPET_FIELD_NUMBER
Field Value
ACTIVITY_NAME_SNIPPET_FIELD_NUMBER
public static final int ACTIVITY_NAME_SNIPPET_FIELD_NUMBER
Field Value
CREATE_DATE_FIELD_NUMBER
public static final int CREATE_DATE_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
SKILLS_USED_FIELD_NUMBER
public static final int SKILLS_USED_FIELD_NUMBER
Field Value
SKILLS_USED_SNIPPET_FIELD_NUMBER
public static final int SKILLS_USED_SNIPPET_FIELD_NUMBER
Field Value
TEAM_MEMBERS_FIELD_NUMBER
public static final int TEAM_MEMBERS_FIELD_NUMBER
Field Value
UPDATE_DATE_FIELD_NUMBER
public static final int UPDATE_DATE_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Activity getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Activity.Builder newBuilder()
Returns
newBuilder(Activity prototype)
public static Activity.Builder newBuilder(Activity prototype)
Parameter
Returns
public static Activity parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Activity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Activity parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Activity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Activity parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Activity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Activity parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Activity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Activity parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Activity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Activity parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Activity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Activity> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Returns
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
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
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
Returns
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
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Activity URI.
Number of characters allowed is 4,000.
string uri = 3;
Returns
getUriBytes()
public ByteString getUriBytes()
Activity URI.
Number of characters allowed is 4,000.
string uri = 3;
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Activity.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Activity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Activity.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions