public static class ServiceCommandRecord.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ServiceCommandRecord> implements org.apache.avro.data.RecordBuilder<ServiceCommandRecord>, org.jflux.api.core.Source<ServiceCommandRecord>
| Modifier and Type | Method and Description |
|---|---|
ServiceCommandRecord |
build() |
ServiceCommandRecord.Builder |
clearCommand()
Clears the value of the 'command' field
|
ServiceCommandRecord.Builder |
clearDestinationId()
Clears the value of the 'destinationId' field
|
ServiceCommandRecord.Builder |
clearSourceId()
Clears the value of the 'sourceId' field
|
ServiceCommandRecord.Builder |
clearTimestampMillisecUTC()
Clears the value of the 'timestampMillisecUTC' field
|
String |
getCommand()
Gets the value of the 'command' field
|
String |
getDestinationId()
Gets the value of the 'destinationId' field
|
String |
getSourceId()
Gets the value of the 'sourceId' field
|
Long |
getTimestampMillisecUTC()
Gets the value of the 'timestampMillisecUTC' field
|
ServiceCommandRecord |
getValue() |
boolean |
hasCommand()
Checks whether the 'command' field has been set
|
boolean |
hasDestinationId()
Checks whether the 'destinationId' field has been set
|
boolean |
hasSourceId()
Checks whether the 'sourceId' field has been set
|
boolean |
hasTimestampMillisecUTC()
Checks whether the 'timestampMillisecUTC' field has been set
|
ServiceCommandRecord.Builder |
setCommand(String value)
Sets the value of the 'command' field
|
ServiceCommandRecord.Builder |
setDestinationId(String value)
Sets the value of the 'destinationId' field
|
ServiceCommandRecord.Builder |
setSourceId(String value)
Sets the value of the 'sourceId' field
|
ServiceCommandRecord.Builder |
setTimestampMillisecUTC(long value)
Sets the value of the 'timestampMillisecUTC' field
|
public String getSourceId()
public ServiceCommandRecord.Builder setSourceId(String value)
public boolean hasSourceId()
public ServiceCommandRecord.Builder clearSourceId()
public String getDestinationId()
public ServiceCommandRecord.Builder setDestinationId(String value)
public boolean hasDestinationId()
public ServiceCommandRecord.Builder clearDestinationId()
public Long getTimestampMillisecUTC()
public ServiceCommandRecord.Builder setTimestampMillisecUTC(long value)
public boolean hasTimestampMillisecUTC()
public ServiceCommandRecord.Builder clearTimestampMillisecUTC()
public String getCommand()
public ServiceCommandRecord.Builder setCommand(String value)
public boolean hasCommand()
public ServiceCommandRecord.Builder clearCommand()
public ServiceCommandRecord build()
build in interface org.apache.avro.data.RecordBuilder<ServiceCommandRecord>public ServiceCommandRecord getValue()
getValue in interface org.jflux.api.core.Source<ServiceCommandRecord>Copyright © 2011-2014. All Rights Reserved.