Metrics.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.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Endpoint" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="Protocol" use="required" type="{urn:com.io7m.idstore:configuration:1}OpenTelemetryProtocol" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "Metrics")
public class Metrics {
@XmlAttribute(name = "Endpoint", required = true)
@XmlSchemaType(name = "anyURI")
protected String endpoint;
@XmlAttribute(name = "Protocol", required = true)
protected OpenTelemetryProtocol protocol;
/**
* Gets the value of the endpoint property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEndpoint() {
return endpoint;
}
/**
* Sets the value of the endpoint property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEndpoint(String value) {
this.endpoint = value;
}
/**
* Gets the value of the protocol property.
*
* @return
* possible object is
* {@link OpenTelemetryProtocol }
*
*/
public OpenTelemetryProtocol getProtocol() {
return protocol;
}
/**
* Sets the value of the protocol property.
*
* @param value
* allowed object is
* {@link OpenTelemetryProtocol }
*
*/
public void setProtocol(OpenTelemetryProtocol value) {
this.protocol = value;
}
}