Package org.stellar.sdk.xdr
Class BucketMetadata
java.lang.Object
org.stellar.sdk.xdr.BucketMetadata
BucketMetadata's original definition in the XDR file is:
struct BucketMetadata { // Indicates the protocol version used to create / merge this bucket. uint32 ledgerVersion; // reserved for future use union switch (int v) { case 0: void; case 1: BucketListType bucketListType; } ext; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
BucketMetadataExt's original definition in the XDR file is: -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static BucketMetadata
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static BucketMetadata
fromXdrBase64
(String xdr) static BucketMetadata
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
void
setLedgerVersion
(Uint32 ledgerVersion) toString()
default String
default byte[]
-
Constructor Details
-
BucketMetadata
public BucketMetadata() -
BucketMetadata
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLedgerVersion
-
getExt
-
setLedgerVersion
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-