Package wavefront.report
Class Trace.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<Trace>
-
- wavefront.report.Trace.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tracebuild()Trace.BuilderclearCustomer()Clears the value of the 'customer' field.Trace.BuilderclearSpans()Clears the value of the 'spans' field.Trace.BuilderclearTraceId()Clears the value of the 'traceId' field.StringgetCustomer()Gets the value of the 'customer' field.List<Span>getSpans()Gets the value of the 'spans' field.StringgetTraceId()Gets the value of the 'traceId' field.booleanhasCustomer()Checks whether the 'customer' field has been set.booleanhasSpans()Checks whether the 'spans' field has been set.booleanhasTraceId()Checks whether the 'traceId' field has been set.Trace.BuildersetCustomer(String value)Sets the value of the 'customer' field.Trace.BuildersetSpans(List<Span> value)Sets the value of the 'spans' field.Trace.BuildersetTraceId(String value)Sets the value of the 'traceId' field.
-
-
-
Method Detail
-
getTraceId
public String getTraceId()
Gets the value of the 'traceId' field.- Returns:
- The value.
-
setTraceId
public Trace.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 Trace.Builder clearTraceId()
Clears the value of the 'traceId' field.- Returns:
- This builder.
-
getCustomer
public String getCustomer()
Gets the value of the 'customer' field.- Returns:
- The value.
-
setCustomer
public Trace.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 Trace.Builder clearCustomer()
Clears the value of the 'customer' field.- Returns:
- This builder.
-
setSpans
public Trace.Builder setSpans(List<Span> value)
Sets the value of the 'spans' field.- Parameters:
value- The value of 'spans'.- Returns:
- This builder.
-
hasSpans
public boolean hasSpans()
Checks whether the 'spans' field has been set.- Returns:
- True if the 'spans' field has been set, false otherwise.
-
clearSpans
public Trace.Builder clearSpans()
Clears the value of the 'spans' field.- Returns:
- This builder.
-
-