Interface Span.TimeEvent.AnnotationOrBuilder (2.44.0)

public static interface Span.TimeEvent.AnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributes()

public abstract Span.Attributes getAttributes()

A set of attributes on the annotation. You can have up to 4 attributes per Annotation.

.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;

Returns
Type Description
Span.Attributes

The attributes.

getAttributesOrBuilder()

public abstract Span.AttributesOrBuilder getAttributesOrBuilder()

A set of attributes on the annotation. You can have up to 4 attributes per Annotation.

.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;

Returns
Type Description
Span.AttributesOrBuilder

getDescription()

public abstract TruncatableString getDescription()

A user-supplied message describing the event. The maximum length for the description is 256 bytes.

.google.devtools.cloudtrace.v2.TruncatableString description = 1;

Returns
Type Description
TruncatableString

The description.

getDescriptionOrBuilder()

public abstract TruncatableStringOrBuilder getDescriptionOrBuilder()

A user-supplied message describing the event. The maximum length for the description is 256 bytes.

.google.devtools.cloudtrace.v2.TruncatableString description = 1;

Returns
Type Description
TruncatableStringOrBuilder

hasAttributes()

public abstract boolean hasAttributes()

A set of attributes on the annotation. You can have up to 4 attributes per Annotation.

.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;

Returns
Type Description
boolean

Whether the attributes field is set.

hasDescription()

public abstract boolean hasDescription()

A user-supplied message describing the event. The maximum length for the description is 256 bytes.

.google.devtools.cloudtrace.v2.TruncatableString description = 1;

Returns
Type Description
boolean

Whether the description field is set.