Class AutoValue_Resource

java.lang.Object
io.opentelemetry.sdk.resources.Resource
io.opentelemetry.sdk.resources.AutoValue_Resource

final class AutoValue_Resource extends Resource
  • Field Details

    • schemaUrl

      private final String schemaUrl
    • attributes

      private final Attributes attributes
  • Constructor Details

  • Method Details

    • getSchemaUrl

      @Nullable public String getSchemaUrl()
      Description copied from class: Resource
      Returns the URL of the OpenTelemetry schema used by this resource. May be null.
      Specified by:
      getSchemaUrl in class Resource
      Returns:
      An OpenTelemetry schema URL.
    • getAttributes

      public Attributes getAttributes()
      Description copied from class: Resource
      Returns a map of attributes that describe the resource.
      Specified by:
      getAttributes in class Resource
      Returns:
      a map of attributes.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object