Package wavefront.report
Class SpanLogs.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<SpanLogs>
-
- wavefront.report.SpanLogs.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpanLogsbuild()SpanLogs.BuilderclearCustomer()Clears the value of the 'customer' field.SpanLogs.BuilderclearLogs()Clears the value of the 'logs' field.SpanLogs.BuilderclearSpan()Clears the value of the 'span' field.SpanLogs.BuilderclearSpanId()Clears the value of the 'spanId' field.SpanLogs.BuilderclearSpanSecondaryId()Clears the value of the 'spanSecondaryId' field.SpanLogs.BuilderclearTraceId()Clears the value of the 'traceId' field.StringgetCustomer()Gets the value of the 'customer' field.List<SpanLog>getLogs()Gets the value of the 'logs' field.StringgetSpan()Gets the value of the 'span' field.StringgetSpanId()Gets the value of the 'spanId' field.StringgetSpanSecondaryId()Gets the value of the 'spanSecondaryId' field.StringgetTraceId()Gets the value of the 'traceId' field.booleanhasCustomer()Checks whether the 'customer' field has been set.booleanhasLogs()Checks whether the 'logs' field has been set.booleanhasSpan()Checks whether the 'span' field has been set.booleanhasSpanId()Checks whether the 'spanId' field has been set.booleanhasSpanSecondaryId()Checks whether the 'spanSecondaryId' field has been set.booleanhasTraceId()Checks whether the 'traceId' field has been set.SpanLogs.BuildersetCustomer(String value)Sets the value of the 'customer' field.SpanLogs.BuildersetLogs(List<SpanLog> value)Sets the value of the 'logs' field.SpanLogs.BuildersetSpan(String value)Sets the value of the 'span' field.SpanLogs.BuildersetSpanId(String value)Sets the value of the 'spanId' field.SpanLogs.BuildersetSpanSecondaryId(String value)Sets the value of the 'spanSecondaryId' field.SpanLogs.BuildersetTraceId(String value)Sets the value of the 'traceId' field.
-
-
-
Method Detail
-
getCustomer
public String getCustomer()
Gets the value of the 'customer' field.- Returns:
- The value.
-
setCustomer
public SpanLogs.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 SpanLogs.Builder clearCustomer()
Clears the value of the 'customer' field.- Returns:
- This builder.
-
getTraceId
public String getTraceId()
Gets the value of the 'traceId' field.- Returns:
- The value.
-
setTraceId
public SpanLogs.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 SpanLogs.Builder clearTraceId()
Clears the value of the 'traceId' field.- Returns:
- This builder.
-
getSpanId
public String getSpanId()
Gets the value of the 'spanId' field.- Returns:
- The value.
-
setSpanId
public SpanLogs.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 SpanLogs.Builder clearSpanId()
Clears the value of the 'spanId' field.- Returns:
- This builder.
-
getSpanSecondaryId
public String getSpanSecondaryId()
Gets the value of the 'spanSecondaryId' field.- Returns:
- The value.
-
setSpanSecondaryId
public SpanLogs.Builder setSpanSecondaryId(String value)
Sets the value of the 'spanSecondaryId' field.- Parameters:
value- The value of 'spanSecondaryId'.- Returns:
- This builder.
-
hasSpanSecondaryId
public boolean hasSpanSecondaryId()
Checks whether the 'spanSecondaryId' field has been set.- Returns:
- True if the 'spanSecondaryId' field has been set, false otherwise.
-
clearSpanSecondaryId
public SpanLogs.Builder clearSpanSecondaryId()
Clears the value of the 'spanSecondaryId' field.- Returns:
- This builder.
-
setLogs
public SpanLogs.Builder setLogs(List<SpanLog> value)
Sets the value of the 'logs' field.- Parameters:
value- The value of 'logs'.- Returns:
- This builder.
-
hasLogs
public boolean hasLogs()
Checks whether the 'logs' field has been set.- Returns:
- True if the 'logs' field has been set, false otherwise.
-
clearLogs
public SpanLogs.Builder clearLogs()
Clears the value of the 'logs' field.- Returns:
- This builder.
-
getSpan
public String getSpan()
Gets the value of the 'span' field.- Returns:
- The value.
-
setSpan
public SpanLogs.Builder setSpan(String value)
Sets the value of the 'span' field.- Parameters:
value- The value of 'span'.- Returns:
- This builder.
-
hasSpan
public boolean hasSpan()
Checks whether the 'span' field has been set.- Returns:
- True if the 'span' field has been set, false otherwise.
-
clearSpan
public SpanLogs.Builder clearSpan()
Clears the value of the 'span' field.- Returns:
- This builder.
-
-