Package wavefront.report
Class ReportSourceTag.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<ReportSourceTag>
-
- wavefront.report.ReportSourceTag.Builder
-
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ReportSourceTag>
- Enclosing class:
- ReportSourceTag
public static class ReportSourceTag.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ReportSourceTag> implements org.apache.avro.data.RecordBuilder<ReportSourceTag>
RecordBuilder for ReportSourceTag instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportSourceTagbuild()ReportSourceTag.BuilderclearAction()Clears the value of the 'action' field.ReportSourceTag.BuilderclearAnnotations()Clears the value of the 'annotations' field.ReportSourceTag.BuilderclearOperation()Clears the value of the 'operation' field.ReportSourceTag.BuilderclearSource()Clears the value of the 'source' field.SourceTagActiongetAction()Gets the value of the 'action' field.List<String>getAnnotations()Gets the value of the 'annotations' field.SourceOperationTypegetOperation()Gets the value of the 'operation' field.StringgetSource()Gets the value of the 'source' field.booleanhasAction()Checks whether the 'action' field has been set.booleanhasAnnotations()Checks whether the 'annotations' field has been set.booleanhasOperation()Checks whether the 'operation' field has been set.booleanhasSource()Checks whether the 'source' field has been set.ReportSourceTag.BuildersetAction(SourceTagAction value)Sets the value of the 'action' field.ReportSourceTag.BuildersetAnnotations(List<String> value)Sets the value of the 'annotations' field.ReportSourceTag.BuildersetOperation(SourceOperationType value)Sets the value of the 'operation' field.ReportSourceTag.BuildersetSource(String value)Sets the value of the 'source' field.
-
-
-
Method Detail
-
getOperation
public SourceOperationType getOperation()
Gets the value of the 'operation' field.- Returns:
- The value.
-
setOperation
public ReportSourceTag.Builder setOperation(SourceOperationType value)
Sets the value of the 'operation' field.- Parameters:
value- The value of 'operation'.- Returns:
- This builder.
-
hasOperation
public boolean hasOperation()
Checks whether the 'operation' field has been set.- Returns:
- True if the 'operation' field has been set, false otherwise.
-
clearOperation
public ReportSourceTag.Builder clearOperation()
Clears the value of the 'operation' field.- Returns:
- This builder.
-
getAction
public SourceTagAction getAction()
Gets the value of the 'action' field.- Returns:
- The value.
-
setAction
public ReportSourceTag.Builder setAction(SourceTagAction value)
Sets the value of the 'action' field.- Parameters:
value- The value of 'action'.- Returns:
- This builder.
-
hasAction
public boolean hasAction()
Checks whether the 'action' field has been set.- Returns:
- True if the 'action' field has been set, false otherwise.
-
clearAction
public ReportSourceTag.Builder clearAction()
Clears the value of the 'action' field.- Returns:
- This builder.
-
getSource
public String getSource()
Gets the value of the 'source' field.- Returns:
- The value.
-
setSource
public ReportSourceTag.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 ReportSourceTag.Builder clearSource()
Clears the value of the 'source' field.- Returns:
- This builder.
-
getAnnotations
public List<String> getAnnotations()
Gets the value of the 'annotations' field.- Returns:
- The value.
-
setAnnotations
public ReportSourceTag.Builder setAnnotations(List<String> 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 ReportSourceTag.Builder clearAnnotations()
Clears the value of the 'annotations' field.- Returns:
- This builder.
-
build
public ReportSourceTag build()
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<ReportSourceTag>
-
-