@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class UnsignedChannelAnnouncement extends CommonBase {
UnsignedChannelAnnouncement(Object _dummy, long ptr) { super(ptr); }
@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class UnsignedChannelAnnouncement extends CommonBase {
UnsignedChannelAnnouncement(Object _dummy, long ptr) { super(ptr); }
public ChannelFeatures get_features() {
long ret = bindings.UnsignedChannelAnnouncement_get_features(this.ptr);
ChannelFeatures ret_hu_conv = new ChannelFeatures(null, ret);
public ChannelFeatures get_features() {
long ret = bindings.UnsignedChannelAnnouncement_get_features(this.ptr);
ChannelFeatures ret_hu_conv = new ChannelFeatures(null, ret);
public void set_features(ChannelFeatures val) {
bindings.UnsignedChannelAnnouncement_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
this.ptrs_to.add(val);
}
public void set_features(ChannelFeatures val) {
bindings.UnsignedChannelAnnouncement_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
this.ptrs_to.add(val);
}
public byte[] get_chain_hash() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_chain_hash(this.ptr);
return ret;
}
public byte[] get_chain_hash() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_chain_hash(this.ptr);
return ret;
}
public void set_chain_hash(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_chain_hash(this.ptr, val);
}
public void set_chain_hash(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_chain_hash(this.ptr, val);
}
public long get_short_channel_id() {
long ret = bindings.UnsignedChannelAnnouncement_get_short_channel_id(this.ptr);
return ret;
}
public long get_short_channel_id() {
long ret = bindings.UnsignedChannelAnnouncement_get_short_channel_id(this.ptr);
return ret;
}
public void set_short_channel_id(long val) {
bindings.UnsignedChannelAnnouncement_set_short_channel_id(this.ptr, val);
}
public void set_short_channel_id(long val) {
bindings.UnsignedChannelAnnouncement_set_short_channel_id(this.ptr, val);
}
public byte[] get_node_id_1() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_node_id_1(this.ptr);
return ret;
}
public byte[] get_node_id_1() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_node_id_1(this.ptr);
return ret;
}
public void set_node_id_1(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_node_id_1(this.ptr, val);
}
public void set_node_id_1(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_node_id_1(this.ptr, val);
}
public byte[] get_node_id_2() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_node_id_2(this.ptr);
return ret;
}
public byte[] get_node_id_2() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_node_id_2(this.ptr);
return ret;
}
public void set_node_id_2(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_node_id_2(this.ptr, val);
}
public void set_node_id_2(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_node_id_2(this.ptr, val);
}
public byte[] get_bitcoin_key_1() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_bitcoin_key_1(this.ptr);
return ret;
}
public byte[] get_bitcoin_key_1() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_bitcoin_key_1(this.ptr);
return ret;
}
public void set_bitcoin_key_1(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_bitcoin_key_1(this.ptr, val);
}
public void set_bitcoin_key_1(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_bitcoin_key_1(this.ptr, val);
}
public byte[] get_bitcoin_key_2() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_bitcoin_key_2(this.ptr);
return ret;
}
public byte[] get_bitcoin_key_2() {
byte[] ret = bindings.UnsignedChannelAnnouncement_get_bitcoin_key_2(this.ptr);
return ret;
}
public void set_bitcoin_key_2(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_bitcoin_key_2(this.ptr, val);
}
public void set_bitcoin_key_2(byte[] val) {
bindings.UnsignedChannelAnnouncement_set_bitcoin_key_2(this.ptr, val);
}
public UnsignedChannelAnnouncement clone() {
long ret = bindings.UnsignedChannelAnnouncement_clone(this.ptr);
UnsignedChannelAnnouncement ret_hu_conv = new UnsignedChannelAnnouncement(null, ret);
public UnsignedChannelAnnouncement clone() {
long ret = bindings.UnsignedChannelAnnouncement_clone(this.ptr);
UnsignedChannelAnnouncement ret_hu_conv = new UnsignedChannelAnnouncement(null, ret);
long ret = bindings.UnsignedChannelAnnouncement_read(ser);
Result_UnsignedChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
long ret = bindings.UnsignedChannelAnnouncement_read(ser);
Result_UnsignedChannelAnnouncementDecodeErrorZ ret_hu_conv = Result_UnsignedChannelAnnouncementDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;