Class ClientEvent (2.52.0)

public final class ClientEvent extends GeneratedMessageV3 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 Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

EVENT_ID_FIELD_NUMBER

public static final int EVENT_ID_FIELD_NUMBER
Field Value
Type Description
int

EVENT_NOTES_FIELD_NUMBER

public static final int EVENT_NOTES_FIELD_NUMBER
Field Value
Type Description
int

JOB_EVENT_FIELD_NUMBER

public static final int JOB_EVENT_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClientEvent getDefaultInstance()
Returns
Type Description
ClientEvent

getDescriptor()

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

newBuilder()

public static ClientEvent.Builder newBuilder()
Returns
Type Description
ClientEvent.Builder

newBuilder(ClientEvent prototype)

public static ClientEvent.Builder newBuilder(ClientEvent prototype)
Parameter
Name Description
prototype ClientEvent
Returns
Type Description
ClientEvent.Builder

parseDelimitedFrom(InputStream input)

public static ClientEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClientEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ClientEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ClientEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClientEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ClientEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClientEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ClientEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ClientEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClientEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ClientEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ClientEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ClientEvent> parser()
Returns
Type Description
Parser<ClientEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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

Returns
Type Description
JobEvent

The jobEvent.

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
Type Description
JobEventOrBuilder

getParserForType()

public Parser<ClientEvent> getParserForType()
Returns
Type Description
Parser<ClientEvent>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

Returns
Type Description
boolean

Whether the jobEvent field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClientEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClientEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException