org.robokind.impl.messaging
Class ServiceErrorRecord.Builder

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

public static class ServiceErrorRecord.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ServiceErrorRecord>
implements org.apache.avro.data.RecordBuilder<ServiceErrorRecord>, org.jflux.api.core.Source<ServiceErrorRecord>

RecordBuilder for ServiceErrorRecord instances.


Method Summary
 ServiceErrorRecord build()
           
 ServiceErrorRecord.Builder clearDestinationId()
          Clears the value of the 'destinationId' field
 ServiceErrorRecord.Builder clearDetails()
          Clears the value of the 'details' field
 ServiceErrorRecord.Builder clearErrorType()
          Clears the value of the 'errorType' field
 ServiceErrorRecord.Builder clearMessage()
          Clears the value of the 'message' field
 ServiceErrorRecord.Builder clearSourceId()
          Clears the value of the 'sourceId' field
 ServiceErrorRecord.Builder clearTimestampMillisecUTC()
          Clears the value of the 'timestampMillisecUTC' 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
 String getSourceId()
          Gets the value of the 'sourceId' field
 Long getTimestampMillisecUTC()
          Gets the value of the 'timestampMillisecUTC' field
 ServiceErrorRecord getValue()
           
 boolean hasDestinationId()
          Checks whether the 'destinationId' field has been set
 boolean hasDetails()
          Checks whether the 'details' field has been set
 boolean hasErrorType()
          Checks whether the 'errorType' field has been set
 boolean hasMessage()
          Checks whether the 'message' field has been set
 boolean hasSourceId()
          Checks whether the 'sourceId' field has been set
 boolean hasTimestampMillisecUTC()
          Checks whether the 'timestampMillisecUTC' field has been set
 ServiceErrorRecord.Builder setDestinationId(String value)
          Sets the value of the 'destinationId' field
 ServiceErrorRecord.Builder setDetails(String value)
          Sets the value of the 'details' field
 ServiceErrorRecord.Builder setErrorType(String value)
          Sets the value of the 'errorType' field
 ServiceErrorRecord.Builder setMessage(String value)
          Sets the value of the 'message' field
 ServiceErrorRecord.Builder setSourceId(String value)
          Sets the value of the 'sourceId' field
 ServiceErrorRecord.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 ServiceErrorRecord.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 ServiceErrorRecord.Builder clearSourceId()
Clears the value of the 'sourceId' field


getDestinationId

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


setDestinationId

public ServiceErrorRecord.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 ServiceErrorRecord.Builder clearDestinationId()
Clears the value of the 'destinationId' field


getTimestampMillisecUTC

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


setTimestampMillisecUTC

public ServiceErrorRecord.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 ServiceErrorRecord.Builder clearTimestampMillisecUTC()
Clears the value of the 'timestampMillisecUTC' field


getErrorType

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


setErrorType

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


hasErrorType

public boolean hasErrorType()
Checks whether the 'errorType' field has been set


clearErrorType

public ServiceErrorRecord.Builder clearErrorType()
Clears the value of the 'errorType' field


getMessage

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


setMessage

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


hasMessage

public boolean hasMessage()
Checks whether the 'message' field has been set


clearMessage

public ServiceErrorRecord.Builder clearMessage()
Clears the value of the 'message' field


getDetails

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


setDetails

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


hasDetails

public boolean hasDetails()
Checks whether the 'details' field has been set


clearDetails

public ServiceErrorRecord.Builder clearDetails()
Clears the value of the 'details' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.