Class AutoValue_Resource


  • @Generated("com.google.auto.value.processor.AutoValueProcessor")
    final class AutoValue_Resource
    extends Resource
    • Field Detail

      • schemaUrl

        private final java.lang.String schemaUrl
    • Constructor Detail

      • AutoValue_Resource

        AutoValue_Resource​(@Nullable
                           java.lang.String schemaUrl,
                           Attributes attributes)
    • Method Detail

      • getSchemaUrl

        @Nullable
        public java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object