org.robokind.impl.messaging
Class ServiceCommandRecord.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<ServiceCommandRecord>
          extended by org.robokind.impl.messaging.ServiceCommandRecord.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ServiceCommandRecord>, org.jflux.api.core.Source<ServiceCommandRecord>
Enclosing class:
ServiceCommandRecord

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>

RecordBuilder for ServiceCommandRecord instances.


Method Summary
 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
 
Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSourceId

public String getSourceId()
Gets the value of the 'sourceId' field


setSourceId

public ServiceCommandRecord.Builder setSourceId(String value)
Sets the value of the 'sourceId' field


hasSourceId

public boolean hasSourceId()
Checks whether the 'sourceId' field has been set


clearSourceId

public ServiceCommandRecord.Builder clearSourceId()
Clears the value of the 'sourceId' field


getDestinationId

public String getDestinationId()
Gets the value of the 'destinationId' field


setDestinationId

public ServiceCommandRecord.Builder setDestinationId(String value)
Sets the value of the 'destinationId' field


hasDestinationId

public boolean hasDestinationId()
Checks whether the 'destinationId' field has been set


clearDestinationId

public ServiceCommandRecord.Builder clearDestinationId()
Clears the value of the 'destinationId' field


getTimestampMillisecUTC

public Long getTimestampMillisecUTC()
Gets the value of the 'timestampMillisecUTC' field


setTimestampMillisecUTC

public ServiceCommandRecord.Builder setTimestampMillisecUTC(long value)
Sets the value of the 'timestampMillisecUTC' field


hasTimestampMillisecUTC

public boolean hasTimestampMillisecUTC()
Checks whether the 'timestampMillisecUTC' field has been set


clearTimestampMillisecUTC

public ServiceCommandRecord.Builder clearTimestampMillisecUTC()
Clears the value of the 'timestampMillisecUTC' field


getCommand

public String getCommand()
Gets the value of the 'command' field


setCommand

public ServiceCommandRecord.Builder setCommand(String value)
Sets the value of the 'command' field


hasCommand

public boolean hasCommand()
Checks whether the 'command' field has been set


clearCommand

public ServiceCommandRecord.Builder clearCommand()
Clears the value of the 'command' field


build

public ServiceCommandRecord build()
Specified by:
build in interface org.apache.avro.data.RecordBuilder<ServiceCommandRecord>

getValue

public ServiceCommandRecord getValue()
Specified by:
getValue in interface org.jflux.api.core.Source<ServiceCommandRecord>


Copyright © 2011-2014. All Rights Reserved.