Class ClientEvent.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ClientEvent.Builder>
com.google.cloud.talent.v4.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.GeneratedMessage.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.v4.ClientEvent
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public ClientEvent.Builder mergeFrom(ClientEvent other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • getEventCase

      public ClientEvent.EventCase getEventCase()
      Specified by:
      getEventCase in interface ClientEventOrBuilder
    • clearEvent

      public ClientEvent.Builder clearEvent()
    • 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.
    • 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.v4.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.v4.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.v4.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.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.
    • 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.v4.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.v4.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.v4.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.v4.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.v4.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.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.
    • setEventNotes

      public ClientEvent.Builder setEventNotes(String value)
       Notes about the event provided by recruiters or other users, for example,
       feedback on why a job 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 job 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 job was bookmarked.
       
      string event_notes = 9;
      Parameters:
      value - The bytes for eventNotes to set.
      Returns:
      This builder for chaining.