Class SpanName.Builder (2.9.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
TypeDescription
SpanName

getProject()

public String getProject()
Returns
TypeDescription
String

getSpan()

public String getSpan()
Returns
TypeDescription
String

getTrace()

public String getTrace()
Returns
TypeDescription
String

setProject(String project)

public SpanName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
SpanName.Builder

setSpan(String span)

public SpanName.Builder setSpan(String span)
Parameter
NameDescription
spanString
Returns
TypeDescription
SpanName.Builder

setTrace(String trace)

public SpanName.Builder setTrace(String trace)
Parameter
NameDescription
traceString
Returns
TypeDescription
SpanName.Builder