Class 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 type google.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • 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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
      • 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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
      • 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 interface ClientEventOrBuilder
        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 interface ClientEventOrBuilder
        Returns:
        The bytes for eventNotes.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Throws:
        IOException
      • newBuilderForType

        public ClientEvent.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ClientEvent.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ClientEvent.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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 interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ClientEvent getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder