public class SCEnvMetaEntry extends java.lang.Object implements XdrElement
union SCEnvMetaEntry switch (SCEnvMetaKind kind) { case SC_ENV_META_KIND_INTERFACE_VERSION: struct { uint32 protocol; uint32 preRelease; } interfaceVersion; };
Modifier and Type | Class and Description |
---|---|
static class |
SCEnvMetaEntry.SCEnvMetaEntryBuilder |
static class |
SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion
SCEnvMetaEntryInterfaceVersion's original definition in the XDR file is:
|
Constructor and Description |
---|
SCEnvMetaEntry() |
SCEnvMetaEntry(SCEnvMetaKind discriminant,
SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion interfaceVersion) |
Modifier and Type | Method and Description |
---|---|
static SCEnvMetaEntry.SCEnvMetaEntryBuilder |
builder() |
static SCEnvMetaEntry |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SCEnvMetaEntry |
fromXdrBase64(java.lang.String xdr) |
static SCEnvMetaEntry |
fromXdrByteArray(byte[] xdr) |
SCEnvMetaKind |
getDiscriminant() |
SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion |
getInterfaceVersion() |
int |
hashCode() |
void |
setDiscriminant(SCEnvMetaKind discriminant) |
void |
setInterfaceVersion(SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion interfaceVersion) |
SCEnvMetaEntry.SCEnvMetaEntryBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public SCEnvMetaEntry()
public SCEnvMetaEntry(SCEnvMetaKind discriminant, SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion interfaceVersion)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SCEnvMetaEntry decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SCEnvMetaEntry fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCEnvMetaEntry fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SCEnvMetaEntry.SCEnvMetaEntryBuilder builder()
public SCEnvMetaEntry.SCEnvMetaEntryBuilder toBuilder()
public SCEnvMetaKind getDiscriminant()
public SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion getInterfaceVersion()
public void setDiscriminant(SCEnvMetaKind discriminant)
public void setInterfaceVersion(SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion interfaceVersion)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object