Interface Span.LinksOrBuilder (2.32.0)

public static interface Span.LinksOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDroppedLinksCount()

public abstract 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
TypeDescription
int

The droppedLinksCount.

public abstract Span.Link getLink(int index)

A collection of links.

repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Span.Link

getLinkCount()

public abstract int getLinkCount()

A collection of links.

repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;

Returns
TypeDescription
int
public abstract List<Span.Link> getLinkList()

A collection of links.

repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;

Returns
TypeDescription
List<Link>

getLinkOrBuilder(int index)

public abstract Span.LinkOrBuilder getLinkOrBuilder(int index)

A collection of links.

repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Span.LinkOrBuilder

getLinkOrBuilderList()

public abstract List<? extends Span.LinkOrBuilder> getLinkOrBuilderList()

A collection of links.

repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;

Returns
TypeDescription
List<? extends com.google.devtools.cloudtrace.v2.Span.LinkOrBuilder>