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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClientEvent.Builder newBuilder()
newBuilder(ClientEvent prototype)
public static ClientEvent.Builder newBuilder(ClientEvent prototype)
public static ClientEvent parseDelimitedFrom(InputStream input)
public static ClientEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClientEvent parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClientEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClientEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClientEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClientEvent parseFrom(CodedInputStream input)
public static ClientEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClientEvent parseFrom(InputStream input)
public static ClientEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClientEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClientEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClientEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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];
getDefaultInstanceForType()
public ClientEvent getDefaultInstanceForType()
getEventCase()
public ClientEvent.EventCase getEventCase()
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;
getParserForType()
public Parser<ClientEvent> getParserForType()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClientEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClientEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ClientEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides