Package io.opencensus.proto.trace.v1
Interface Span.TimeEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Span.TimeEvent,Span.TimeEvent.Builder
- Enclosing class:
- Span
public static interface Span.TimeEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Span.TimeEvent.AnnotationgetAnnotation()A text annotation with a set of attributes.Span.TimeEvent.AnnotationOrBuildergetAnnotationOrBuilder()A text annotation with a set of attributes.Span.TimeEvent.MessageEventgetMessageEvent()An event describing a message sent/received between Spans.Span.TimeEvent.MessageEventOrBuildergetMessageEventOrBuilder()An event describing a message sent/received between Spans.com.google.protobuf.TimestampgetTime()The time the event occurred.com.google.protobuf.TimestampOrBuildergetTimeOrBuilder()The time the event occurred.Span.TimeEvent.ValueCasegetValueCase()booleanhasAnnotation()A text annotation with a set of attributes.booleanhasMessageEvent()An event describing a message sent/received between Spans.booleanhasTime()The time the event occurred.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTime
boolean hasTime()
The time the event occurred.
.google.protobuf.Timestamp time = 1;- Returns:
- Whether the time field is set.
-
getTime
com.google.protobuf.Timestamp getTime()
The time the event occurred.
.google.protobuf.Timestamp time = 1;- Returns:
- The time.
-
getTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
The time the event occurred.
.google.protobuf.Timestamp time = 1;
-
hasAnnotation
boolean hasAnnotation()
A text annotation with a set of attributes.
.opencensus.proto.trace.v1.Span.TimeEvent.Annotation annotation = 2;- Returns:
- Whether the annotation field is set.
-
getAnnotation
Span.TimeEvent.Annotation getAnnotation()
A text annotation with a set of attributes.
.opencensus.proto.trace.v1.Span.TimeEvent.Annotation annotation = 2;- Returns:
- The annotation.
-
getAnnotationOrBuilder
Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()
A text annotation with a set of attributes.
.opencensus.proto.trace.v1.Span.TimeEvent.Annotation annotation = 2;
-
hasMessageEvent
boolean hasMessageEvent()
An event describing a message sent/received between Spans.
.opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent message_event = 3;- Returns:
- Whether the messageEvent field is set.
-
getMessageEvent
Span.TimeEvent.MessageEvent getMessageEvent()
An event describing a message sent/received between Spans.
.opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent message_event = 3;- Returns:
- The messageEvent.
-
getMessageEventOrBuilder
Span.TimeEvent.MessageEventOrBuilder getMessageEventOrBuilder()
An event describing a message sent/received between Spans.
.opencensus.proto.trace.v1.Span.TimeEvent.MessageEvent message_event = 3;
-
getValueCase
Span.TimeEvent.ValueCase getValueCase()
-
-