org.robokind.impl.messaging
Class ServiceErrorRecord

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

public class ServiceErrorRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, ServiceError


Nested Class Summary
static class ServiceErrorRecord.Builder
          RecordBuilder for ServiceErrorRecord instances.
 
Field Summary
 String destinationId
          Deprecated. 
 String details
          Deprecated. 
 String errorType
          Deprecated. 
 String message
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 String sourceId
          Deprecated. 
 long timestampMillisecUTC
          Deprecated. 
 
Constructor Summary
ServiceErrorRecord()
           
 
Method Summary
 Object get(int field$)
           
 String getDestinationId()
          Gets the value of the 'destinationId' field.
 String getDetails()
          Gets the value of the 'details' field.
 String getErrorType()
          Gets the value of the 'errorType' field.
 String getMessage()
          Gets the value of the 'message' 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 ServiceErrorRecord.Builder newBuilder()
          Creates a new ServiceErrorRecord RecordBuilder
static ServiceErrorRecord.Builder newBuilder(ServiceErrorRecord.Builder other)
          Creates a new ServiceErrorRecord RecordBuilder by copying an existing Builder
static ServiceErrorRecord.Builder newBuilder(ServiceErrorRecord other)
          Creates a new ServiceErrorRecord RecordBuilder by copying an existing ServiceErrorRecord instance
 void put(int field$, Object value$)
           
 void setDestinationId(String value)
          Sets the value of the 'destinationId' field.
 void setDetails(String value)
          Sets the value of the 'details' field.
 void setErrorType(String value)
          Sets the value of the 'errorType' field.
 void setMessage(String value)
          Sets the value of the 'message' 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. 

errorType

@Deprecated
public String errorType
Deprecated. 

message

@Deprecated
public String message
Deprecated. 

details

@Deprecated
public String details
Deprecated. 
Constructor Detail

ServiceErrorRecord

public ServiceErrorRecord()
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 ServiceError

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 ServiceError

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 ServiceError

setTimestampMillisecUTC

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

Parameters:
value - the value to set.

getErrorType

public String getErrorType()
Gets the value of the 'errorType' field.

Specified by:
getErrorType in interface ServiceError

setErrorType

public void setErrorType(String value)
Sets the value of the 'errorType' field.

Parameters:
value - the value to set.

getMessage

public String getMessage()
Gets the value of the 'message' field.

Specified by:
getMessage in interface ServiceError

setMessage

public void setMessage(String value)
Sets the value of the 'message' field.

Parameters:
value - the value to set.

getDetails

public String getDetails()
Gets the value of the 'details' field.

Specified by:
getDetails in interface ServiceError

setDetails

public void setDetails(String value)
Sets the value of the 'details' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2014. All Rights Reserved.