Class ClientEvent (2.34.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
TypeDescription
int

EVENT_ID_FIELD_NUMBER

public static final int EVENT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_NOTES_FIELD_NUMBER

public static final int EVENT_NOTES_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_EVENT_FIELD_NUMBER

public static final int JOB_EVENT_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClientEvent getDefaultInstance()
Returns
TypeDescription
ClientEvent

getDescriptor()

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

newBuilder()

public static ClientEvent.Builder newBuilder()
Returns
TypeDescription
ClientEvent.Builder

newBuilder(ClientEvent prototype)

public static ClientEvent.Builder newBuilder(ClientEvent prototype)
Parameter
NameDescription
prototypeClientEvent
Returns
TypeDescription
ClientEvent.Builder

parseDelimitedFrom(InputStream input)

public static ClientEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ClientEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClientEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClientEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ClientEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ClientEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClientEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ClientEvent> parser()
Returns
TypeDescription
Parser<ClientEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

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

getParserForType()

public Parser<ClientEvent> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ClientEvent.Builder newBuilderForType()
Returns
TypeDescription
ClientEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClientEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ClientEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ClientEvent.Builder toBuilder()
Returns
TypeDescription
ClientEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException