public class ServiceCommandRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, ServiceCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceCommandRecord.Builder
RecordBuilder for ServiceCommandRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
String |
command
Deprecated.
|
String |
destinationId
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
String |
sourceId
Deprecated.
|
long |
timestampMillisecUTC
Deprecated.
|
PAUSE, RESUME, START, STOP| Constructor and Description |
|---|
ServiceCommandRecord() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String sourceId
@Deprecated public String destinationId
@Deprecated public long timestampMillisecUTC
@Deprecated public String command
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getSourceId()
getSourceId in interface ServiceCommandpublic void setSourceId(String value)
value - the value to set.public String getDestinationId()
getDestinationId in interface ServiceCommandpublic void setDestinationId(String value)
value - the value to set.public Long getTimestampMillisecUTC()
getTimestampMillisecUTC in interface ServiceCommandpublic void setTimestampMillisecUTC(Long value)
value - the value to set.public String getCommand()
getCommand in interface ServiceCommandpublic void setCommand(String value)
value - the value to set.public static ServiceCommandRecord.Builder newBuilder()
public static ServiceCommandRecord.Builder newBuilder(ServiceCommandRecord.Builder other)
public static ServiceCommandRecord.Builder newBuilder(ServiceCommandRecord other)
Copyright © 2011-2014. All Rights Reserved.