Interface Span.LinksOrBuilder (2.46.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
Type Description
int

The droppedLinksCount.

public abstract Span.Link getLink(int index)

A collection of links.

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

Parameter
Name Description
index int
Returns
Type Description
Span.Link

getLinkCount()

public abstract int getLinkCount()

A collection of links.

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

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

A collection of links.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
Span.LinkOrBuilder

getLinkOrBuilderList()

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