org.robokind.impl.messaging
Class ServiceCommandRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.robokind.impl.messaging.ServiceCommandRecord
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, ServiceCommand

public class ServiceCommandRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, ServiceCommand


Nested Class Summary
static class ServiceCommandRecord.Builder
          RecordBuilder for ServiceCommandRecord instances.
 
Field Summary
 String command
          Deprecated. 
 String destinationId
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 String sourceId
          Deprecated. 
 long timestampMillisecUTC
          Deprecated. 
 
Fields inherited from interface org.robokind.api.messaging.services.ServiceCommand
PAUSE, RESUME, START, STOP
 
Constructor Summary
ServiceCommandRecord()
           
 
Method Summary
 Object get(int field$)
           
 String getCommand()
          Gets the value of the 'command' field.
 String getDestinationId()
          Gets the value of the 'destinationId' field.
 org.apache.avro.Schema getSchema()
           
 String getSourceId()
          Gets the value of the 'sourceId' field.
 Long getTimestampMillisecUTC()
          Gets the value of the 'timestampMillisecUTC' field.
static ServiceCommandRecord.Builder newBuilder()
          Creates a new ServiceCommandRecord RecordBuilder
static ServiceCommandRecord.Builder newBuilder(ServiceCommandRecord.Builder other)
          Creates a new ServiceCommandRecord RecordBuilder by copying an existing Builder
static ServiceCommandRecord.Builder newBuilder(ServiceCommandRecord other)
          Creates a new ServiceCommandRecord RecordBuilder by copying an existing ServiceCommandRecord instance
 void put(int field$, Object value$)
           
 void setCommand(String value)
          Sets the value of the 'command' field.
 void setDestinationId(String value)
          Sets the value of the 'destinationId' field.
 void setSourceId(String value)
          Sets the value of the 'sourceId' field.
 void setTimestampMillisecUTC(Long value)
          Sets the value of the 'timestampMillisecUTC' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

sourceId

@Deprecated
public String sourceId
Deprecated. 

destinationId

@Deprecated
public String destinationId
Deprecated. 

timestampMillisecUTC

@Deprecated
public long timestampMillisecUTC
Deprecated. 

command

@Deprecated
public String command
Deprecated. 
Constructor Detail

ServiceCommandRecord

public ServiceCommandRecord()
Method Detail

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getSourceId

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

Specified by:
getSourceId in interface ServiceCommand

setSourceId

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

Parameters:
value - the value to set.

getDestinationId

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

Specified by:
getDestinationId in interface ServiceCommand

setDestinationId

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

Parameters:
value - the value to set.

getTimestampMillisecUTC

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

Specified by:
getTimestampMillisecUTC in interface ServiceCommand

setTimestampMillisecUTC

public void setTimestampMillisecUTC(Long value)
Sets the value of the 'timestampMillisecUTC' field.

Parameters:
value - the value to set.

getCommand

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

Specified by:
getCommand in interface ServiceCommand

setCommand

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

Parameters:
value - the value to set.

newBuilder

public static ServiceCommandRecord.Builder newBuilder()
Creates a new ServiceCommandRecord RecordBuilder


newBuilder

public static ServiceCommandRecord.Builder newBuilder(ServiceCommandRecord.Builder other)
Creates a new ServiceCommandRecord RecordBuilder by copying an existing Builder


newBuilder

public static ServiceCommandRecord.Builder newBuilder(ServiceCommandRecord other)
Creates a new ServiceCommandRecord RecordBuilder by copying an existing ServiceCommandRecord instance



Copyright © 2011-2014. All Rights Reserved.