Interface Span.TimeEventOrBuilder (2.47.0)

public static interface Span.TimeEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotation()

public abstract Span.TimeEvent.Annotation getAnnotation()

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Returns
Type Description
Span.TimeEvent.Annotation

The annotation.

getAnnotationOrBuilder()

public abstract Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Returns
Type Description
Span.TimeEvent.AnnotationOrBuilder

getMessageEvent()

public abstract Span.TimeEvent.MessageEvent getMessageEvent()

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Returns
Type Description
Span.TimeEvent.MessageEvent

The messageEvent.

getMessageEventOrBuilder()

public abstract Span.TimeEvent.MessageEventOrBuilder getMessageEventOrBuilder()

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Returns
Type Description
Span.TimeEvent.MessageEventOrBuilder

getTime()

public abstract Timestamp getTime()

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
Timestamp

The time.

getTimeOrBuilder()

public abstract TimestampOrBuilder getTimeOrBuilder()

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
TimestampOrBuilder

getValueCase()

public abstract Span.TimeEvent.ValueCase getValueCase()
Returns
Type Description
Span.TimeEvent.ValueCase

hasAnnotation()

public abstract boolean hasAnnotation()

Text annotation with a set of attributes.

.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;

Returns
Type Description
boolean

Whether the annotation field is set.

hasMessageEvent()

public abstract boolean hasMessageEvent()

An event describing a message sent/received between Spans.

.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;

Returns
Type Description
boolean

Whether the messageEvent field is set.

hasTime()

public abstract boolean hasTime()

The timestamp indicating the time the event occurred.

.google.protobuf.Timestamp time = 1;

Returns
Type Description
boolean

Whether the time field is set.