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
PROFILES_FIELD_NUMBER
public static final int PROFILES_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ProfileEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ProfileEvent.Builder newBuilder()
Returns
newBuilder(ProfileEvent prototype)
public static ProfileEvent.Builder newBuilder(ProfileEvent prototype)
Parameter
Returns
public static ProfileEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProfileEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ProfileEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProfileEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ProfileEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProfileEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProfileEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ProfileEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProfileEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProfileEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ProfileEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProfileEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ProfileEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ProfileEvent getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<ProfileEvent> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public ProfileEvent.ProfileEventType getType()
Required. Type of event.
.google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ProfileEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProfileEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ProfileEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions