OpenTelemetryProtocol.java

//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.06.29 at 10:16:21 PM GMT 
//


package com.io7m.idstore.server.service.configuration.jaxb;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlType;


/**
 * <p>Java class for OpenTelemetryProtocol.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <pre>
 * &lt;simpleType name="OpenTelemetryProtocol"&gt;
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
 *     &lt;enumeration value="GRPC"/&gt;
 *     &lt;enumeration value="HTTP"/&gt;
 *   &lt;/restriction&gt;
 * &lt;/simpleType&gt;
 * </pre>
 * 
 */
@XmlType(name = "OpenTelemetryProtocol")
@XmlEnum
public enum OpenTelemetryProtocol {


    /**
     * 
     *             The data will be sent using gRPC.
     *           
     * 
     */
    GRPC,

    /**
     * 
     *             The data will be sent using HTTP(s).
     *           
     * 
     */
    HTTP;

    public String value() {
        return name();
    }

    public static OpenTelemetryProtocol fromValue(String v) {
        return valueOf(v);
    }

}