public static class DeviceUsage.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<DeviceUsage> implements org.apache.avro.data.RecordBuilder<DeviceUsage>
| Modifier and Type | Method and Description |
|---|---|
DeviceUsage |
build() |
DeviceUsage.Builder |
clearActionsCount()
Clears the value of the 'actions_count' field.
|
DeviceUsage.Builder |
clearDevice()
Clears the value of the 'device' field.
|
Long |
getActionsCount()
Gets the value of the 'actions_count' field.
|
CharSequence |
getDevice()
Gets the value of the 'device' field.
|
boolean |
hasActionsCount()
Checks whether the 'actions_count' field has been set.
|
boolean |
hasDevice()
Checks whether the 'device' field has been set.
|
DeviceUsage.Builder |
setActionsCount(long value)
Sets the value of the 'actions_count' field.
|
DeviceUsage.Builder |
setDevice(CharSequence value)
Sets the value of the 'device' field.
|
public CharSequence getDevice()
public DeviceUsage.Builder setDevice(CharSequence value)
value - The value of 'device'.public boolean hasDevice()
public DeviceUsage.Builder clearDevice()
public Long getActionsCount()
public DeviceUsage.Builder setActionsCount(long value)
value - The value of 'actions_count'.public boolean hasActionsCount()
public DeviceUsage.Builder clearActionsCount()
public DeviceUsage build()
build in interface org.apache.avro.data.RecordBuilder<DeviceUsage>Copyright © 2017. All rights reserved.