public class AllowTrustResult extends java.lang.Object implements XdrElement
union AllowTrustResult switch (AllowTrustResultCode code)
{
case ALLOW_TRUST_SUCCESS:
void;
case ALLOW_TRUST_MALFORMED:
case ALLOW_TRUST_NO_TRUST_LINE:
case ALLOW_TRUST_TRUST_NOT_REQUIRED:
case ALLOW_TRUST_CANT_REVOKE:
case ALLOW_TRUST_SELF_NOT_ALLOWED:
case ALLOW_TRUST_LOW_RESERVE:
void;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
AllowTrustResult.AllowTrustResultBuilder |
| Constructor and Description |
|---|
AllowTrustResult() |
AllowTrustResult(AllowTrustResultCode discriminant) |
| Modifier and Type | Method and Description |
|---|---|
static AllowTrustResult.AllowTrustResultBuilder |
builder() |
static AllowTrustResult |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static AllowTrustResult |
fromXdrBase64(java.lang.String xdr) |
static AllowTrustResult |
fromXdrByteArray(byte[] xdr) |
AllowTrustResultCode |
getDiscriminant() |
int |
hashCode() |
void |
setDiscriminant(AllowTrustResultCode discriminant) |
AllowTrustResult.AllowTrustResultBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic AllowTrustResult()
public AllowTrustResult(AllowTrustResultCode discriminant)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static AllowTrustResult decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static AllowTrustResult fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static AllowTrustResult fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static AllowTrustResult.AllowTrustResultBuilder builder()
public AllowTrustResult.AllowTrustResultBuilder toBuilder()
public AllowTrustResultCode getDiscriminant()
public void setDiscriminant(AllowTrustResultCode discriminant)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object