public static class HandshakeRequest.Builder extends SpecificRecordBuilderBase<HandshakeRequest> implements RecordBuilder<HandshakeRequest>
Modifier and Type | Method and Description |
---|---|
HandshakeRequest |
build()
Constructs a new instance using the values set in the RecordBuilder.
|
HandshakeRequest.Builder |
clearClientHash()
Clears the value of the 'clientHash' field.
|
HandshakeRequest.Builder |
clearClientProtocol()
Clears the value of the 'clientProtocol' field.
|
HandshakeRequest.Builder |
clearMeta()
Clears the value of the 'meta' field.
|
HandshakeRequest.Builder |
clearServerHash()
Clears the value of the 'serverHash' field.
|
MD5 |
getClientHash()
Gets the value of the 'clientHash' field.
|
String |
getClientProtocol()
Gets the value of the 'clientProtocol' field.
|
Map<String,ByteBuffer> |
getMeta()
Gets the value of the 'meta' field.
|
MD5 |
getServerHash()
Gets the value of the 'serverHash' field.
|
boolean |
hasClientHash()
Checks whether the 'clientHash' field has been set.
|
boolean |
hasClientProtocol()
Checks whether the 'clientProtocol' field has been set.
|
boolean |
hasMeta()
Checks whether the 'meta' field has been set.
|
boolean |
hasServerHash()
Checks whether the 'serverHash' field has been set.
|
HandshakeRequest.Builder |
setClientHash(MD5 value)
Sets the value of the 'clientHash' field.
|
HandshakeRequest.Builder |
setClientProtocol(String value)
Sets the value of the 'clientProtocol' field.
|
HandshakeRequest.Builder |
setMeta(Map<String,ByteBuffer> value)
Sets the value of the 'meta' field.
|
HandshakeRequest.Builder |
setServerHash(MD5 value)
Sets the value of the 'serverHash' field.
|
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
public MD5 getClientHash()
public HandshakeRequest.Builder setClientHash(MD5 value)
value
- The value of 'clientHash'.public boolean hasClientHash()
public HandshakeRequest.Builder clearClientHash()
public String getClientProtocol()
public HandshakeRequest.Builder setClientProtocol(String value)
value
- The value of 'clientProtocol'.public boolean hasClientProtocol()
public HandshakeRequest.Builder clearClientProtocol()
public MD5 getServerHash()
public HandshakeRequest.Builder setServerHash(MD5 value)
value
- The value of 'serverHash'.public boolean hasServerHash()
public HandshakeRequest.Builder clearServerHash()
public Map<String,ByteBuffer> getMeta()
public HandshakeRequest.Builder setMeta(Map<String,ByteBuffer> value)
value
- The value of 'meta'.public boolean hasMeta()
public HandshakeRequest.Builder clearMeta()
public HandshakeRequest build()
RecordBuilder
build
in interface RecordBuilder<HandshakeRequest>
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.