Class RegistrationAsyncRequest
-
- 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 RegistrationAsyncRequest extends SpecificRecordBase implements SpecificRecord
Request to start the registration process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
RegistrationAsyncRequest.Builder
RecordBuilder for RegistrationAsyncRequest instances.
-
Field Summary
Fields Modifier and Type Field Description public final static Schema
SCHEMA$
public String
holdingIdentityId
public String
requestId
public KeyValuePairList
context
-
Constructor Summary
Constructors Constructor Description RegistrationAsyncRequest()
Default constructor. RegistrationAsyncRequest(String holdingIdentityId, String requestId, KeyValuePairList context)
All-args constructor.
-
Method Summary
Modifier and Type Method Description String
getHoldingIdentityId()
Gets the value of the 'holdingIdentityId' field. void
setHoldingIdentityId(String value)
Sets the value of the 'holdingIdentityId' field. String
getRequestId()
Gets the value of the 'requestId' field. void
setRequestId(String value)
Sets the value of the 'requestId' field. KeyValuePairList
getContext()
Gets the value of the 'context' field. void
setContext(KeyValuePairList value)
Sets the value of the 'context' field. static Schema
getClassSchema()
static BinaryMessageEncoder<RegistrationAsyncRequest>
getEncoder()
Return the BinaryMessageEncoder instance used by this class. static BinaryMessageDecoder<RegistrationAsyncRequest>
getDecoder()
Return the BinaryMessageDecoder instance used by this class. static BinaryMessageDecoder<RegistrationAsyncRequest>
createDecoder(SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore. ByteBuffer
toByteBuffer()
Serializes this RegistrationAsyncRequest to a ByteBuffer. static RegistrationAsyncRequest
fromByteBuffer(ByteBuffer b)
Deserializes a RegistrationAsyncRequest from a ByteBuffer. SpecificData
getSpecificData()
Schema
getSchema()
Object
get(int field$)
Conversion<out Object>
getConversion(int field)
void
put(int field$, Object value$)
static RegistrationAsyncRequest.Builder
newBuilder()
Creates a new RegistrationAsyncRequest RecordBuilder. static RegistrationAsyncRequest.Builder
newBuilder(RegistrationAsyncRequest.Builder other)
Creates a new RegistrationAsyncRequest RecordBuilder by copying an existing Builder. static RegistrationAsyncRequest.Builder
newBuilder(RegistrationAsyncRequest other)
Creates a new RegistrationAsyncRequest RecordBuilder by copying an existing RegistrationAsyncRequest instance. void
writeExternal(ObjectOutput out)
void
readExternal(ObjectInput in)
-
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, customDecode, customEncode, equals, 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
-
RegistrationAsyncRequest
RegistrationAsyncRequest()
Default constructor.
-
RegistrationAsyncRequest
RegistrationAsyncRequest(String holdingIdentityId, String requestId, KeyValuePairList context)
All-args constructor.- Parameters:
holdingIdentityId
- ID of the holding identity applying for registration.requestId
- ID of the request.context
- The member or MGM context required for on-boarding within a group.
-
-
Method Detail
-
getHoldingIdentityId
String getHoldingIdentityId()
Gets the value of the 'holdingIdentityId' field.
-
setHoldingIdentityId
void setHoldingIdentityId(String value)
Sets the value of the 'holdingIdentityId' field. ID of the holding identity applying for registration.
- Parameters:
value
- the value to set.
-
getRequestId
String getRequestId()
Gets the value of the 'requestId' field.
-
setRequestId
void setRequestId(String value)
Sets the value of the 'requestId' field. ID of the request.
- Parameters:
value
- the value to set.
-
getContext
KeyValuePairList getContext()
Gets the value of the 'context' field.
-
setContext
void setContext(KeyValuePairList value)
Sets the value of the 'context' field. The member or MGM context required for on-boarding within a group.
- Parameters:
value
- the value to set.
-
getClassSchema
static Schema getClassSchema()
-
getEncoder
static BinaryMessageEncoder<RegistrationAsyncRequest> getEncoder()
Return the BinaryMessageEncoder instance used by this class.
-
getDecoder
static BinaryMessageDecoder<RegistrationAsyncRequest> getDecoder()
Return the BinaryMessageDecoder instance used by this class.
-
createDecoder
static BinaryMessageDecoder<RegistrationAsyncRequest> 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 RegistrationAsyncRequest to a ByteBuffer.
-
fromByteBuffer
static RegistrationAsyncRequest fromByteBuffer(ByteBuffer b)
Deserializes a RegistrationAsyncRequest from a ByteBuffer.
- Parameters:
b
- a byte buffer holding serialized data for an instance of this class
-
getSpecificData
SpecificData getSpecificData()
-
getSchema
Schema getSchema()
-
getConversion
Conversion<out Object> getConversion(int field)
-
newBuilder
static RegistrationAsyncRequest.Builder newBuilder()
Creates a new RegistrationAsyncRequest RecordBuilder.
-
newBuilder
static RegistrationAsyncRequest.Builder newBuilder(RegistrationAsyncRequest.Builder other)
Creates a new RegistrationAsyncRequest RecordBuilder by copying an existing Builder.
- Parameters:
other
- The existing builder to copy.
-
newBuilder
static RegistrationAsyncRequest.Builder newBuilder(RegistrationAsyncRequest other)
Creates a new RegistrationAsyncRequest RecordBuilder by copying an existing RegistrationAsyncRequest instance.
- Parameters:
other
- The existing instance to copy.
-
writeExternal
void writeExternal(ObjectOutput out)
-
readExternal
void readExternal(ObjectInput in)
-
-
-
-