Class ClientEvent.Builder

  • All Implemented Interfaces:
    ClientEventOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ClientEvent

    public static final class ClientEvent.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
    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
    • Method Detail

      • 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.Builder<ClientEvent.Builder>
      • clear

        public ClientEvent.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • getDefaultInstanceForType

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

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

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

        public ClientEvent.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • setField

        public ClientEvent.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • clearField

        public ClientEvent.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • clearOneof

        public ClientEvent.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • setRepeatedField

        public ClientEvent.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • addRepeatedField

        public ClientEvent.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • mergeFrom

        public ClientEvent.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientEvent.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • mergeFrom

        public ClientEvent.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientEvent.Builder>
        Throws:
        IOException
      • 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.v4beta1.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.v4beta1.ResponseMetadata.request_id].
         
        string request_id = 1;
        Specified by:
        getRequestIdBytes in interface ClientEventOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public ClientEvent.Builder setRequestId​(String value)
         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.v4beta1.ResponseMetadata.request_id].
         
        string request_id = 1;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public ClientEvent.Builder clearRequestId()
         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.v4beta1.ResponseMetadata.request_id].
         
        string request_id = 1;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public ClientEvent.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         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.v4beta1.ResponseMetadata.request_id].
         
        string request_id = 1;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setEventId

        public ClientEvent.Builder setEventId​(String value)
         Required. A unique identifier, generated by the client application.
         
        string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The eventId to set.
        Returns:
        This builder for chaining.
      • clearEventId

        public ClientEvent.Builder clearEventId()
         Required. A unique identifier, generated by the client application.
         
        string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setEventIdBytes

        public ClientEvent.Builder setEventIdBytes​(com.google.protobuf.ByteString value)
         Required. A unique identifier, generated by the client application.
         
        string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for eventId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setCreateTime

        public ClientEvent.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Required. The timestamp of the event.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
      • setCreateTime

        public ClientEvent.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Required. The timestamp of the event.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
      • mergeCreateTime

        public ClientEvent.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Required. The timestamp of the event.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
      • clearCreateTime

        public ClientEvent.Builder clearCreateTime()
         Required. The timestamp of the event.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Required. The timestamp of the event.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
      • 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.v4beta1.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.v4beta1.JobEvent job_event = 5;
        Specified by:
        getJobEvent in interface ClientEventOrBuilder
        Returns:
        The jobEvent.
      • setJobEvent

        public ClientEvent.Builder setJobEvent​(JobEvent value)
         An event issued when a job seeker interacts with the application that
         implements Cloud Talent Solution.
         
        .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      • setJobEvent

        public ClientEvent.Builder setJobEvent​(JobEvent.Builder builderForValue)
         An event issued when a job seeker interacts with the application that
         implements Cloud Talent Solution.
         
        .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      • mergeJobEvent

        public ClientEvent.Builder mergeJobEvent​(JobEvent value)
         An event issued when a job seeker interacts with the application that
         implements Cloud Talent Solution.
         
        .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      • clearJobEvent

        public ClientEvent.Builder clearJobEvent()
         An event issued when a job seeker interacts with the application that
         implements Cloud Talent Solution.
         
        .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      • getJobEventBuilder

        public JobEvent.Builder getJobEventBuilder()
         An event issued when a job seeker interacts with the application that
         implements Cloud Talent Solution.
         
        .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      • 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;
        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 profile 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 profile was bookmarked.
         
        string event_notes = 9;
        Specified by:
        getEventNotesBytes in interface ClientEventOrBuilder
        Returns:
        The bytes for eventNotes.
      • setEventNotes

        public ClientEvent.Builder setEventNotes​(String value)
         Notes about the event provided by recruiters or other users, for example,
         feedback on why a profile was bookmarked.
         
        string event_notes = 9;
        Parameters:
        value - The eventNotes to set.
        Returns:
        This builder for chaining.
      • clearEventNotes

        public ClientEvent.Builder clearEventNotes()
         Notes about the event provided by recruiters or other users, for example,
         feedback on why a profile was bookmarked.
         
        string event_notes = 9;
        Returns:
        This builder for chaining.
      • setEventNotesBytes

        public ClientEvent.Builder setEventNotesBytes​(com.google.protobuf.ByteString value)
         Notes about the event provided by recruiters or other users, for example,
         feedback on why a profile was bookmarked.
         
        string event_notes = 9;
        Parameters:
        value - The bytes for eventNotes to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ClientEvent.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
      • mergeUnknownFields

        public final ClientEvent.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>