|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<HandshakeResponse>
org.apache.avro.ipc.HandshakeResponse.Builder
public static class HandshakeResponse.Builder
RecordBuilder for HandshakeResponse instances.
Field Summary |
---|
Fields inherited from class org.apache.avro.data.RecordBuilderBase |
---|
data, fields, fieldSetFlags, schema |
Method Summary | |
---|---|
HandshakeResponse |
build()
Constructs a new instance using the values set in the RecordBuilder. |
HandshakeResponse.Builder |
clearMatch()
Clears the value of the 'match' field |
HandshakeResponse.Builder |
clearMeta()
Clears the value of the 'meta' field |
HandshakeResponse.Builder |
clearServerHash()
Clears the value of the 'serverHash' field |
HandshakeResponse.Builder |
clearServerProtocol()
Clears the value of the 'serverProtocol' field |
HandshakeMatch |
getMatch()
Gets the value of the 'match' field |
Map<String,ByteBuffer> |
getMeta()
Gets the value of the 'meta' field |
MD5 |
getServerHash()
Gets the value of the 'serverHash' field |
String |
getServerProtocol()
Gets the value of the 'serverProtocol' field |
boolean |
hasMatch()
Checks whether the 'match' field has been set |
boolean |
hasMeta()
Checks whether the 'meta' field has been set |
boolean |
hasServerHash()
Checks whether the 'serverHash' field has been set |
boolean |
hasServerProtocol()
Checks whether the 'serverProtocol' field has been set |
HandshakeResponse.Builder |
setMatch(HandshakeMatch value)
Sets the value of the 'match' field |
HandshakeResponse.Builder |
setMeta(Map<String,ByteBuffer> value)
Sets the value of the 'meta' field |
HandshakeResponse.Builder |
setServerHash(MD5 value)
Sets the value of the 'serverHash' field |
HandshakeResponse.Builder |
setServerProtocol(String value)
Sets the value of the 'serverProtocol' field |
Methods inherited from class org.apache.avro.data.RecordBuilderBase |
---|
equals, getDefaultValue, hashCode, isValidValue, validate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public HandshakeMatch getMatch()
public HandshakeResponse.Builder setMatch(HandshakeMatch value)
public boolean hasMatch()
public HandshakeResponse.Builder clearMatch()
public String getServerProtocol()
public HandshakeResponse.Builder setServerProtocol(String value)
public boolean hasServerProtocol()
public HandshakeResponse.Builder clearServerProtocol()
public MD5 getServerHash()
public HandshakeResponse.Builder setServerHash(MD5 value)
public boolean hasServerHash()
public HandshakeResponse.Builder clearServerHash()
public Map<String,ByteBuffer> getMeta()
public HandshakeResponse.Builder setMeta(Map<String,ByteBuffer> value)
public boolean hasMeta()
public HandshakeResponse.Builder clearMeta()
public HandshakeResponse build()
RecordBuilder
build
in interface RecordBuilder<HandshakeResponse>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |