Package org.stellar.sdk.xdr
Class SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion
java.lang.Object
org.stellar.sdk.xdr.SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion
- All Implemented Interfaces:
XdrElement
- Enclosing class:
SCEnvMetaEntry
public static class SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion
extends Object
implements XdrElement
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()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCEnvMetaEntryInterfaceVersion
public SCEnvMetaEntryInterfaceVersion() -
SCEnvMetaEntryInterfaceVersion
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-