Class SpanName.Builder (2.42.0)

public static class SpanName.Builder

Builder for projects/{project}/traces/{trace}/spans/{span}.

Inheritance

java.lang.Object > SpanName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public SpanName build()
Returns
Type Description
SpanName

getProject()

public String getProject()
Returns
Type Description
String

getSpan()

public String getSpan()
Returns
Type Description
String

getTrace()

public String getTrace()
Returns
Type Description
String

setProject(String project)

public SpanName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
SpanName.Builder

setSpan(String span)

public SpanName.Builder setSpan(String span)
Parameter
Name Description
span String
Returns
Type Description
SpanName.Builder

setTrace(String trace)

public SpanName.Builder setTrace(String trace)
Parameter
Name Description
trace String
Returns
Type Description
SpanName.Builder