public static final class JobEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder> 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| Modifier and Type | Method and Description |
|---|---|
JobEvent.Builder |
addAllJobs(Iterable<String> values)
Required.
|
JobEvent.Builder |
addJobs(String value)
Required.
|
JobEvent.Builder |
addJobsBytes(com.google.protobuf.ByteString value)
Required.
|
JobEvent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
JobEvent |
build() |
JobEvent |
buildPartial() |
JobEvent.Builder |
clear() |
JobEvent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
JobEvent.Builder |
clearJobs()
Required.
|
JobEvent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
JobEvent.Builder |
clearProfile()
Optional.
|
JobEvent.Builder |
clearType()
Required.
|
JobEvent.Builder |
clone() |
JobEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getJobs(int index)
Required.
|
com.google.protobuf.ByteString |
getJobsBytes(int index)
Required.
|
int |
getJobsCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getJobsList()
Required.
|
String |
getProfile()
Optional.
|
com.google.protobuf.ByteString |
getProfileBytes()
Optional.
|
JobEvent.JobEventType |
getType()
Required.
|
int |
getTypeValue()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
JobEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobEvent.Builder |
mergeFrom(JobEvent other) |
JobEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
JobEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
JobEvent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
JobEvent.Builder |
setJobs(int index,
String value)
Required.
|
JobEvent.Builder |
setProfile(String value)
Optional.
|
JobEvent.Builder |
setProfileBytes(com.google.protobuf.ByteString value)
Optional.
|
JobEvent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
JobEvent.Builder |
setType(JobEvent.JobEventType value)
Required.
|
JobEvent.Builder |
setTypeValue(int value)
Required.
|
JobEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic JobEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic JobEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic JobEvent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<JobEvent.Builder>public JobEvent.Builder mergeFrom(JobEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public JobEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<JobEvent.Builder>IOExceptionpublic int getTypeValue()
Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
.google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1;getTypeValue in interface JobEventOrBuilderpublic JobEvent.Builder setTypeValue(int value)
Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
.google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1;public JobEvent.JobEventType getType()
Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
.google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1;getType in interface JobEventOrBuilderpublic JobEvent.Builder setType(JobEvent.JobEventType value)
Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
.google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1;public JobEvent.Builder clearType()
Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
.google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1;public com.google.protobuf.ProtocolStringList getJobsList()
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;getJobsList in interface JobEventOrBuilderpublic int getJobsCount()
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;getJobsCount in interface JobEventOrBuilderpublic String getJobs(int index)
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;getJobs in interface JobEventOrBuilderpublic com.google.protobuf.ByteString getJobsBytes(int index)
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;getJobsBytes in interface JobEventOrBuilderpublic JobEvent.Builder setJobs(int index, String value)
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;public JobEvent.Builder addJobs(String value)
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;public JobEvent.Builder addAllJobs(Iterable<String> values)
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;public JobEvent.Builder clearJobs()
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;public JobEvent.Builder addJobsBytes(com.google.protobuf.ByteString value)
Required.
The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with
this event. For example, if this is an
[impression][google.cloud.talent.v4beta1.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.v4beta1.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/api-test-project/tenants/foo/jobs/1234".
repeated string jobs = 2;public String getProfile()
Optional.
The [profile name][google.cloud.talent.v4beta1.Profile.name] associated
with this client event.
The format is
"projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
for example, "projects/api-test-project/tenants/foo/profiles/bar".
string profile = 3;getProfile in interface JobEventOrBuilderpublic com.google.protobuf.ByteString getProfileBytes()
Optional.
The [profile name][google.cloud.talent.v4beta1.Profile.name] associated
with this client event.
The format is
"projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
for example, "projects/api-test-project/tenants/foo/profiles/bar".
string profile = 3;getProfileBytes in interface JobEventOrBuilderpublic JobEvent.Builder setProfile(String value)
Optional.
The [profile name][google.cloud.talent.v4beta1.Profile.name] associated
with this client event.
The format is
"projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
for example, "projects/api-test-project/tenants/foo/profiles/bar".
string profile = 3;public JobEvent.Builder clearProfile()
Optional.
The [profile name][google.cloud.talent.v4beta1.Profile.name] associated
with this client event.
The format is
"projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
for example, "projects/api-test-project/tenants/foo/profiles/bar".
string profile = 3;public JobEvent.Builder setProfileBytes(com.google.protobuf.ByteString value)
Optional.
The [profile name][google.cloud.talent.v4beta1.Profile.name] associated
with this client event.
The format is
"projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
for example, "projects/api-test-project/tenants/foo/profiles/bar".
string profile = 3;public final JobEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>public final JobEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<JobEvent.Builder>Copyright © 2019 Google LLC. All rights reserved.