public class ServiceErrorRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, ServiceError
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceErrorRecord.Builder
RecordBuilder for ServiceErrorRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
ServiceErrorRecord() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String sourceId
@Deprecated public String destinationId
@Deprecated public long timestampMillisecUTC
@Deprecated public String errorType
@Deprecated public String message
@Deprecated public String details
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 ServiceErrorpublic void setSourceId(String value)
value - the value to set.public String getDestinationId()
getDestinationId in interface ServiceErrorpublic void setDestinationId(String value)
value - the value to set.public Long getTimestampMillisecUTC()
getTimestampMillisecUTC in interface ServiceErrorpublic void setTimestampMillisecUTC(Long value)
value - the value to set.public String getErrorType()
getErrorType in interface ServiceErrorpublic void setErrorType(String value)
value - the value to set.public String getMessage()
getMessage in interface ServiceErrorpublic void setMessage(String value)
value - the value to set.public String getDetails()
getDetails in interface ServiceErrorpublic void setDetails(String value)
value - the value to set.public static ServiceErrorRecord.Builder newBuilder()
public static ServiceErrorRecord.Builder newBuilder(ServiceErrorRecord.Builder other)
public static ServiceErrorRecord.Builder newBuilder(ServiceErrorRecord other)
Copyright © 2011-2014. All Rights Reserved.