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.v4beta1.ClientEvent
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
Field Value
EVENT_NOTES_FIELD_NUMBER
public static final int EVENT_NOTES_FIELD_NUMBER
Field Value
JOB_EVENT_FIELD_NUMBER
public static final int JOB_EVENT_FIELD_NUMBER
Field Value
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ClientEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ClientEvent.Builder newBuilder()
Returns
newBuilder(ClientEvent prototype)
public static ClientEvent.Builder newBuilder(ClientEvent prototype)
Parameter
Returns
public static ClientEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClientEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ClientEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClientEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ClientEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClientEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClientEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ClientEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClientEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClientEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ClientEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClientEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ClientEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCreateTime()
public Timestamp getCreateTime()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public ClientEvent getDefaultInstanceForType()
Returns
getEventCase()
public ClientEvent.EventCase getEventCase()
Returns
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
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
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
getParserForType()
public Parser<ClientEvent> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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.v4beta1.JobEvent job_event = 5;
Returns
Type | Description |
boolean | Whether the jobEvent field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ClientEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClientEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ClientEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions