- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.0
- 2.1.13
public static final class Span.Link.Builder extends GeneratedMessageV3.Builder<Span.Link.Builder> implements Span.LinkOrBuilder
A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.
Protobuf type google.devtools.cloudtrace.v2.Span.Link
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Span.Link.BuilderImplements
Span.LinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Span.Link.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Span.Link.Builder |
build()
public Span.Link build()
Type | Description |
Span.Link |
buildPartial()
public Span.Link buildPartial()
Type | Description |
Span.Link |
clear()
public Span.Link.Builder clear()
Type | Description |
Span.Link.Builder |
clearAttributes()
public Span.Link.Builder clearAttributes()
A set of attributes on the link. You have have up to 32 attributes per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
Type | Description |
Span.Link.Builder |
clearField(Descriptors.FieldDescriptor field)
public Span.Link.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Span.Link.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Span.Link.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Span.Link.Builder |
clearSpanId()
public Span.Link.Builder clearSpanId()
The [SPAN_ID] for a span within a trace.
string span_id = 2;
Type | Description |
Span.Link.Builder | This builder for chaining. |
clearTraceId()
public Span.Link.Builder clearTraceId()
The [TRACE_ID] for a trace within a project.
string trace_id = 1;
Type | Description |
Span.Link.Builder | This builder for chaining. |
clearType()
public Span.Link.Builder clearType()
The relationship of the current span relative to the linked span.
.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;
Type | Description |
Span.Link.Builder | This builder for chaining. |
clone()
public Span.Link.Builder clone()
Type | Description |
Span.Link.Builder |
getAttributes()
public Span.Attributes getAttributes()
A set of attributes on the link. You have have up to 32 attributes per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
Type | Description |
Span.Attributes | The attributes. |
getAttributesBuilder()
public Span.Attributes.Builder getAttributesBuilder()
A set of attributes on the link. You have have up to 32 attributes per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
Type | Description |
Span.Attributes.Builder |
getAttributesOrBuilder()
public Span.AttributesOrBuilder getAttributesOrBuilder()
A set of attributes on the link. You have have up to 32 attributes per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
Type | Description |
Span.AttributesOrBuilder |
getDefaultInstanceForType()
public Span.Link getDefaultInstanceForType()
Type | Description |
Span.Link |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSpanId()
public String getSpanId()
The [SPAN_ID] for a span within a trace.
string span_id = 2;
Type | Description |
String | The spanId. |
getSpanIdBytes()
public ByteString getSpanIdBytes()
The [SPAN_ID] for a span within a trace.
string span_id = 2;
Type | Description |
ByteString | The bytes for spanId. |
getTraceId()
public String getTraceId()
The [TRACE_ID] for a trace within a project.
string trace_id = 1;
Type | Description |
String | The traceId. |
getTraceIdBytes()
public ByteString getTraceIdBytes()
The [TRACE_ID] for a trace within a project.
string trace_id = 1;
Type | Description |
ByteString | The bytes for traceId. |
getType()
public Span.Link.Type getType()
The relationship of the current span relative to the linked span.
.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;
Type | Description |
Span.Link.Type | The type. |
getTypeValue()
public int getTypeValue()
The relationship of the current span relative to the linked span.
.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;
Type | Description |
int | The enum numeric value on the wire for type. |
hasAttributes()
public boolean hasAttributes()
A set of attributes on the link. You have have up to 32 attributes per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
Type | Description |
boolean | Whether the attributes field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAttributes(Span.Attributes value)
public Span.Link.Builder mergeAttributes(Span.Attributes value)
A set of attributes on the link. You have have up to 32 attributes per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
Name | Description |
value | Span.Attributes |
Type | Description |
Span.Link.Builder |
mergeFrom(Span.Link other)
public Span.Link.Builder mergeFrom(Span.Link other)
Name | Description |
other | Span.Link |
Type | Description |
Span.Link.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Span.Link.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Span.Link.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Span.Link.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Span.Link.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Span.Link.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Span.Link.Builder |
setAttributes(Span.Attributes value)
public Span.Link.Builder setAttributes(Span.Attributes value)
A set of attributes on the link. You have have up to 32 attributes per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
Name | Description |
value | Span.Attributes |
Type | Description |
Span.Link.Builder |
setAttributes(Span.Attributes.Builder builderForValue)
public Span.Link.Builder setAttributes(Span.Attributes.Builder builderForValue)
A set of attributes on the link. You have have up to 32 attributes per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
Name | Description |
builderForValue | Span.Attributes.Builder |
Type | Description |
Span.Link.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Span.Link.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Span.Link.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Span.Link.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Span.Link.Builder |
setSpanId(String value)
public Span.Link.Builder setSpanId(String value)
The [SPAN_ID] for a span within a trace.
string span_id = 2;
Name | Description |
value | String The spanId to set. |
Type | Description |
Span.Link.Builder | This builder for chaining. |
setSpanIdBytes(ByteString value)
public Span.Link.Builder setSpanIdBytes(ByteString value)
The [SPAN_ID] for a span within a trace.
string span_id = 2;
Name | Description |
value | ByteString The bytes for spanId to set. |
Type | Description |
Span.Link.Builder | This builder for chaining. |
setTraceId(String value)
public Span.Link.Builder setTraceId(String value)
The [TRACE_ID] for a trace within a project.
string trace_id = 1;
Name | Description |
value | String The traceId to set. |
Type | Description |
Span.Link.Builder | This builder for chaining. |
setTraceIdBytes(ByteString value)
public Span.Link.Builder setTraceIdBytes(ByteString value)
The [TRACE_ID] for a trace within a project.
string trace_id = 1;
Name | Description |
value | ByteString The bytes for traceId to set. |
Type | Description |
Span.Link.Builder | This builder for chaining. |
setType(Span.Link.Type value)
public Span.Link.Builder setType(Span.Link.Type value)
The relationship of the current span relative to the linked span.
.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;
Name | Description |
value | Span.Link.Type The type to set. |
Type | Description |
Span.Link.Builder | This builder for chaining. |
setTypeValue(int value)
public Span.Link.Builder setTypeValue(int value)
The relationship of the current span relative to the linked span.
.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
Span.Link.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Span.Link.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Span.Link.Builder |