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 Attributes
attributes
private java.lang.String
schemaUrl
-
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 boolean
equals(java.lang.Object o)
Attributes
getAttributes()
Returns a map of attributes that describe the resource.java.lang.String
getSchemaUrl()
Returns the URL of the OpenTelemetry schema used by this resource.int
hashCode()
java.lang.String
toString()
-
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:Resource
Returns the URL of the OpenTelemetry schema used by this resource. May be null.- Specified by:
getSchemaUrl
in classResource
- 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 classResource
- Returns:
- a map of attributes.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-