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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) inthashCode()voidsetPreRelease(Uint32 preRelease) voidsetProtocol(Uint32 protocol) toString()default Stringdefault 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
-