
io.opencannabis.schema.product.struct.testing.Terpene 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: structs/labtesting/TestResults.proto
package io.opencannabis.schema.product.struct.testing;
/**
*
* Enumerates known terpene compounds. Terpenes are volatile chemical compounds that define the taste and aroma (flavor,
* smell, etc), and in some manners, the psychokinetic experience of cannabis in flower, concentrate, edible, preroll or
* cartridge form.
*
*
* Protobuf enum {@code opencannabis.structs.labtesting.Terpene}
*/
public enum Terpene
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Camphene.
*
*
* CAMPHENE = 0;
*/
CAMPHENE(0),
/**
*
* Carene.
*
*
* CARENE = 1;
*/
CARENE(1),
/**
*
* Beta-caryophyllene.
*
*
* BETA_CARYOPHYLLENE = 2;
*/
BETA_CARYOPHYLLENE(2),
/**
*
* Caryophyllene-oxide.
*
*
* CARYOPHYLLENE_OXIDE = 3;
*/
CARYOPHYLLENE_OXIDE(3),
/**
*
* Eucalyptol.
*
*
* EUCALYPTOL = 4;
*/
EUCALYPTOL(4),
/**
*
* Fenchol.
*
*
* FENCHOL = 5;
*/
FENCHOL(5),
/**
*
* Alpha-humulene.
*
*
* ALPHA_HUMULENE = 6;
*/
ALPHA_HUMULENE(6),
/**
*
* Limonene.
*
*
* LIMONENE = 7;
*/
LIMONENE(7),
/**
*
* Linalool.
*
*
* LINALOOL = 8;
*/
LINALOOL(8),
/**
*
* Myrcene.
*
*
* MYRCENE = 9;
*/
MYRCENE(9),
/**
*
* Alpha-ocimene.
*
*
* ALPHA_OCIMENE = 10;
*/
ALPHA_OCIMENE(10),
/**
*
* Beta-ocimene.
*
*
* BETA_OCIMENE = 11;
*/
BETA_OCIMENE(11),
/**
*
* Alpha-phellandrene.
*
*
* ALPHA_PHELLANDRENE = 12;
*/
ALPHA_PHELLANDRENE(12),
/**
*
* Alpha-pinene.
*
*
* ALPHA_PINENE = 13;
*/
ALPHA_PINENE(13),
/**
*
* Beta-pinene.
*
*
* BETA_PINENE = 14;
*/
BETA_PINENE(14),
/**
*
* Alpha-terpineol.
*
*
* ALPHA_TERPINEOL = 15;
*/
ALPHA_TERPINEOL(15),
/**
*
* Alpha-terpinine.
*
*
* ALPHA_TERPININE = 16;
*/
ALPHA_TERPININE(16),
/**
*
* Gamma-terpinine.
*
*
* GAMMA_TERPININE = 17;
*/
GAMMA_TERPININE(17),
/**
*
* Terpinolene.
*
*
* TERPINOLENE = 18;
*/
TERPINOLENE(18),
/**
*
* Valencene.
*
*
* VALENCENE = 19;
*/
VALENCENE(19),
/**
*
* Geraniol.
*
*
* GERANIOL = 20;
*/
GERANIOL(20),
/**
*
* Phellandrene.
*
*
* PHELLANDRENE = 21;
*/
PHELLANDRENE(21),
/**
*
* Borneol.
*
*
* BORNEOL = 22;
*/
BORNEOL(22),
/**
*
* Isoborneol.
*
*
* ISOBORNEOL = 23;
*/
ISOBORNEOL(23),
/**
*
* Bisabolol.
*
*
* BISABOLOL = 24;
*/
BISABOLOL(24),
/**
*
* Phytol.
*
*
* PHYTOL = 25;
*/
PHYTOL(25),
/**
*
* Sabinene.
*
*
* SABINENE = 26;
*/
SABINENE(26),
/**
*
* Camphor.
*
*
* CAMPHOR = 27;
*/
CAMPHOR(27),
/**
*
* Menthol.
*
*
* MENTHOL = 28;
*/
MENTHOL(28),
/**
*
* Cedrene.
*
*
* CEDRENE = 29;
*/
CEDRENE(29),
/**
*
* Nerol.
*
*
* NEROL = 30;
*/
NEROL(30),
/**
*
* Nerolidol.
*
*
* NEROLIDOL = 31;
*/
NEROLIDOL(31),
/**
*
* Guaiol.
*
*
* GUAIOL = 32;
*/
GUAIOL(32),
/**
*
* Isopulegol.
*
*
* ISOPULEGOL = 33;
*/
ISOPULEGOL(33),
/**
*
* Geranyl-acetate.
*
*
* GERANYL_ACETATE = 34;
*/
GERANYL_ACETATE(34),
/**
*
* Cymene.
*
*
* CYMENE = 35;
*/
CYMENE(35),
/**
*
* Pulegone.
*
*
* PULEGONE = 36;
*/
PULEGONE(36),
/**
*
* Cineole.
*
*
* CINEOLE = 37;
*/
CINEOLE(37),
/**
*
* Fenchone.
*
*
* FENCHONE = 38;
*/
FENCHONE(38),
/**
*
* Terpinene.
*
*
* TERPINENE = 39;
*/
TERPINENE(39),
/**
*
* Citronellol.
*
*
* CITRONELLOL = 40;
*/
CITRONELLOL(40),
/**
*
* Delta-3-carene.
*
*
* DELTA_3_CARENE = 41;
*/
DELTA_3_CARENE(41),
UNRECOGNIZED(-1),
;
/**
*
* Camphene.
*
*
* CAMPHENE = 0;
*/
public static final int CAMPHENE_VALUE = 0;
/**
*
* Carene.
*
*
* CARENE = 1;
*/
public static final int CARENE_VALUE = 1;
/**
*
* Beta-caryophyllene.
*
*
* BETA_CARYOPHYLLENE = 2;
*/
public static final int BETA_CARYOPHYLLENE_VALUE = 2;
/**
*
* Caryophyllene-oxide.
*
*
* CARYOPHYLLENE_OXIDE = 3;
*/
public static final int CARYOPHYLLENE_OXIDE_VALUE = 3;
/**
*
* Eucalyptol.
*
*
* EUCALYPTOL = 4;
*/
public static final int EUCALYPTOL_VALUE = 4;
/**
*
* Fenchol.
*
*
* FENCHOL = 5;
*/
public static final int FENCHOL_VALUE = 5;
/**
*
* Alpha-humulene.
*
*
* ALPHA_HUMULENE = 6;
*/
public static final int ALPHA_HUMULENE_VALUE = 6;
/**
*
* Limonene.
*
*
* LIMONENE = 7;
*/
public static final int LIMONENE_VALUE = 7;
/**
*
* Linalool.
*
*
* LINALOOL = 8;
*/
public static final int LINALOOL_VALUE = 8;
/**
*
* Myrcene.
*
*
* MYRCENE = 9;
*/
public static final int MYRCENE_VALUE = 9;
/**
*
* Alpha-ocimene.
*
*
* ALPHA_OCIMENE = 10;
*/
public static final int ALPHA_OCIMENE_VALUE = 10;
/**
*
* Beta-ocimene.
*
*
* BETA_OCIMENE = 11;
*/
public static final int BETA_OCIMENE_VALUE = 11;
/**
*
* Alpha-phellandrene.
*
*
* ALPHA_PHELLANDRENE = 12;
*/
public static final int ALPHA_PHELLANDRENE_VALUE = 12;
/**
*
* Alpha-pinene.
*
*
* ALPHA_PINENE = 13;
*/
public static final int ALPHA_PINENE_VALUE = 13;
/**
*
* Beta-pinene.
*
*
* BETA_PINENE = 14;
*/
public static final int BETA_PINENE_VALUE = 14;
/**
*
* Alpha-terpineol.
*
*
* ALPHA_TERPINEOL = 15;
*/
public static final int ALPHA_TERPINEOL_VALUE = 15;
/**
*
* Alpha-terpinine.
*
*
* ALPHA_TERPININE = 16;
*/
public static final int ALPHA_TERPININE_VALUE = 16;
/**
*
* Gamma-terpinine.
*
*
* GAMMA_TERPININE = 17;
*/
public static final int GAMMA_TERPININE_VALUE = 17;
/**
*
* Terpinolene.
*
*
* TERPINOLENE = 18;
*/
public static final int TERPINOLENE_VALUE = 18;
/**
*
* Valencene.
*
*
* VALENCENE = 19;
*/
public static final int VALENCENE_VALUE = 19;
/**
*
* Geraniol.
*
*
* GERANIOL = 20;
*/
public static final int GERANIOL_VALUE = 20;
/**
*
* Phellandrene.
*
*
* PHELLANDRENE = 21;
*/
public static final int PHELLANDRENE_VALUE = 21;
/**
*
* Borneol.
*
*
* BORNEOL = 22;
*/
public static final int BORNEOL_VALUE = 22;
/**
*
* Isoborneol.
*
*
* ISOBORNEOL = 23;
*/
public static final int ISOBORNEOL_VALUE = 23;
/**
*
* Bisabolol.
*
*
* BISABOLOL = 24;
*/
public static final int BISABOLOL_VALUE = 24;
/**
*
* Phytol.
*
*
* PHYTOL = 25;
*/
public static final int PHYTOL_VALUE = 25;
/**
*
* Sabinene.
*
*
* SABINENE = 26;
*/
public static final int SABINENE_VALUE = 26;
/**
*
* Camphor.
*
*
* CAMPHOR = 27;
*/
public static final int CAMPHOR_VALUE = 27;
/**
*
* Menthol.
*
*
* MENTHOL = 28;
*/
public static final int MENTHOL_VALUE = 28;
/**
*
* Cedrene.
*
*
* CEDRENE = 29;
*/
public static final int CEDRENE_VALUE = 29;
/**
*
* Nerol.
*
*
* NEROL = 30;
*/
public static final int NEROL_VALUE = 30;
/**
*
* Nerolidol.
*
*
* NEROLIDOL = 31;
*/
public static final int NEROLIDOL_VALUE = 31;
/**
*
* Guaiol.
*
*
* GUAIOL = 32;
*/
public static final int GUAIOL_VALUE = 32;
/**
*
* Isopulegol.
*
*
* ISOPULEGOL = 33;
*/
public static final int ISOPULEGOL_VALUE = 33;
/**
*
* Geranyl-acetate.
*
*
* GERANYL_ACETATE = 34;
*/
public static final int GERANYL_ACETATE_VALUE = 34;
/**
*
* Cymene.
*
*
* CYMENE = 35;
*/
public static final int CYMENE_VALUE = 35;
/**
*
* Pulegone.
*
*
* PULEGONE = 36;
*/
public static final int PULEGONE_VALUE = 36;
/**
*
* Cineole.
*
*
* CINEOLE = 37;
*/
public static final int CINEOLE_VALUE = 37;
/**
*
* Fenchone.
*
*
* FENCHONE = 38;
*/
public static final int FENCHONE_VALUE = 38;
/**
*
* Terpinene.
*
*
* TERPINENE = 39;
*/
public static final int TERPINENE_VALUE = 39;
/**
*
* Citronellol.
*
*
* CITRONELLOL = 40;
*/
public static final int CITRONELLOL_VALUE = 40;
/**
*
* Delta-3-carene.
*
*
* DELTA_3_CARENE = 41;
*/
public static final int DELTA_3_CARENE_VALUE = 41;
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 Terpene valueOf(int value) {
return forNumber(value);
}
public static Terpene forNumber(int value) {
switch (value) {
case 0: return CAMPHENE;
case 1: return CARENE;
case 2: return BETA_CARYOPHYLLENE;
case 3: return CARYOPHYLLENE_OXIDE;
case 4: return EUCALYPTOL;
case 5: return FENCHOL;
case 6: return ALPHA_HUMULENE;
case 7: return LIMONENE;
case 8: return LINALOOL;
case 9: return MYRCENE;
case 10: return ALPHA_OCIMENE;
case 11: return BETA_OCIMENE;
case 12: return ALPHA_PHELLANDRENE;
case 13: return ALPHA_PINENE;
case 14: return BETA_PINENE;
case 15: return ALPHA_TERPINEOL;
case 16: return ALPHA_TERPININE;
case 17: return GAMMA_TERPININE;
case 18: return TERPINOLENE;
case 19: return VALENCENE;
case 20: return GERANIOL;
case 21: return PHELLANDRENE;
case 22: return BORNEOL;
case 23: return ISOBORNEOL;
case 24: return BISABOLOL;
case 25: return PHYTOL;
case 26: return SABINENE;
case 27: return CAMPHOR;
case 28: return MENTHOL;
case 29: return CEDRENE;
case 30: return NEROL;
case 31: return NEROLIDOL;
case 32: return GUAIOL;
case 33: return ISOPULEGOL;
case 34: return GERANYL_ACETATE;
case 35: return CYMENE;
case 36: return PULEGONE;
case 37: return CINEOLE;
case 38: return FENCHONE;
case 39: return TERPINENE;
case 40: return CITRONELLOL;
case 41: return DELTA_3_CARENE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Terpene> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Terpene findValueByNumber(int number) {
return Terpene.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.product.struct.testing.LabTesting.getDescriptor().getEnumTypes().get(6);
}
private static final Terpene[] VALUES = values();
public static Terpene 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 Terpene(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:opencannabis.structs.labtesting.Terpene)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy