
io.opencannabis.schema.geo.usa.California Maven / Gradle / Ivy
/*
* Copyright 2018, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* 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/usa/ca/CACounty.proto
package io.opencannabis.schema.geo.usa;
public final class California {
private California() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
*
* Enumerates counties in the US State of California.
*
*
* Protobuf enum {@code opencannabis.geo.usa.ca.CaliforniaCounty}
*/
public enum CaliforniaCounty
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Unknown county backstop value.
*
*
* UNKNOWN_COUNTY = 0;
*/
UNKNOWN_COUNTY(0),
/**
*
* Alameda county.
*
*
* ALAMEDA = 1;
*/
ALAMEDA(1),
/**
*
* Alpine county.
*
*
* ALPINE = 2;
*/
ALPINE(2),
/**
*
* Amador county.
*
*
* AMADOR = 3;
*/
AMADOR(3),
/**
*
* Butte county.
*
*
* BUTTE = 4;
*/
BUTTE(4),
/**
*
* Calaveras county.
*
*
* CALAVERAS = 5;
*/
CALAVERAS(5),
/**
*
* Colusa county.
*
*
* COLUSA = 6;
*/
COLUSA(6),
/**
*
* Contra Costa county.
*
*
* CONTRA_COSTA = 7;
*/
CONTRA_COSTA(7),
/**
*
* Del Norte county.
*
*
* DEL_NORTE = 8;
*/
DEL_NORTE(8),
/**
*
* El Dorado county.
*
*
* EL_DORADO = 9;
*/
EL_DORADO(9),
/**
*
* Fresno county.
*
*
* FRESNO = 10;
*/
FRESNO(10),
/**
*
* Glenn county.
*
*
* GLENN = 11;
*/
GLENN(11),
/**
*
* Humboldt county.
*
*
* HUMBOLDT = 12;
*/
HUMBOLDT(12),
/**
*
* Imperial county.
*
*
* IMERIAL = 13;
*/
IMERIAL(13),
/**
*
* Inyo county.
*
*
* INYO = 14;
*/
INYO(14),
/**
*
* Kern county.
*
*
* KERN = 15;
*/
KERN(15),
/**
*
* Kings county.
*
*
* KINGS = 16;
*/
KINGS(16),
/**
*
* Lake county.
*
*
* LAKE = 17;
*/
LAKE(17),
/**
*
* Lassen county.
*
*
* LASSEN = 18;
*/
LASSEN(18),
/**
*
* Los Angeles county.
*
*
* LOS_ANGELES = 19;
*/
LOS_ANGELES(19),
/**
*
* Madera county.
*
*
* MADERA = 20;
*/
MADERA(20),
/**
*
* Marin county.
*
*
* MARIN = 21;
*/
MARIN(21),
/**
*
* Mariposa county.
*
*
* MARIPOSA = 22;
*/
MARIPOSA(22),
/**
*
* Mendocino county.
*
*
* MENDOCINO = 23;
*/
MENDOCINO(23),
/**
*
* Merced county.
*
*
* MERCED = 24;
*/
MERCED(24),
/**
*
* Modoc county.
*
*
* MODOC = 25;
*/
MODOC(25),
/**
*
* Mono county.
*
*
* MONO = 26;
*/
MONO(26),
/**
*
* Monterey county.
*
*
* MONTEREY = 27;
*/
MONTEREY(27),
/**
*
* Napa county.
*
*
* NAPA = 28;
*/
NAPA(28),
/**
*
* Orange county.
*
*
* ORANGE = 29;
*/
ORANGE(29),
/**
*
* Placer county.
*
*
* PLACER = 30;
*/
PLACER(30),
/**
*
* Plumas county.
*
*
* PLUMAS = 31;
*/
PLUMAS(31),
/**
*
* Riverside county.
*
*
* RIVERSIDE = 32;
*/
RIVERSIDE(32),
/**
*
* Sacramento county.
*
*
* SACRAMENTO = 33;
*/
SACRAMENTO(33),
/**
*
* San Benito county.
*
*
* SAN_BENITO = 34;
*/
SAN_BENITO(34),
/**
*
* San Bernadino county.
*
*
* SAN_BERNADINO = 35;
*/
SAN_BERNADINO(35),
/**
*
* San Diego county.
*
*
* SAN_DIEGO = 36;
*/
SAN_DIEGO(36),
/**
*
* San Francisco county.
*
*
* SAN_FRANCISCO = 37;
*/
SAN_FRANCISCO(37),
/**
*
* San Joaquin county.
*
*
* SAN_JOAQUIN = 38;
*/
SAN_JOAQUIN(38),
/**
*
* San Luis Obispo county.
*
*
* SAN_LUIS_OBISPO = 39;
*/
SAN_LUIS_OBISPO(39),
/**
*
* San Mateo county.
*
*
* SAN_MATEO = 40;
*/
SAN_MATEO(40),
/**
*
* Santa Clara county.
*
*
* SANTA_CLARA = 41;
*/
SANTA_CLARA(41),
/**
*
* Santa Cruz county.
*
*
* SANTA_CRUZ = 42;
*/
SANTA_CRUZ(42),
/**
*
* Shasta county.
*
*
* SHASTA = 43;
*/
SHASTA(43),
/**
*
* Sierra county.
*
*
* SIERRA = 44;
*/
SIERRA(44),
/**
*
* Siskiyou county.
*
*
* SISKIYOU = 45;
*/
SISKIYOU(45),
/**
*
* Sonoma county.
*
*
* SONOMA = 46;
*/
SONOMA(46),
/**
*
* Stanislaus county.
*
*
* STANISLAUS = 47;
*/
STANISLAUS(47),
/**
*
* Sutter county.
*
*
* SUTTER = 48;
*/
SUTTER(48),
/**
*
* Trinity county.
*
*
* TRINITY = 49;
*/
TRINITY(49),
/**
*
* Tulare county.
*
*
* TULARE = 50;
*/
TULARE(50),
/**
*
* Tuolomne county.
*
*
* TUOLOMNE = 51;
*/
TUOLOMNE(51),
/**
*
* Ventura county.
*
*
* VENTURA = 52;
*/
VENTURA(52),
/**
*
* Yolo county.
*
*
* YOLO = 53;
*/
YOLO(53),
/**
*
* Yuba county.
*
*
* YUBA = 54;
*/
YUBA(54),
UNRECOGNIZED(-1),
;
/**
*
* Unknown county backstop value.
*
*
* UNKNOWN_COUNTY = 0;
*/
public static final int UNKNOWN_COUNTY_VALUE = 0;
/**
*
* Alameda county.
*
*
* ALAMEDA = 1;
*/
public static final int ALAMEDA_VALUE = 1;
/**
*
* Alpine county.
*
*
* ALPINE = 2;
*/
public static final int ALPINE_VALUE = 2;
/**
*
* Amador county.
*
*
* AMADOR = 3;
*/
public static final int AMADOR_VALUE = 3;
/**
*
* Butte county.
*
*
* BUTTE = 4;
*/
public static final int BUTTE_VALUE = 4;
/**
*
* Calaveras county.
*
*
* CALAVERAS = 5;
*/
public static final int CALAVERAS_VALUE = 5;
/**
*
* Colusa county.
*
*
* COLUSA = 6;
*/
public static final int COLUSA_VALUE = 6;
/**
*
* Contra Costa county.
*
*
* CONTRA_COSTA = 7;
*/
public static final int CONTRA_COSTA_VALUE = 7;
/**
*
* Del Norte county.
*
*
* DEL_NORTE = 8;
*/
public static final int DEL_NORTE_VALUE = 8;
/**
*
* El Dorado county.
*
*
* EL_DORADO = 9;
*/
public static final int EL_DORADO_VALUE = 9;
/**
*
* Fresno county.
*
*
* FRESNO = 10;
*/
public static final int FRESNO_VALUE = 10;
/**
*
* Glenn county.
*
*
* GLENN = 11;
*/
public static final int GLENN_VALUE = 11;
/**
*
* Humboldt county.
*
*
* HUMBOLDT = 12;
*/
public static final int HUMBOLDT_VALUE = 12;
/**
*
* Imperial county.
*
*
* IMERIAL = 13;
*/
public static final int IMERIAL_VALUE = 13;
/**
*
* Inyo county.
*
*
* INYO = 14;
*/
public static final int INYO_VALUE = 14;
/**
*
* Kern county.
*
*
* KERN = 15;
*/
public static final int KERN_VALUE = 15;
/**
*
* Kings county.
*
*
* KINGS = 16;
*/
public static final int KINGS_VALUE = 16;
/**
*
* Lake county.
*
*
* LAKE = 17;
*/
public static final int LAKE_VALUE = 17;
/**
*
* Lassen county.
*
*
* LASSEN = 18;
*/
public static final int LASSEN_VALUE = 18;
/**
*
* Los Angeles county.
*
*
* LOS_ANGELES = 19;
*/
public static final int LOS_ANGELES_VALUE = 19;
/**
*
* Madera county.
*
*
* MADERA = 20;
*/
public static final int MADERA_VALUE = 20;
/**
*
* Marin county.
*
*
* MARIN = 21;
*/
public static final int MARIN_VALUE = 21;
/**
*
* Mariposa county.
*
*
* MARIPOSA = 22;
*/
public static final int MARIPOSA_VALUE = 22;
/**
*
* Mendocino county.
*
*
* MENDOCINO = 23;
*/
public static final int MENDOCINO_VALUE = 23;
/**
*
* Merced county.
*
*
* MERCED = 24;
*/
public static final int MERCED_VALUE = 24;
/**
*
* Modoc county.
*
*
* MODOC = 25;
*/
public static final int MODOC_VALUE = 25;
/**
*
* Mono county.
*
*
* MONO = 26;
*/
public static final int MONO_VALUE = 26;
/**
*
* Monterey county.
*
*
* MONTEREY = 27;
*/
public static final int MONTEREY_VALUE = 27;
/**
*
* Napa county.
*
*
* NAPA = 28;
*/
public static final int NAPA_VALUE = 28;
/**
*
* Orange county.
*
*
* ORANGE = 29;
*/
public static final int ORANGE_VALUE = 29;
/**
*
* Placer county.
*
*
* PLACER = 30;
*/
public static final int PLACER_VALUE = 30;
/**
*
* Plumas county.
*
*
* PLUMAS = 31;
*/
public static final int PLUMAS_VALUE = 31;
/**
*
* Riverside county.
*
*
* RIVERSIDE = 32;
*/
public static final int RIVERSIDE_VALUE = 32;
/**
*
* Sacramento county.
*
*
* SACRAMENTO = 33;
*/
public static final int SACRAMENTO_VALUE = 33;
/**
*
* San Benito county.
*
*
* SAN_BENITO = 34;
*/
public static final int SAN_BENITO_VALUE = 34;
/**
*
* San Bernadino county.
*
*
* SAN_BERNADINO = 35;
*/
public static final int SAN_BERNADINO_VALUE = 35;
/**
*
* San Diego county.
*
*
* SAN_DIEGO = 36;
*/
public static final int SAN_DIEGO_VALUE = 36;
/**
*
* San Francisco county.
*
*
* SAN_FRANCISCO = 37;
*/
public static final int SAN_FRANCISCO_VALUE = 37;
/**
*
* San Joaquin county.
*
*
* SAN_JOAQUIN = 38;
*/
public static final int SAN_JOAQUIN_VALUE = 38;
/**
*
* San Luis Obispo county.
*
*
* SAN_LUIS_OBISPO = 39;
*/
public static final int SAN_LUIS_OBISPO_VALUE = 39;
/**
*
* San Mateo county.
*
*
* SAN_MATEO = 40;
*/
public static final int SAN_MATEO_VALUE = 40;
/**
*
* Santa Clara county.
*
*
* SANTA_CLARA = 41;
*/
public static final int SANTA_CLARA_VALUE = 41;
/**
*
* Santa Cruz county.
*
*
* SANTA_CRUZ = 42;
*/
public static final int SANTA_CRUZ_VALUE = 42;
/**
*
* Shasta county.
*
*
* SHASTA = 43;
*/
public static final int SHASTA_VALUE = 43;
/**
*
* Sierra county.
*
*
* SIERRA = 44;
*/
public static final int SIERRA_VALUE = 44;
/**
*
* Siskiyou county.
*
*
* SISKIYOU = 45;
*/
public static final int SISKIYOU_VALUE = 45;
/**
*
* Sonoma county.
*
*
* SONOMA = 46;
*/
public static final int SONOMA_VALUE = 46;
/**
*
* Stanislaus county.
*
*
* STANISLAUS = 47;
*/
public static final int STANISLAUS_VALUE = 47;
/**
*
* Sutter county.
*
*
* SUTTER = 48;
*/
public static final int SUTTER_VALUE = 48;
/**
*
* Trinity county.
*
*
* TRINITY = 49;
*/
public static final int TRINITY_VALUE = 49;
/**
*
* Tulare county.
*
*
* TULARE = 50;
*/
public static final int TULARE_VALUE = 50;
/**
*
* Tuolomne county.
*
*
* TUOLOMNE = 51;
*/
public static final int TUOLOMNE_VALUE = 51;
/**
*
* Ventura county.
*
*
* VENTURA = 52;
*/
public static final int VENTURA_VALUE = 52;
/**
*
* Yolo county.
*
*
* YOLO = 53;
*/
public static final int YOLO_VALUE = 53;
/**
*
* Yuba county.
*
*
* YUBA = 54;
*/
public static final int YUBA_VALUE = 54;
public final int getNumber() {
if (this == UNRECOGNIZED) {
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 CaliforniaCounty valueOf(int value) {
return forNumber(value);
}
public static CaliforniaCounty forNumber(int value) {
switch (value) {
case 0: return UNKNOWN_COUNTY;
case 1: return ALAMEDA;
case 2: return ALPINE;
case 3: return AMADOR;
case 4: return BUTTE;
case 5: return CALAVERAS;
case 6: return COLUSA;
case 7: return CONTRA_COSTA;
case 8: return DEL_NORTE;
case 9: return EL_DORADO;
case 10: return FRESNO;
case 11: return GLENN;
case 12: return HUMBOLDT;
case 13: return IMERIAL;
case 14: return INYO;
case 15: return KERN;
case 16: return KINGS;
case 17: return LAKE;
case 18: return LASSEN;
case 19: return LOS_ANGELES;
case 20: return MADERA;
case 21: return MARIN;
case 22: return MARIPOSA;
case 23: return MENDOCINO;
case 24: return MERCED;
case 25: return MODOC;
case 26: return MONO;
case 27: return MONTEREY;
case 28: return NAPA;
case 29: return ORANGE;
case 30: return PLACER;
case 31: return PLUMAS;
case 32: return RIVERSIDE;
case 33: return SACRAMENTO;
case 34: return SAN_BENITO;
case 35: return SAN_BERNADINO;
case 36: return SAN_DIEGO;
case 37: return SAN_FRANCISCO;
case 38: return SAN_JOAQUIN;
case 39: return SAN_LUIS_OBISPO;
case 40: return SAN_MATEO;
case 41: return SANTA_CLARA;
case 42: return SANTA_CRUZ;
case 43: return SHASTA;
case 44: return SIERRA;
case 45: return SISKIYOU;
case 46: return SONOMA;
case 47: return STANISLAUS;
case 48: return SUTTER;
case 49: return TRINITY;
case 50: return TULARE;
case 51: return TUOLOMNE;
case 52: return VENTURA;
case 53: return YOLO;
case 54: return YUBA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CaliforniaCounty> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CaliforniaCounty findValueByNumber(int number) {
return CaliforniaCounty.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
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.California.getDescriptor().getEnumTypes().get(0);
}
private static final CaliforniaCounty[] VALUES = values();
public static CaliforniaCounty 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 value;
private CaliforniaCounty(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:opencannabis.geo.usa.ca.CaliforniaCounty)
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\031geo/usa/ca/CACounty.proto\022\027opencannabi" +
"s.geo.usa.ca*\372\005\n\020CaliforniaCounty\022\022\n\016UNK" +
"NOWN_COUNTY\020\000\022\013\n\007ALAMEDA\020\001\022\n\n\006ALPINE\020\002\022\n" +
"\n\006AMADOR\020\003\022\t\n\005BUTTE\020\004\022\r\n\tCALAVERAS\020\005\022\n\n\006" +
"COLUSA\020\006\022\020\n\014CONTRA_COSTA\020\007\022\r\n\tDEL_NORTE\020" +
"\010\022\r\n\tEL_DORADO\020\t\022\n\n\006FRESNO\020\n\022\t\n\005GLENN\020\013\022" +
"\014\n\010HUMBOLDT\020\014\022\013\n\007IMERIAL\020\r\022\010\n\004INYO\020\016\022\010\n\004" +
"KERN\020\017\022\t\n\005KINGS\020\020\022\010\n\004LAKE\020\021\022\n\n\006LASSEN\020\022\022" +
"\017\n\013LOS_ANGELES\020\023\022\n\n\006MADERA\020\024\022\t\n\005MARIN\020\025\022" +
"\014\n\010MARIPOSA\020\026\022\r\n\tMENDOCINO\020\027\022\n\n\006MERCED\020\030" +
"\022\t\n\005MODOC\020\031\022\010\n\004MONO\020\032\022\014\n\010MONTEREY\020\033\022\010\n\004N" +
"APA\020\034\022\n\n\006ORANGE\020\035\022\n\n\006PLACER\020\036\022\n\n\006PLUMAS\020" +
"\037\022\r\n\tRIVERSIDE\020 \022\016\n\nSACRAMENTO\020!\022\016\n\nSAN_" +
"BENITO\020\"\022\021\n\rSAN_BERNADINO\020#\022\r\n\tSAN_DIEGO" +
"\020$\022\021\n\rSAN_FRANCISCO\020%\022\017\n\013SAN_JOAQUIN\020&\022\023" +
"\n\017SAN_LUIS_OBISPO\020\'\022\r\n\tSAN_MATEO\020(\022\017\n\013SA" +
"NTA_CLARA\020)\022\016\n\nSANTA_CRUZ\020*\022\n\n\006SHASTA\020+\022" +
"\n\n\006SIERRA\020,\022\014\n\010SISKIYOU\020-\022\n\n\006SONOMA\020.\022\016\n" +
"\nSTANISLAUS\020/\022\n\n\006SUTTER\0200\022\013\n\007TRINITY\0201\022\n" +
"\n\006TULARE\0202\022\014\n\010TUOLOMNE\0203\022\013\n\007VENTURA\0204\022\010\n" +
"\004YOLO\0205\022\010\n\004YUBA\0206B6\n\036io.opencannabis.sch" +
"ema.geo.usaB\nCaliforniaH\001P\000\242\002\003BBSb\006proto" +
"3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy