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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Span.TimeEventsImplements
Span.TimeEventsOrBuilderStatic Fields
DROPPED_ANNOTATIONS_COUNT_FIELD_NUMBER
public static final int DROPPED_ANNOTATIONS_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DROPPED_MESSAGE_EVENTS_COUNT_FIELD_NUMBER
public static final int DROPPED_MESSAGE_EVENTS_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TIME_EVENT_FIELD_NUMBER
public static final int TIME_EVENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Span.TimeEvents getDefaultInstance()
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Span.TimeEvents.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Span.TimeEvents.Builder |
newBuilder(Span.TimeEvents prototype)
public static Span.TimeEvents.Builder newBuilder(Span.TimeEvents prototype)
Parameter | |
---|---|
Name | Description |
prototype | Span.TimeEvents |
Returns | |
---|---|
Type | Description |
Span.TimeEvents.Builder |
parseDelimitedFrom(InputStream input)
public static Span.TimeEvents parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Span.TimeEvents parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Span.TimeEvents parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Span.TimeEvents parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Span.TimeEvents parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Span.TimeEvents parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Span.TimeEvents parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Span.TimeEvents> parser()
Returns | |
---|---|
Type | Description |
Parser<TimeEvents> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Span.TimeEvents getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Span.TimeEvents |
getDroppedAnnotationsCount()
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. |
getDroppedMessageEventsCount()
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. |
getParserForType()
public Parser<Span.TimeEvents> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<TimeEvents> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getTimeEvent(int index)
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 | |
---|---|
Type | Description |
Span.TimeEvent |
getTimeEventCount()
public int getTimeEventCount()
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
Returns | |
---|---|
Type | Description |
int |
getTimeEventList()
public List<Span.TimeEvent> getTimeEventList()
A collection of TimeEvent
s.
repeated .google.devtools.cloudtrace.v2.Span.TimeEvent time_event = 1;
Returns | |
---|---|
Type | Description |
List<TimeEvent> |
getTimeEventOrBuilder(int index)
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 | |
---|---|
Type | Description |
Span.TimeEventOrBuilder |
getTimeEventOrBuilderList()
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> |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Span.TimeEvents.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Span.TimeEvents.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Span.TimeEvents.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Span.TimeEvents.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Span.TimeEvents.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Span.TimeEvents.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |