Class InitiatorHelloMessage.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class InitiatorHelloMessage.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for InitiatorHelloMessage instances.
-
-
Field Summary
Fields Modifier and Type Field Description public CommonHeader
header
public CommonHeader.Builder
headerBuilder
public ByteBuffer
initiatorPublicKey
public InitiatorHandshakeIdentity
source
public InitiatorHandshakeIdentity.Builder
sourceBuilder
-
Method Summary
Modifier and Type Method Description CommonHeader
getHeader()
Gets the value of the 'header' field. InitiatorHelloMessage.Builder
setHeader(CommonHeader value)
Sets the value of the 'header' field. CommonHeader.Builder
getHeaderBuilder()
Gets the Builder instance for the 'header' field and creates one if it doesn't exist yet. InitiatorHelloMessage.Builder
setHeaderBuilder(CommonHeader.Builder value)
Sets the Builder instance for the 'header' field ByteBuffer
getInitiatorPublicKey()
Gets the value of the 'initiatorPublicKey' field. InitiatorHelloMessage.Builder
setInitiatorPublicKey(ByteBuffer value)
Sets the value of the 'initiatorPublicKey' field. InitiatorHandshakeIdentity
getSource()
Gets the value of the 'source' field. InitiatorHelloMessage.Builder
setSource(InitiatorHandshakeIdentity value)
Sets the value of the 'source' field. InitiatorHandshakeIdentity.Builder
getSourceBuilder()
Gets the Builder instance for the 'source' field and creates one if it doesn't exist yet. InitiatorHelloMessage.Builder
setSourceBuilder(InitiatorHandshakeIdentity.Builder value)
Sets the Builder instance for the 'source' field boolean
hasHeader()
Checks whether the 'header' field has been set. boolean
hasHeaderBuilder()
Checks whether the 'header' field has an active Builder instance InitiatorHelloMessage.Builder
clearHeader()
Clears the value of the 'header' field. boolean
hasInitiatorPublicKey()
Checks whether the 'initiatorPublicKey' field has been set. InitiatorHelloMessage.Builder
clearInitiatorPublicKey()
Clears the value of the 'initiatorPublicKey' field. boolean
hasSource()
Checks whether the 'source' field has been set. boolean
hasSourceBuilder()
Checks whether the 'source' field has an active Builder instance InitiatorHelloMessage.Builder
clearSource()
Clears the value of the 'source' field. InitiatorHelloMessage
build()
-
-
Method Detail
-
getHeader
CommonHeader getHeader()
Gets the value of the 'header' field.
-
setHeader
InitiatorHelloMessage.Builder setHeader(CommonHeader value)
Sets the value of the 'header' field.
- Parameters:
value
- The value of 'header'.
-
getHeaderBuilder
CommonHeader.Builder getHeaderBuilder()
Gets the Builder instance for the 'header' field and creates one if it doesn't exist yet.
-
setHeaderBuilder
InitiatorHelloMessage.Builder setHeaderBuilder(CommonHeader.Builder value)
Sets the Builder instance for the 'header' field
- Parameters:
value
- The builder instance that must be set.
-
getInitiatorPublicKey
ByteBuffer getInitiatorPublicKey()
Gets the value of the 'initiatorPublicKey' field.
-
setInitiatorPublicKey
InitiatorHelloMessage.Builder setInitiatorPublicKey(ByteBuffer value)
Sets the value of the 'initiatorPublicKey' field.
- Parameters:
value
- The value of 'initiatorPublicKey'.
-
getSource
InitiatorHandshakeIdentity getSource()
Gets the value of the 'source' field.
-
setSource
InitiatorHelloMessage.Builder setSource(InitiatorHandshakeIdentity value)
Sets the value of the 'source' field.
- Parameters:
value
- The value of 'source'.
-
getSourceBuilder
InitiatorHandshakeIdentity.Builder getSourceBuilder()
Gets the Builder instance for the 'source' field and creates one if it doesn't exist yet.
-
setSourceBuilder
InitiatorHelloMessage.Builder setSourceBuilder(InitiatorHandshakeIdentity.Builder value)
Sets the Builder instance for the 'source' field
- Parameters:
value
- The builder instance that must be set.
-
hasHeader
boolean hasHeader()
Checks whether the 'header' field has been set.
-
hasHeaderBuilder
boolean hasHeaderBuilder()
Checks whether the 'header' field has an active Builder instance
-
clearHeader
InitiatorHelloMessage.Builder clearHeader()
Clears the value of the 'header' field.
-
hasInitiatorPublicKey
boolean hasInitiatorPublicKey()
Checks whether the 'initiatorPublicKey' field has been set.
-
clearInitiatorPublicKey
InitiatorHelloMessage.Builder clearInitiatorPublicKey()
Clears the value of the 'initiatorPublicKey' field.
-
hasSource
boolean hasSource()
Checks whether the 'source' field has been set.
-
hasSourceBuilder
boolean hasSourceBuilder()
Checks whether the 'source' field has an active Builder instance
-
clearSource
InitiatorHelloMessage.Builder clearSource()
Clears the value of the 'source' field.
-
build
InitiatorHelloMessage build()
-
-
-
-