public static final class Span.Links extends GeneratedMessageV3 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 Fields
public static final int DROPPED_LINKS_COUNT_FIELD_NUMBER
Field Value
public static final int LINK_FIELD_NUMBER
Field Value
Static Methods
public static Span.Links getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Span.Links.Builder newBuilder()
Returns
public static Span.Links.Builder newBuilder(Span.Links prototype)
Parameter
Returns
public static Span.Links parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Span.Links parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.Links parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Span.Links parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.Links parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Span.Links parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.Links parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Span.Links parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.Links parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Span.Links parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Span.Links parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Span.Links parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Span.Links> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Span.Links getDefaultInstanceForType()
Returns
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 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> | |
public Parser<Span.Links> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Span.Links.Builder newBuilderForType()
Returns
protected Span.Links.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Span.Links.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions