google-cloud-talent-v4 0.9.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '091e91ca39ba011a9216e5ec958e65b11830178bcf68afff7b94116bb151a8cf'
4
- data.tar.gz: 6b12eb87b5f0958bb3463608bcee5065a8db7241608a7d28ede570326d926d17
3
+ metadata.gz: dea755223e64efa6651d706ee5f94a95fbc4a6680409444ffe15f846d4893373
4
+ data.tar.gz: 72afb3ee712d234456330756fca32aabb24020d9ce475d1d1a81776badf5609a
5
5
  SHA512:
6
- metadata.gz: 30056ed7513563b2855b4c3a1bc147892c22924eebe9ebc1ed395dd189b298f61f030d7725bbef48f90310642330174e0c55554a006117f19ba724a18336fcda
7
- data.tar.gz: 1b6617b84b29bec2223bdfdaf2dd8029ad4df368958b5944ba0277bd28eaa491b85e04d3201ebf8bcca47a55a8e9d40514d7a99170755ac52dda655982c3db10
6
+ metadata.gz: 8621118380cf275a4b6858eef49e439e9e7b2ca291b0563fb0820cf06e763e987391be1ce828b1dbc76ac8ecc6fcf96f2d18300a24b7910da871722a1931394e
7
+ data.tar.gz: 73a493cc517dc6d1517fb3e1ff2a71968a0f2ff49e1083f238a971b6f1362edb189ab3e8d130dbd2d9c76b69094f78eb9394a1720932812dc2da98018bf87f6d
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/talent/v4/common.proto
3
4
 
@@ -10,239 +11,36 @@ require 'google/type/latlng_pb'
10
11
  require 'google/type/money_pb'
11
12
  require 'google/type/postal_address_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/talent/v4/common.proto", :syntax => :proto3) do
