Send feedback
Class Span.TimeEvent (2.1.11)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.11 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]