Class InitiatorHandshakePayload
-
- All Implemented Interfaces:
-
java.io.Externalizable
,java.io.Serializable
,java.lang.Comparable
,org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.GenericRecord
,org.apache.avro.generic.IndexedRecord
,org.apache.avro.specific.SpecificRecord
public class InitiatorHandshakePayload extends SpecificRecordBase implements SpecificRecord
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
InitiatorHandshakePayload.Builder
RecordBuilder for InitiatorHandshakePayload instances.
-
Field Summary
Fields Modifier and Type Field Description public final static Schema
SCHEMA$
public InitiatorEncryptedExtensions
initiatorEncryptedExtensions
public ByteBuffer
initiatorPublicKeyHash
public ByteBuffer
initiatorPartyVerify
public ByteBuffer
initiatorFinished
-
Constructor Summary
Constructors Constructor Description InitiatorHandshakePayload()
Default constructor. InitiatorHandshakePayload(InitiatorEncryptedExtensions initiatorEncryptedExtensions, ByteBuffer initiatorPublicKeyHash, ByteBuffer initiatorPartyVerify, ByteBuffer initiatorFinished)
All-args constructor.
-
Method Summary
Modifier and Type Method Description InitiatorEncryptedExtensions
getInitiatorEncryptedExtensions()
Gets the value of the 'initiatorEncryptedExtensions' field. void
setInitiatorEncryptedExtensions(InitiatorEncryptedExtensions value)
Sets the value of the 'initiatorEncryptedExtensions' field. ByteBuffer
getInitiatorPublicKeyHash()
Gets the value of the 'initiatorPublicKeyHash' field. void
setInitiatorPublicKeyHash(ByteBuffer value)
Sets the value of the 'initiatorPublicKeyHash' field. ByteBuffer
getInitiatorPartyVerify()
Gets the value of the 'initiatorPartyVerify' field. void
setInitiatorPartyVerify(ByteBuffer value)
Sets the value of the 'initiatorPartyVerify' field. ByteBuffer
getInitiatorFinished()
Gets the value of the 'initiatorFinished' field. void
setInitiatorFinished(ByteBuffer value)
Sets the value of the 'initiatorFinished' field. static Schema
getClassSchema()
static BinaryMessageEncoder<InitiatorHandshakePayload>
getEncoder()
Return the BinaryMessageEncoder instance used by this class. static BinaryMessageDecoder<InitiatorHandshakePayload>
getDecoder()
Return the BinaryMessageDecoder instance used by this class. static BinaryMessageDecoder<InitiatorHandshakePayload>
createDecoder(SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore. ByteBuffer
toByteBuffer()
Serializes this InitiatorHandshakePayload to a ByteBuffer. static InitiatorHandshakePayload
fromByteBuffer(ByteBuffer b)
Deserializes a InitiatorHandshakePayload from a ByteBuffer. SpecificData
getSpecificData()
Schema
getSchema()
Object
get(int field$)
void
put(int field$, Object value$)
static InitiatorHandshakePayload.Builder
newBuilder()
Creates a new InitiatorHandshakePayload RecordBuilder. static InitiatorHandshakePayload.Builder
newBuilder(InitiatorHandshakePayload.Builder other)
Creates a new InitiatorHandshakePayload RecordBuilder by copying an existing Builder. static InitiatorHandshakePayload.Builder
newBuilder(InitiatorHandshakePayload other)
Creates a new InitiatorHandshakePayload RecordBuilder by copying an existing InitiatorHandshakePayload instance. void
writeExternal(ObjectOutput out)
void
readExternal(ObjectInput in)
void
customEncode(Encoder out)
void
customDecode(ResolvingDecoder in)
-
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, getConversion, hashCode, toString
-
Methods inherited from class org.apache.avro.generic.GenericRecord
hasField
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
InitiatorHandshakePayload
InitiatorHandshakePayload()
Default constructor.
-
InitiatorHandshakePayload
InitiatorHandshakePayload(InitiatorEncryptedExtensions initiatorEncryptedExtensions, ByteBuffer initiatorPublicKeyHash, ByteBuffer initiatorPartyVerify, ByteBuffer initiatorFinished)
All-args constructor.- Parameters:
initiatorEncryptedExtensions
- The new value for initiatorEncryptedExtensionsinitiatorPublicKeyHash
- The new value for initiatorPublicKeyHashinitiatorPartyVerify
- The new value for initiatorPartyVerifyinitiatorFinished
- The new value for initiatorFinished
-
-
Method Detail
-
getInitiatorEncryptedExtensions
InitiatorEncryptedExtensions getInitiatorEncryptedExtensions()
Gets the value of the 'initiatorEncryptedExtensions' field.
-
setInitiatorEncryptedExtensions
void setInitiatorEncryptedExtensions(InitiatorEncryptedExtensions value)
Sets the value of the 'initiatorEncryptedExtensions' field.
- Parameters:
value
- the value to set.
-
getInitiatorPublicKeyHash
ByteBuffer getInitiatorPublicKeyHash()
Gets the value of the 'initiatorPublicKeyHash' field.
-
setInitiatorPublicKeyHash
void setInitiatorPublicKeyHash(ByteBuffer value)
Sets the value of the 'initiatorPublicKeyHash' field.
- Parameters:
value
- the value to set.
-
getInitiatorPartyVerify
ByteBuffer getInitiatorPartyVerify()
Gets the value of the 'initiatorPartyVerify' field.
-
setInitiatorPartyVerify
void setInitiatorPartyVerify(ByteBuffer value)
Sets the value of the 'initiatorPartyVerify' field.
- Parameters:
value
- the value to set.
-
getInitiatorFinished
ByteBuffer getInitiatorFinished()
Gets the value of the 'initiatorFinished' field.
-
setInitiatorFinished
void setInitiatorFinished(ByteBuffer value)
Sets the value of the 'initiatorFinished' field.
- Parameters:
value
- the value to set.
-
getClassSchema
static Schema getClassSchema()
-
getEncoder
static BinaryMessageEncoder<InitiatorHandshakePayload> getEncoder()
Return the BinaryMessageEncoder instance used by this class.
-
getDecoder
static BinaryMessageDecoder<InitiatorHandshakePayload> getDecoder()
Return the BinaryMessageDecoder instance used by this class.
-
createDecoder
static BinaryMessageDecoder<InitiatorHandshakePayload> createDecoder(SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore.
- Parameters:
resolver
- a SchemaStore used to find schemas by fingerprint
-
toByteBuffer
ByteBuffer toByteBuffer()
Serializes this InitiatorHandshakePayload to a ByteBuffer.
-
fromByteBuffer
static InitiatorHandshakePayload fromByteBuffer(ByteBuffer b)
Deserializes a InitiatorHandshakePayload from a ByteBuffer.
- Parameters:
b
- a byte buffer holding serialized data for an instance of this class
-
getSpecificData
SpecificData getSpecificData()
-
getSchema
Schema getSchema()
-
newBuilder
static InitiatorHandshakePayload.Builder newBuilder()
Creates a new InitiatorHandshakePayload RecordBuilder.
-
newBuilder
static InitiatorHandshakePayload.Builder newBuilder(InitiatorHandshakePayload.Builder other)
Creates a new InitiatorHandshakePayload RecordBuilder by copying an existing Builder.
- Parameters:
other
- The existing builder to copy.
-
newBuilder
static InitiatorHandshakePayload.Builder newBuilder(InitiatorHandshakePayload other)
Creates a new InitiatorHandshakePayload RecordBuilder by copying an existing InitiatorHandshakePayload instance.
- Parameters:
other
- The existing instance to copy.
-
writeExternal
void writeExternal(ObjectOutput out)
-
readExternal
void readExternal(ObjectInput in)
-
customEncode
void customEncode(Encoder out)
-
customDecode
void customDecode(ResolvingDecoder in)
-
-
-
-