public final class JobEvent extends GeneratedMessageV3 implements JobEventOrBuilder
An event issued when a job seeker interacts with the application that
implements Cloud Talent Solution.
Protobuf type google.cloud.talent.v4.JobEvent
Static Fields
JOBS_FIELD_NUMBER
public static final int JOBS_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static JobEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static JobEvent.Builder newBuilder()
Returns
newBuilder(JobEvent prototype)
public static JobEvent.Builder newBuilder(JobEvent prototype)
Parameter
Returns
public static JobEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static JobEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static JobEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static JobEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<JobEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public JobEvent getDefaultInstanceForType()
Returns
getJobs(int index)
public String getJobs(int index)
Required. The job name(s) associated with this event.
For example, if this is an impression event,
this field contains the identifiers of all jobs shown to the job seeker.
If this was a view event, this field contains the
identifier of the viewed job.
The format is
"projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];
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)
Required. The job name(s) associated with this event.
For example, if this is an impression event,
this field contains the identifiers of all jobs shown to the job seeker.
If this was a view event, this field contains the
identifier of the viewed job.
The format is
"projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 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 jobs at the given index.
|
getJobsCount()
public int getJobsCount()
Required. The job name(s) associated with this event.
For example, if this is an impression event,
this field contains the identifiers of all jobs shown to the job seeker.
If this was a view event, this field contains the
identifier of the viewed job.
The format is
"projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The count of jobs.
|
getJobsList()
public ProtocolStringList getJobsList()
Required. The job name(s) associated with this event.
For example, if this is an impression event,
this field contains the identifiers of all jobs shown to the job seeker.
If this was a view event, this field contains the
identifier of the viewed job.
The format is
"projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<JobEvent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public JobEvent.JobEventType getType()
Required. The type of the event (see JobEventType).
.google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTypeValue()
public int getTypeValue()
Required. The type of the event (see JobEventType).
.google.cloud.talent.v4.JobEvent.JobEventType 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 JobEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public JobEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions