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
Modifier and Type | Class and Description |
---|---|
static class |
JobEvent.Builder
An event issued when a job seeker interacts with the application that
implements Cloud Talent Solution.
|
static class |
JobEvent.JobEventType
An enumeration of an event attributed to the behavior of the end user,
such as a job seeker.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
JOBS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int TYPE_FIELD_NUMBER
public static final int JOBS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public int getTypeValue()
Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
.google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
getTypeValue
in interface JobEventOrBuilder
public JobEvent.JobEventType getType()
Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
.google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
getType
in interface JobEventOrBuilder
public ProtocolStringList getJobsList()
Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event. For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event, this field contains the identifiers of all jobs shown to the job seeker. If this was a [view][google.cloud.talent.v4.JobEvent.JobEventType.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];
getJobsList
in interface JobEventOrBuilder
public int getJobsCount()
Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event. For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event, this field contains the identifiers of all jobs shown to the job seeker. If this was a [view][google.cloud.talent.v4.JobEvent.JobEventType.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];
getJobsCount
in interface JobEventOrBuilder
public String getJobs(int index)
Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event. For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event, this field contains the identifiers of all jobs shown to the job seeker. If this was a [view][google.cloud.talent.v4.JobEvent.JobEventType.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];
getJobs
in interface JobEventOrBuilder
index
- The index of the element to return.public ByteString getJobsBytes(int index)
Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event. For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event, this field contains the identifiers of all jobs shown to the job seeker. If this was a [view][google.cloud.talent.v4.JobEvent.JobEventType.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];
getJobsBytes
in interface JobEventOrBuilder
index
- The index of the value to return.public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static JobEvent parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static JobEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static JobEvent parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static JobEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static JobEvent parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static JobEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static JobEvent parseFrom(InputStream input) throws IOException
IOException
public static JobEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static JobEvent parseDelimitedFrom(InputStream input) throws IOException
IOException
public static JobEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static JobEvent parseFrom(CodedInputStream input) throws IOException
IOException
public static JobEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public JobEvent.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static JobEvent.Builder newBuilder()
public static JobEvent.Builder newBuilder(JobEvent prototype)
public JobEvent.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected JobEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static JobEvent getDefaultInstance()
public Parser<JobEvent> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public JobEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.