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
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
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