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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DROPPED_ANNOTATIONS_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DROPPED_MESSAGE_EVENTS_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIME_EVENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Span.TimeEvents getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Span.TimeEvents.Builder newBuilder()
public static Span.TimeEvents.Builder newBuilder(Span.TimeEvents prototype)
public static Span.TimeEvents parseDelimitedFrom(InputStream input)
public static Span.TimeEvents parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Span.TimeEvents parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(ByteString data)
public static Span.TimeEvents parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(CodedInputStream input)
public static Span.TimeEvents parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(InputStream input)
public static Span.TimeEvents parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(ByteBuffer data)
public static Span.TimeEvents parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Span.TimeEvents> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Span.TimeEvents getDefaultInstanceForType()
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()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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
|
public int getTimeEventCount()
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
Returns |
---|
Type | Description |
int | |
public List<Span.TimeEvent> getTimeEventList()
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
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
|
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> | |
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Span.TimeEvents.Builder newBuilderForType()
protected Span.TimeEvents.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Span.TimeEvents.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides