Package wavefront.report
Class Span.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<Span>
-
- wavefront.report.Span.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Spanbuild()Span.BuilderclearAnnotations()Clears the value of the 'annotations' field.Span.BuilderclearCustomer()Clears the value of the 'customer' field.Span.BuilderclearDuration()Clears the value of the 'duration' field.Span.BuilderclearName()Clears the value of the 'name' field.Span.BuilderclearSource()Clears the value of the 'source' field.Span.BuilderclearSpanId()Clears the value of the 'spanId' field.Span.BuilderclearStartMillis()Clears the value of the 'startMillis' field.Span.BuilderclearTraceId()Clears the value of the 'traceId' field.List<Annotation>getAnnotations()Gets the value of the 'annotations' field.StringgetCustomer()Gets the value of the 'customer' field.longgetDuration()Gets the value of the 'duration' field.StringgetName()Gets the value of the 'name' field.StringgetSource()Gets the value of the 'source' field.StringgetSpanId()Gets the value of the 'spanId' field.longgetStartMillis()Gets the value of the 'startMillis' field.StringgetTraceId()Gets the value of the 'traceId' field.booleanhasAnnotations()Checks whether the 'annotations' field has been set.booleanhasCustomer()Checks whether the 'customer' field has been set.booleanhasDuration()Checks whether the 'duration' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanhasSource()Checks whether the 'source' field has been set.booleanhasSpanId()Checks whether the 'spanId' field has been set.booleanhasStartMillis()Checks whether the 'startMillis' field has been set.booleanhasTraceId()Checks whether the 'traceId' field has been set.Span.BuildersetAnnotations(List<Annotation> value)Sets the value of the 'annotations' field.Span.BuildersetCustomer(String value)Sets the value of the 'customer' field.Span.BuildersetDuration(long value)Sets the value of the 'duration' field.Span.BuildersetName(String value)Sets the value of the 'name' field.Span.BuildersetSource(String value)Sets the value of the 'source' field.Span.BuildersetSpanId(String value)Sets the value of the 'spanId' field.Span.BuildersetStartMillis(long value)Sets the value of the 'startMillis' field.Span.BuildersetTraceId(String value)Sets the value of the 'traceId' field.
-
-
-
Method Detail
-
getName
public String getName()
Gets the value of the 'name' field.- Returns:
- The value.
-
setName
public Span.Builder setName(String value)
Sets the value of the 'name' field.- Parameters:
value- The value of 'name'.- Returns:
- This builder.
-
hasName
public boolean hasName()
Checks whether the 'name' field has been set.- Returns:
- True if the 'name' field has been set, false otherwise.
-
clearName
public Span.Builder clearName()
Clears the value of the 'name' field.- Returns:
- This builder.
-
getSpanId
public String getSpanId()
Gets the value of the 'spanId' field.- Returns:
- The value.
-
setSpanId
public Span.Builder setSpanId(String value)
Sets the value of the 'spanId' field.- Parameters:
value- The value of 'spanId'.- Returns:
- This builder.
-
hasSpanId
public boolean hasSpanId()
Checks whether the 'spanId' field has been set.- Returns:
- True if the 'spanId' field has been set, false otherwise.
-
clearSpanId
public Span.Builder clearSpanId()
Clears the value of the 'spanId' field.- Returns:
- This builder.
-
getTraceId
public String getTraceId()
Gets the value of the 'traceId' field.- Returns:
- The value.
-
setTraceId
public Span.Builder setTraceId(String value)
Sets the value of the 'traceId' field.- Parameters:
value- The value of 'traceId'.- Returns:
- This builder.
-
hasTraceId
public boolean hasTraceId()
Checks whether the 'traceId' field has been set.- Returns:
- True if the 'traceId' field has been set, false otherwise.
-
clearTraceId
public Span.Builder clearTraceId()
Clears the value of the 'traceId' field.- Returns:
- This builder.
-
getStartMillis
public long getStartMillis()
Gets the value of the 'startMillis' field.- Returns:
- The value.
-
setStartMillis
public Span.Builder setStartMillis(long value)
Sets the value of the 'startMillis' field.- Parameters:
value- The value of 'startMillis'.- Returns:
- This builder.
-
hasStartMillis
public boolean hasStartMillis()
Checks whether the 'startMillis' field has been set.- Returns:
- True if the 'startMillis' field has been set, false otherwise.
-
clearStartMillis
public Span.Builder clearStartMillis()
Clears the value of the 'startMillis' field.- Returns:
- This builder.
-
getDuration
public long getDuration()
Gets the value of the 'duration' field.- Returns:
- The value.
-
setDuration
public Span.Builder setDuration(long value)
Sets the value of the 'duration' field.- Parameters:
value- The value of 'duration'.- Returns:
- This builder.
-
hasDuration
public boolean hasDuration()
Checks whether the 'duration' field has been set.- Returns:
- True if the 'duration' field has been set, false otherwise.
-
clearDuration
public Span.Builder clearDuration()
Clears the value of the 'duration' field.- Returns:
- This builder.
-
getSource
public String getSource()
Gets the value of the 'source' field.- Returns:
- The value.
-
setSource
public Span.Builder setSource(String value)
Sets the value of the 'source' field.- Parameters:
value- The value of 'source'.- Returns:
- This builder.
-
hasSource
public boolean hasSource()
Checks whether the 'source' field has been set.- Returns:
- True if the 'source' field has been set, false otherwise.
-
clearSource
public Span.Builder clearSource()
Clears the value of the 'source' field.- Returns:
- This builder.
-
getCustomer
public String getCustomer()
Gets the value of the 'customer' field.- Returns:
- The value.
-
setCustomer
public Span.Builder setCustomer(String value)
Sets the value of the 'customer' field.- Parameters:
value- The value of 'customer'.- Returns:
- This builder.
-
hasCustomer
public boolean hasCustomer()
Checks whether the 'customer' field has been set.- Returns:
- True if the 'customer' field has been set, false otherwise.
-
clearCustomer
public Span.Builder clearCustomer()
Clears the value of the 'customer' field.- Returns:
- This builder.
-
getAnnotations
public List<Annotation> getAnnotations()
Gets the value of the 'annotations' field.- Returns:
- The value.
-
setAnnotations
public Span.Builder setAnnotations(List<Annotation> value)
Sets the value of the 'annotations' field.- Parameters:
value- The value of 'annotations'.- Returns:
- This builder.
-
hasAnnotations
public boolean hasAnnotations()
Checks whether the 'annotations' field has been set.- Returns:
- True if the 'annotations' field has been set, false otherwise.
-
clearAnnotations
public Span.Builder clearAnnotations()
Clears the value of the 'annotations' field.- Returns:
- This builder.
-
-