• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/talent/v4/event.proto
18 
19 package com.google.cloud.talent.v4;
20 
21 public interface JobEventOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobEvent)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. The type of the event (see
31    * [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
32    * </pre>
33    *
34    * <code>
35    * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
36    * </code>
37    *
38    * @return The enum numeric value on the wire for type.
39    */
getTypeValue()40   int getTypeValue();
41   /**
42    *
43    *
44    * <pre>
45    * Required. The type of the event (see
46    * [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
47    * </pre>
48    *
49    * <code>
50    * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED];
51    * </code>
52    *
53    * @return The type.
54    */
getType()55   com.google.cloud.talent.v4.JobEvent.JobEventType getType();
56 
57   /**
58    *
59    *
60    * <pre>
61    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
62    * with this event. For example, if this is an
63    * [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION]
64    * event, this field contains the identifiers of all jobs shown to the job
65    * seeker. If this was a
66    * [view][google.cloud.talent.v4.JobEvent.JobEventType.VIEW] event, this field
67    * contains the identifier of the viewed job.
68    * The format is
69    * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
70    * example, "projects/foo/tenants/bar/jobs/baz".
71    * </pre>
72    *
73    * <code>repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];</code>
74    *
75    * @return A list containing the jobs.
76    */
getJobsList()77   java.util.List<java.lang.String> getJobsList();
78   /**
79    *
80    *
81    * <pre>
82    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
83    * with this event. For example, if this is an
84    * [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION]
85    * event, this field contains the identifiers of all jobs shown to the job
86    * seeker. If this was a
87    * [view][google.cloud.talent.v4.JobEvent.JobEventType.VIEW] event, this field
88    * contains the identifier of the viewed job.
89    * The format is
90    * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
91    * example, "projects/foo/tenants/bar/jobs/baz".
92    * </pre>
93    *
94    * <code>repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];</code>
95    *
96    * @return The count of jobs.
97    */
getJobsCount()98   int getJobsCount();
99   /**
100    *
101    *
102    * <pre>
103    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
104    * with this event. For example, if this is an
105    * [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION]
106    * event, this field contains the identifiers of all jobs shown to the job
107    * seeker. If this was a
108    * [view][google.cloud.talent.v4.JobEvent.JobEventType.VIEW] event, this field
109    * contains the identifier of the viewed job.
110    * The format is
111    * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
112    * example, "projects/foo/tenants/bar/jobs/baz".
113    * </pre>
114    *
115    * <code>repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];</code>
116    *
117    * @param index The index of the element to return.
118    * @return The jobs at the given index.
119    */
getJobs(int index)120   java.lang.String getJobs(int index);
121   /**
122    *
123    *
124    * <pre>
125    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated
126    * with this event. For example, if this is an
127    * [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION]
128    * event, this field contains the identifiers of all jobs shown to the job
129    * seeker. If this was a
130    * [view][google.cloud.talent.v4.JobEvent.JobEventType.VIEW] event, this field
131    * contains the identifier of the viewed job.
132    * The format is
133    * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
134    * example, "projects/foo/tenants/bar/jobs/baz".
135    * </pre>
136    *
137    * <code>repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED];</code>
138    *
139    * @param index The index of the value to return.
140    * @return The bytes of the jobs at the given index.
141    */
getJobsBytes(int index)142   com.google.protobuf.ByteString getJobsBytes(int index);
143 }
144