Package org.stellar.sdk.xdr
Class SorobanTransactionMetaV2
java.lang.Object
org.stellar.sdk.xdr.SorobanTransactionMetaV2
- All Implemented Interfaces:
XdrElement
SorobanTransactionMetaV2's original definition in the XDR file is:
struct SorobanTransactionMetaV2
{
SorobanTransactionMetaExt ext;
SCVal* returnValue;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionSorobanTransactionMetaV2(SorobanTransactionMetaExt ext, SCVal returnValue) Creates a newSorobanTransactionMetaV2instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SorobanTransactionMetaV2decode(XdrDataInputStream stream) static SorobanTransactionMetaV2decode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic SorobanTransactionMetaV2static SorobanTransactionMetaV2fromXdrBase64(String xdr) static SorobanTransactionMetaV2fromXdrByteArray(byte[] xdr) getExt()Value of theextfield.Value of thereturnValuefield.inthashCode()voidValue of theextfield.voidsetReturnValue(SCVal returnValue) Value of thereturnValuefield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SorobanTransactionMetaV2
public SorobanTransactionMetaV2() -
SorobanTransactionMetaV2
Creates a newSorobanTransactionMetaV2instance.- Parameters:
ext- theextfield valuereturnValue- thereturnValuefield value
-
-
Method Details
-
encode
Description copied from interface:XdrElementEncodes this value to XDR and writes it to the provided stream.- Specified by:
encodein interfaceXdrElement- Parameters:
stream- the destination XDR output stream- Throws:
IOException- if an I/O error occurs while writing the value
-
decode
public static SorobanTransactionMetaV2 decode(XdrDataInputStream stream, int maxDepth) throws IOException - Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
Description copied from interface:XdrElementSerializes this value to JSON.- Specified by:
toJsonin interfaceXdrElement- Returns:
- the JSON representation of this value
-
fromJson
-
builder
-
toBuilder
-
getExt
Value of theextfield.- Returns:
- the
extfield value
-
getReturnValue
Value of thereturnValuefield.- Returns:
- the
returnValuefield value
-
setExt
Value of theextfield.- Parameters:
ext- theextfield value
-
setReturnValue
Value of thereturnValuefield.- Parameters:
returnValue- thereturnValuefield value
-
equals
-
hashCode
public int hashCode() -
toString
-