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.v4beta1.JobEvent
Static Fields
JOBS_FIELD_NUMBER
public static final int JOBS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROFILE_FIELD_NUMBER
public static final int PROFILE_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 JobEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static JobEvent.Builder newBuilder()
newBuilder(JobEvent prototype)
public static JobEvent.Builder newBuilder(JobEvent prototype)
Parameter |
---|
Name | Description |
prototype | JobEvent
|
public static JobEvent parseDelimitedFrom(InputStream input)
public static JobEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static JobEvent parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static JobEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(CodedInputStream input)
public static JobEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(InputStream input)
public static JobEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static JobEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<JobEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public JobEvent getDefaultInstanceForType()
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];
getParserForType()
public Parser<JobEvent> getParserForType()
Overrides
getProfile()
public String getProfile()
The profile name 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".
string profile = 3;
Returns |
---|
Type | Description |
String | The profile.
|
getProfileBytes()
public ByteString getProfileBytes()
The profile name 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".
string profile = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for profile.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getType()
public JobEvent.JobEventType getType()
Required. The type of the event (see
JobEventType).
.google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
getTypeValue()
public int getTypeValue()
Required. The type of the event (see
JobEventType).
.google.cloud.talent.v4beta1.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()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public JobEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public JobEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides