Package com.anthropic.core.opentelemetry
Enum OpenTelemetryContentMode
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum OpenTelemetryContentMode extends Enum<OpenTelemetryContentMode>
Whether a client's spans hold the content of its requests and responses.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<OpenTelemetryContentMode>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description METADATA_ONLYThe spans hold no content.
CONTENTThe spans also hold the content of the requests and responses.
-
Method Summary
Modifier and Type Method Description final Array<OpenTelemetryContentMode>values()Returns an array containing the constants of this enum type, in the order they're declared. final OpenTelemetryContentModevalueOf(String value)Returns the enum constant of this type with the specified name. final EnumEntries<OpenTelemetryContentMode>getEntries()-
-
Method Detail
-
values
final Array<OpenTelemetryContentMode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final OpenTelemetryContentMode valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getEntries
final EnumEntries<OpenTelemetryContentMode> getEntries()
-
-
-
-