public final class Span extends com.google.protobuf.GeneratedMessageV3 implements SpanOrBuilder
kamon.apm.ingestion.v1.traces.Span| Modifier and Type | Class and Description |
|---|---|
static class |
Span.Builder
Protobuf type
kamon.apm.ingestion.v1.traces.Span |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENDMICROS_FIELD_NUMBER |
static int |
HASERROR_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LINKS_FIELD_NUMBER |
static int |
MARKS_FIELD_NUMBER |
static int |
METRICTAGS_FIELD_NUMBER |
static int |
OPERATIONNAME_FIELD_NUMBER |
static int |
PARENTID_FIELD_NUMBER |
static com.google.protobuf.Parser<Span> |
PARSER
Deprecated.
|
static int |
POSITION_FIELD_NUMBER |
static int |
STARTMICROS_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
TRACEID_FIELD_NUMBER |
static int |
WASDELAYED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetricTags(java.lang.String key)
map<string, string> metricTags = 13; |
boolean |
containsTags(java.lang.String key)
map<string, string> tags = 7; |
boolean |
equals(java.lang.Object obj) |
static Span |
getDefaultInstance() |
Span |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getEndMicros()
required int64 endMicros = 6; |
boolean |
getHasError()
Fields added since Kamon 2.0
|
java.lang.String |
getId()
required string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
required string id = 1; |
SpanKind |
getKind()
optional .kamon.apm.ingestion.v1.traces.SpanKind kind = 11; |
Link |
getLinks(int index)
repeated .kamon.apm.ingestion.v1.traces.Link links = 14; |
int |
getLinksCount()
repeated .kamon.apm.ingestion.v1.traces.Link links = 14; |
java.util.List<Link> |
getLinksList()
repeated .kamon.apm.ingestion.v1.traces.Link links = 14; |
LinkOrBuilder |
getLinksOrBuilder(int index)
repeated .kamon.apm.ingestion.v1.traces.Link links = 14; |
java.util.List<? extends LinkOrBuilder> |
getLinksOrBuilderList()
repeated .kamon.apm.ingestion.v1.traces.Link links = 14; |
Mark |
getMarks(int index)
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8; |
int |
getMarksCount()
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8; |
java.util.List<Mark> |
getMarksList()
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8; |
MarkOrBuilder |
getMarksOrBuilder(int index)
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8; |
java.util.List<? extends MarkOrBuilder> |
getMarksOrBuilderList()
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8; |
java.util.Map<java.lang.String,java.lang.String> |
getMetricTags()
Deprecated.
|
int |
getMetricTagsCount()
map<string, string> metricTags = 13; |
java.util.Map<java.lang.String,java.lang.String> |
getMetricTagsMap()
map<string, string> metricTags = 13; |
java.lang.String |
getMetricTagsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> metricTags = 13; |
java.lang.String |
getMetricTagsOrThrow(java.lang.String key)
map<string, string> metricTags = 13; |
java.lang.String |
getOperationName()
required string operationName = 4; |
com.google.protobuf.ByteString |
getOperationNameBytes()
required string operationName = 4; |
java.lang.String |
getParentId()
required string parentId = 3; |
com.google.protobuf.ByteString |
getParentIdBytes()
required string parentId = 3; |
com.google.protobuf.Parser<Span> |
getParserForType() |
SpanPosition |
getPosition()
optional .kamon.apm.ingestion.v1.traces.SpanPosition position = 12; |
int |
getSerializedSize() |
long |
getStartMicros()
required int64 startMicros = 5; |
java.util.Map<java.lang.String,java.lang.String> |
getTags()
Deprecated.
|
int |
getTagsCount()
map<string, string> tags = 7; |
java.util.Map<java.lang.String,java.lang.String> |
getTagsMap()
map<string, string> tags = 7; |
java.lang.String |
getTagsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> tags = 7; |
java.lang.String |
getTagsOrThrow(java.lang.String key)
map<string, string> tags = 7; |
java.lang.String |
getTraceId()
required string traceId = 2; |
com.google.protobuf.ByteString |
getTraceIdBytes()
required string traceId = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getWasDelayed()
optional bool wasDelayed = 10; |
boolean |
hasEndMicros()
required int64 endMicros = 6; |
boolean |
hasHasError()
Fields added since Kamon 2.0
|
int |
hashCode() |
boolean |
hasId()
required string id = 1; |
boolean |
hasKind()
optional .kamon.apm.ingestion.v1.traces.SpanKind kind = 11; |
boolean |
hasOperationName()
required string operationName = 4; |
boolean |
hasParentId()
required string parentId = 3; |
boolean |
hasPosition()
optional .kamon.apm.ingestion.v1.traces.SpanPosition position = 12; |
boolean |
hasStartMicros()
required int64 startMicros = 5; |
boolean |
hasTraceId()
required string traceId = 2; |
boolean |
hasWasDelayed()
optional bool wasDelayed = 10; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Span.Builder |
newBuilder() |
static Span.Builder |
newBuilder(Span prototype) |
Span.Builder |
newBuilderForType() |
protected Span.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Span |
parseDelimitedFrom(java.io.InputStream input) |
static Span |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(byte[] data) |
static Span |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(java.nio.ByteBuffer data) |
static Span |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(com.google.protobuf.ByteString data) |
static Span |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Span |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(java.io.InputStream input) |
static Span |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Span> |
parser() |
Span.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternalclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int TRACEID_FIELD_NUMBER
public static final int PARENTID_FIELD_NUMBER
public static final int OPERATIONNAME_FIELD_NUMBER
public static final int STARTMICROS_FIELD_NUMBER
public static final int ENDMICROS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int MARKS_FIELD_NUMBER
public static final int HASERROR_FIELD_NUMBER
public static final int WASDELAYED_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
public static final int METRICTAGS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Span> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasId()
required string id = 1;hasId in interface SpanOrBuilderpublic java.lang.String getId()
required string id = 1;getId in interface SpanOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
required string id = 1;getIdBytes in interface SpanOrBuilderpublic boolean hasTraceId()
required string traceId = 2;hasTraceId in interface SpanOrBuilderpublic java.lang.String getTraceId()
required string traceId = 2;getTraceId in interface SpanOrBuilderpublic com.google.protobuf.ByteString getTraceIdBytes()
required string traceId = 2;getTraceIdBytes in interface SpanOrBuilderpublic boolean hasParentId()
required string parentId = 3;hasParentId in interface SpanOrBuilderpublic java.lang.String getParentId()
required string parentId = 3;getParentId in interface SpanOrBuilderpublic com.google.protobuf.ByteString getParentIdBytes()
required string parentId = 3;getParentIdBytes in interface SpanOrBuilderpublic boolean hasOperationName()
required string operationName = 4;hasOperationName in interface SpanOrBuilderpublic java.lang.String getOperationName()
required string operationName = 4;getOperationName in interface SpanOrBuilderpublic com.google.protobuf.ByteString getOperationNameBytes()
required string operationName = 4;getOperationNameBytes in interface SpanOrBuilderpublic boolean hasStartMicros()
required int64 startMicros = 5;hasStartMicros in interface SpanOrBuilderpublic long getStartMicros()
required int64 startMicros = 5;getStartMicros in interface SpanOrBuilderpublic boolean hasEndMicros()
required int64 endMicros = 6;hasEndMicros in interface SpanOrBuilderpublic long getEndMicros()
required int64 endMicros = 6;getEndMicros in interface SpanOrBuilderpublic int getTagsCount()
SpanOrBuildermap<string, string> tags = 7;getTagsCount in interface SpanOrBuilderpublic boolean containsTags(java.lang.String key)
map<string, string> tags = 7;containsTags in interface SpanOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getTags()
getTagsMap() instead.getTags in interface SpanOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getTagsMap()
map<string, string> tags = 7;getTagsMap in interface SpanOrBuilderpublic java.lang.String getTagsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> tags = 7;getTagsOrDefault in interface SpanOrBuilderpublic java.lang.String getTagsOrThrow(java.lang.String key)
map<string, string> tags = 7;getTagsOrThrow in interface SpanOrBuilderpublic java.util.List<Mark> getMarksList()
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8;getMarksList in interface SpanOrBuilderpublic java.util.List<? extends MarkOrBuilder> getMarksOrBuilderList()
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8;getMarksOrBuilderList in interface SpanOrBuilderpublic int getMarksCount()
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8;getMarksCount in interface SpanOrBuilderpublic Mark getMarks(int index)
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8;getMarks in interface SpanOrBuilderpublic MarkOrBuilder getMarksOrBuilder(int index)
repeated .kamon.apm.ingestion.v1.traces.Mark marks = 8;getMarksOrBuilder in interface SpanOrBuilderpublic boolean hasHasError()
Fields added since Kamon 2.0
optional bool hasError = 9;hasHasError in interface SpanOrBuilderpublic boolean getHasError()
Fields added since Kamon 2.0
optional bool hasError = 9;getHasError in interface SpanOrBuilderpublic boolean hasWasDelayed()
optional bool wasDelayed = 10;hasWasDelayed in interface SpanOrBuilderpublic boolean getWasDelayed()
optional bool wasDelayed = 10;getWasDelayed in interface SpanOrBuilderpublic boolean hasKind()
optional .kamon.apm.ingestion.v1.traces.SpanKind kind = 11;hasKind in interface SpanOrBuilderpublic SpanKind getKind()
optional .kamon.apm.ingestion.v1.traces.SpanKind kind = 11;getKind in interface SpanOrBuilderpublic boolean hasPosition()
optional .kamon.apm.ingestion.v1.traces.SpanPosition position = 12;hasPosition in interface SpanOrBuilderpublic SpanPosition getPosition()
optional .kamon.apm.ingestion.v1.traces.SpanPosition position = 12;getPosition in interface SpanOrBuilderpublic int getMetricTagsCount()
SpanOrBuildermap<string, string> metricTags = 13;getMetricTagsCount in interface SpanOrBuilderpublic boolean containsMetricTags(java.lang.String key)
map<string, string> metricTags = 13;containsMetricTags in interface SpanOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMetricTags()
getMetricTagsMap() instead.getMetricTags in interface SpanOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getMetricTagsMap()
map<string, string> metricTags = 13;getMetricTagsMap in interface SpanOrBuilderpublic java.lang.String getMetricTagsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> metricTags = 13;getMetricTagsOrDefault in interface SpanOrBuilderpublic java.lang.String getMetricTagsOrThrow(java.lang.String key)
map<string, string> metricTags = 13;getMetricTagsOrThrow in interface SpanOrBuilderpublic java.util.List<Link> getLinksList()
repeated .kamon.apm.ingestion.v1.traces.Link links = 14;getLinksList in interface SpanOrBuilderpublic java.util.List<? extends LinkOrBuilder> getLinksOrBuilderList()
repeated .kamon.apm.ingestion.v1.traces.Link links = 14;getLinksOrBuilderList in interface SpanOrBuilderpublic int getLinksCount()
repeated .kamon.apm.ingestion.v1.traces.Link links = 14;getLinksCount in interface SpanOrBuilderpublic Link getLinks(int index)
repeated .kamon.apm.ingestion.v1.traces.Link links = 14;getLinks in interface SpanOrBuilderpublic LinkOrBuilder getLinksOrBuilder(int index)
repeated .kamon.apm.ingestion.v1.traces.Link links = 14;getLinksOrBuilder in interface SpanOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Span parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Span parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Span parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Span parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Span parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Span parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Span.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Span.Builder newBuilder()
public static Span.Builder newBuilder(Span prototype)
public Span.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Span.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Span getDefaultInstance()
public static com.google.protobuf.Parser<Span> parser()
public com.google.protobuf.Parser<Span> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Span getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder