public static class ProtocolException.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ProtocolException> implements org.apache.avro.data.RecordBuilder<ProtocolException>
Modifier and Type | Method and Description |
---|---|
ProtocolException |
build() |
ProtocolException.Builder |
clearErrorCode()
Clears the value of the 'errorCode' field
|
ProtocolException.Builder |
clearErrorMessage()
Clears the value of the 'errorMessage' field
|
Integer |
getErrorCode()
Gets the value of the 'errorCode' field
|
CharSequence |
getErrorMessage()
Gets the value of the 'errorMessage' field
|
boolean |
hasErrorCode()
Checks whether the 'errorCode' field has been set
|
boolean |
hasErrorMessage()
Checks whether the 'errorMessage' field has been set
|
ProtocolException.Builder |
setErrorCode(int value)
Sets the value of the 'errorCode' field
|
ProtocolException.Builder |
setErrorMessage(CharSequence value)
Sets the value of the 'errorMessage' field
|
public Integer getErrorCode()
public ProtocolException.Builder setErrorCode(int value)
public boolean hasErrorCode()
public ProtocolException.Builder clearErrorCode()
public CharSequence getErrorMessage()
public ProtocolException.Builder setErrorMessage(CharSequence value)
public boolean hasErrorMessage()
public ProtocolException.Builder clearErrorMessage()
public ProtocolException build()
build
in interface org.apache.avro.data.RecordBuilder<ProtocolException>
Copyright © 2023 Petroware AS - https://petroware.no