public static class ChannelRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ChannelRecord> implements org.apache.avro.data.RecordBuilder<ChannelRecord>
| Modifier and Type | Method and Description |
|---|---|
ChannelRecord |
build() |
ChannelRecord.Builder |
clearChannelId()
Clears the value of the 'channelId' field
|
ChannelRecord.Builder |
clearMotionPaths()
Clears the value of the 'motionPaths' field
|
ChannelRecord.Builder |
clearName()
Clears the value of the 'name' field
|
ChannelRecord.Builder |
clearStartTime()
Clears the value of the 'startTime' field
|
ChannelRecord.Builder |
clearStopTime()
Clears the value of the 'stopTime' field
|
Integer |
getChannelId()
Gets the value of the 'channelId' field
|
List<MotionPathRecord> |
getMotionPaths()
Gets the value of the 'motionPaths' field
|
String |
getName()
Gets the value of the 'name' field
|
Long |
getStartTime()
Gets the value of the 'startTime' field
|
Long |
getStopTime()
Gets the value of the 'stopTime' field
|
boolean |
hasChannelId()
Checks whether the 'channelId' field has been set
|
boolean |
hasMotionPaths()
Checks whether the 'motionPaths' 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 |
hasStopTime()
Checks whether the 'stopTime' field has been set
|
ChannelRecord.Builder |
setChannelId(int value)
Sets the value of the 'channelId' field
|
ChannelRecord.Builder |
setMotionPaths(List<MotionPathRecord> value)
Sets the value of the 'motionPaths' field
|
ChannelRecord.Builder |
setName(String value)
Sets the value of the 'name' field
|
ChannelRecord.Builder |
setStartTime(Long value)
Sets the value of the 'startTime' field
|
ChannelRecord.Builder |
setStopTime(Long value)
Sets the value of the 'stopTime' field
|
public String getName()
public ChannelRecord.Builder setName(String value)
public boolean hasName()
public ChannelRecord.Builder clearName()
public Integer getChannelId()
public ChannelRecord.Builder setChannelId(int value)
public boolean hasChannelId()
public ChannelRecord.Builder clearChannelId()
public Long getStopTime()
public ChannelRecord.Builder setStopTime(Long value)
public boolean hasStopTime()
public ChannelRecord.Builder clearStopTime()
public Long getStartTime()
public ChannelRecord.Builder setStartTime(Long value)
public boolean hasStartTime()
public ChannelRecord.Builder clearStartTime()
public List<MotionPathRecord> getMotionPaths()
public ChannelRecord.Builder setMotionPaths(List<MotionPathRecord> value)
public boolean hasMotionPaths()
public ChannelRecord.Builder clearMotionPaths()
public ChannelRecord build()
build in interface org.apache.avro.data.RecordBuilder<ChannelRecord>Copyright © 2011-2016. All Rights Reserved.