Package org.stellar.sdk.xdr
Class SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion
java.lang.Object
org.stellar.sdk.xdr.SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion
- Enclosing class:
SCEnvMetaEntry
SCEnvMetaEntryInterfaceVersion's original definition in the XDR file is:
struct { uint32 protocol; uint32 preRelease; }
-
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
setPreRelease
(Uint32 preRelease) void
setProtocol
(Uint32 protocol) toString()
default String
default byte[]
-
Constructor Details
-
SCEnvMetaEntryInterfaceVersion
public SCEnvMetaEntryInterfaceVersion() -
SCEnvMetaEntryInterfaceVersion
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion.SCEnvMetaEntryInterfaceVersionBuilder builder() -
toBuilder
-
getProtocol
-
getPreRelease
-
setProtocol
-
setPreRelease
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-