public class ConfigSettingContractBandwidthV0 extends java.lang.Object implements XdrElement
struct ConfigSettingContractBandwidthV0 { // Maximum sum of all transaction sizes in the ledger in bytes uint32 ledgerMaxTxsSizeBytes; // Maximum size in bytes for a transaction uint32 txMaxSizeBytes; // Fee for 1 KB of transaction size int64 feeTxSize1KB; };
Modifier and Type | Class and Description |
---|---|
static class |
ConfigSettingContractBandwidthV0.ConfigSettingContractBandwidthV0Builder |
Constructor and Description |
---|
ConfigSettingContractBandwidthV0() |
ConfigSettingContractBandwidthV0(Uint32 ledgerMaxTxsSizeBytes,
Uint32 txMaxSizeBytes,
Int64 feeTxSize1KB) |
Modifier and Type | Method and Description |
---|---|
static ConfigSettingContractBandwidthV0.ConfigSettingContractBandwidthV0Builder |
builder() |
static ConfigSettingContractBandwidthV0 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static ConfigSettingContractBandwidthV0 |
fromXdrBase64(java.lang.String xdr) |
static ConfigSettingContractBandwidthV0 |
fromXdrByteArray(byte[] xdr) |
Int64 |
getFeeTxSize1KB() |
Uint32 |
getLedgerMaxTxsSizeBytes() |
Uint32 |
getTxMaxSizeBytes() |
int |
hashCode() |
void |
setFeeTxSize1KB(Int64 feeTxSize1KB) |
void |
setLedgerMaxTxsSizeBytes(Uint32 ledgerMaxTxsSizeBytes) |
void |
setTxMaxSizeBytes(Uint32 txMaxSizeBytes) |
ConfigSettingContractBandwidthV0.ConfigSettingContractBandwidthV0Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ConfigSettingContractBandwidthV0 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ConfigSettingContractBandwidthV0 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ConfigSettingContractBandwidthV0 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ConfigSettingContractBandwidthV0.ConfigSettingContractBandwidthV0Builder builder()
public ConfigSettingContractBandwidthV0.ConfigSettingContractBandwidthV0Builder toBuilder()
public Uint32 getLedgerMaxTxsSizeBytes()
public Uint32 getTxMaxSizeBytes()
public Int64 getFeeTxSize1KB()
public void setLedgerMaxTxsSizeBytes(Uint32 ledgerMaxTxsSizeBytes)
public void setTxMaxSizeBytes(Uint32 txMaxSizeBytes)
public void setFeeTxSize1KB(Int64 feeTxSize1KB)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object