public static final class Span.TimeEvent extends GeneratedMessageV3 implements Span.TimeEventOrBuilder
A time-stamped annotation or message event in the Span.
Protobuf type google.devtools.cloudtrace.v2.Span.TimeEvent
Static Fields
public static final int ANNOTATION_FIELD_NUMBER
Field Value
public static final int MESSAGE_EVENT_FIELD_NUMBER
Field Value
public static final int TIME_FIELD_NUMBER
Field Value
Static Methods
public static Span.TimeEvent getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Span.TimeEvent.Builder newBuilder()
Returns
public static Span.TimeEvent.Builder newBuilder(Span.TimeEvent prototype)
Parameter
Returns
public static Span.TimeEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Span.TimeEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Span.TimeEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Span.TimeEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Span.TimeEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Span.TimeEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.TimeEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Span.TimeEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Span.TimeEvent> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Span.TimeEvent.Annotation getAnnotation()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
Returns
public Span.TimeEvent.AnnotationOrBuilder getAnnotationOrBuilder()
Text annotation with a set of attributes.
.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
Returns
public Span.TimeEvent getDefaultInstanceForType()
Returns
public Span.TimeEvent.MessageEvent getMessageEvent()
An event describing a message sent/received between Spans.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;
Returns
public Span.TimeEvent.MessageEventOrBuilder getMessageEventOrBuilder()
An event describing a message sent/received between Spans.
.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;
Returns
public Parser<Span.TimeEvent> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Timestamp getTime()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Returns
public TimestampOrBuilder getTimeOrBuilder()
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public Span.TimeEvent.ValueCase getValueCase()
Returns
public 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.
|
public 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.
|
The timestamp indicating the time the event occurred.
.google.protobuf.Timestamp time = 1;
Returns
Type | Description |
boolean | Whether the time field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Span.TimeEvent.Builder newBuilderForType()
Returns
protected Span.TimeEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Span.TimeEvent.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions