Package wavefront.report
Class SpanLog.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<SpanLog>
-
- wavefront.report.SpanLog.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpanLogbuild()SpanLog.BuilderclearFields()Clears the value of the 'fields' field.SpanLog.BuilderclearTimestamp()Clears the value of the 'timestamp' field.Map<String,String>getFields()Gets the value of the 'fields' field.longgetTimestamp()Gets the value of the 'timestamp' field.booleanhasFields()Checks whether the 'fields' field has been set.booleanhasTimestamp()Checks whether the 'timestamp' field has been set.SpanLog.BuildersetFields(Map<String,String> value)Sets the value of the 'fields' field.SpanLog.BuildersetTimestamp(long value)Sets the value of the 'timestamp' field.
-
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
Gets the value of the 'timestamp' field.- Returns:
- The value.
-
setTimestamp
public SpanLog.Builder setTimestamp(long value)
Sets the value of the 'timestamp' field.- Parameters:
value- The value of 'timestamp'.- Returns:
- This builder.
-
hasTimestamp
public boolean hasTimestamp()
Checks whether the 'timestamp' field has been set.- Returns:
- True if the 'timestamp' field has been set, false otherwise.
-
clearTimestamp
public SpanLog.Builder clearTimestamp()
Clears the value of the 'timestamp' field.- Returns:
- This builder.
-
getFields
public Map<String,String> getFields()
Gets the value of the 'fields' field.- Returns:
- The value.
-
setFields
public SpanLog.Builder setFields(Map<String,String> value)
Sets the value of the 'fields' field.- Parameters:
value- The value of 'fields'.- Returns:
- This builder.
-
hasFields
public boolean hasFields()
Checks whether the 'fields' field has been set.- Returns:
- True if the 'fields' field has been set, false otherwise.
-
clearFields
public SpanLog.Builder clearFields()
Clears the value of the 'fields' field.- Returns:
- This builder.
-
-