public static class ReportSourceTag.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ReportSourceTag> implements org.apache.avro.data.RecordBuilder<ReportSourceTag>
| Modifier and Type | Method and Description |
|---|---|
ReportSourceTag |
build() |
ReportSourceTag.Builder |
clearAction()
Clears the value of the 'action' field.
|
ReportSourceTag.Builder |
clearAnnotations()
Clears the value of the 'annotations' field.
|
ReportSourceTag.Builder |
clearOperation()
Clears the value of the 'operation' field.
|
ReportSourceTag.Builder |
clearSource()
Clears the value of the 'source' field.
|
SourceTagAction |
getAction()
Gets the value of the 'action' field.
|
List<String> |
getAnnotations()
Gets the value of the 'annotations' field.
|
SourceOperationType |
getOperation()
Gets the value of the 'operation' field.
|
String |
getSource()
Gets the value of the 'source' field.
|
boolean |
hasAction()
Checks whether the 'action' field has been set.
|
boolean |
hasAnnotations()
Checks whether the 'annotations' field has been set.
|
boolean |
hasOperation()
Checks whether the 'operation' field has been set.
|
boolean |
hasSource()
Checks whether the 'source' field has been set.
|
ReportSourceTag.Builder |
setAction(SourceTagAction value)
Sets the value of the 'action' field.
|
ReportSourceTag.Builder |
setAnnotations(List<String> value)
Sets the value of the 'annotations' field.
|
ReportSourceTag.Builder |
setOperation(SourceOperationType value)
Sets the value of the 'operation' field.
|
ReportSourceTag.Builder |
setSource(String value)
Sets the value of the 'source' field.
|
public SourceOperationType getOperation()
public ReportSourceTag.Builder setOperation(SourceOperationType value)
value - The value of 'operation'.public boolean hasOperation()
public ReportSourceTag.Builder clearOperation()
public SourceTagAction getAction()
public ReportSourceTag.Builder setAction(SourceTagAction value)
value - The value of 'action'.public boolean hasAction()
public ReportSourceTag.Builder clearAction()
public String getSource()
public ReportSourceTag.Builder setSource(String value)
value - The value of 'source'.public boolean hasSource()
public ReportSourceTag.Builder clearSource()
public List<String> getAnnotations()
public ReportSourceTag.Builder setAnnotations(List<String> value)
value - The value of 'annotations'.public boolean hasAnnotations()
public ReportSourceTag.Builder clearAnnotations()
public ReportSourceTag build()
build in interface org.apache.avro.data.RecordBuilder<ReportSourceTag>Copyright © 2020. All rights reserved.