public static class Span.Builder extends SpecificRecordBuilderBase<Span> implements RecordBuilder<Span>
Modifier and Type | Method and Description |
---|---|
Span |
build()
Constructs a new instance using the values set in the RecordBuilder.
|
Span.Builder |
clearComplete()
Clears the value of the 'complete' field
|
Span.Builder |
clearEvents()
Clears the value of the 'events' field
|
Span.Builder |
clearMessageName()
Clears the value of the 'messageName' field
|
Span.Builder |
clearParentSpanID()
Clears the value of the 'parentSpanID' field
|
Span.Builder |
clearRequestorHostname()
Clears the value of the 'requestorHostname' field
|
Span.Builder |
clearRequestPayloadSize()
Clears the value of the 'requestPayloadSize' field
|
Span.Builder |
clearResponderHostname()
Clears the value of the 'responderHostname' field
|
Span.Builder |
clearResponsePayloadSize()
Clears the value of the 'responsePayloadSize' field
|
Span.Builder |
clearSpanID()
Clears the value of the 'spanID' field
|
Span.Builder |
clearTraceID()
Clears the value of the 'traceID' field
|
Boolean |
getComplete()
Gets the value of the 'complete' field
|
List<TimestampedEvent> |
getEvents()
Gets the value of the 'events' field
|
String |
getMessageName()
Gets the value of the 'messageName' field
|
ID |
getParentSpanID()
Gets the value of the 'parentSpanID' field
|
String |
getRequestorHostname()
Gets the value of the 'requestorHostname' field
|
Long |
getRequestPayloadSize()
Gets the value of the 'requestPayloadSize' field
|
String |
getResponderHostname()
Gets the value of the 'responderHostname' field
|
Long |
getResponsePayloadSize()
Gets the value of the 'responsePayloadSize' field
|
ID |
getSpanID()
Gets the value of the 'spanID' field
|
ID |
getTraceID()
Gets the value of the 'traceID' field
|
boolean |
hasComplete()
Checks whether the 'complete' field has been set
|
boolean |
hasEvents()
Checks whether the 'events' field has been set
|
boolean |
hasMessageName()
Checks whether the 'messageName' field has been set
|
boolean |
hasParentSpanID()
Checks whether the 'parentSpanID' field has been set
|
boolean |
hasRequestorHostname()
Checks whether the 'requestorHostname' field has been set
|
boolean |
hasRequestPayloadSize()
Checks whether the 'requestPayloadSize' field has been set
|
boolean |
hasResponderHostname()
Checks whether the 'responderHostname' field has been set
|
boolean |
hasResponsePayloadSize()
Checks whether the 'responsePayloadSize' field has been set
|
boolean |
hasSpanID()
Checks whether the 'spanID' field has been set
|
boolean |
hasTraceID()
Checks whether the 'traceID' field has been set
|
Span.Builder |
setComplete(boolean value)
Sets the value of the 'complete' field
|
Span.Builder |
setEvents(List<TimestampedEvent> value)
Sets the value of the 'events' field
|
Span.Builder |
setMessageName(String value)
Sets the value of the 'messageName' field
|
Span.Builder |
setParentSpanID(ID value)
Sets the value of the 'parentSpanID' field
|
Span.Builder |
setRequestorHostname(String value)
Sets the value of the 'requestorHostname' field
|
Span.Builder |
setRequestPayloadSize(long value)
Sets the value of the 'requestPayloadSize' field
|
Span.Builder |
setResponderHostname(String value)
Sets the value of the 'responderHostname' field
|
Span.Builder |
setResponsePayloadSize(long value)
Sets the value of the 'responsePayloadSize' field
|
Span.Builder |
setSpanID(ID value)
Sets the value of the 'spanID' field
|
Span.Builder |
setTraceID(ID value)
Sets the value of the 'traceID' field
|
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
public ID getTraceID()
public Span.Builder setTraceID(ID value)
public boolean hasTraceID()
public Span.Builder clearTraceID()
public ID getSpanID()
public Span.Builder setSpanID(ID value)
public boolean hasSpanID()
public Span.Builder clearSpanID()
public ID getParentSpanID()
public Span.Builder setParentSpanID(ID value)
public boolean hasParentSpanID()
public Span.Builder clearParentSpanID()
public String getMessageName()
public Span.Builder setMessageName(String value)
public boolean hasMessageName()
public Span.Builder clearMessageName()
public Long getRequestPayloadSize()
public Span.Builder setRequestPayloadSize(long value)
public boolean hasRequestPayloadSize()
public Span.Builder clearRequestPayloadSize()
public Long getResponsePayloadSize()
public Span.Builder setResponsePayloadSize(long value)
public boolean hasResponsePayloadSize()
public Span.Builder clearResponsePayloadSize()
public String getRequestorHostname()
public Span.Builder setRequestorHostname(String value)
public boolean hasRequestorHostname()
public Span.Builder clearRequestorHostname()
public String getResponderHostname()
public Span.Builder setResponderHostname(String value)
public boolean hasResponderHostname()
public Span.Builder clearResponderHostname()
public List<TimestampedEvent> getEvents()
public Span.Builder setEvents(List<TimestampedEvent> value)
public boolean hasEvents()
public Span.Builder clearEvents()
public Boolean getComplete()
public Span.Builder setComplete(boolean value)
public boolean hasComplete()
public Span.Builder clearComplete()
public Span build()
RecordBuilder
build
in interface RecordBuilder<Span>
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.