public class AMP extends Message<LightningApi.AMP>
Message
,
LightningApi.AMP
builder, wrapperFactory
Constructor and Description |
---|
AMP()
Empty Constructor
|
AMP(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
AMP(LightningApi.AMP apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
int |
getChildIndex()
Getter for childIndex.
|
byte[] |
getHash()
Getter for hash.
|
byte[] |
getPreimage()
Getter for preimage.
|
byte[] |
getRootShare()
Getter for rootShare.
|
byte[] |
getSetId()
Getter for setId.
|
void |
setChildIndex(int value)
Setter for childIndex.
|
void |
setHash(byte[] value)
Setter for hash.
|
void |
setPreimage(byte[] value)
Setter for preimage.
|
void |
setRootShare(byte[] value)
Setter for rootShare.
|
void |
setSetId(byte[] value)
Setter for setId.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public AMP()
public AMP(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public AMP(LightningApi.AMP apiObject)
public byte[] getRootShare()
public void setRootShare(byte[] value)
public byte[] getSetId()
public void setSetId(byte[] value)
public int getChildIndex()
public void setChildIndex(int value)
public byte[] getHash()
public void setHash(byte[] value)
public byte[] getPreimage()
public void setPreimage(byte[] value)