15
- add_message "google.cloud.talent.v4.TimestampRange" do
16
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
17
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
18
- end
19
- add_message "google.cloud.talent.v4.Location" do
20
- optional :location_type, :enum, 1, "google.cloud.talent.v4.Location.LocationType"
21
- optional :postal_address, :message, 2, "google.type.PostalAddress"
22
- optional :lat_lng, :message, 3, "google.type.LatLng"
23
- optional :radius_miles, :double, 4
24
- end
25
- add_enum "google.cloud.talent.v4.Location.LocationType" do
26
- value :LOCATION_TYPE_UNSPECIFIED, 0
27
- value :COUNTRY, 1
28
- value :ADMINISTRATIVE_AREA, 2
29
- value :SUB_ADMINISTRATIVE_AREA, 3
30
- value :LOCALITY, 4
31
- value :POSTAL_CODE, 5
32
- value :SUB_LOCALITY, 6
33
- value :SUB_LOCALITY_1, 7
34
- value :SUB_LOCALITY_2, 8
35
- value :NEIGHBORHOOD, 9
36
- value :STREET_ADDRESS, 10
37
- end
38
- add_message "google.cloud.talent.v4.RequestMetadata" do
39
- optional :domain, :string, 1
40
- optional :session_id, :string, 2
41
- optional :user_id, :string, 3
42
- optional :allow_missing_ids, :bool, 4
43
- optional :device_info, :message, 5, "google.cloud.talent.v4.DeviceInfo"
44
- end
45
- add_message "google.cloud.talent.v4.ResponseMetadata" do
46
- optional :request_id, :string, 1
47
- end
48
- add_message "google.cloud.talent.v4.DeviceInfo" do
49
- optional :device_type, :enum, 1, "google.cloud.talent.v4.DeviceInfo.DeviceType"
50
- optional :id, :string, 2
51
- end
52
- add_enum "google.cloud.talent.v4.DeviceInfo.DeviceType" do
53
- value :DEVICE_TYPE_UNSPECIFIED, 0
54
- value :WEB, 1
55
- value :MOBILE_WEB, 2
56
- value :ANDROID, 3
57
- value :IOS, 4
58
- value :BOT, 5
59
- value :OTHER, 6
60
- end
61
- add_message "google.cloud.talent.v4.CustomAttribute" do
62
- repeated :string_values, :string, 1
63
- repeated :long_values, :int64, 2
64
- optional :filterable, :bool, 3
65
- optional :keyword_searchable, :bool, 4
66
- end
67
- add_message "google.cloud.talent.v4.SpellingCorrection" do
68
- optional :corrected, :bool, 1
69
- optional :corrected_text, :string, 2
70
- optional :corrected_html, :string, 3
71
- end
72
- add_message "google.cloud.talent.v4.CompensationInfo" do
73
- repeated :entries, :message, 1, "google.cloud.talent.v4.CompensationInfo.CompensationEntry"
74
- optional :annualized_base_compensation_range, :message, 2, "google.cloud.talent.v4.CompensationInfo.CompensationRange"
75
- optional :annualized_total_compensation_range, :message, 3, "google.cloud.talent.v4.CompensationInfo.CompensationRange"
76
- end
77
- add_message "google.cloud.talent.v4.CompensationInfo.CompensationEntry" do
78
- optional :type, :enum, 1, "google.cloud.talent.v4.CompensationInfo.CompensationType"
79
- optional :unit, :enum, 2, "google.cloud.talent.v4.CompensationInfo.CompensationUnit"
80
- optional :description, :string, 5
81
- optional :expected_units_per_year, :message, 6, "google.protobuf.DoubleValue"
82
- oneof :compensation_amount do
83
- optional :amount, :message, 3, "google.type.Money"
84
- optional :range, :message, 4, "google.cloud.talent.v4.CompensationInfo.CompensationRange"
85
- end
86
- end
87
- add_message "google.cloud.talent.v4.CompensationInfo.CompensationRange" do
88
- optional :max_compensation, :message, 2, "google.type.Money"
89
- optional :min_compensation, :message, 1, "google.type.Money"
90
- end
91
- add_enum "google.cloud.talent.v4.CompensationInfo.CompensationType" do
92
- value :COMPENSATION_TYPE_UNSPECIFIED, 0
93
- value :BASE, 1
94
- value :BONUS, 2
95
- value :SIGNING_BONUS, 3
96
- value :EQUITY, 4
97
- value :PROFIT_SHARING, 5
98
- value :COMMISSIONS, 6
99
- value :TIPS, 7
100
- value :OTHER_COMPENSATION_TYPE, 8
101
- end
102
- add_enum "google.cloud.talent.v4.CompensationInfo.CompensationUnit" do
103
- value :COMPENSATION_UNIT_UNSPECIFIED, 0
104
- value :HOURLY, 1
105
- value :DAILY, 2
106
- value :WEEKLY, 3
107
- value :MONTHLY, 4
108
- value :YEARLY, 5
109
- value :ONE_TIME, 6
110
- value :OTHER_COMPENSATION_UNIT, 7
111
- end
112
- add_message "google.cloud.talent.v4.BatchOperationMetadata" do
113
- optional :state, :enum, 1, "google.cloud.talent.v4.BatchOperationMetadata.State"
114
- optional :state_description, :string, 2
115
- optional :success_count, :int32, 3
116
- optional :failure_count, :int32, 4
117
- optional :total_count, :int32, 5
118
- optional :create_time, :message, 6, "google.protobuf.Timestamp"
119
- optional :update_time, :message, 7, "google.protobuf.Timestamp"
120
- optional :end_time, :message, 8, "google.protobuf.Timestamp"
121
- end
122
- add_enum "google.cloud.talent.v4.BatchOperationMetadata.State" do
123
- value :STATE_UNSPECIFIED, 0
124
- value :INITIALIZING, 1
125
- value :PROCESSING, 2
126
- value :SUCCEEDED, 3
127
- value :FAILED, 4
128
- value :CANCELLING, 5
129
- value :CANCELLED, 6
130
- end
131
- add_enum "google.cloud.talent.v4.CompanySize" do
132
- value :COMPANY_SIZE_UNSPECIFIED, 0
133
- value :MINI, 1
134
- value :SMALL, 2
135
- value :SMEDIUM, 3
136
- value :MEDIUM, 4
137
- value :BIG, 5
138
- value :BIGGER, 6
139
- value :GIANT, 7
140
- end
141
- add_enum "google.cloud.talent.v4.JobBenefit" do
142
- value :JOB_BENEFIT_UNSPECIFIED, 0
143
- value :CHILD_CARE, 1
144
- value :DENTAL, 2
145
- value :DOMESTIC_PARTNER, 3
146
- value :FLEXIBLE_HOURS, 4
147
- value :MEDICAL, 5
148
- value :LIFE_INSURANCE, 6
149
- value :PARENTAL_LEAVE, 7
150
- value :RETIREMENT_PLAN, 8
151
- value :SICK_DAYS, 9
152
- value :VACATION, 10
153
- value :VISION, 11
154
- end
155
- add_enum "google.cloud.talent.v4.DegreeType" do
156
- value :DEGREE_TYPE_UNSPECIFIED, 0
157
- value :PRIMARY_EDUCATION, 1
158
- value :LOWER_SECONDARY_EDUCATION, 2
159
- value :UPPER_SECONDARY_EDUCATION, 3
160
- value :ADULT_REMEDIAL_EDUCATION, 4
161
- value :ASSOCIATES_OR_EQUIVALENT, 5
162
- value :BACHELORS_OR_EQUIVALENT, 6
163
- value :MASTERS_OR_EQUIVALENT, 7
164
- value :DOCTORAL_OR_EQUIVALENT, 8
165
- end
166
- add_enum "google.cloud.talent.v4.EmploymentType" do
167
- value :EMPLOYMENT_TYPE_UNSPECIFIED, 0
168
- value :FULL_TIME, 1
169
- value :PART_TIME, 2
170
- value :CONTRACTOR, 3
171
- value :CONTRACT_TO_HIRE, 4
172
- value :TEMPORARY, 5
173
- value :INTERN, 6
174
- value :VOLUNTEER, 7
175
- value :PER_DIEM, 8
176
- value :FLY_IN_FLY_OUT, 9
177
- value :OTHER_EMPLOYMENT_TYPE, 10
178
- end
179
- add_enum "google.cloud.talent.v4.JobLevel" do
180
- value :JOB_LEVEL_UNSPECIFIED, 0
181
- value :ENTRY_LEVEL, 1
182
- value :EXPERIENCED, 2
183
- value :MANAGER, 3
184
- value :DIRECTOR, 4
185
- value :EXECUTIVE, 5
186
- end
187
- add_enum "google.cloud.talent.v4.JobCategory" do
188
- value :JOB_CATEGORY_UNSPECIFIED, 0
189
- value :ACCOUNTING_AND_FINANCE, 1
190
- value :ADMINISTRATIVE_AND_OFFICE, 2
191
- value :ADVERTISING_AND_MARKETING, 3
192
- value :ANIMAL_CARE, 4
193
- value :ART_FASHION_AND_DESIGN, 5
194
- value :BUSINESS_OPERATIONS, 6
195
- value :CLEANING_AND_FACILITIES, 7
196
- value :COMPUTER_AND_IT, 8
197
- value :CONSTRUCTION, 9
198
- value :CUSTOMER_SERVICE, 10
199
- value :EDUCATION, 11
200
- value :ENTERTAINMENT_AND_TRAVEL, 12
201
- value :FARMING_AND_OUTDOORS, 13
202
- value :HEALTHCARE, 14
203
- value :HUMAN_RESOURCES, 15
204
- value :INSTALLATION_MAINTENANCE_AND_REPAIR, 16
205
- value :LEGAL, 17
206
- value :MANAGEMENT, 18
207
- value :MANUFACTURING_AND_WAREHOUSE, 19
208
- value :MEDIA_COMMUNICATIONS_AND_WRITING, 20
209
- value :OIL_GAS_AND_MINING, 21
210
- value :PERSONAL_CARE_AND_SERVICES, 22
211
- value :PROTECTIVE_SERVICES, 23
212
- value :REAL_ESTATE, 24
213
- value :RESTAURANT_AND_HOSPITALITY, 25
214
- value :SALES_AND_RETAIL, 26
215
- value :SCIENCE_AND_ENGINEERING, 27
216
- value :SOCIAL_SERVICES_AND_NON_PROFIT, 28
217
- value :SPORTS_FITNESS_AND_RECREATION, 29
218
- value :TRANSPORTATION_AND_LOGISTICS, 30
219
- end
220
- add_enum "google.cloud.talent.v4.PostingRegion" do
221
- value :POSTING_REGION_UNSPECIFIED, 0
222
- value :ADMINISTRATIVE_AREA, 1
223
- value :NATION, 2
224
- value :TELECOMMUTE, 3
225
- end
226
- add_enum "google.cloud.talent.v4.Visibility" do
227
- value :VISIBILITY_UNSPECIFIED, 0
228
- value :ACCOUNT_ONLY, 1
229
- value :SHARED_WITH_GOOGLE, 2
230
- value :SHARED_WITH_PUBLIC, 3
231
- end
232
- add_enum "google.cloud.talent.v4.HtmlSanitization" do
233
- value :HTML_SANITIZATION_UNSPECIFIED, 0
234
- value :HTML_SANITIZATION_DISABLED, 1
235
- value :SIMPLE_FORMATTING_ONLY, 2
236
- end
237
- add_enum "google.cloud.talent.v4.CommuteMethod" do
238
- value :COMMUTE_METHOD_UNSPECIFIED, 0
239
- value :DRIVING, 1
240
- value :TRANSIT, 2
241
- value :WALKING, 3
242
- value :CYCLING, 4
243
- value :TRANSIT_ACCESSIBLE, 5
14
+
15
+ descriptor_data = "\n#google/cloud/talent/v4/common.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\x1a\x17google/type/money.proto\x1a google/type/postal_address.proto\"n\n\x0eTimestampRange\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb2\x03\n\x08Location\x12\x44\n\rlocation_type\x18\x01 \x01(\x0e\x32-.google.cloud.talent.v4.Location.LocationType\x12\x32\n\x0epostal_address\x18\x02 \x01(\x0b\x32\x1a.google.type.PostalAddress\x12$\n\x07lat_lng\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x14\n\x0cradius_miles\x18\x04 \x01(\x01\"\xef\x01\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43OUNTRY\x10\x01\x12\x17\n\x13\x41\x44MINISTRATIVE_AREA\x10\x02\x12\x1b\n\x17SUB_ADMINISTRATIVE_AREA\x10\x03\x12\x0c\n\x08LOCALITY\x10\x04\x12\x0f\n\x0bPOSTAL_CODE\x10\x05\x12\x10\n\x0cSUB_LOCALITY\x10\x06\x12\x12\n\x0eSUB_LOCALITY_1\x10\x07\x12\x12\n\x0eSUB_LOCALITY_2\x10\x08\x12\x10\n\x0cNEIGHBORHOOD\x10\t\x12\x12\n\x0eSTREET_ADDRESS\x10\n\"\x9a\x01\n\x0fRequestMetadata\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\x12\x19\n\x11\x61llow_missing_ids\x18\x04 \x01(\x08\x12\x37\n\x0b\x64\x65vice_info\x18\x05 \x01(\x0b\x32\".google.cloud.talent.v4.DeviceInfo\"&\n\x10ResponseMetadata\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\xca\x01\n\nDeviceInfo\x12\x42\n\x0b\x64\x65vice_type\x18\x01 \x01(\x0e\x32-.google.cloud.talent.v4.DeviceInfo.DeviceType\x12\n\n\x02id\x18\x02 \x01(\t\"l\n\nDeviceType\x12\x1b\n\x17\x44\x45VICE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\x0e\n\nMOBILE_WEB\x10\x02\x12\x0b\n\x07\x41NDROID\x10\x03\x12\x07\n\x03IOS\x10\x04\x12\x07\n\x03\x42OT\x10\x05\x12\t\n\x05OTHER\x10\x06\"m\n\x0f\x43ustomAttribute\x12\x15\n\rstring_values\x18\x01 \x03(\t\x12\x13\n\x0blong_values\x18\x02 \x03(\x03\x12\x12\n\nfilterable\x18\x03 \x01(\x08\x12\x1a\n\x12keyword_searchable\x18\x04 \x01(\x08\"W\n\x12SpellingCorrection\x12\x11\n\tcorrected\x18\x01 \x01(\x08\x12\x16\n\x0e\x63orrected_text\x18\x02 \x01(\t\x12\x16\n\x0e\x63orrected_html\x18\x03 \x01(\t\"\x88\t\n\x10\x43ompensationInfo\x12K\n\x07\x65ntries\x18\x01 \x03(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationEntry\x12k\n\"annualized_base_compensation_range\x18\x02 \x01(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationRangeB\x03\xe0\x41\x03\x12l\n#annualized_total_compensation_range\x18\x03 \x01(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationRangeB\x03\xe0\x41\x03\x1a\x83\x03\n\x11\x43ompensationEntry\x12G\n\x04type\x18\x01 \x01(\x0e\x32\x39.google.cloud.talent.v4.CompensationInfo.CompensationType\x12G\n\x04unit\x18\x02 \x01(\x0e\x32\x39.google.cloud.talent.v4.CompensationInfo.CompensationUnit\x12$\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x12.google.type.MoneyH\x00\x12K\n\x05range\x18\x04 \x01(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationRangeH\x00\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x17\x65xpected_units_per_year\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x15\n\x13\x63ompensation_amount\x1ao\n\x11\x43ompensationRange\x12,\n\x10max_compensation\x18\x02 \x01(\x0b\x32\x12.google.type.Money\x12,\n\x10min_compensation\x18\x01 \x01(\x0b\x32\x12.google.type.Money\"\xb5\x01\n\x10\x43ompensationType\x12!\n\x1d\x43OMPENSATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42\x41SE\x10\x01\x12\t\n\x05\x42ONUS\x10\x02\x12\x11\n\rSIGNING_BONUS\x10\x03\x12\n\n\x06\x45QUITY\x10\x04\x12\x12\n\x0ePROFIT_SHARING\x10\x05\x12\x0f\n\x0b\x43OMMISSIONS\x10\x06\x12\x08\n\x04TIPS\x10\x07\x12\x1b\n\x17OTHER_COMPENSATION_TYPE\x10\x08\"\x9c\x01\n\x10\x43ompensationUnit\x12!\n\x1d\x43OMPENSATION_UNIT_UNSPECIFIED\x10\x00\x12\n\n\x06HOURLY\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\n\n\x06WEEKLY\x10\x03\x12\x0b\n\x07MONTHLY\x10\x04\x12\n\n\x06YEARLY\x10\x05\x12\x0c\n\x08ONE_TIME\x10\x06\x12\x1b\n\x17OTHER_COMPENSATION_UNIT\x10\x07\"\xc7\x03\n\x16\x42\x61tchOperationMetadata\x12\x43\n\x05state\x18\x01 \x01(\x0e\x32\x34.google.cloud.talent.v4.BatchOperationMetadata.State\x12\x19\n\x11state_description\x18\x02 \x01(\t\x12\x15\n\rsuccess_count\x18\x03 \x01(\x05\x12\x15\n\rfailure_count\x18\x04 \x01(\x05\x12\x13\n\x0btotal_count\x18\x05 \x01(\x05\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"z\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0e\n\nCANCELLING\x10\x05\x12\r\n\tCANCELLED\x10\x06*y\n\x0b\x43ompanySize\x12\x1c\n\x18\x43OMPANY_SIZE_UNSPECIFIED\x10\x00\x12\x08\n\x04MINI\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\x0b\n\x07SMEDIUM\x10\x03\x12\n\n\x06MEDIUM\x10\x04\x12\x07\n\x03\x42IG\x10\x05\x12\n\n\x06\x42IGGER\x10\x06\x12\t\n\x05GIANT\x10\x07*\xe2\x01\n\nJobBenefit\x12\x1b\n\x17JOB_BENEFIT_UNSPECIFIED\x10\x00\x12\x0e\n\nCHILD_CARE\x10\x01\x12\n\n\x06\x44\x45NTAL\x10\x02\x12\x14\n\x10\x44OMESTIC_PARTNER\x10\x03\x12\x12\n\x0e\x46LEXIBLE_HOURS\x10\x04\x12\x0b\n\x07MEDICAL\x10\x05\x12\x12\n\x0eLIFE_INSURANCE\x10\x06\x12\x12\n\x0ePARENTAL_LEAVE\x10\x07\x12\x13\n\x0fRETIREMENT_PLAN\x10\x08\x12\r\n\tSICK_DAYS\x10\t\x12\x0c\n\x08VACATION\x10\n\x12\n\n\x06VISION\x10\x0b*\x8e\x02\n\nDegreeType\x12\x1b\n\x17\x44\x45GREE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11PRIMARY_EDUCATION\x10\x01\x12\x1d\n\x19LOWER_SECONDARY_EDUCATION\x10\x02\x12\x1d\n\x19UPPER_SECONDARY_EDUCATION\x10\x03\x12\x1c\n\x18\x41\x44ULT_REMEDIAL_EDUCATION\x10\x04\x12\x1c\n\x18\x41SSOCIATES_OR_EQUIVALENT\x10\x05\x12\x1b\n\x17\x42\x41\x43HELORS_OR_EQUIVALENT\x10\x06\x12\x19\n\x15MASTERS_OR_EQUIVALENT\x10\x07\x12\x1a\n\x16\x44OCTORAL_OR_EQUIVALENT\x10\x08*\xdc\x01\n\x0e\x45mploymentType\x12\x1f\n\x1b\x45MPLOYMENT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tFULL_TIME\x10\x01\x12\r\n\tPART_TIME\x10\x02\x12\x0e\n\nCONTRACTOR\x10\x03\x12\x14\n\x10\x43ONTRACT_TO_HIRE\x10\x04\x12\r\n\tTEMPORARY\x10\x05\x12\n\n\x06INTERN\x10\x06\x12\r\n\tVOLUNTEER\x10\x07\x12\x0c\n\x08PER_DIEM\x10\x08\x12\x12\n\x0e\x46LY_IN_FLY_OUT\x10\t\x12\x19\n\x15OTHER_EMPLOYMENT_TYPE\x10\n*q\n\x08JobLevel\x12\x19\n\x15JOB_LEVEL_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45NTRY_LEVEL\x10\x01\x12\x0f\n\x0b\x45XPERIENCED\x10\x02\x12\x0b\n\x07MANAGER\x10\x03\x12\x0c\n\x08\x44IRECTOR\x10\x04\x12\r\n\tEXECUTIVE\x10\x05*\xba\x06\n\x0bJobCategory\x12\x1c\n\x18JOB_CATEGORY_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41\x43\x43OUNTING_AND_FINANCE\x10\x01\x12\x1d\n\x19\x41\x44MINISTRATIVE_AND_OFFICE\x10\x02\x12\x1d\n\x19\x41\x44VERTISING_AND_MARKETING\x10\x03\x12\x0f\n\x0b\x41NIMAL_CARE\x10\x04\x12\x1a\n\x16\x41RT_FASHION_AND_DESIGN\x10\x05\x12\x17\n\x13\x42USINESS_OPERATIONS\x10\x06\x12\x1b\n\x17\x43LEANING_AND_FACILITIES\x10\x07\x12\x13\n\x0f\x43OMPUTER_AND_IT\x10\x08\x12\x10\n\x0c\x43ONSTRUCTION\x10\t\x12\x14\n\x10\x43USTOMER_SERVICE\x10\n\x12\r\n\tEDUCATION\x10\x0b\x12\x1c\n\x18\x45NTERTAINMENT_AND_TRAVEL\x10\x0c\x12\x18\n\x14\x46\x41RMING_AND_OUTDOORS\x10\r\x12\x0e\n\nHEALTHCARE\x10\x0e\x12\x13\n\x0fHUMAN_RESOURCES\x10\x0f\x12\'\n#INSTALLATION_MAINTENANCE_AND_REPAIR\x10\x10\x12\t\n\x05LEGAL\x10\x11\x12\x0e\n\nMANAGEMENT\x10\x12\x12\x1f\n\x1bMANUFACTURING_AND_WAREHOUSE\x10\x13\x12$\n MEDIA_COMMUNICATIONS_AND_WRITING\x10\x14\x12\x16\n\x12OIL_GAS_AND_MINING\x10\x15\x12\x1e\n\x1aPERSONAL_CARE_AND_SERVICES\x10\x16\x12\x17\n\x13PROTECTIVE_SERVICES\x10\x17\x12\x0f\n\x0bREAL_ESTATE\x10\x18\x12\x1e\n\x1aRESTAURANT_AND_HOSPITALITY\x10\x19\x12\x14\n\x10SALES_AND_RETAIL\x10\x1a\x12\x1b\n\x17SCIENCE_AND_ENGINEERING\x10\x1b\x12\"\n\x1eSOCIAL_SERVICES_AND_NON_PROFIT\x10\x1c\x12!\n\x1dSPORTS_FITNESS_AND_RECREATION\x10\x1d\x12 \n\x1cTRANSPORTATION_AND_LOGISTICS\x10\x1e*e\n\rPostingRegion\x12\x1e\n\x1aPOSTING_REGION_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41\x44MINISTRATIVE_AREA\x10\x01\x12\n\n\x06NATION\x10\x02\x12\x0f\n\x0bTELECOMMUTE\x10\x03*n\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41\x43\x43OUNT_ONLY\x10\x01\x12\x16\n\x12SHARED_WITH_GOOGLE\x10\x02\x12\x16\n\x12SHARED_WITH_PUBLIC\x10\x03\x1a\x02\x18\x01*q\n\x10HtmlSanitization\x12!\n\x1dHTML_SANITIZATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aHTML_SANITIZATION_DISABLED\x10\x01\x12\x1a\n\x16SIMPLE_FORMATTING_ONLY\x10\x02*{\n\rCommuteMethod\x12\x1e\n\x1a\x43OMMUTE_METHOD_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44RIVING\x10\x01\x12\x0b\n\x07TRANSIT\x10\x02\x12\x0b\n\x07WALKING\x10\x03\x12\x0b\n\x07\x43YCLING\x10\x04\x12\x16\n\x12TRANSIT_ACCESSIBLE\x10\x05\x42\x65\n\x1a\x63om.google.cloud.talent.v4B\x0b\x43ommonProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.type.PostalAddress", "google/type/postal_address.proto"],
32
+ ["google.type.LatLng", "google/type/latlng.proto"],
33
+ ["google.type.Money", "google/type/money.proto"],
34
+ ["google.protobuf.DoubleValue", "google/protobuf/wrappers.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
244
40
  end
245
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
246
44
  end
247
45
 
248
46
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/talent/v4/company.proto
3
4
 
@@ -7,27 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/cloud/talent/v4/common_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/talent/v4/company.proto", :syntax => :proto3) do
12
- add_message "google.cloud.talent.v4.Company" do
13
- optional :name, :string, 1
14
- optional :display_name, :string, 2
15
- optional :external_id, :string, 3
16
- optional :size, :enum, 4, "google.cloud.talent.v4.CompanySize"
17
- optional :headquarters_address, :string, 5
18
- optional :hiring_agency, :bool, 6
19
- optional :eeo_text, :string, 7
20
- optional :website_uri, :string, 8
21
- optional :career_site_uri, :string, 9
22
- optional :image_uri, :string, 10
23
- repeated :keyword_searchable_job_custom_attributes, :string, 11
24
- optional :derived_info, :message, 12, "google.cloud.talent.v4.Company.DerivedInfo"
25
- optional :suspended, :bool, 13
26
- end
27
- add_message "google.cloud.talent.v4.Company.DerivedInfo" do
28
- optional :headquarters_location, :message, 1, "google.cloud.talent.v4.Location"
11
+
12
+ descriptor_data = "\n$google/cloud/talent/v4/company.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\"\xc8\x04\n\x07\x43ompany\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x65xternal_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x31\n\x04size\x18\x04 \x01(\x0e\x32#.google.cloud.talent.v4.CompanySize\x12\x1c\n\x14headquarters_address\x18\x05 \x01(\t\x12\x15\n\rhiring_agency\x18\x06 \x01(\x08\x12\x10\n\x08\x65\x65o_text\x18\x07 \x01(\t\x12\x13\n\x0bwebsite_uri\x18\x08 \x01(\t\x12\x17\n\x0f\x63\x61reer_site_uri\x18\t \x01(\t\x12\x11\n\timage_uri\x18\n \x01(\t\x12\x34\n(keyword_searchable_job_custom_attributes\x18\x0b \x03(\tB\x02\x18\x01\x12\x46\n\x0c\x64\x65rived_info\x18\x0c \x01(\x0b\x32+.google.cloud.talent.v4.Company.DerivedInfoB\x03\xe0\x41\x03\x12\x16\n\tsuspended\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x1aN\n\x0b\x44\x65rivedInfo\x12?\n\x15headquarters_location\x18\x01 \x01(\x0b\x32 .google.cloud.talent.v4.Location:Y\xea\x41V\n\x1bjobs.googleapis.com/Company\x12\x37projects/{project}/tenants/{tenant}/companies/{company}Bf\n\x1a\x63om.google.cloud.talent.v4B\x0c\x43ompanyProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.cloud.talent.v4.Location", "google/cloud/talent/v4/common.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
29
33
  end
30
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
31
37
  end
32
38
 
33
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/talent/v4/company_service.proto
3
4
 
@@ -12,34 +13,34 @@ require 'google/cloud/talent/v4/company_pb'
12
13
  require 'google/protobuf/empty_pb'
13
14
  require 'google/protobuf/field_mask_pb'
14
15
 
15
- Google::Protobuf::DescriptorPool.generated_pool.build do
16
- add_file("google/cloud/talent/v4/company_service.proto", :syntax => :proto3) do
17
- add_message "google.cloud.talent.v4.CreateCompanyRequest" do
18
- optional :parent, :string, 1
19
- optional :company, :message, 2, "google.cloud.talent.v4.Company"
20
- end
21
- add_message "google.cloud.talent.v4.GetCompanyRequest" do
22
- optional :name, :string, 1
23
- end
24
- add_message "google.cloud.talent.v4.UpdateCompanyRequest" do
25
- optional :company, :message, 1, "google.cloud.talent.v4.Company"
26
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
27
- end
28
- add_message "google.cloud.talent.v4.DeleteCompanyRequest" do
29
- optional :name, :string, 1
30
- end
31
- add_message "google.cloud.talent.v4.ListCompaniesRequest" do
32
- optional :parent, :string, 1
33
- optional :page_token, :string, 2
34
- optional :page_size, :int32, 3
35
- optional :require_open_jobs, :bool, 4
36
- end
37
- add_message "google.cloud.talent.v4.ListCompaniesResponse" do
38
- repeated :companies, :message, 1, "google.cloud.talent.v4.Company"
39
- optional :next_page_token, :string, 2
40
- optional :metadata, :message, 3, "google.cloud.talent.v4.ResponseMetadata"
16
+
17
+ descriptor_data = "\n,google/cloud/talent/v4/company_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\x1a$google/cloud/talent/v4/company.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x81\x01\n\x14\x43reateCompanyRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12\x35\n\x07\x63ompany\x18\x02 \x01(\x0b\x32\x1f.google.cloud.talent.v4.CompanyB\x03\xe0\x41\x02\"F\n\x11GetCompanyRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\"~\n\x14UpdateCompanyRequest\x12\x35\n\x07\x63ompany\x18\x01 \x01(\x0b\x32\x1f.google.cloud.talent.v4.CompanyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"I\n\x14\x44\x65leteCompanyRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\"\x8c\x01\n\x14ListCompaniesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x19\n\x11require_open_jobs\x18\x04 \x01(\x08\"\xa0\x01\n\x15ListCompaniesResponse\x12\x32\n\tcompanies\x18\x01 \x03(\x0b\x32\x1f.google.cloud.talent.v4.Company\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12:\n\x08metadata\x18\x03 \x01(\x0b\x32(.google.cloud.talent.v4.ResponseMetadata2\xc3\x07\n\x0e\x43ompanyService\x12\xad\x01\n\rCreateCompany\x12,.google.cloud.talent.v4.CreateCompanyRequest\x1a\x1f.google.cloud.talent.v4.Company\"M\x82\xd3\xe4\x93\x02\x36\"+/v4/{parent=projects/*/tenants/*}/companies:\x07\x63ompany\xda\x41\x0eparent,company\x12\x94\x01\n\nGetCompany\x12).google.cloud.talent.v4.GetCompanyRequest\x1a\x1f.google.cloud.talent.v4.Company\":\x82\xd3\xe4\x93\x02-\x12+/v4/{name=projects/*/tenants/*/companies/*}\xda\x41\x04name\x12\xba\x01\n\rUpdateCompany\x12,.google.cloud.talent.v4.UpdateCompanyRequest\x1a\x1f.google.cloud.talent.v4.Company\"Z\x82\xd3\xe4\x93\x02>23/v4/{company.name=projects/*/tenants/*/companies/*}:\x07\x63ompany\xda\x41\x13\x63ompany,update_mask\x12\x91\x01\n\rDeleteCompany\x12,.google.cloud.talent.v4.DeleteCompanyRequest\x1a\x16.google.protobuf.Empty\":\x82\xd3\xe4\x93\x02-*+/v4/{name=projects/*/tenants/*/companies/*}\xda\x41\x04name\x12\xaa\x01\n\rListCompanies\x12,.google.cloud.talent.v4.ListCompaniesRequest\x1a-.google.cloud.talent.v4.ListCompaniesResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v4/{parent=projects/*/tenants/*}/companies\xda\x41\x06parent\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBm\n\x1a\x63om.google.cloud.talent.v4B\x13\x43ompanyServiceProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
18
+
19
+ pool = Google::Protobuf::DescriptorPool.generated_pool
20
+
21
+ begin
22
+ pool.add_serialized_file(descriptor_data)
23
+ rescue TypeError => e
24
+ # Compatibility code: will be removed in the next major version.
25
+ require 'google/protobuf/descriptor_pb'
26
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
+ parsed.clear_dependency
28
+ serialized = parsed.class.encode(parsed)
29
+ file = pool.add_serialized_file(serialized)
30
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
+ imports = [
32
+ ["google.cloud.talent.v4.Company", "google/cloud/talent/v4/company.proto"],
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
+ ["google.cloud.talent.v4.ResponseMetadata", "google/cloud/talent/v4/common.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
41
40
  end
42
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
43
44
  end
44
45
 
45
46
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/talent/v4/completion_service.proto
3
4
 
@@ -9,38 +10,32 @@ require 'google/api/field_behavior_pb'
9
10
  require 'google/api/resource_pb'
10
11
  require 'google/cloud/talent/v4/common_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/talent/v4/completion_service.proto", :syntax => :proto3) do
14
- add_message "google.cloud.talent.v4.CompleteQueryRequest" do
15
- optional :tenant, :string, 1
16
- optional :query, :string, 2
17
- repeated :language_codes, :string, 3
18
- optional :page_size, :int32, 4
19
- optional :company, :string, 5
20
- optional :scope, :enum, 6, "google.cloud.talent.v4.CompleteQueryRequest.CompletionScope"
21
- optional :type, :enum, 7, "google.cloud.talent.v4.CompleteQueryRequest.CompletionType"
22
- end
23
- add_enum "google.cloud.talent.v4.CompleteQueryRequest.CompletionScope" do
24
- value :COMPLETION_SCOPE_UNSPECIFIED, 0
25
- value :TENANT, 1
26
- value :PUBLIC, 2
27
- end
28
- add_enum "google.cloud.talent.v4.CompleteQueryRequest.CompletionType" do
29
- value :COMPLETION_TYPE_UNSPECIFIED, 0
30
- value :JOB_TITLE, 1
31
- value :COMPANY_NAME, 2
32
- value :COMBINED, 3
33
- end
34
- add_message "google.cloud.talent.v4.CompleteQueryResponse" do
35
- repeated :completion_results, :message, 1, "google.cloud.talent.v4.CompleteQueryResponse.CompletionResult"
36
- optional :metadata, :message, 2, "google.cloud.talent.v4.ResponseMetadata"
37
- end
38
- add_message "google.cloud.talent.v4.CompleteQueryResponse.CompletionResult" do
39
- optional :suggestion, :string, 1
40
- optional :type, :enum, 2, "google.cloud.talent.v4.CompleteQueryRequest.CompletionType"
41
- optional :image_uri, :string, 3
13
+
14
+ descriptor_data = "\n/google/cloud/talent/v4/completion_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\"\x88\x04\n\x14\x43ompleteQueryRequest\x12\x32\n\x06tenant\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\x0elanguage_codes\x18\x03 \x03(\t\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x31\n\x07\x63ompany\x18\x05 \x01(\tB \xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\x12K\n\x05scope\x18\x06 \x01(\x0e\x32<.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope\x12I\n\x04type\x18\x07 \x01(\x0e\x32;.google.cloud.talent.v4.CompleteQueryRequest.CompletionType\"K\n\x0f\x43ompletionScope\x12 \n\x1c\x43OMPLETION_SCOPE_UNSPECIFIED\x10\x00\x12\n\n\x06TENANT\x10\x01\x12\n\n\x06PUBLIC\x10\x02\"`\n\x0e\x43ompletionType\x12\x1f\n\x1b\x43OMPLETION_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tJOB_TITLE\x10\x01\x12\x10\n\x0c\x43OMPANY_NAME\x10\x02\x12\x0c\n\x08\x43OMBINED\x10\x03\"\xb6\x02\n\x15\x43ompleteQueryResponse\x12Z\n\x12\x63ompletion_results\x18\x01 \x03(\x0b\x32>.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult\x12:\n\x08metadata\x18\x02 \x01(\x0b\x32(.google.cloud.talent.v4.ResponseMetadata\x1a\x84\x01\n\x10\x43ompletionResult\x12\x12\n\nsuggestion\x18\x01 \x01(\t\x12I\n\x04type\x18\x02 \x01(\x0e\x32;.google.cloud.talent.v4.CompleteQueryRequest.CompletionType\x12\x11\n\timage_uri\x18\x03 \x01(\t2\xa2\x02\n\nCompletion\x12\xa5\x01\n\rCompleteQuery\x12,.google.cloud.talent.v4.CompleteQueryRequest\x1a-.google.cloud.talent.v4.CompleteQueryResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//v4/{tenant=projects/*/tenants/*}:completeQuery\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBp\n\x1a\x63om.google.cloud.talent.v4B\x16\x43ompletionServiceProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.cloud.talent.v4.ResponseMetadata", "google/cloud/talent/v4/common.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
35
  end
43
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
44
39
  end
45
40
 
46
41
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/talent/v4/event.proto
3
4
 
@@ -6,40 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/talent/v4/event.proto", :syntax => :proto3) do
11
- add_message "google.cloud.talent.v4.ClientEvent" do
12
- optional :request_id, :string, 1
13
- optional :event_id, :string, 2
14
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
15
- optional :event_notes, :string, 9
16
- oneof :event do
17
- optional :job_event, :message, 5, "google.cloud.talent.v4.JobEvent"
18
- end
19
- end
20
- add_message "google.cloud.talent.v4.JobEvent" do
21
- optional :type, :enum, 1, "google.cloud.talent.v4.JobEvent.JobEventType"
22
- repeated :jobs, :string, 2
23
- end
24
- add_enum "google.cloud.talent.v4.JobEvent.JobEventType" do
25
- value :JOB_EVENT_TYPE_UNSPECIFIED, 0
26
- value :IMPRESSION, 1
27
- value :VIEW, 2
28
- value :VIEW_REDIRECT, 3
29
- value :APPLICATION_START, 4
30
- value :APPLICATION_FINISH, 5
31
- value :APPLICATION_QUICK_SUBMISSION, 6
32
- value :APPLICATION_REDIRECT, 7
33
- value :APPLICATION_START_FROM_SEARCH, 8
34
- value :APPLICATION_REDIRECT_FROM_SEARCH, 9
35
- value :APPLICATION_COMPANY_SUBMIT, 10
36
- value :BOOKMARK, 11
37
- value :NOTIFICATION, 12
38
- value :HIRED, 13
39
- value :SENT_CV, 14
40
- value :INTERVIEW_GRANTED, 15
10
+
11
+ descriptor_data = "\n\"google/cloud/talent/v4/event.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc3\x01\n\x0b\x43lientEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x15\n\x08\x65vent_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x35\n\tjob_event\x18\x05 \x01(\x0b\x32 .google.cloud.talent.v4.JobEventH\x00\x12\x13\n\x0b\x65vent_notes\x18\t \x01(\tB\x07\n\x05\x65vent\"\xe0\x03\n\x08JobEvent\x12@\n\x04type\x18\x01 \x01(\x0e\x32-.google.cloud.talent.v4.JobEvent.JobEventTypeB\x03\xe0\x41\x02\x12\x11\n\x04jobs\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\xfe\x02\n\x0cJobEventType\x12\x1e\n\x1aJOB_EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nIMPRESSION\x10\x01\x12\x08\n\x04VIEW\x10\x02\x12\x11\n\rVIEW_REDIRECT\x10\x03\x12\x15\n\x11\x41PPLICATION_START\x10\x04\x12\x16\n\x12\x41PPLICATION_FINISH\x10\x05\x12 \n\x1c\x41PPLICATION_QUICK_SUBMISSION\x10\x06\x12\x18\n\x14\x41PPLICATION_REDIRECT\x10\x07\x12!\n\x1d\x41PPLICATION_START_FROM_SEARCH\x10\x08\x12$\n APPLICATION_REDIRECT_FROM_SEARCH\x10\t\x12\x1e\n\x1a\x41PPLICATION_COMPANY_SUBMIT\x10\n\x12\x0c\n\x08\x42OOKMARK\x10\x0b\x12\x10\n\x0cNOTIFICATION\x10\x0c\x12\t\n\x05HIRED\x10\r\x12\x0b\n\x07SENT_CV\x10\x0e\x12\x15\n\x11INTERVIEW_GRANTED\x10\x0f\x42\x64\n\x1a\x63om.google.cloud.talent.v4B\nEventProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
41
32
  end
42
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
43
36
  end
44
37
 
45
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/talent/v4/event_service.proto
3
4
 
@@ -9,13 +10,32 @@ require 'google/api/field_behavior_pb'
9
10
  require 'google/api/resource_pb'
10
11
  require 'google/cloud/talent/v4/event_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/talent/v4/event_service.proto", :syntax => :proto3) do
14
- add_message "google.cloud.talent.v4.CreateClientEventRequest" do
15
- optional :parent, :string, 1
16
- optional :client_event, :message, 2, "google.cloud.talent.v4.ClientEvent"
13
+
14
+ descriptor_data = "\n*google/cloud/talent/v4/event_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/cloud/talent/v4/event.proto\"\x8e\x01\n\x18\x43reateClientEventRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12>\n\x0c\x63lient_event\x18\x02 \x01(\x0b\x32#.google.cloud.talent.v4.ClientEventB\x03\xe0\x41\x02\x32\xc5\x02\n\x0c\x45ventService\x12\xc6\x01\n\x11\x43reateClientEvent\x12\x30.google.cloud.talent.v4.CreateClientEventRequest\x1a#.google.cloud.talent.v4.ClientEvent\"Z\x82\xd3\xe4\x93\x02>\"./v4/{parent=projects/*/tenants/*}/clientEvents:\x0c\x63lient_event\xda\x41\x13parent,client_event\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBk\n\x1a\x63om.google.cloud.talent.v4B\x11\x45ventServiceProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.cloud.talent.v4.ClientEvent", "google/cloud/talent/v4/event.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
17
35
  end
18
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
19
39
  end
20
40
 
21
41
  module Google