Interface Body

All Known Implementing Classes:
AutoValue_StringBody, EmptyBody, StringBody

@Immutable @Deprecated public interface Body
Deprecated.
This represents all the possible values for a log message body. A Body can currently only have 1 type of values: String, represented through Body.Type. This class will likely be extended in the future to include additional body types supported by the OpenTelemetry log data model.
Since:
1.27.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns the String value of this Body.
    static Body
    Deprecated.
    Return an empty Body.
    Deprecated.
    static Body
    string(String stringValue)
    Deprecated.
    Returns an Body with a string value.
  • Method Details