Class SCVal.SCValBuilder

java.lang.Object
org.stellar.sdk.xdr.SCVal.SCValBuilder
Enclosing class:
SCVal

public static class SCVal.SCValBuilder extends Object
  • Method Details

    • discriminant

      public SCVal.SCValBuilder discriminant(SCValType discriminant)
      Value of the discriminant field.
      Parameters:
      discriminant - the discriminant field value
      Returns:
      this.
    • b

      Value of the b field.
      Parameters:
      b - the b field value
      Returns:
      this.
    • error

      public SCVal.SCValBuilder error(SCError error)
      Value of the error field.
      Parameters:
      error - the error field value
      Returns:
      this.
    • u32

      public SCVal.SCValBuilder u32(Uint32 u32)
      Value of the u32 field.
      Parameters:
      u32 - the u32 field value
      Returns:
      this.
    • i32

      public SCVal.SCValBuilder i32(Int32 i32)
      Value of the i32 field.
      Parameters:
      i32 - the i32 field value
      Returns:
      this.
    • u64

      public SCVal.SCValBuilder u64(Uint64 u64)
      Value of the u64 field.
      Parameters:
      u64 - the u64 field value
      Returns:
      this.
    • i64

      public SCVal.SCValBuilder i64(Int64 i64)
      Value of the i64 field.
      Parameters:
      i64 - the i64 field value
      Returns:
      this.
    • timepoint

      public SCVal.SCValBuilder timepoint(TimePoint timepoint)
      Value of the timepoint field.
      Parameters:
      timepoint - the timepoint field value
      Returns:
      this.
    • duration

      public SCVal.SCValBuilder duration(Duration duration)
      Value of the duration field.
      Parameters:
      duration - the duration field value
      Returns:
      this.
    • u128

      public SCVal.SCValBuilder u128(UInt128Parts u128)
      Value of the u128 field.
      Parameters:
      u128 - the u128 field value
      Returns:
      this.
    • i128

      public SCVal.SCValBuilder i128(Int128Parts i128)
      Value of the i128 field.
      Parameters:
      i128 - the i128 field value
      Returns:
      this.
    • u256

      public SCVal.SCValBuilder u256(UInt256Parts u256)
      Value of the u256 field.
      Parameters:
      u256 - the u256 field value
      Returns:
      this.
    • i256

      public SCVal.SCValBuilder i256(Int256Parts i256)
      Value of the i256 field.
      Parameters:
      i256 - the i256 field value
      Returns:
      this.
    • bytes

      public SCVal.SCValBuilder bytes(SCBytes bytes)
      Value of the bytes field.
      Parameters:
      bytes - the bytes field value
      Returns:
      this.
    • str

      public SCVal.SCValBuilder str(SCString str)
      Value of the str field.
      Parameters:
      str - the str field value
      Returns:
      this.
    • sym

      public SCVal.SCValBuilder sym(SCSymbol sym)
      Value of the sym field.
      Parameters:
      sym - the sym field value
      Returns:
      this.
    • vec

      public SCVal.SCValBuilder vec(SCVec vec)
      Value of the vec field.
      Parameters:
      vec - the vec field value
      Returns:
      this.
    • map

      public SCVal.SCValBuilder map(SCMap map)
      Value of the map field.
      Parameters:
      map - the map field value
      Returns:
      this.
    • address

      public SCVal.SCValBuilder address(SCAddress address)
      Value of the address field.
      Parameters:
      address - the address field value
      Returns:
      this.
    • instance

      public SCVal.SCValBuilder instance(SCContractInstance instance)
      Value of the instance field.
      Parameters:
      instance - the instance field value
      Returns:
      this.
    • nonce_key

      public SCVal.SCValBuilder nonce_key(SCNonceKey nonce_key)
      Value of the nonce_key field.
      Parameters:
      nonce_key - the nonce_key field value
      Returns:
      this.
    • build

      public SCVal build()
    • toString

      public String toString()
      Overrides:
      toString in class Object