Package org.stellar.sdk.xdr
Class BucketMetadata.BucketMetadataExt
java.lang.Object
org.stellar.sdk.xdr.BucketMetadata.BucketMetadataExt
- Enclosing class:
BucketMetadata
BucketMetadataExt's original definition in the XDR file is:
union switch (int v) { case 0: void; case 1: BucketListType bucketListType; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setBucketListType
(BucketListType bucketListType) void
setDiscriminant
(Integer discriminant) toString()
default String
default byte[]
-
Constructor Details
-
BucketMetadataExt
public BucketMetadataExt() -
BucketMetadataExt
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getBucketListType
-
setDiscriminant
-
setBucketListType
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-