public static class ReportEvent.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ReportEvent> implements org.apache.avro.data.RecordBuilder<ReportEvent>
| Modifier and Type | Method and Description |
|---|---|
ReportEvent |
build() |
ReportEvent.Builder |
clearAnnotations()
Clears the value of the 'annotations' field.
|
ReportEvent.Builder |
clearDimensions()
Clears the value of the 'dimensions' field.
|
ReportEvent.Builder |
clearEndTime()
Clears the value of the 'endTime' field.
|
ReportEvent.Builder |
clearHosts()
Clears the value of the 'hosts' field.
|
ReportEvent.Builder |
clearName()
Clears the value of the 'name' field.
|
ReportEvent.Builder |
clearStartTime()
Clears the value of the 'startTime' field.
|
ReportEvent.Builder |
clearTags()
Clears the value of the 'tags' field.
|
Map<String,String> |
getAnnotations()
Gets the value of the 'annotations' field.
|
Map<String,List<String>> |
getDimensions()
Gets the value of the 'dimensions' field.
|
Long |
getEndTime()
Gets the value of the 'endTime' field.
|
List<String> |
getHosts()
Gets the value of the 'hosts' field.
|
String |
getName()
Gets the value of the 'name' field.
|
Long |
getStartTime()
Gets the value of the 'startTime' field.
|
List<String> |
getTags()
Gets the value of the 'tags' field.
|
boolean |
hasAnnotations()
Checks whether the 'annotations' field has been set.
|
boolean |
hasDimensions()
Checks whether the 'dimensions' field has been set.
|
boolean |
hasEndTime()
Checks whether the 'endTime' field has been set.
|
boolean |
hasHosts()
Checks whether the 'hosts' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
boolean |
hasStartTime()
Checks whether the 'startTime' field has been set.
|
boolean |
hasTags()
Checks whether the 'tags' field has been set.
|
ReportEvent.Builder |
setAnnotations(Map<String,String> value)
Sets the value of the 'annotations' field.
|
ReportEvent.Builder |
setDimensions(Map<String,List<String>> value)
Sets the value of the 'dimensions' field.
|
ReportEvent.Builder |
setEndTime(long value)
Sets the value of the 'endTime' field.
|
ReportEvent.Builder |
setHosts(List<String> value)
Sets the value of the 'hosts' field.
|
ReportEvent.Builder |
setName(String value)
Sets the value of the 'name' field.
|
ReportEvent.Builder |
setStartTime(long value)
Sets the value of the 'startTime' field.
|
ReportEvent.Builder |
setTags(List<String> value)
Sets the value of the 'tags' field.
|
public String getName()
public ReportEvent.Builder setName(String value)
value - The value of 'name'.public boolean hasName()
public ReportEvent.Builder clearName()
public Long getStartTime()
public ReportEvent.Builder setStartTime(long value)
value - The value of 'startTime'.public boolean hasStartTime()
public ReportEvent.Builder clearStartTime()
public Long getEndTime()
public ReportEvent.Builder setEndTime(long value)
value - The value of 'endTime'.public boolean hasEndTime()
public ReportEvent.Builder clearEndTime()
public Map<String,String> getAnnotations()
public ReportEvent.Builder setAnnotations(Map<String,String> value)
value - The value of 'annotations'.public boolean hasAnnotations()
public ReportEvent.Builder clearAnnotations()
public ReportEvent.Builder setHosts(List<String> value)
value - The value of 'hosts'.public boolean hasHosts()
public ReportEvent.Builder clearHosts()
public ReportEvent.Builder setTags(List<String> value)
value - The value of 'tags'.public boolean hasTags()
public ReportEvent.Builder clearTags()
public Map<String,List<String>> getDimensions()
public ReportEvent.Builder setDimensions(Map<String,List<String>> value)
value - The value of 'dimensions'.public boolean hasDimensions()
public ReportEvent.Builder clearDimensions()
public ReportEvent build()
build in interface org.apache.avro.data.RecordBuilder<ReportEvent>Copyright © 2020. All rights reserved.