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

io.opencannabis.schema.product.struct.testing.TestMethod Maven / Gradle / Ivy

There is a newer version: 1.8
Show newest version
/*
 * 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;

/**
 * 
 * Specific test methods used to quantify or qualify certain properties or components of cannabis.
 * 
* * Protobuf enum {@code opencannabis.structs.labtesting.TestMethod} */ public enum TestMethod implements com.google.protobuf.ProtocolMessageEnum { /** *
   * 'Unspecified' test method, indicating that we don't know what method was used to test with, or it was left
   * unspecified. This is the default value.
   * 
* * UNSPECIFIED_METHOD = 0; */ UNSPECIFIED_METHOD(0), /** *
   * Gas Chromatography / Mass Spectrometry is used to identify specific compounds found within a sample.
   * 
* * GCMS = 1; */ GCMS(1), /** *
   * Liquid Chromatography / Mass Spectrometry is used to identify specific compounds found within a sample.
   * Recommended for the most volatile compounds.
   * 
* * LCMS = 2; */ LCMS(2), /** *
   * Classic PCR is a qualitative and semi-quantitative genetic test that identifies the presense or absence of 
   * specific genes.
   * 
* * CLASSIC_PCR = 3; */ CLASSIC_PCR(3), /** *
   * Quantitative PCR is a genetic test that quantifies the amount of specific genes within a sample.
   * 
* * qPCR = 4; */ qPCR(4), /** *
   * ELISA, or enzyme-linked immunosorbent assay, is an antibody based test that is used to detect and quantify
   * specific substances within the sample.
   * 
* * ELISA = 5; */ ELISA(5), UNRECOGNIZED(-1), ; /** *
   * 'Unspecified' test method, indicating that we don't know what method was used to test with, or it was left
   * unspecified. This is the default value.
   * 
* * UNSPECIFIED_METHOD = 0; */ public static final int UNSPECIFIED_METHOD_VALUE = 0; /** *
   * Gas Chromatography / Mass Spectrometry is used to identify specific compounds found within a sample.
   * 
* * GCMS = 1; */ public static final int GCMS_VALUE = 1; /** *
   * Liquid Chromatography / Mass Spectrometry is used to identify specific compounds found within a sample.
   * Recommended for the most volatile compounds.
   * 
* * LCMS = 2; */ public static final int LCMS_VALUE = 2; /** *
   * Classic PCR is a qualitative and semi-quantitative genetic test that identifies the presense or absence of 
   * specific genes.
   * 
* * CLASSIC_PCR = 3; */ public static final int CLASSIC_PCR_VALUE = 3; /** *
   * Quantitative PCR is a genetic test that quantifies the amount of specific genes within a sample.
   * 
* * qPCR = 4; */ public static final int qPCR_VALUE = 4; /** *
   * ELISA, or enzyme-linked immunosorbent assay, is an antibody based test that is used to detect and quantify
   * specific substances within the sample.
   * 
* * ELISA = 5; */ public static final int ELISA_VALUE = 5; 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 TestMethod valueOf(int value) { return forNumber(value); } public static TestMethod forNumber(int value) { switch (value) { case 0: return UNSPECIFIED_METHOD; case 1: return GCMS; case 2: return LCMS; case 3: return CLASSIC_PCR; case 4: return qPCR; case 5: return ELISA; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TestMethod> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TestMethod findValueByNumber(int number) { return TestMethod.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(0); } private static final TestMethod[] VALUES = values(); public static TestMethod 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 TestMethod(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:opencannabis.structs.labtesting.TestMethod) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy