Package io.opentelemetry.sdk.resources
Class AutoValue_Resource
- java.lang.Object
-
- io.opentelemetry.sdk.resources.Resource
-
- io.opentelemetry.sdk.resources.AutoValue_Resource
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Resource extends Resource
-
-
Field Summary
Fields Modifier and Type Field Description private Attributesattributesprivate java.lang.StringschemaUrl
-
Constructor Summary
Constructors Constructor Description AutoValue_Resource(java.lang.String schemaUrl, Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)AttributesgetAttributes()Returns a map of attributes that describe the resource.java.lang.StringgetSchemaUrl()Returns the URL of the OpenTelemetry schema used by this resource.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opentelemetry.sdk.resources.Resource
builder, create, create, empty, getAttribute, getDefault, merge, toBuilder
-
-
-
-
Field Detail
-
schemaUrl
private final java.lang.String schemaUrl
-
attributes
private final Attributes attributes
-
-
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:ResourceReturns the URL of the OpenTelemetry schema used by this resource. May be null.- Specified by:
getSchemaUrlin classResource- Returns:
- An OpenTelemetry schema URL.
-
getAttributes
public Attributes getAttributes()
Description copied from class:ResourceReturns a map of attributes that describe the resource.- Specified by:
getAttributesin classResource- Returns:
- a map of attributes.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-