public static final class Tracepb.Span.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder> implements Tracepb.SpanOrBuilder
tracepb.Span
Modifier and Type | Method and Description |
---|---|
Tracepb.Span.Builder |
addAllProperties(Iterable<? extends Tracepb.Property> values)
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
addProperties(int index,
Tracepb.Property.Builder builderForValue)
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
addProperties(int index,
Tracepb.Property value)
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
addProperties(Tracepb.Property.Builder builderForValue)
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
addProperties(Tracepb.Property value)
repeated .tracepb.Property properties = 6; |
Tracepb.Property.Builder |
addPropertiesBuilder()
repeated .tracepb.Property properties = 6; |
Tracepb.Property.Builder |
addPropertiesBuilder(int index)
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Tracepb.Span |
build() |
Tracepb.Span |
buildPartial() |
Tracepb.Span.Builder |
clear() |
Tracepb.Span.Builder |
clearBeginUnixNs()
uint64 begin_unix_ns = 3; |
Tracepb.Span.Builder |
clearDurationNs()
uint64 duration_ns = 4; |
Tracepb.Span.Builder |
clearEvent()
string event = 5; |
Tracepb.Span.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Tracepb.Span.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Tracepb.Span.Builder |
clearParentId()
uint64 parent_id = 2; |
Tracepb.Span.Builder |
clearProperties()
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
clearSpanId()
The unique span id within the spans with the same `trace_id`.
|
Tracepb.Span.Builder |
clone() |
long |
getBeginUnixNs()
uint64 begin_unix_ns = 3; |
Tracepb.Span |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getDurationNs()
uint64 duration_ns = 4; |
String |
getEvent()
string event = 5; |
com.google.protobuf.ByteString |
getEventBytes()
string event = 5; |
long |
getParentId()
uint64 parent_id = 2; |
Tracepb.Property |
getProperties(int index)
repeated .tracepb.Property properties = 6; |
Tracepb.Property.Builder |
getPropertiesBuilder(int index)
repeated .tracepb.Property properties = 6; |
List<Tracepb.Property.Builder> |
getPropertiesBuilderList()
repeated .tracepb.Property properties = 6; |
int |
getPropertiesCount()
repeated .tracepb.Property properties = 6; |
List<Tracepb.Property> |
getPropertiesList()
repeated .tracepb.Property properties = 6; |
Tracepb.PropertyOrBuilder |
getPropertiesOrBuilder(int index)
repeated .tracepb.Property properties = 6; |
List<? extends Tracepb.PropertyOrBuilder> |
getPropertiesOrBuilderList()
repeated .tracepb.Property properties = 6; |
long |
getSpanId()
The unique span id within the spans with the same `trace_id`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Tracepb.Span.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Tracepb.Span.Builder |
mergeFrom(com.google.protobuf.Message other) |
Tracepb.Span.Builder |
mergeFrom(Tracepb.Span other) |
Tracepb.Span.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Tracepb.Span.Builder |
removeProperties(int index)
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
setBeginUnixNs(long value)
uint64 begin_unix_ns = 3; |
Tracepb.Span.Builder |
setDurationNs(long value)
uint64 duration_ns = 4; |
Tracepb.Span.Builder |
setEvent(String value)
string event = 5; |
Tracepb.Span.Builder |
setEventBytes(com.google.protobuf.ByteString value)
string event = 5; |
Tracepb.Span.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Tracepb.Span.Builder |
setParentId(long value)
uint64 parent_id = 2; |
Tracepb.Span.Builder |
setProperties(int index,
Tracepb.Property.Builder builderForValue)
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
setProperties(int index,
Tracepb.Property value)
repeated .tracepb.Property properties = 6; |
Tracepb.Span.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Tracepb.Span.Builder |
setSpanId(long value)
The unique span id within the spans with the same `trace_id`.
|
Tracepb.Span.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Tracepb.Span build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Tracepb.Span buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Tracepb.Span.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder mergeFrom(Tracepb.Span other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public Tracepb.Span.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Tracepb.Span.Builder>
IOException
public long getSpanId()
The unique span id within the spans with the same `trace_id`. The most significant 32 bits should be random number generated by each service instance.
uint64 span_id = 1;
getSpanId
in interface Tracepb.SpanOrBuilder
public Tracepb.Span.Builder setSpanId(long value)
The unique span id within the spans with the same `trace_id`. The most significant 32 bits should be random number generated by each service instance.
uint64 span_id = 1;
value
- The spanId to set.public Tracepb.Span.Builder clearSpanId()
The unique span id within the spans with the same `trace_id`. The most significant 32 bits should be random number generated by each service instance.
uint64 span_id = 1;
public long getParentId()
uint64 parent_id = 2;
getParentId
in interface Tracepb.SpanOrBuilder
public Tracepb.Span.Builder setParentId(long value)
uint64 parent_id = 2;
value
- The parentId to set.public Tracepb.Span.Builder clearParentId()
uint64 parent_id = 2;
public long getBeginUnixNs()
uint64 begin_unix_ns = 3;
getBeginUnixNs
in interface Tracepb.SpanOrBuilder
public Tracepb.Span.Builder setBeginUnixNs(long value)
uint64 begin_unix_ns = 3;
value
- The beginUnixNs to set.public Tracepb.Span.Builder clearBeginUnixNs()
uint64 begin_unix_ns = 3;
public long getDurationNs()
uint64 duration_ns = 4;
getDurationNs
in interface Tracepb.SpanOrBuilder
public Tracepb.Span.Builder setDurationNs(long value)
uint64 duration_ns = 4;
value
- The durationNs to set.public Tracepb.Span.Builder clearDurationNs()
uint64 duration_ns = 4;
public String getEvent()
string event = 5;
getEvent
in interface Tracepb.SpanOrBuilder
public com.google.protobuf.ByteString getEventBytes()
string event = 5;
getEventBytes
in interface Tracepb.SpanOrBuilder
public Tracepb.Span.Builder setEvent(String value)
string event = 5;
value
- The event to set.public Tracepb.Span.Builder clearEvent()
string event = 5;
public Tracepb.Span.Builder setEventBytes(com.google.protobuf.ByteString value)
string event = 5;
value
- The bytes for event to set.public List<Tracepb.Property> getPropertiesList()
repeated .tracepb.Property properties = 6;
getPropertiesList
in interface Tracepb.SpanOrBuilder
public int getPropertiesCount()
repeated .tracepb.Property properties = 6;
getPropertiesCount
in interface Tracepb.SpanOrBuilder
public Tracepb.Property getProperties(int index)
repeated .tracepb.Property properties = 6;
getProperties
in interface Tracepb.SpanOrBuilder
public Tracepb.Span.Builder setProperties(int index, Tracepb.Property value)
repeated .tracepb.Property properties = 6;
public Tracepb.Span.Builder setProperties(int index, Tracepb.Property.Builder builderForValue)
repeated .tracepb.Property properties = 6;
public Tracepb.Span.Builder addProperties(Tracepb.Property value)
repeated .tracepb.Property properties = 6;
public Tracepb.Span.Builder addProperties(int index, Tracepb.Property value)
repeated .tracepb.Property properties = 6;
public Tracepb.Span.Builder addProperties(Tracepb.Property.Builder builderForValue)
repeated .tracepb.Property properties = 6;
public Tracepb.Span.Builder addProperties(int index, Tracepb.Property.Builder builderForValue)
repeated .tracepb.Property properties = 6;
public Tracepb.Span.Builder addAllProperties(Iterable<? extends Tracepb.Property> values)
repeated .tracepb.Property properties = 6;
public Tracepb.Span.Builder clearProperties()
repeated .tracepb.Property properties = 6;
public Tracepb.Span.Builder removeProperties(int index)
repeated .tracepb.Property properties = 6;
public Tracepb.Property.Builder getPropertiesBuilder(int index)
repeated .tracepb.Property properties = 6;
public Tracepb.PropertyOrBuilder getPropertiesOrBuilder(int index)
repeated .tracepb.Property properties = 6;
getPropertiesOrBuilder
in interface Tracepb.SpanOrBuilder
public List<? extends Tracepb.PropertyOrBuilder> getPropertiesOrBuilderList()
repeated .tracepb.Property properties = 6;
getPropertiesOrBuilderList
in interface Tracepb.SpanOrBuilder
public Tracepb.Property.Builder addPropertiesBuilder()
repeated .tracepb.Property properties = 6;
public Tracepb.Property.Builder addPropertiesBuilder(int index)
repeated .tracepb.Property properties = 6;
public List<Tracepb.Property.Builder> getPropertiesBuilderList()
repeated .tracepb.Property properties = 6;
public final Tracepb.Span.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
public final Tracepb.Span.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Tracepb.Span.Builder>
Copyright © 2024 PingCAP. All rights reserved.