Class Span.TimeEvents (2.9.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.9.0keyboard_arrow_down
public static final class Span . TimeEvents extends GeneratedMessageV3 implements Span . TimeEventsOrBuilder
A collection of TimeEvent
s. A TimeEvent
is a time-stamped annotation
on the span, consisting of either user-supplied key:value pairs, or
details of a message sent/received between Spans.
Protobuf type google.devtools.cloudtrace.v2.Span.TimeEvents
Static Fields
public static final int DROPPED_ANNOTATIONS_COUNT_FIELD_NUMBER
Field Value
public static final int DROPPED_MESSAGE_EVENTS_COUNT_FIELD_NUMBER
Field Value
public static final int TIME_EVENT_FIELD_NUMBER
Field Value
Static Methods
public static Span . TimeEvents getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static Span . TimeEvents . Builder newBuilder ()
Returns
public static Span . TimeEvents . Builder newBuilder ( Span . TimeEvents prototype )
Parameter
Returns
public static Span . TimeEvents parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Span . TimeEvents parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Span . TimeEvents parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
public static Span . TimeEvents parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Span . TimeEvents parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static Span . TimeEvents parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Span . TimeEvents parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static Span . TimeEvents parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Span . TimeEvents parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Span . TimeEvents parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Span . TimeEvents parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static Span . TimeEvents parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<Span . TimeEvents > parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public Span . TimeEvents getDefaultInstanceForType ()
Returns
public int getDroppedAnnotationsCount ()
The number of dropped annotations in all the included time events.
If the value is 0, then no annotations were dropped.
int32 dropped_annotations_count = 2;
Returns
Type
Description
int
The droppedAnnotationsCount.
public int getDroppedMessageEventsCount ()
The number of dropped message events in all the included time events.
If the value is 0, then no message events were dropped.
int32 dropped_message_events_count = 3;
Returns
Type
Description
int
The droppedMessageEventsCount.
public Parser<Span . TimeEvents > getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public Span . TimeEvent getTimeEvent ( int index )
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
Parameter
Name
Description
index
int
Returns
public int getTimeEventCount ()
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
Returns
public List<Span . TimeEvent > getTimeEventList ()
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
Returns
public Span . TimeEventOrBuilder getTimeEventOrBuilder ( int index )
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
Parameter
Name
Description
index
int
Returns
public List <? extends Span . TimeEventOrBuilder > getTimeEventOrBuilderList ()
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
Returns
Type
Description
List <? extends com.google.devtools.cloudtrace.v2.Span.TimeEventOrBuilder >
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public Span . TimeEvents . Builder newBuilderForType ()
Returns
protected Span . TimeEvents . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public Span . TimeEvents . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[]]