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/common.proto 18 19 package com.google.cloud.talent.v4; 20 21 /** 22 * 23 * 24 * <pre> 25 * An enum that represents the required experience level required for the job. 26 * </pre> 27 * 28 * Protobuf enum {@code google.cloud.talent.v4.JobLevel} 29 */ 30 public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { 31 /** 32 * 33 * 34 * <pre> 35 * The default value if the level isn't specified. 36 * </pre> 37 * 38 * <code>JOB_LEVEL_UNSPECIFIED = 0;</code> 39 */ 40 JOB_LEVEL_UNSPECIFIED(0), 41 /** 42 * 43 * 44 * <pre> 45 * Entry-level individual contributors, typically with less than 2 years of 46 * experience in a similar role. Includes interns. 47 * </pre> 48 * 49 * <code>ENTRY_LEVEL = 1;</code> 50 */ 51 ENTRY_LEVEL(1), 52 /** 53 * 54 * 55 * <pre> 56 * Experienced individual contributors, typically with 2+ years of 57 * experience in a similar role. 58 * </pre> 59 * 60 * <code>EXPERIENCED = 2;</code> 61 */ 62 EXPERIENCED(2), 63 /** 64 * 65 * 66 * <pre> 67 * Entry- to mid-level managers responsible for managing a team of people. 68 * </pre> 69 * 70 * <code>MANAGER = 3;</code> 71 */ 72 MANAGER(3), 73 /** 74 * 75 * 76 * <pre> 77 * Senior-level managers responsible for managing teams of managers. 78 * </pre> 79 * 80 * <code>DIRECTOR = 4;</code> 81 */ 82 DIRECTOR(4), 83 /** 84 * 85 * 86 * <pre> 87 * Executive-level managers and above, including C-level positions. 88 * </pre> 89 * 90 * <code>EXECUTIVE = 5;</code> 91 */ 92 EXECUTIVE(5), 93 UNRECOGNIZED(-1), 94 ; 95 96 /** 97 * 98 * 99 * <pre> 100 * The default value if the level isn't specified. 101 * </pre> 102 * 103 * <code>JOB_LEVEL_UNSPECIFIED = 0;</code> 104 */ 105 public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; 106 /** 107 * 108 * 109 * <pre> 110 * Entry-level individual contributors, typically with less than 2 years of 111 * experience in a similar role. Includes interns. 112 * </pre> 113 * 114 * <code>ENTRY_LEVEL = 1;</code> 115 */ 116 public static final int ENTRY_LEVEL_VALUE = 1; 117 /** 118 * 119 * 120 * <pre> 121 * Experienced individual contributors, typically with 2+ years of 122 * experience in a similar role. 123 * </pre> 124 * 125 * <code>EXPERIENCED = 2;</code> 126 */ 127 public static final int EXPERIENCED_VALUE = 2; 128 /** 129 * 130 * 131 * <pre> 132 * Entry- to mid-level managers responsible for managing a team of people. 133 * </pre> 134 * 135 * <code>MANAGER = 3;</code> 136 */ 137 public static final int MANAGER_VALUE = 3; 138 /** 139 * 140 * 141 * <pre> 142 * Senior-level managers responsible for managing teams of managers. 143 * </pre> 144 * 145 * <code>DIRECTOR = 4;</code> 146 */ 147 public static final int DIRECTOR_VALUE = 4; 148 /** 149 * 150 * 151 * <pre> 152 * Executive-level managers and above, including C-level positions. 153 * </pre> 154 * 155 * <code>EXECUTIVE = 5;</code> 156 */ 157 public static final int EXECUTIVE_VALUE = 5; 158 getNumber()159 public final int getNumber() { 160 if (this == UNRECOGNIZED) { 161 throw new java.lang.IllegalArgumentException( 162 "Can't get the number of an unknown enum value."); 163 } 164 return value; 165 } 166 167 /** 168 * @param value The numeric wire value of the corresponding enum entry. 169 * @return The enum associated with the given numeric wire value. 170 * @deprecated Use {@link #forNumber(int)} instead. 171 */ 172 @java.lang.Deprecated valueOf(int value)173 public static JobLevel valueOf(int value) { 174 return forNumber(value); 175 } 176 177 /** 178 * @param value The numeric wire value of the corresponding enum entry. 179 * @return The enum associated with the given numeric wire value. 180 */ forNumber(int value)181 public static JobLevel forNumber(int value) { 182 switch (value) { 183 case 0: 184 return JOB_LEVEL_UNSPECIFIED; 185 case 1: 186 return ENTRY_LEVEL; 187 case 2: 188 return EXPERIENCED; 189 case 3: 190 return MANAGER; 191 case 4: 192 return DIRECTOR; 193 case 5: 194 return EXECUTIVE; 195 default: 196 return null; 197 } 198 } 199 internalGetValueMap()200 public static com.google.protobuf.Internal.EnumLiteMap<JobLevel> internalGetValueMap() { 201 return internalValueMap; 202 } 203 204 private static final com.google.protobuf.Internal.EnumLiteMap<JobLevel> internalValueMap = 205 new com.google.protobuf.Internal.EnumLiteMap<JobLevel>() { 206 public JobLevel findValueByNumber(int number) { 207 return JobLevel.forNumber(number); 208 } 209 }; 210 getValueDescriptor()211 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 212 if (this == UNRECOGNIZED) { 213 throw new java.lang.IllegalStateException( 214 "Can't get the descriptor of an unrecognized enum value."); 215 } 216 return getDescriptor().getValues().get(ordinal()); 217 } 218 getDescriptorForType()219 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { 220 return getDescriptor(); 221 } 222 getDescriptor()223 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { 224 return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(4); 225 } 226 227 private static final JobLevel[] VALUES = values(); 228 valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)229 public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 230 if (desc.getType() != getDescriptor()) { 231 throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); 232 } 233 if (desc.getIndex() == -1) { 234 return UNRECOGNIZED; 235 } 236 return VALUES[desc.getIndex()]; 237 } 238 239 private final int value; 240 JobLevel(int value)241 private JobLevel(int value) { 242 this.value = value; 243 } 244 245 // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobLevel) 246 } 247