Class ClientEvent.Builder (2.14.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.v4.ClientEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClientEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClientEvent.Builder
Overrides

build()

public ClientEvent build()
Returns
TypeDescription
ClientEvent

buildPartial()

public ClientEvent buildPartial()
Returns
TypeDescription
ClientEvent

clear()

public ClientEvent.Builder clear()
Returns
TypeDescription
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
TypeDescription
ClientEvent.Builder

clearEvent()

public ClientEvent.Builder clearEvent()
Returns
TypeDescription
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
TypeDescription
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 job was bookmarked.

string event_notes = 9;

Returns
TypeDescription
ClientEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ClientEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v4.JobEvent job_event = 5;

Returns
TypeDescription
ClientEvent.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ClientEvent.Builder

This builder for chaining.

clone()

public ClientEvent.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Required. The timestamp of the event.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ClientEvent getDefaultInstanceForType()
Returns
TypeDescription
ClientEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEventCase()

public ClientEvent.EventCase getEventCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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 job was bookmarked.

string event_notes = 9;

Returns
TypeDescription
String

The eventNotes.

getEventNotesBytes()

public ByteString getEventNotesBytes()

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

string event_notes = 9;

Returns
TypeDescription
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.v4.JobEvent job_event = 5;

Returns
TypeDescription
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.v4.JobEvent job_event = 5;

Returns
TypeDescription
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.v4.JobEvent job_event = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v4.JobEvent job_event = 5;

Returns
TypeDescription
boolean

Whether the jobEvent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ClientEvent.Builder

mergeFrom(ClientEvent other)

public ClientEvent.Builder mergeFrom(ClientEvent other)
Parameter
NameDescription
otherClientEvent
Returns
TypeDescription
ClientEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClientEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientEvent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ClientEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v4.JobEvent job_event = 5;

Parameter
NameDescription
valueJobEvent
Returns
TypeDescription
ClientEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The eventId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for eventId to set.

Returns
TypeDescription
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 job was bookmarked.

string event_notes = 9;

Parameter
NameDescription
valueString

The eventNotes to set.

Returns
TypeDescription
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 job was bookmarked.

string event_notes = 9;

Parameter
NameDescription
valueByteString

The bytes for eventNotes to set.

Returns
TypeDescription
ClientEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClientEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v4.JobEvent job_event = 5;

Parameter
NameDescription
valueJobEvent
Returns
TypeDescription
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.v4.JobEvent job_event = 5;

Parameter
NameDescription
builderForValueJobEvent.Builder
Returns
TypeDescription
ClientEvent.Builder

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

public ClientEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
ClientEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientEvent.Builder
Overrides