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/v4beta1/common.proto 18 19 package com.google.cloud.talent.v4beta1; 20 21 /** 22 * 23 * 24 * <pre> 25 * An enum that represents the categorization or primary focus of specific 26 * role. This value is different than the "industry" associated with a role, 27 * which is related to the categorization of the company listing the job. 28 * </pre> 29 * 30 * Protobuf enum {@code google.cloud.talent.v4beta1.JobCategory} 31 */ 32 public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { 33 /** 34 * 35 * 36 * <pre> 37 * The default value if the category isn't specified. 38 * </pre> 39 * 40 * <code>JOB_CATEGORY_UNSPECIFIED = 0;</code> 41 */ 42 JOB_CATEGORY_UNSPECIFIED(0), 43 /** 44 * 45 * 46 * <pre> 47 * An accounting and finance job, such as an Accountant. 48 * </pre> 49 * 50 * <code>ACCOUNTING_AND_FINANCE = 1;</code> 51 */ 52 ACCOUNTING_AND_FINANCE(1), 53 /** 54 * 55 * 56 * <pre> 57 * An administrative and office job, such as an Administrative Assistant. 58 * </pre> 59 * 60 * <code>ADMINISTRATIVE_AND_OFFICE = 2;</code> 61 */ 62 ADMINISTRATIVE_AND_OFFICE(2), 63 /** 64 * 65 * 66 * <pre> 67 * An advertising and marketing job, such as Marketing Manager. 68 * </pre> 69 * 70 * <code>ADVERTISING_AND_MARKETING = 3;</code> 71 */ 72 ADVERTISING_AND_MARKETING(3), 73 /** 74 * 75 * 76 * <pre> 77 * An animal care job, such as Veterinarian. 78 * </pre> 79 * 80 * <code>ANIMAL_CARE = 4;</code> 81 */ 82 ANIMAL_CARE(4), 83 /** 84 * 85 * 86 * <pre> 87 * An art, fashion, or design job, such as Designer. 88 * </pre> 89 * 90 * <code>ART_FASHION_AND_DESIGN = 5;</code> 91 */ 92 ART_FASHION_AND_DESIGN(5), 93 /** 94 * 95 * 96 * <pre> 97 * A business operations job, such as Business Operations Manager. 98 * </pre> 99 * 100 * <code>BUSINESS_OPERATIONS = 6;</code> 101 */ 102 BUSINESS_OPERATIONS(6), 103 /** 104 * 105 * 106 * <pre> 107 * A cleaning and facilities job, such as Custodial Staff. 108 * </pre> 109 * 110 * <code>CLEANING_AND_FACILITIES = 7;</code> 111 */ 112 CLEANING_AND_FACILITIES(7), 113 /** 114 * 115 * 116 * <pre> 117 * A computer and IT job, such as Systems Administrator. 118 * </pre> 119 * 120 * <code>COMPUTER_AND_IT = 8;</code> 121 */ 122 COMPUTER_AND_IT(8), 123 /** 124 * 125 * 126 * <pre> 127 * A construction job, such as General Laborer. 128 * </pre> 129 * 130 * <code>CONSTRUCTION = 9;</code> 131 */ 132 CONSTRUCTION(9), 133 /** 134 * 135 * 136 * <pre> 137 * A customer service job, such s Cashier. 138 * </pre> 139 * 140 * <code>CUSTOMER_SERVICE = 10;</code> 141 */ 142 CUSTOMER_SERVICE(10), 143 /** 144 * 145 * 146 * <pre> 147 * An education job, such as School Teacher. 148 * </pre> 149 * 150 * <code>EDUCATION = 11;</code> 151 */ 152 EDUCATION(11), 153 /** 154 * 155 * 156 * <pre> 157 * An entertainment and travel job, such as Flight Attendant. 158 * </pre> 159 * 160 * <code>ENTERTAINMENT_AND_TRAVEL = 12;</code> 161 */ 162 ENTERTAINMENT_AND_TRAVEL(12), 163 /** 164 * 165 * 166 * <pre> 167 * A farming or outdoor job, such as Park Ranger. 168 * </pre> 169 * 170 * <code>FARMING_AND_OUTDOORS = 13;</code> 171 */ 172 FARMING_AND_OUTDOORS(13), 173 /** 174 * 175 * 176 * <pre> 177 * A healthcare job, such as Registered Nurse. 178 * </pre> 179 * 180 * <code>HEALTHCARE = 14;</code> 181 */ 182 HEALTHCARE(14), 183 /** 184 * 185 * 186 * <pre> 187 * A human resources job, such as Human Resources Director. 188 * </pre> 189 * 190 * <code>HUMAN_RESOURCES = 15;</code> 191 */ 192 HUMAN_RESOURCES(15), 193 /** 194 * 195 * 196 * <pre> 197 * An installation, maintenance, or repair job, such as Electrician. 198 * </pre> 199 * 200 * <code>INSTALLATION_MAINTENANCE_AND_REPAIR = 16;</code> 201 */ 202 INSTALLATION_MAINTENANCE_AND_REPAIR(16), 203 /** 204 * 205 * 206 * <pre> 207 * A legal job, such as Law Clerk. 208 * </pre> 209 * 210 * <code>LEGAL = 17;</code> 211 */ 212 LEGAL(17), 213 /** 214 * 215 * 216 * <pre> 217 * A management job, often used in conjunction with another category, 218 * such as Store Manager. 219 * </pre> 220 * 221 * <code>MANAGEMENT = 18;</code> 222 */ 223 MANAGEMENT(18), 224 /** 225 * 226 * 227 * <pre> 228 * A manufacturing or warehouse job, such as Assembly Technician. 229 * </pre> 230 * 231 * <code>MANUFACTURING_AND_WAREHOUSE = 19;</code> 232 */ 233 MANUFACTURING_AND_WAREHOUSE(19), 234 /** 235 * 236 * 237 * <pre> 238 * A media, communications, or writing job, such as Media Relations. 239 * </pre> 240 * 241 * <code>MEDIA_COMMUNICATIONS_AND_WRITING = 20;</code> 242 */ 243 MEDIA_COMMUNICATIONS_AND_WRITING(20), 244 /** 245 * 246 * 247 * <pre> 248 * An oil, gas or mining job, such as Offshore Driller. 249 * </pre> 250 * 251 * <code>OIL_GAS_AND_MINING = 21;</code> 252 */ 253 OIL_GAS_AND_MINING(21), 254 /** 255 * 256 * 257 * <pre> 258 * A personal care and services job, such as Hair Stylist. 259 * </pre> 260 * 261 * <code>PERSONAL_CARE_AND_SERVICES = 22;</code> 262 */ 263 PERSONAL_CARE_AND_SERVICES(22), 264 /** 265 * 266 * 267 * <pre> 268 * A protective services job, such as Security Guard. 269 * </pre> 270 * 271 * <code>PROTECTIVE_SERVICES = 23;</code> 272 */ 273 PROTECTIVE_SERVICES(23), 274 /** 275 * 276 * 277 * <pre> 278 * A real estate job, such as Buyer's Agent. 279 * </pre> 280 * 281 * <code>REAL_ESTATE = 24;</code> 282 */ 283 REAL_ESTATE(24), 284 /** 285 * 286 * 287 * <pre> 288 * A restaurant and hospitality job, such as Restaurant Server. 289 * </pre> 290 * 291 * <code>RESTAURANT_AND_HOSPITALITY = 25;</code> 292 */ 293 RESTAURANT_AND_HOSPITALITY(25), 294 /** 295 * 296 * 297 * <pre> 298 * A sales and/or retail job, such Sales Associate. 299 * </pre> 300 * 301 * <code>SALES_AND_RETAIL = 26;</code> 302 */ 303 SALES_AND_RETAIL(26), 304 /** 305 * 306 * 307 * <pre> 308 * A science and engineering job, such as Lab Technician. 309 * </pre> 310 * 311 * <code>SCIENCE_AND_ENGINEERING = 27;</code> 312 */ 313 SCIENCE_AND_ENGINEERING(27), 314 /** 315 * 316 * 317 * <pre> 318 * A social services or non-profit job, such as Case Worker. 319 * </pre> 320 * 321 * <code>SOCIAL_SERVICES_AND_NON_PROFIT = 28;</code> 322 */ 323 SOCIAL_SERVICES_AND_NON_PROFIT(28), 324 /** 325 * 326 * 327 * <pre> 328 * A sports, fitness, or recreation job, such as Personal Trainer. 329 * </pre> 330 * 331 * <code>SPORTS_FITNESS_AND_RECREATION = 29;</code> 332 */ 333 SPORTS_FITNESS_AND_RECREATION(29), 334 /** 335 * 336 * 337 * <pre> 338 * A transportation or logistics job, such as Truck Driver. 339 * </pre> 340 * 341 * <code>TRANSPORTATION_AND_LOGISTICS = 30;</code> 342 */ 343 TRANSPORTATION_AND_LOGISTICS(30), 344 UNRECOGNIZED(-1), 345 ; 346 347 /** 348 * 349 * 350 * <pre> 351 * The default value if the category isn't specified. 352 * </pre> 353 * 354 * <code>JOB_CATEGORY_UNSPECIFIED = 0;</code> 355 */ 356 public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; 357 /** 358 * 359 * 360 * <pre> 361 * An accounting and finance job, such as an Accountant. 362 * </pre> 363 * 364 * <code>ACCOUNTING_AND_FINANCE = 1;</code> 365 */ 366 public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; 367 /** 368 * 369 * 370 * <pre> 371 * An administrative and office job, such as an Administrative Assistant. 372 * </pre> 373 * 374 * <code>ADMINISTRATIVE_AND_OFFICE = 2;</code> 375 */ 376 public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; 377 /** 378 * 379 * 380 * <pre> 381 * An advertising and marketing job, such as Marketing Manager. 382 * </pre> 383 * 384 * <code>ADVERTISING_AND_MARKETING = 3;</code> 385 */ 386 public static final int ADVERTISING_AND_MARKETING_VALUE = 3; 387 /** 388 * 389 * 390 * <pre> 391 * An animal care job, such as Veterinarian. 392 * </pre> 393 * 394 * <code>ANIMAL_CARE = 4;</code> 395 */ 396 public static final int ANIMAL_CARE_VALUE = 4; 397 /** 398 * 399 * 400 * <pre> 401 * An art, fashion, or design job, such as Designer. 402 * </pre> 403 * 404 * <code>ART_FASHION_AND_DESIGN = 5;</code> 405 */ 406 public static final int ART_FASHION_AND_DESIGN_VALUE = 5; 407 /** 408 * 409 * 410 * <pre> 411 * A business operations job, such as Business Operations Manager. 412 * </pre> 413 * 414 * <code>BUSINESS_OPERATIONS = 6;</code> 415 */ 416 public static final int BUSINESS_OPERATIONS_VALUE = 6; 417 /** 418 * 419 * 420 * <pre> 421 * A cleaning and facilities job, such as Custodial Staff. 422 * </pre> 423 * 424 * <code>CLEANING_AND_FACILITIES = 7;</code> 425 */ 426 public static final int CLEANING_AND_FACILITIES_VALUE = 7; 427 /** 428 * 429 * 430 * <pre> 431 * A computer and IT job, such as Systems Administrator. 432 * </pre> 433 * 434 * <code>COMPUTER_AND_IT = 8;</code> 435 */ 436 public static final int COMPUTER_AND_IT_VALUE = 8; 437 /** 438 * 439 * 440 * <pre> 441 * A construction job, such as General Laborer. 442 * </pre> 443 * 444 * <code>CONSTRUCTION = 9;</code> 445 */ 446 public static final int CONSTRUCTION_VALUE = 9; 447 /** 448 * 449 * 450 * <pre> 451 * A customer service job, such s Cashier. 452 * </pre> 453 * 454 * <code>CUSTOMER_SERVICE = 10;</code> 455 */ 456 public static final int CUSTOMER_SERVICE_VALUE = 10; 457 /** 458 * 459 * 460 * <pre> 461 * An education job, such as School Teacher. 462 * </pre> 463 * 464 * <code>EDUCATION = 11;</code> 465 */ 466 public static final int EDUCATION_VALUE = 11; 467 /** 468 * 469 * 470 * <pre> 471 * An entertainment and travel job, such as Flight Attendant. 472 * </pre> 473 * 474 * <code>ENTERTAINMENT_AND_TRAVEL = 12;</code> 475 */ 476 public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; 477 /** 478 * 479 * 480 * <pre> 481 * A farming or outdoor job, such as Park Ranger. 482 * </pre> 483 * 484 * <code>FARMING_AND_OUTDOORS = 13;</code> 485 */ 486 public static final int FARMING_AND_OUTDOORS_VALUE = 13; 487 /** 488 * 489 * 490 * <pre> 491 * A healthcare job, such as Registered Nurse. 492 * </pre> 493 * 494 * <code>HEALTHCARE = 14;</code> 495 */ 496 public static final int HEALTHCARE_VALUE = 14; 497 /** 498 * 499 * 500 * <pre> 501 * A human resources job, such as Human Resources Director. 502 * </pre> 503 * 504 * <code>HUMAN_RESOURCES = 15;</code> 505 */ 506 public static final int HUMAN_RESOURCES_VALUE = 15; 507 /** 508 * 509 * 510 * <pre> 511 * An installation, maintenance, or repair job, such as Electrician. 512 * </pre> 513 * 514 * <code>INSTALLATION_MAINTENANCE_AND_REPAIR = 16;</code> 515 */ 516 public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; 517 /** 518 * 519 * 520 * <pre> 521 * A legal job, such as Law Clerk. 522 * </pre> 523 * 524 * <code>LEGAL = 17;</code> 525 */ 526 public static final int LEGAL_VALUE = 17; 527 /** 528 * 529 * 530 * <pre> 531 * A management job, often used in conjunction with another category, 532 * such as Store Manager. 533 * </pre> 534 * 535 * <code>MANAGEMENT = 18;</code> 536 */ 537 public static final int MANAGEMENT_VALUE = 18; 538 /** 539 * 540 * 541 * <pre> 542 * A manufacturing or warehouse job, such as Assembly Technician. 543 * </pre> 544 * 545 * <code>MANUFACTURING_AND_WAREHOUSE = 19;</code> 546 */ 547 public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; 548 /** 549 * 550 * 551 * <pre> 552 * A media, communications, or writing job, such as Media Relations. 553 * </pre> 554 * 555 * <code>MEDIA_COMMUNICATIONS_AND_WRITING = 20;</code> 556 */ 557 public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; 558 /** 559 * 560 * 561 * <pre> 562 * An oil, gas or mining job, such as Offshore Driller. 563 * </pre> 564 * 565 * <code>OIL_GAS_AND_MINING = 21;</code> 566 */ 567 public static final int OIL_GAS_AND_MINING_VALUE = 21; 568 /** 569 * 570 * 571 * <pre> 572 * A personal care and services job, such as Hair Stylist. 573 * </pre> 574 * 575 * <code>PERSONAL_CARE_AND_SERVICES = 22;</code> 576 */ 577 public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; 578 /** 579 * 580 * 581 * <pre> 582 * A protective services job, such as Security Guard. 583 * </pre> 584 * 585 * <code>PROTECTIVE_SERVICES = 23;</code> 586 */ 587 public static final int PROTECTIVE_SERVICES_VALUE = 23; 588 /** 589 * 590 * 591 * <pre> 592 * A real estate job, such as Buyer's Agent. 593 * </pre> 594 * 595 * <code>REAL_ESTATE = 24;</code> 596 */ 597 public static final int REAL_ESTATE_VALUE = 24; 598 /** 599 * 600 * 601 * <pre> 602 * A restaurant and hospitality job, such as Restaurant Server. 603 * </pre> 604 * 605 * <code>RESTAURANT_AND_HOSPITALITY = 25;</code> 606 */ 607 public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; 608 /** 609 * 610 * 611 * <pre> 612 * A sales and/or retail job, such Sales Associate. 613 * </pre> 614 * 615 * <code>SALES_AND_RETAIL = 26;</code> 616 */ 617 public static final int SALES_AND_RETAIL_VALUE = 26; 618 /** 619 * 620 * 621 * <pre> 622 * A science and engineering job, such as Lab Technician. 623 * </pre> 624 * 625 * <code>SCIENCE_AND_ENGINEERING = 27;</code> 626 */ 627 public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; 628 /** 629 * 630 * 631 * <pre> 632 * A social services or non-profit job, such as Case Worker. 633 * </pre> 634 * 635 * <code>SOCIAL_SERVICES_AND_NON_PROFIT = 28;</code> 636 */ 637 public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; 638 /** 639 * 640 * 641 * <pre> 642 * A sports, fitness, or recreation job, such as Personal Trainer. 643 * </pre> 644 * 645 * <code>SPORTS_FITNESS_AND_RECREATION = 29;</code> 646 */ 647 public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; 648 /** 649 * 650 * 651 * <pre> 652 * A transportation or logistics job, such as Truck Driver. 653 * </pre> 654 * 655 * <code>TRANSPORTATION_AND_LOGISTICS = 30;</code> 656 */ 657 public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; 658 getNumber()659 public final int getNumber() { 660 if (this == UNRECOGNIZED) { 661 throw new java.lang.IllegalArgumentException( 662 "Can't get the number of an unknown enum value."); 663 } 664 return value; 665 } 666 667 /** 668 * @param value The numeric wire value of the corresponding enum entry. 669 * @return The enum associated with the given numeric wire value. 670 * @deprecated Use {@link #forNumber(int)} instead. 671 */ 672 @java.lang.Deprecated valueOf(int value)673 public static JobCategory valueOf(int value) { 674 return forNumber(value); 675 } 676 677 /** 678 * @param value The numeric wire value of the corresponding enum entry. 679 * @return The enum associated with the given numeric wire value. 680 */ forNumber(int value)681 public static JobCategory forNumber(int value) { 682 switch (value) { 683 case 0: 684 return JOB_CATEGORY_UNSPECIFIED; 685 case 1: 686 return ACCOUNTING_AND_FINANCE; 687 case 2: 688 return ADMINISTRATIVE_AND_OFFICE; 689 case 3: 690 return ADVERTISING_AND_MARKETING; 691 case 4: 692 return ANIMAL_CARE; 693 case 5: 694 return ART_FASHION_AND_DESIGN; 695 case 6: 696 return BUSINESS_OPERATIONS; 697 case 7: 698 return CLEANING_AND_FACILITIES; 699 case 8: 700 return COMPUTER_AND_IT; 701 case 9: 702 return CONSTRUCTION; 703 case 10: 704 return CUSTOMER_SERVICE; 705 case 11: 706 return EDUCATION; 707 case 12: 708 return ENTERTAINMENT_AND_TRAVEL; 709 case 13: 710 return FARMING_AND_OUTDOORS; 711 case 14: 712 return HEALTHCARE; 713 case 15: 714 return HUMAN_RESOURCES; 715 case 16: 716 return INSTALLATION_MAINTENANCE_AND_REPAIR; 717 case 17: 718 return LEGAL; 719 case 18: 720 return MANAGEMENT; 721 case 19: 722 return MANUFACTURING_AND_WAREHOUSE; 723 case 20: 724 return MEDIA_COMMUNICATIONS_AND_WRITING; 725 case 21: 726 return OIL_GAS_AND_MINING; 727 case 22: 728 return PERSONAL_CARE_AND_SERVICES; 729 case 23: 730 return PROTECTIVE_SERVICES; 731 case 24: 732 return REAL_ESTATE; 733 case 25: 734 return RESTAURANT_AND_HOSPITALITY; 735 case 26: 736 return SALES_AND_RETAIL; 737 case 27: 738 return SCIENCE_AND_ENGINEERING; 739 case 28: 740 return SOCIAL_SERVICES_AND_NON_PROFIT; 741 case 29: 742 return SPORTS_FITNESS_AND_RECREATION; 743 case 30: 744 return TRANSPORTATION_AND_LOGISTICS; 745 default: 746 return null; 747 } 748 } 749 internalGetValueMap()750 public static com.google.protobuf.Internal.EnumLiteMap<JobCategory> internalGetValueMap() { 751 return internalValueMap; 752 } 753 754 private static final com.google.protobuf.Internal.EnumLiteMap<JobCategory> internalValueMap = 755 new com.google.protobuf.Internal.EnumLiteMap<JobCategory>() { 756 public JobCategory findValueByNumber(int number) { 757 return JobCategory.forNumber(number); 758 } 759 }; 760 getValueDescriptor()761 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 762 if (this == UNRECOGNIZED) { 763 throw new java.lang.IllegalStateException( 764 "Can't get the descriptor of an unrecognized enum value."); 765 } 766 return getDescriptor().getValues().get(ordinal()); 767 } 768 getDescriptorForType()769 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { 770 return getDescriptor(); 771 } 772 getDescriptor()773 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { 774 return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(5); 775 } 776 777 private static final JobCategory[] VALUES = values(); 778 valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)779 public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 780 if (desc.getType() != getDescriptor()) { 781 throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); 782 } 783 if (desc.getIndex() == -1) { 784 return UNRECOGNIZED; 785 } 786 return VALUES[desc.getIndex()]; 787 } 788 789 private final int value; 790 JobCategory(int value)791 private JobCategory(int value) { 792 this.value = value; 793 } 794 795 // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobCategory) 796 } 797