public class RestoreFootprintResult extends java.lang.Object implements XdrElement
union RestoreFootprintResult switch (RestoreFootprintResultCode code) { case RESTORE_FOOTPRINT_SUCCESS: void; case RESTORE_FOOTPRINT_MALFORMED: case RESTORE_FOOTPRINT_RESOURCE_LIMIT_EXCEEDED: case RESTORE_FOOTPRINT_INSUFFICIENT_REFUNDABLE_FEE: void; };
Modifier and Type | Class and Description |
---|---|
static class |
RestoreFootprintResult.RestoreFootprintResultBuilder |
Constructor and Description |
---|
RestoreFootprintResult() |
RestoreFootprintResult(RestoreFootprintResultCode discriminant) |
Modifier and Type | Method and Description |
---|---|
static RestoreFootprintResult.RestoreFootprintResultBuilder |
builder() |
static RestoreFootprintResult |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static RestoreFootprintResult |
fromXdrBase64(java.lang.String xdr) |
static RestoreFootprintResult |
fromXdrByteArray(byte[] xdr) |
RestoreFootprintResultCode |
getDiscriminant() |
int |
hashCode() |
void |
setDiscriminant(RestoreFootprintResultCode discriminant) |
RestoreFootprintResult.RestoreFootprintResultBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public RestoreFootprintResult()
public RestoreFootprintResult(RestoreFootprintResultCode discriminant)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static RestoreFootprintResult decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static RestoreFootprintResult fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static RestoreFootprintResult fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static RestoreFootprintResult.RestoreFootprintResultBuilder builder()
public RestoreFootprintResult.RestoreFootprintResultBuilder toBuilder()
public RestoreFootprintResultCode getDiscriminant()
public void setDiscriminant(RestoreFootprintResultCode discriminant)
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