Interface JobEventOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    JobEvent, JobEvent.Builder

    public interface JobEventOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getJobs​(int index)
      Required.
      com.google.protobuf.ByteString getJobsBytes​(int index)
      Required.
      int getJobsCount()
      Required.
      List<String> getJobsList()
      Required.
      JobEvent.JobEventType getType()
      Required.
      int getTypeValue()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getTypeValue

        int getTypeValue()
         Required. The type of the event (see
         [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
         
        .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for type.
      • getType

        JobEvent.JobEventType getType()
         Required. The type of the event (see
         [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
         
        .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The type.
      • getJobsList

        List<String> getJobsList()
         Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
         with this event. For example, if this is an
         [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION]
         event, this field contains the identifiers of all jobs shown to the job
         seeker. If this was a
         [view][google.cloud.talent.v4.JobEvent.JobEventType.VIEW] event, this field
         contains the identifier of the viewed job.
        
         The format is
         "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
         example, "projects/foo/tenants/bar/jobs/baz".
         
        repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the jobs.
      • getJobsCount

        int getJobsCount()
         Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
         with this event. For example, if this is an
         [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION]
         event, this field contains the identifiers of all jobs shown to the job
         seeker. If this was a
         [view][google.cloud.talent.v4.JobEvent.JobEventType.VIEW] event, this field
         contains the identifier of the viewed job.
        
         The format is
         "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
         example, "projects/foo/tenants/bar/jobs/baz".
         
        repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The count of jobs.
      • getJobs

        String getJobs​(int index)
         Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
         with this event. For example, if this is an
         [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION]
         event, this field contains the identifiers of all jobs shown to the job
         seeker. If this was a
         [view][google.cloud.talent.v4.JobEvent.JobEventType.VIEW] event, this field
         contains the identifier of the viewed job.
        
         The format is
         "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
         example, "projects/foo/tenants/bar/jobs/baz".
         
        repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the element to return.
        Returns:
        The jobs at the given index.
      • getJobsBytes

        com.google.protobuf.ByteString getJobsBytes​(int index)
         Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
         with this event. For example, if this is an
         [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION]
         event, this field contains the identifiers of all jobs shown to the job
         seeker. If this was a
         [view][google.cloud.talent.v4.JobEvent.JobEventType.VIEW] event, this field
         contains the identifier of the viewed job.
        
         The format is
         "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
         example, "projects/foo/tenants/bar/jobs/baz".
         
        repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the jobs at the given index.