All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opencannabis.schema.geo.usa.USState Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas Co.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: geo/USState.proto

package io.opencannabis.schema.geo.usa;

/**
 * 
 * Enumerates United States member states and territories by their full name and abbreviation.
 * 
* * Protobuf enum {@code opencannabis.geo.usa.USState} */ public enum USState implements com.google.protobuf.ProtocolMessageEnum { /** *
   * Default: Unspecified.
   * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0, 0), /** *
   * State of Alabama.
   * 
* * AL = 1; */ AL(1, 1), /** *
   * State of Alaska.
   * 
* * AK = 2; */ AK(3, 2), /** *
   * State of Arizona.
   * 
* * AZ = 3; */ AZ(5, 3), /** *
   * State of Arkansas.
   * 
* * AR = 4; */ AR(7, 4), /** *
   * State of California.
   * 
* * CA = 5; */ CA(9, 5), /** *
   * State of Colorado.
   * 
* * CO = 6; */ CO(11, 6), /** *
   * State of Connecticut.
   * 
* * CT = 7; */ CT(13, 7), /** *
   * State of Delaware.
   * 
* * DE = 8; */ DE(15, 8), /** *
   * Washington, District of Columbia (DC).
   * 
* * DC = 9; */ DC(17, 9), /** *
   * State of Florida.
   * 
* * FL = 10; */ FL(19, 10), /** *
   * State of Georgia.
   * 
* * GA = 11; */ GA(21, 11), /** *
   * State of Hawaii.
   * 
* * HI = 12; */ HI(23, 12), /** *
   * State of Idaho.
   * 
* * ID = 13; */ ID(25, 13), /** *
   * State of Illinois.
   * 
* * IL = 14; */ IL(27, 14), /** *
   * State of Indiana.
   * 
* * IN = 15; */ IN(29, 15), /** *
   * State of Iowa.
   * 
* * IA = 16; */ IA(31, 16), /** *
   * State of Kansas.
   * 
* * KS = 17; */ KS(33, 17), /** *
   * State of Kentucky.
   * 
* * KY = 18; */ KY(35, 18), /** *
   * State of Loisiana.
   * 
* * LA = 19; */ LA(37, 19), /** *
   * State of Maine.
   * 
* * ME = 20; */ ME(39, 20), /** *
   * State of Maryland.
   * 
* * MD = 21; */ MD(41, 21), /** *
   * State of Massachusetts.
   * 
* * MA = 22; */ MA(43, 22), /** *
   * State of Michigan.
   * 
* * MI = 23; */ MI(45, 23), /** *
   * State of Minnesota.
   * 
* * MN = 24; */ MN(47, 24), /** *
   * State of Mississippi.
   * 
* * MS = 25; */ MS(49, 25), /** *
   * State of Missouri.
   * 
* * MO = 26; */ MO(51, 26), /** *
   * State of Montana.
   * 
* * MT = 27; */ MT(53, 27), /** *
   * State of Nebraska.
   * 
* * NE = 28; */ NE(55, 28), /** *
   * State of Nevada.
   * 
* * NV = 29; */ NV(57, 29), /** *
   * State of New Hampshire.
   * 
* * NH = 30; */ NH(59, 30), /** *
   * State of New Jersey.
   * 
* * NJ = 31; */ NJ(61, 31), /** *
   * State of New Mexico.
   * 
* * NM = 32; */ NM(63, 32), /** *
   * State of New York.
   * 
* * NY = 33; */ NY(65, 33), /** *
   * State of North Carolina.
   * 
* * NC = 34; */ NC(67, 34), /** *
   * State of North Dakota.
   * 
* * ND = 35; */ ND(69, 35), /** *
   * State of Ohio.
   * 
* * OH = 36; */ OH(71, 36), /** *
   * State of Oklahoma.
   * 
* * OK = 37; */ OK(73, 37), /** *
   * State of Oregon.
   * 
* * OR = 38; */ OR(75, 38), /** *
   * State of Pennsylvania.
   * 
* * PA = 39; */ PA(77, 39), /** *
   * State of Rhode Island.
   * 
* * RI = 40; */ RI(79, 40), /** *
   * State of South Carolina.
   * 
* * SC = 41; */ SC(81, 41), /** *
   * State of South Dakota.
   * 
* * SD = 42; */ SD(83, 42), /** *
   * State of Tennessee.
   * 
* * TN = 43; */ TN(85, 43), /** *
   * State of Texas.
   * 
* * TX = 44; */ TX(87, 44), /** *
   * State of Utah.
   * 
* * UT = 45; */ UT(89, 45), /** *
   * State of Vermont.
   * 
* * VT = 46; */ VT(91, 46), /** *
   * State of Virginia.
   * 
* * VA = 47; */ VA(93, 47), /** *
   * State of Washington.
   * 
* * WA = 48; */ WA(95, 48), /** *
   * State of West Virginia.
   * 
* * WV = 49; */ WV(97, 49), /** *
   * State of Wisconsin.
   * 
* * WI = 50; */ WI(99, 50), /** *
   * State of Wyoming.
   * 
* * WYOMING = 51; */ WYOMING(101, 51), UNRECOGNIZED(-1, -1), ; /** * ALABAMA = 1; */ public static final USState ALABAMA = AL; /** * ALASKA = 2; */ public static final USState ALASKA = AK; /** * ARIZONA = 3; */ public static final USState ARIZONA = AZ; /** * ARKANSAS = 4; */ public static final USState ARKANSAS = AR; /** * CALIFORNIA = 5; */ public static final USState CALIFORNIA = CA; /** * COLORADO = 6; */ public static final USState COLORADO = CO; /** * CONNECTICUT = 7; */ public static final USState CONNECTICUT = CT; /** * Delaware = 8; */ public static final USState Delaware = DE; /** * DISTRICT_OF_COLUMBIA = 9; */ public static final USState DISTRICT_OF_COLUMBIA = DC; /** * FLORIDA = 10; */ public static final USState FLORIDA = FL; /** * GEORGIA = 11; */ public static final USState GEORGIA = GA; /** * HAWAII = 12; */ public static final USState HAWAII = HI; /** * IDAHO = 13; */ public static final USState IDAHO = ID; /** * ILLINOIS = 14; */ public static final USState ILLINOIS = IL; /** * INDIANA = 15; */ public static final USState INDIANA = IN; /** * IOWA = 16; */ public static final USState IOWA = IA; /** * KANSAS = 17; */ public static final USState KANSAS = KS; /** * KENTUCKY = 18; */ public static final USState KENTUCKY = KY; /** * LOISIANA = 19; */ public static final USState LOISIANA = LA; /** * MAINE = 20; */ public static final USState MAINE = ME; /** * MARYLAND = 21; */ public static final USState MARYLAND = MD; /** * MASSACHUSETTS = 22; */ public static final USState MASSACHUSETTS = MA; /** * MICHIGAN = 23; */ public static final USState MICHIGAN = MI; /** * MINNESOTA = 24; */ public static final USState MINNESOTA = MN; /** * MISSISSIPPI = 25; */ public static final USState MISSISSIPPI = MS; /** * MISSOURI = 26; */ public static final USState MISSOURI = MO; /** * MONTANA = 27; */ public static final USState MONTANA = MT; /** * NEBRASKA = 28; */ public static final USState NEBRASKA = NE; /** * NEVADA = 29; */ public static final USState NEVADA = NV; /** * NEW_HAMPSHIRE = 30; */ public static final USState NEW_HAMPSHIRE = NH; /** * NEW_JERSEY = 31; */ public static final USState NEW_JERSEY = NJ; /** * NEW_MEXICO = 32; */ public static final USState NEW_MEXICO = NM; /** * NEW_YORK = 33; */ public static final USState NEW_YORK = NY; /** * NORTH_CAROLINA = 34; */ public static final USState NORTH_CAROLINA = NC; /** * NORTH_DAKOTA = 35; */ public static final USState NORTH_DAKOTA = ND; /** * OHIO = 36; */ public static final USState OHIO = OH; /** * OKLAHOMA = 37; */ public static final USState OKLAHOMA = OK; /** * OREGON = 38; */ public static final USState OREGON = OR; /** * PENNSYLVANIA = 39; */ public static final USState PENNSYLVANIA = PA; /** * RHODE_ISLAND = 40; */ public static final USState RHODE_ISLAND = RI; /** * SOUTH_CAROLINA = 41; */ public static final USState SOUTH_CAROLINA = SC; /** * SOUTH_DAKOTA = 42; */ public static final USState SOUTH_DAKOTA = SD; /** * TENNESSEE = 43; */ public static final USState TENNESSEE = TN; /** * TEXAS = 44; */ public static final USState TEXAS = TX; /** * UTAH = 45; */ public static final USState UTAH = UT; /** * VERMONT = 46; */ public static final USState VERMONT = VT; /** * VIRGINIA = 47; */ public static final USState VIRGINIA = VA; /** * WASHINGTON = 48; */ public static final USState WASHINGTON = WA; /** * WEST_VIRGINIA = 49; */ public static final USState WEST_VIRGINIA = WV; /** * WISCONSIN = 50; */ public static final USState WISCONSIN = WI; /** * WY = 51; */ public static final USState WY = WYOMING; /** *
   * Default: Unspecified.
   * 
* * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** *
   * State of Alabama.
   * 
* * AL = 1; */ public static final int AL_VALUE = 1; /** * ALABAMA = 1; */ public static final int ALABAMA_VALUE = 1; /** *
   * State of Alaska.
   * 
* * AK = 2; */ public static final int AK_VALUE = 2; /** * ALASKA = 2; */ public static final int ALASKA_VALUE = 2; /** *
   * State of Arizona.
   * 
* * AZ = 3; */ public static final int AZ_VALUE = 3; /** * ARIZONA = 3; */ public static final int ARIZONA_VALUE = 3; /** *
   * State of Arkansas.
   * 
* * AR = 4; */ public static final int AR_VALUE = 4; /** * ARKANSAS = 4; */ public static final int ARKANSAS_VALUE = 4; /** *
   * State of California.
   * 
* * CA = 5; */ public static final int CA_VALUE = 5; /** * CALIFORNIA = 5; */ public static final int CALIFORNIA_VALUE = 5; /** *
   * State of Colorado.
   * 
* * CO = 6; */ public static final int CO_VALUE = 6; /** * COLORADO = 6; */ public static final int COLORADO_VALUE = 6; /** *
   * State of Connecticut.
   * 
* * CT = 7; */ public static final int CT_VALUE = 7; /** * CONNECTICUT = 7; */ public static final int CONNECTICUT_VALUE = 7; /** *
   * State of Delaware.
   * 
* * DE = 8; */ public static final int DE_VALUE = 8; /** * Delaware = 8; */ public static final int Delaware_VALUE = 8; /** *
   * Washington, District of Columbia (DC).
   * 
* * DC = 9; */ public static final int DC_VALUE = 9; /** * DISTRICT_OF_COLUMBIA = 9; */ public static final int DISTRICT_OF_COLUMBIA_VALUE = 9; /** *
   * State of Florida.
   * 
* * FL = 10; */ public static final int FL_VALUE = 10; /** * FLORIDA = 10; */ public static final int FLORIDA_VALUE = 10; /** *
   * State of Georgia.
   * 
* * GA = 11; */ public static final int GA_VALUE = 11; /** * GEORGIA = 11; */ public static final int GEORGIA_VALUE = 11; /** *
   * State of Hawaii.
   * 
* * HI = 12; */ public static final int HI_VALUE = 12; /** * HAWAII = 12; */ public static final int HAWAII_VALUE = 12; /** *
   * State of Idaho.
   * 
* * ID = 13; */ public static final int ID_VALUE = 13; /** * IDAHO = 13; */ public static final int IDAHO_VALUE = 13; /** *
   * State of Illinois.
   * 
* * IL = 14; */ public static final int IL_VALUE = 14; /** * ILLINOIS = 14; */ public static final int ILLINOIS_VALUE = 14; /** *
   * State of Indiana.
   * 
* * IN = 15; */ public static final int IN_VALUE = 15; /** * INDIANA = 15; */ public static final int INDIANA_VALUE = 15; /** *
   * State of Iowa.
   * 
* * IA = 16; */ public static final int IA_VALUE = 16; /** * IOWA = 16; */ public static final int IOWA_VALUE = 16; /** *
   * State of Kansas.
   * 
* * KS = 17; */ public static final int KS_VALUE = 17; /** * KANSAS = 17; */ public static final int KANSAS_VALUE = 17; /** *
   * State of Kentucky.
   * 
* * KY = 18; */ public static final int KY_VALUE = 18; /** * KENTUCKY = 18; */ public static final int KENTUCKY_VALUE = 18; /** *
   * State of Loisiana.
   * 
* * LA = 19; */ public static final int LA_VALUE = 19; /** * LOISIANA = 19; */ public static final int LOISIANA_VALUE = 19; /** *
   * State of Maine.
   * 
* * ME = 20; */ public static final int ME_VALUE = 20; /** * MAINE = 20; */ public static final int MAINE_VALUE = 20; /** *
   * State of Maryland.
   * 
* * MD = 21; */ public static final int MD_VALUE = 21; /** * MARYLAND = 21; */ public static final int MARYLAND_VALUE = 21; /** *
   * State of Massachusetts.
   * 
* * MA = 22; */ public static final int MA_VALUE = 22; /** * MASSACHUSETTS = 22; */ public static final int MASSACHUSETTS_VALUE = 22; /** *
   * State of Michigan.
   * 
* * MI = 23; */ public static final int MI_VALUE = 23; /** * MICHIGAN = 23; */ public static final int MICHIGAN_VALUE = 23; /** *
   * State of Minnesota.
   * 
* * MN = 24; */ public static final int MN_VALUE = 24; /** * MINNESOTA = 24; */ public static final int MINNESOTA_VALUE = 24; /** *
   * State of Mississippi.
   * 
* * MS = 25; */ public static final int MS_VALUE = 25; /** * MISSISSIPPI = 25; */ public static final int MISSISSIPPI_VALUE = 25; /** *
   * State of Missouri.
   * 
* * MO = 26; */ public static final int MO_VALUE = 26; /** * MISSOURI = 26; */ public static final int MISSOURI_VALUE = 26; /** *
   * State of Montana.
   * 
* * MT = 27; */ public static final int MT_VALUE = 27; /** * MONTANA = 27; */ public static final int MONTANA_VALUE = 27; /** *
   * State of Nebraska.
   * 
* * NE = 28; */ public static final int NE_VALUE = 28; /** * NEBRASKA = 28; */ public static final int NEBRASKA_VALUE = 28; /** *
   * State of Nevada.
   * 
* * NV = 29; */ public static final int NV_VALUE = 29; /** * NEVADA = 29; */ public static final int NEVADA_VALUE = 29; /** *
   * State of New Hampshire.
   * 
* * NH = 30; */ public static final int NH_VALUE = 30; /** * NEW_HAMPSHIRE = 30; */ public static final int NEW_HAMPSHIRE_VALUE = 30; /** *
   * State of New Jersey.
   * 
* * NJ = 31; */ public static final int NJ_VALUE = 31; /** * NEW_JERSEY = 31; */ public static final int NEW_JERSEY_VALUE = 31; /** *
   * State of New Mexico.
   * 
* * NM = 32; */ public static final int NM_VALUE = 32; /** * NEW_MEXICO = 32; */ public static final int NEW_MEXICO_VALUE = 32; /** *
   * State of New York.
   * 
* * NY = 33; */ public static final int NY_VALUE = 33; /** * NEW_YORK = 33; */ public static final int NEW_YORK_VALUE = 33; /** *
   * State of North Carolina.
   * 
* * NC = 34; */ public static final int NC_VALUE = 34; /** * NORTH_CAROLINA = 34; */ public static final int NORTH_CAROLINA_VALUE = 34; /** *
   * State of North Dakota.
   * 
* * ND = 35; */ public static final int ND_VALUE = 35; /** * NORTH_DAKOTA = 35; */ public static final int NORTH_DAKOTA_VALUE = 35; /** *
   * State of Ohio.
   * 
* * OH = 36; */ public static final int OH_VALUE = 36; /** * OHIO = 36; */ public static final int OHIO_VALUE = 36; /** *
   * State of Oklahoma.
   * 
* * OK = 37; */ public static final int OK_VALUE = 37; /** * OKLAHOMA = 37; */ public static final int OKLAHOMA_VALUE = 37; /** *
   * State of Oregon.
   * 
* * OR = 38; */ public static final int OR_VALUE = 38; /** * OREGON = 38; */ public static final int OREGON_VALUE = 38; /** *
   * State of Pennsylvania.
   * 
* * PA = 39; */ public static final int PA_VALUE = 39; /** * PENNSYLVANIA = 39; */ public static final int PENNSYLVANIA_VALUE = 39; /** *
   * State of Rhode Island.
   * 
* * RI = 40; */ public static final int RI_VALUE = 40; /** * RHODE_ISLAND = 40; */ public static final int RHODE_ISLAND_VALUE = 40; /** *
   * State of South Carolina.
   * 
* * SC = 41; */ public static final int SC_VALUE = 41; /** * SOUTH_CAROLINA = 41; */ public static final int SOUTH_CAROLINA_VALUE = 41; /** *
   * State of South Dakota.
   * 
* * SD = 42; */ public static final int SD_VALUE = 42; /** * SOUTH_DAKOTA = 42; */ public static final int SOUTH_DAKOTA_VALUE = 42; /** *
   * State of Tennessee.
   * 
* * TN = 43; */ public static final int TN_VALUE = 43; /** * TENNESSEE = 43; */ public static final int TENNESSEE_VALUE = 43; /** *
   * State of Texas.
   * 
* * TX = 44; */ public static final int TX_VALUE = 44; /** * TEXAS = 44; */ public static final int TEXAS_VALUE = 44; /** *
   * State of Utah.
   * 
* * UT = 45; */ public static final int UT_VALUE = 45; /** * UTAH = 45; */ public static final int UTAH_VALUE = 45; /** *
   * State of Vermont.
   * 
* * VT = 46; */ public static final int VT_VALUE = 46; /** * VERMONT = 46; */ public static final int VERMONT_VALUE = 46; /** *
   * State of Virginia.
   * 
* * VA = 47; */ public static final int VA_VALUE = 47; /** * VIRGINIA = 47; */ public static final int VIRGINIA_VALUE = 47; /** *
   * State of Washington.
   * 
* * WA = 48; */ public static final int WA_VALUE = 48; /** * WASHINGTON = 48; */ public static final int WASHINGTON_VALUE = 48; /** *
   * State of West Virginia.
   * 
* * WV = 49; */ public static final int WV_VALUE = 49; /** * WEST_VIRGINIA = 49; */ public static final int WEST_VIRGINIA_VALUE = 49; /** *
   * State of Wisconsin.
   * 
* * WI = 50; */ public static final int WI_VALUE = 50; /** * WISCONSIN = 50; */ public static final int WISCONSIN_VALUE = 50; /** *
   * State of Wyoming.
   * 
* * WYOMING = 51; */ public static final int WYOMING_VALUE = 51; /** * WY = 51; */ public static final int WY_VALUE = 51; public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static USState valueOf(int value) { return forNumber(value); } public static USState forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return AL; case 2: return AK; case 3: return AZ; case 4: return AR; case 5: return CA; case 6: return CO; case 7: return CT; case 8: return DE; case 9: return DC; case 10: return FL; case 11: return GA; case 12: return HI; case 13: return ID; case 14: return IL; case 15: return IN; case 16: return IA; case 17: return KS; case 18: return KY; case 19: return LA; case 20: return ME; case 21: return MD; case 22: return MA; case 23: return MI; case 24: return MN; case 25: return MS; case 26: return MO; case 27: return MT; case 28: return NE; case 29: return NV; case 30: return NH; case 31: return NJ; case 32: return NM; case 33: return NY; case 34: return NC; case 35: return ND; case 36: return OH; case 37: return OK; case 38: return OR; case 39: return PA; case 40: return RI; case 41: return SC; case 42: return SD; case 43: return TN; case 44: return TX; case 45: return UT; case 46: return VT; case 47: return VA; case 48: return WA; case 49: return WV; case 50: return WI; case 51: return WYOMING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< USState> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public USState findValueByNumber(int number) { return USState.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.opencannabis.schema.geo.usa.USStateOuterClass.getDescriptor().getEnumTypes().get(0); } private static final USState[] VALUES = { UNSPECIFIED, AL, ALABAMA, AK, ALASKA, AZ, ARIZONA, AR, ARKANSAS, CA, CALIFORNIA, CO, COLORADO, CT, CONNECTICUT, DE, Delaware, DC, DISTRICT_OF_COLUMBIA, FL, FLORIDA, GA, GEORGIA, HI, HAWAII, ID, IDAHO, IL, ILLINOIS, IN, INDIANA, IA, IOWA, KS, KANSAS, KY, KENTUCKY, LA, LOISIANA, ME, MAINE, MD, MARYLAND, MA, MASSACHUSETTS, MI, MICHIGAN, MN, MINNESOTA, MS, MISSISSIPPI, MO, MISSOURI, MT, MONTANA, NE, NEBRASKA, NV, NEVADA, NH, NEW_HAMPSHIRE, NJ, NEW_JERSEY, NM, NEW_MEXICO, NY, NEW_YORK, NC, NORTH_CAROLINA, ND, NORTH_DAKOTA, OH, OHIO, OK, OKLAHOMA, OR, OREGON, PA, PENNSYLVANIA, RI, RHODE_ISLAND, SC, SOUTH_CAROLINA, SD, SOUTH_DAKOTA, TN, TENNESSEE, TX, TEXAS, UT, UTAH, VT, VERMONT, VA, VIRGINIA, WA, WASHINGTON, WV, WEST_VIRGINIA, WI, WISCONSIN, WYOMING, WY, }; public static USState valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int index; private final int value; private USState(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:opencannabis.geo.usa.USState) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy