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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > JobEventImplements
JobEventOrBuilderStatic Fields
JOBS_FIELD_NUMBER
public static final int JOBS_FIELD_NUMBER
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static JobEvent getDefaultInstance()
Type | Description |
JobEvent |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static JobEvent.Builder newBuilder()
Type | Description |
JobEvent.Builder |
newBuilder(JobEvent prototype)
public static JobEvent.Builder newBuilder(JobEvent prototype)
Name | Description |
prototype | JobEvent |
Type | Description |
JobEvent.Builder |
parseDelimitedFrom(InputStream input)
public static JobEvent parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
JobEvent |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobEvent |
Type | Description |
IOException |
parseFrom(byte[] data)
public static JobEvent parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
JobEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static JobEvent parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
JobEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static JobEvent parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
JobEvent |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobEvent |
Type | Description |
IOException |
parseFrom(InputStream input)
public static JobEvent parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
JobEvent |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobEvent |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static JobEvent parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
JobEvent |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobEvent |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<JobEvent> parser()
Type | Description |
Parser<JobEvent> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public JobEvent getDefaultInstanceForType()
Type | Description |
JobEvent |
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];
Name | Description |
index | int The index of the element to return. |
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];
Name | Description |
index | int The index of the value to return. |
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];
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];
Type | Description |
ProtocolStringList | A list containing the jobs. |
getParserForType()
public Parser<JobEvent> getParserForType()
Type | Description |
Parser<JobEvent> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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];
Type | Description |
JobEvent.JobEventType | The type. |
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];
Type | Description |
int | The enum numeric value on the wire for type. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public JobEvent.Builder newBuilderForType()
Type | Description |
JobEvent.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
JobEvent.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public JobEvent.Builder toBuilder()
Type | Description |
JobEvent.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |