Class VirtualNodeStateChangeResponse
-
- 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 VirtualNodeStateChangeResponse extends SpecificRecordBase implements SpecificRecord
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
VirtualNodeStateChangeResponse.Builder
RecordBuilder for VirtualNodeStateChangeResponse instances.
-
Field Summary
Fields Modifier and Type Field Description public final static Schema
SCHEMA$
public String
holdingIdentityShortHash
public VirtualNodeOperationalState
flowP2pOperationalStatus
public VirtualNodeOperationalState
flowStartOperationalStatus
public VirtualNodeOperationalState
flowOperationalStatus
public VirtualNodeOperationalState
vaultDbOperationalStatus
-
Constructor Summary
Constructors Constructor Description VirtualNodeStateChangeResponse()
Default constructor. VirtualNodeStateChangeResponse(String holdingIdentityShortHash, VirtualNodeOperationalState flowP2pOperationalStatus, VirtualNodeOperationalState flowStartOperationalStatus, VirtualNodeOperationalState flowOperationalStatus, VirtualNodeOperationalState vaultDbOperationalStatus)
All-args constructor.
-
Method Summary
Modifier and Type Method Description String
getHoldingIdentityShortHash()
Gets the value of the 'holdingIdentityShortHash' field. void
setHoldingIdentityShortHash(String value)
Sets the value of the 'holdingIdentityShortHash' field. VirtualNodeOperationalState
getFlowP2pOperationalStatus()
Gets the value of the 'flowP2pOperationalStatus' field. void
setFlowP2pOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowP2pOperationalStatus' field. VirtualNodeOperationalState
getFlowStartOperationalStatus()
Gets the value of the 'flowStartOperationalStatus' field. void
setFlowStartOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowStartOperationalStatus' field. VirtualNodeOperationalState
getFlowOperationalStatus()
Gets the value of the 'flowOperationalStatus' field. void
setFlowOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowOperationalStatus' field. VirtualNodeOperationalState
getVaultDbOperationalStatus()
Gets the value of the 'vaultDbOperationalStatus' field. void
setVaultDbOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'vaultDbOperationalStatus' field. static Schema
getClassSchema()
static BinaryMessageEncoder<VirtualNodeStateChangeResponse>
getEncoder()
Return the BinaryMessageEncoder instance used by this class. static BinaryMessageDecoder<VirtualNodeStateChangeResponse>
getDecoder()
Return the BinaryMessageDecoder instance used by this class. static BinaryMessageDecoder<VirtualNodeStateChangeResponse>
createDecoder(SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore. ByteBuffer
toByteBuffer()
Serializes this VirtualNodeStateChangeResponse to a ByteBuffer. static VirtualNodeStateChangeResponse
fromByteBuffer(ByteBuffer b)
Deserializes a VirtualNodeStateChangeResponse from a ByteBuffer. SpecificData
getSpecificData()
Schema
getSchema()
Object
get(int field$)
void
put(int field$, Object value$)
static VirtualNodeStateChangeResponse.Builder
newBuilder()
Creates a new VirtualNodeStateChangeResponse RecordBuilder. static VirtualNodeStateChangeResponse.Builder
newBuilder(VirtualNodeStateChangeResponse.Builder other)
Creates a new VirtualNodeStateChangeResponse RecordBuilder by copying an existing Builder. static VirtualNodeStateChangeResponse.Builder
newBuilder(VirtualNodeStateChangeResponse other)
Creates a new VirtualNodeStateChangeResponse RecordBuilder by copying an existing VirtualNodeStateChangeResponse 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
-
VirtualNodeStateChangeResponse
VirtualNodeStateChangeResponse()
Default constructor.
-
VirtualNodeStateChangeResponse
VirtualNodeStateChangeResponse(String holdingIdentityShortHash, VirtualNodeOperationalState flowP2pOperationalStatus, VirtualNodeOperationalState flowStartOperationalStatus, VirtualNodeOperationalState flowOperationalStatus, VirtualNodeOperationalState vaultDbOperationalStatus)
All-args constructor.- Parameters:
holdingIdentityShortHash
- The new value for holdingIdentityShortHashflowP2pOperationalStatus
- The current flow p2p operational status of virtual nodeflowStartOperationalStatus
- The current flow start operational status of virtual nodeflowOperationalStatus
- The current flow operational status of virtual nodevaultDbOperationalStatus
- The current vault db operational status of virtual node
-
-
Method Detail
-
getHoldingIdentityShortHash
String getHoldingIdentityShortHash()
Gets the value of the 'holdingIdentityShortHash' field.
-
setHoldingIdentityShortHash
void setHoldingIdentityShortHash(String value)
Sets the value of the 'holdingIdentityShortHash' field.
- Parameters:
value
- the value to set.
-
getFlowP2pOperationalStatus
VirtualNodeOperationalState getFlowP2pOperationalStatus()
Gets the value of the 'flowP2pOperationalStatus' field.
-
setFlowP2pOperationalStatus
void setFlowP2pOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowP2pOperationalStatus' field. The current flow p2p operational status of virtual node
- Parameters:
value
- the value to set.
-
getFlowStartOperationalStatus
VirtualNodeOperationalState getFlowStartOperationalStatus()
Gets the value of the 'flowStartOperationalStatus' field.
-
setFlowStartOperationalStatus
void setFlowStartOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowStartOperationalStatus' field. The current flow start operational status of virtual node
- Parameters:
value
- the value to set.
-
getFlowOperationalStatus
VirtualNodeOperationalState getFlowOperationalStatus()
Gets the value of the 'flowOperationalStatus' field.
-
setFlowOperationalStatus
void setFlowOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'flowOperationalStatus' field. The current flow operational status of virtual node
- Parameters:
value
- the value to set.
-
getVaultDbOperationalStatus
VirtualNodeOperationalState getVaultDbOperationalStatus()
Gets the value of the 'vaultDbOperationalStatus' field.
-
setVaultDbOperationalStatus
void setVaultDbOperationalStatus(VirtualNodeOperationalState value)
Sets the value of the 'vaultDbOperationalStatus' field. The current vault db operational status of virtual node
- Parameters:
value
- the value to set.
-
getClassSchema
static Schema getClassSchema()
-
getEncoder
static BinaryMessageEncoder<VirtualNodeStateChangeResponse> getEncoder()
Return the BinaryMessageEncoder instance used by this class.
-
getDecoder
static BinaryMessageDecoder<VirtualNodeStateChangeResponse> getDecoder()
Return the BinaryMessageDecoder instance used by this class.
-
createDecoder
static BinaryMessageDecoder<VirtualNodeStateChangeResponse> 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 VirtualNodeStateChangeResponse to a ByteBuffer.
-
fromByteBuffer
static VirtualNodeStateChangeResponse fromByteBuffer(ByteBuffer b)
Deserializes a VirtualNodeStateChangeResponse 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 VirtualNodeStateChangeResponse.Builder newBuilder()
Creates a new VirtualNodeStateChangeResponse RecordBuilder.
-
newBuilder
static VirtualNodeStateChangeResponse.Builder newBuilder(VirtualNodeStateChangeResponse.Builder other)
Creates a new VirtualNodeStateChangeResponse RecordBuilder by copying an existing Builder.
- Parameters:
other
- The existing builder to copy.
-
newBuilder
static VirtualNodeStateChangeResponse.Builder newBuilder(VirtualNodeStateChangeResponse other)
Creates a new VirtualNodeStateChangeResponse RecordBuilder by copying an existing VirtualNodeStateChangeResponse 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)
-
-
-
-