Class ProfileEvent (2.2.9)

public final class ProfileEvent extends GeneratedMessageV3 implements ProfileEventOrBuilder

An event issued when a profile searcher interacts with the application that implements Cloud Talent Solution.

Protobuf type google.cloud.talent.v4beta1.ProfileEvent

Static Fields

JOBS_FIELD_NUMBER

public static final int JOBS_FIELD_NUMBER
Field Value
Type Description
int

PROFILES_FIELD_NUMBER

public static final int PROFILES_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProfileEvent getDefaultInstance()
Returns
Type Description
ProfileEvent

getDescriptor()

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

newBuilder()

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

newBuilder(ProfileEvent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ProfileEvent getDefaultInstanceForType()
Returns
Type Description
ProfileEvent

getJobs(int index)

public String getJobs(int index)

The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".

repeated string jobs = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The jobs at the given index.

getJobsBytes(int index)

public ByteString getJobsBytes(int index)

The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".

repeated string jobs = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the jobs at the given index.

getJobsCount()

public int getJobsCount()

The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".

repeated string jobs = 6;

Returns
Type Description
int

The count of jobs.

getJobsList()

public ProtocolStringList getJobsList()

The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".

repeated string jobs = 6;

Returns
Type Description
ProtocolStringList

A list containing the jobs.

getParserForType()

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

getProfiles(int index)

public String getProfiles(int index)

Required. The profile name(s) associated with this client event. The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for example, "projects/foo/tenants/bar/profiles/baz".

repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The profiles at the given index.

getProfilesBytes(int index)

public ByteString getProfilesBytes(int index)

Required. The profile name(s) associated with this client event. The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for example, "projects/foo/tenants/bar/profiles/baz".

repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the profiles at the given index.

getProfilesCount()

public int getProfilesCount()

Required. The profile name(s) associated with this client event. The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for example, "projects/foo/tenants/bar/profiles/baz".

repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of profiles.

getProfilesList()

public ProtocolStringList getProfilesList()

Required. The profile name(s) associated with this client event. The format is "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}", for example, "projects/foo/tenants/bar/profiles/baz".

repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the profiles.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public ProfileEvent.ProfileEventType getType()

Required. Type of event.

.google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProfileEvent.ProfileEventType

The type.

getTypeValue()

public int getTypeValue()

Required. Type of event.

.google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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 ProfileEvent.Builder newBuilderForType()
Returns
Type Description
ProfileEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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