Package com.google.cloud.talent.v4
Class ClientEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.talent.v4.ClientEvent
-
- All Implemented Interfaces:
ClientEventOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ClientEvent extends com.google.protobuf.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 typegoogle.cloud.talent.v4.ClientEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientEvent.Builder
An event issued when an end user interacts with the application that implements Cloud Talent Solution.static class
ClientEvent.EventCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATE_TIME_FIELD_NUMBER
static int
EVENT_ID_FIELD_NUMBER
static int
EVENT_NOTES_FIELD_NUMBER
static int
JOB_EVENT_FIELD_NUMBER
static int
REQUEST_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Required.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Required.static ClientEvent
getDefaultInstance()
ClientEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
ClientEvent.EventCase
getEventCase()
String
getEventId()
Required.com.google.protobuf.ByteString
getEventIdBytes()
Required.String
getEventNotes()
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.com.google.protobuf.ByteString
getEventNotesBytes()
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.JobEvent
getJobEvent()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.JobEventOrBuilder
getJobEventOrBuilder()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.com.google.protobuf.Parser<ClientEvent>
getParserForType()
String
getRequestId()
Strongly recommended for the best service experience.com.google.protobuf.ByteString
getRequestIdBytes()
Strongly recommended for the best service experience.int
getSerializedSize()
boolean
hasCreateTime()
Required.int
hashCode()
boolean
hasJobEvent()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ClientEvent.Builder
newBuilder()
static ClientEvent.Builder
newBuilder(ClientEvent prototype)
ClientEvent.Builder
newBuilderForType()
protected ClientEvent.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ClientEvent
parseDelimitedFrom(InputStream input)
static ClientEvent
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientEvent
parseFrom(byte[] data)
static ClientEvent
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientEvent
parseFrom(com.google.protobuf.ByteString data)
static ClientEvent
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientEvent
parseFrom(com.google.protobuf.CodedInputStream input)
static ClientEvent
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientEvent
parseFrom(InputStream input)
static ClientEvent
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClientEvent
parseFrom(ByteBuffer data)
static ClientEvent
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ClientEvent>
parser()
ClientEvent.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_EVENT_FIELD_NUMBER
public static final int JOB_EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_NOTES_FIELD_NUMBER
public static final int EVENT_NOTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getEventCase
public ClientEvent.EventCase getEventCase()
- Specified by:
getEventCase
in interfaceClientEventOrBuilder
-
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][google.cloud.talent.v4.ResponseMetadata.request_id].
string request_id = 1;
- Specified by:
getRequestId
in interfaceClientEventOrBuilder
- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.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][google.cloud.talent.v4.ResponseMetadata.request_id].
string request_id = 1;
- Specified by:
getRequestIdBytes
in interfaceClientEventOrBuilder
- Returns:
- The bytes for requestId.
-
getEventId
public String getEventId()
Required. A unique identifier, generated by the client application.
string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEventId
in interfaceClientEventOrBuilder
- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
Required. A unique identifier, generated by the client application.
string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEventIdBytes
in interfaceClientEventOrBuilder
- Returns:
- The bytes for eventId.
-
hasCreateTime
public boolean hasCreateTime()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasCreateTime
in interfaceClientEventOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCreateTime
in interfaceClientEventOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCreateTimeOrBuilder
in interfaceClientEventOrBuilder
-
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;
- Specified by:
hasJobEvent
in interfaceClientEventOrBuilder
- Returns:
- Whether the jobEvent field is set.
-
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;
- Specified by:
getJobEvent
in interfaceClientEventOrBuilder
- Returns:
- 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;
- Specified by:
getJobEventOrBuilder
in interfaceClientEventOrBuilder
-
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;
- Specified by:
getEventNotes
in interfaceClientEventOrBuilder
- Returns:
- The eventNotes.
-
getEventNotesBytes
public com.google.protobuf.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;
- Specified by:
getEventNotesBytes
in interfaceClientEventOrBuilder
- Returns:
- The bytes for eventNotes.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClientEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientEvent parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClientEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClientEvent parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClientEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ClientEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClientEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ClientEvent.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClientEvent.Builder newBuilder()
-
newBuilder
public static ClientEvent.Builder newBuilder(ClientEvent prototype)
-
toBuilder
public ClientEvent.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ClientEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClientEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<ClientEvent> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClientEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-