Class ClientEvent.Builder (2.47.0)

public static final class ClientEvent.Builder extends GeneratedMessageV3.Builder<ClientEvent.Builder> implements ClientEventOrBuilder

An event issued when an end user interacts with the application that implements Cloud Talent Solution. Providing this information improves the quality of results for the API clients, enabling the service to perform optimally. The number of events sent must be consistent with other calls, such as job searches, issued to the service by the client.

Protobuf type google.cloud.talent.v4beta1.ClientEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClientEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClientEvent.Builder
Overrides

build()

public ClientEvent build()
Returns
Type Description
ClientEvent

buildPartial()

public ClientEvent buildPartial()
Returns
Type Description
ClientEvent

clear()

public ClientEvent.Builder clear()
Returns
Type Description
ClientEvent.Builder
Overrides

clearCreateTime()

public ClientEvent.Builder clearCreateTime()

Required. The timestamp of the event.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientEvent.Builder

clearEvent()

public ClientEvent.Builder clearEvent()
Returns
Type Description
ClientEvent.Builder

clearEventId()

public ClientEvent.Builder clearEventId()

Required. A unique identifier, generated by the client application.

string event_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

clearEventNotes()

public ClientEvent.Builder clearEventNotes()

Notes about the event provided by recruiters or other users, for example, feedback on why a profile was bookmarked.

string event_notes = 9;

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ClientEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClientEvent.Builder
Overrides

clearJobEvent()

public ClientEvent.Builder clearJobEvent()

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

.google.cloud.talent.v4beta1.JobEvent job_event = 5;

Returns
Type Description
ClientEvent.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClientEvent.Builder
Overrides

clearRequestId()

public ClientEvent.Builder clearRequestId()

Strongly recommended for the best service experience.

A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.

string request_id = 1;

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

clone()

public ClientEvent.Builder clone()
Returns
Type Description
ClientEvent.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Required. The timestamp of the event.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Required. The timestamp of the event.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Required. The timestamp of the event.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ClientEvent getDefaultInstanceForType()
Returns
Type Description
ClientEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventCase()

public ClientEvent.EventCase getEventCase()
Returns
Type Description
ClientEvent.EventCase

getEventId()

public String getEventId()

Required. A unique identifier, generated by the client application.

string event_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The eventId.

getEventIdBytes()

public ByteString getEventIdBytes()

Required. A unique identifier, generated by the client application.

string event_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for eventId.

getEventNotes()

public String getEventNotes()

Notes about the event provided by recruiters or other users, for example, feedback on why a profile was bookmarked.

string event_notes = 9;

Returns
Type Description
String

The eventNotes.

getEventNotesBytes()

public ByteString getEventNotesBytes()

Notes about the event provided by recruiters or other users, for example, feedback on why a profile was bookmarked.

string event_notes = 9;

Returns
Type Description
ByteString

The bytes for eventNotes.

getJobEvent()

public JobEvent getJobEvent()

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

.google.cloud.talent.v4beta1.JobEvent job_event = 5;

Returns
Type Description
JobEvent

The jobEvent.

getJobEventBuilder()

public JobEvent.Builder getJobEventBuilder()

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

.google.cloud.talent.v4beta1.JobEvent job_event = 5;

Returns
Type Description
JobEvent.Builder

getJobEventOrBuilder()

public JobEventOrBuilder getJobEventOrBuilder()

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

.google.cloud.talent.v4beta1.JobEvent job_event = 5;

Returns
Type Description
JobEventOrBuilder

getRequestId()

public String getRequestId()

Strongly recommended for the best service experience.

A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.

string request_id = 1;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Strongly recommended for the best service experience.

A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.

string request_id = 1;

Returns
Type Description
ByteString

The bytes for requestId.

hasCreateTime()

public boolean hasCreateTime()

Required. The timestamp of the event.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the createTime field is set.

hasJobEvent()

public boolean hasJobEvent()

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

.google.cloud.talent.v4beta1.JobEvent job_event = 5;

Returns
Type Description
boolean

Whether the jobEvent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ClientEvent.Builder mergeCreateTime(Timestamp value)

Required. The timestamp of the event.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
ClientEvent.Builder

mergeFrom(ClientEvent other)

public ClientEvent.Builder mergeFrom(ClientEvent other)
Parameter
Name Description
other ClientEvent
Returns
Type Description
ClientEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClientEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ClientEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClientEvent.Builder
Overrides

mergeJobEvent(JobEvent value)

public ClientEvent.Builder mergeJobEvent(JobEvent value)

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

.google.cloud.talent.v4beta1.JobEvent job_event = 5;

Parameter
Name Description
value JobEvent
Returns
Type Description
ClientEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClientEvent.Builder
Overrides

setCreateTime(Timestamp value)

public ClientEvent.Builder setCreateTime(Timestamp value)

Required. The timestamp of the event.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Timestamp
Returns
Type Description
ClientEvent.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ClientEvent.Builder setCreateTime(Timestamp.Builder builderForValue)

Required. The timestamp of the event.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ClientEvent.Builder

setEventId(String value)

public ClientEvent.Builder setEventId(String value)

Required. A unique identifier, generated by the client application.

string event_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The eventId to set.

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

setEventIdBytes(ByteString value)

public ClientEvent.Builder setEventIdBytes(ByteString value)

Required. A unique identifier, generated by the client application.

string event_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for eventId to set.

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

setEventNotes(String value)

public ClientEvent.Builder setEventNotes(String value)

Notes about the event provided by recruiters or other users, for example, feedback on why a profile was bookmarked.

string event_notes = 9;

Parameter
Name Description
value String

The eventNotes to set.

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

setEventNotesBytes(ByteString value)

public ClientEvent.Builder setEventNotesBytes(ByteString value)

Notes about the event provided by recruiters or other users, for example, feedback on why a profile was bookmarked.

string event_notes = 9;

Parameter
Name Description
value ByteString

The bytes for eventNotes to set.

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClientEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClientEvent.Builder
Overrides

setJobEvent(JobEvent value)

public ClientEvent.Builder setJobEvent(JobEvent value)

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

.google.cloud.talent.v4beta1.JobEvent job_event = 5;

Parameter
Name Description
value JobEvent
Returns
Type Description
ClientEvent.Builder

setJobEvent(JobEvent.Builder builderForValue)

public ClientEvent.Builder setJobEvent(JobEvent.Builder builderForValue)

An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.

.google.cloud.talent.v4beta1.JobEvent job_event = 5;

Parameter
Name Description
builderForValue JobEvent.Builder
Returns
Type Description
ClientEvent.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClientEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClientEvent.Builder
Overrides

setRequestId(String value)

public ClientEvent.Builder setRequestId(String value)

Strongly recommended for the best service experience.

A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.

string request_id = 1;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ClientEvent.Builder setRequestIdBytes(ByteString value)

Strongly recommended for the best service experience.

A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.

string request_id = 1;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
ClientEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClientEvent.Builder
Overrides