public static final class Span.Links.Builder extends GeneratedMessageV3.Builder<Span.Links.Builder> implements Span.LinksOrBuilder
A collection of links, which are references from this span to a span
in the same or different trace.
Protobuf type google.devtools.cloudtrace.v2.Span.Links
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Span.Links.Builder addAllLink(Iterable<? extends Span.Link> values)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.devtools.cloudtrace.v2.Span.Link>
|
Returns
public Span.Links.Builder addLink(Span.Link value)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameter
Returns
public Span.Links.Builder addLink(Span.Link.Builder builderForValue)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameter
Returns
public Span.Links.Builder addLink(int index, Span.Link value)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameters
Returns
public Span.Links.Builder addLink(int index, Span.Link.Builder builderForValue)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameters
Returns
public Span.Link.Builder addLinkBuilder()
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Returns
public Span.Link.Builder addLinkBuilder(int index)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameter
Returns
public Span.Links.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Span.Links build()
Returns
public Span.Links buildPartial()
Returns
public Span.Links.Builder clear()
Returns
Overrides
public Span.Links.Builder clearDroppedLinksCount()
The number of dropped links after the maximum size was enforced. If
this value is 0, then no links were dropped.
int32 dropped_links_count = 2;
Returns
public Span.Links.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Span.Links.Builder clearLink()
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Returns
public Span.Links.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Span.Links.Builder clone()
Returns
Overrides
public Span.Links getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public int getDroppedLinksCount()
The number of dropped links after the maximum size was enforced. If
this value is 0, then no links were dropped.
int32 dropped_links_count = 2;
Returns
Type | Description |
int | The droppedLinksCount.
|
public Span.Link getLink(int index)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameter
Returns
public Span.Link.Builder getLinkBuilder(int index)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameter
Returns
public List<Span.Link.Builder> getLinkBuilderList()
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Returns
public int getLinkCount()
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Returns
public List<Span.Link> getLinkList()
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Returns
public Span.LinkOrBuilder getLinkOrBuilder(int index)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameter
Returns
public List<? extends Span.LinkOrBuilder> getLinkOrBuilderList()
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Returns
Type | Description |
List<? extends com.google.devtools.cloudtrace.v2.Span.LinkOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Span.Links.Builder mergeFrom(Span.Links other)
Parameter
Returns
public Span.Links.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Span.Links.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Span.Links.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Span.Links.Builder removeLink(int index)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameter
Returns
public Span.Links.Builder setDroppedLinksCount(int value)
The number of dropped links after the maximum size was enforced. If
this value is 0, then no links were dropped.
int32 dropped_links_count = 2;
Parameter
Name | Description |
value | int
The droppedLinksCount to set.
|
Returns
public Span.Links.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Span.Links.Builder setLink(int index, Span.Link value)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameters
Returns
public Span.Links.Builder setLink(int index, Span.Link.Builder builderForValue)
A collection of links.
repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;
Parameters
Returns
public Span.Links.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Span.Links.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides