TelemetryEndpointKind Class

public final class TelemetryEndpointKind
extends ExpandableStringEnum<TelemetryEndpointKind>

The kind of telemetry export endpoint.

Field Summary

Modifier and Type Field and Description
static final TelemetryEndpointKind OTLP

OpenTelemetry Protocol (OTLP) endpoint.

Constructor Summary

Constructor Description
TelemetryEndpointKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TelemetryEndpointKind value.

Method Summary

Modifier and Type Method and Description
static TelemetryEndpointKind fromString(String name)

Creates or finds a TelemetryEndpointKind from its string representation.

static Collection<TelemetryEndpointKind> values()

Gets known TelemetryEndpointKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

OTLP

public static final TelemetryEndpointKind OTLP

OpenTelemetry Protocol (OTLP) endpoint.

Constructor Details

TelemetryEndpointKind

@Deprecated
public TelemetryEndpointKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TelemetryEndpointKind value.

Method Details

fromString

public static TelemetryEndpointKind fromString(String name)

Creates or finds a TelemetryEndpointKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TelemetryEndpointKind.

values

public static Collection<TelemetryEndpointKind> values()

Gets known TelemetryEndpointKind values.

Returns:

known TelemetryEndpointKind values.

Applies to