com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SpanContextOrBuilderpublic final class SpanContext extends com.google.protobuf.GeneratedMessageV3 implements SpanContextOrBuilder
lightstep.collector.SpanContext| Modifier and Type | Class | Description |
|---|---|---|
static class |
SpanContext.Builder |
Protobuf type
lightstep.collector.SpanContext |
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| Modifier and Type | Field | Description |
|---|---|---|
static int |
BAGGAGE_FIELD_NUMBER |
|
static int |
SPAN_ID_FIELD_NUMBER |
|
static int |
TRACE_ID_FIELD_NUMBER |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsBaggage(java.lang.String key) |
map<string, string> baggage = 3; |
boolean |
equals(java.lang.Object obj) |
|
java.util.Map<java.lang.String,java.lang.String> |
getBaggage() |
Deprecated.
|
int |
getBaggageCount() |
map<string, string> baggage = 3; |
java.util.Map<java.lang.String,java.lang.String> |
getBaggageMap() |
map<string, string> baggage = 3; |
java.lang.String |
getBaggageOrDefault(java.lang.String key,
java.lang.String defaultValue) |
map<string, string> baggage = 3; |
java.lang.String |
getBaggageOrThrow(java.lang.String key) |
map<string, string> baggage = 3; |
static SpanContext |
getDefaultInstance() |
|
SpanContext |
getDefaultInstanceForType() |
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
|
com.google.protobuf.Parser<SpanContext> |
getParserForType() |
|
int |
getSerializedSize() |
|
long |
getSpanId() |
uint64 span_id = 2; |
long |
getTraceId() |
uint64 trace_id = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
|
int |
hashCode() |
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
|
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
|
boolean |
isInitialized() |
|
static SpanContext.Builder |
newBuilder() |
|
static SpanContext.Builder |
newBuilder(SpanContext prototype) |
|
SpanContext.Builder |
newBuilderForType() |
|
protected SpanContext.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
|
static SpanContext |
parseDelimitedFrom(java.io.InputStream input) |
|
static SpanContext |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static SpanContext |
parseFrom(byte[] data) |
|
static SpanContext |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static SpanContext |
parseFrom(com.google.protobuf.ByteString data) |
|
static SpanContext |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static SpanContext |
parseFrom(com.google.protobuf.CodedInputStream input) |
|
static SpanContext |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static SpanContext |
parseFrom(java.io.InputStream input) |
|
static SpanContext |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static SpanContext |
parseFrom(java.nio.ByteBuffer data) |
|
static SpanContext |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
static com.google.protobuf.Parser<SpanContext> |
parser() |
|
SpanContext.Builder |
toBuilder() |
|
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTocanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TRACE_ID_FIELD_NUMBER
public static final int SPAN_ID_FIELD_NUMBER
public static final int BAGGAGE_FIELD_NUMBER
public 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 long getTraceId()
uint64 trace_id = 1;getTraceId in interface SpanContextOrBuilderpublic long getSpanId()
uint64 span_id = 2;getSpanId in interface SpanContextOrBuilderpublic int getBaggageCount()
SpanContextOrBuildermap<string, string> baggage = 3;getBaggageCount in interface SpanContextOrBuilderpublic boolean containsBaggage(java.lang.String key)
map<string, string> baggage = 3;containsBaggage in interface SpanContextOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getBaggage()
getBaggageMap() instead.getBaggage in interface SpanContextOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getBaggageMap()
map<string, string> baggage = 3;getBaggageMap in interface SpanContextOrBuilderpublic java.lang.String getBaggageOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> baggage = 3;getBaggageOrDefault in interface SpanContextOrBuilderpublic java.lang.String getBaggageOrThrow(java.lang.String key)
map<string, string> baggage = 3;getBaggageOrThrow in interface SpanContextOrBuilderpublic 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 class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in class com.google.protobuf.AbstractMessagepublic static SpanContext parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanContext parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpanContext parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SpanContext parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SpanContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SpanContext parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SpanContext parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SpanContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic SpanContext.Builder newBuilderForType()
public static SpanContext.Builder newBuilder()
public static SpanContext.Builder newBuilder(SpanContext prototype)
public SpanContext.Builder toBuilder()
protected SpanContext.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SpanContext getDefaultInstance()
public static com.google.protobuf.Parser<SpanContext> parser()
public com.google.protobuf.Parser<SpanContext> getParserForType()
getParserForType in class com.google.protobuf.GeneratedMessageV3public SpanContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 LightStep. All rights reserved.