public static final class ProfileEvent.Builder extends GeneratedMessageV3.Builder<ProfileEvent.Builder> implements ProfileEventOrBuilder
An event issued when a profile searcher interacts with the application that implements Cloud Talent Solution.
Protobuf type google.cloud.talent.v4beta1.ProfileEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProfileEvent.BuilderImplements
ProfileEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllJobs(Iterable<String> values)
public ProfileEvent.Builder addAllJobs(Iterable<String> values)
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
Name | Description |
values | Iterable<String> The jobs to add. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
addAllProfiles(Iterable<String> values)
public ProfileEvent.Builder addAllProfiles(Iterable<String> values)
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<String> The profiles to add. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
addJobs(String value)
public ProfileEvent.Builder addJobs(String value)
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
Name | Description |
value | String The jobs to add. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
addJobsBytes(ByteString value)
public ProfileEvent.Builder addJobsBytes(ByteString value)
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
Name | Description |
value | ByteString The bytes of the jobs to add. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
addProfiles(String value)
public ProfileEvent.Builder addProfiles(String value)
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The profiles to add. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
addProfilesBytes(ByteString value)
public ProfileEvent.Builder addProfilesBytes(ByteString value)
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes of the profiles to add. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProfileEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProfileEvent.Builder |
build()
public ProfileEvent build()
Type | Description |
ProfileEvent |
buildPartial()
public ProfileEvent buildPartial()
Type | Description |
ProfileEvent |
clear()
public ProfileEvent.Builder clear()
Type | Description |
ProfileEvent.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProfileEvent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ProfileEvent.Builder |
clearJobs()
public ProfileEvent.Builder clearJobs()
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProfileEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ProfileEvent.Builder |
clearProfiles()
public ProfileEvent.Builder clearProfiles()
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
clearType()
public ProfileEvent.Builder clearType()
Required. Type of event.
.google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
clone()
public ProfileEvent.Builder clone()
Type | Description |
ProfileEvent.Builder |
getDefaultInstanceForType()
public ProfileEvent getDefaultInstanceForType()
Type | Description |
ProfileEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getJobs(int index)
public String getJobs(int index)
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
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)
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
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()
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
Type | Description |
int | The count of jobs. |
getJobsList()
public ProtocolStringList getJobsList()
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
Type | Description |
ProtocolStringList | A list containing the jobs. |
getProfiles(int index)
public String getProfiles(int index)
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The profiles at the given index. |
getProfilesBytes(int index)
public ByteString getProfilesBytes(int index)
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the profiles at the given index. |
getProfilesCount()
public int getProfilesCount()
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The count of profiles. |
getProfilesList()
public ProtocolStringList getProfilesList()
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProtocolStringList | A list containing the profiles. |
getType()
public ProfileEvent.ProfileEventType getType()
Required. Type of event.
.google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProfileEvent.ProfileEventType | The type. |
getTypeValue()
public int getTypeValue()
Required. Type of event.
.google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ProfileEvent other)
public ProfileEvent.Builder mergeFrom(ProfileEvent other)
Name | Description |
other | ProfileEvent |
Type | Description |
ProfileEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProfileEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProfileEvent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ProfileEvent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ProfileEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProfileEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProfileEvent.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProfileEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProfileEvent.Builder |
setJobs(int index, String value)
public ProfileEvent.Builder setJobs(int index, String value)
The job name(s) associated with this client event. Leave it empty if the event isn't associated with a job. The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for example, "projects/foo/tenants/bar/jobs/baz".
repeated string jobs = 6;
Name | Description |
index | int The index to set the value at. |
value | String The jobs to set. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
setProfiles(int index, String value)
public ProfileEvent.Builder setProfiles(int index, String value)
Required. The profile name(s) 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".
repeated string profiles = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index to set the value at. |
value | String The profiles to set. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProfileEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ProfileEvent.Builder |
setType(ProfileEvent.ProfileEventType value)
public ProfileEvent.Builder setType(ProfileEvent.ProfileEventType value)
Required. Type of event.
.google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ProfileEvent.ProfileEventType The type to set. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
setTypeValue(int value)
public ProfileEvent.Builder setTypeValue(int value)
Required. Type of event.
.google.cloud.talent.v4beta1.ProfileEvent.ProfileEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
ProfileEvent.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProfileEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProfileEvent.Builder |