public static class HandshakeResponse.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<HandshakeResponse> implements org.apache.avro.data.RecordBuilder<HandshakeResponse>
| Modifier and Type | Method and Description |
|---|---|
HandshakeResponse |
build() |
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
|
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()
build in interface org.apache.avro.data.RecordBuilder<HandshakeResponse>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.