Class Value

    • Constructor Detail

      • Value

        public Value()
    • Method Detail

      • fromProto

        public static Value fromProto​(com.daml.ledger.api.v1.ValueOuterClass.Value value)
      • asBool

        public final java.util.Optional<Bool> asBool()
      • asRecord

        public final java.util.Optional<DamlRecord> asRecord()
      • asVariant

        public final java.util.Optional<Variant> asVariant()
      • asEnum

        public final java.util.Optional<DamlEnum> asEnum()
      • asContractId

        public final java.util.Optional<ContractId> asContractId()
      • asList

        public final java.util.Optional<DamlList> asList()
      • asInt64

        public final java.util.Optional<Int64> asInt64()
      • asDecimal

        @Deprecated
        public final java.util.Optional<Decimal> asDecimal()
        Deprecated.
      • asNumeric

        public final java.util.Optional<Numeric> asNumeric()
      • asText

        public final java.util.Optional<Text> asText()
      • asTimestamp

        public final java.util.Optional<Timestamp> asTimestamp()
      • asParty

        public final java.util.Optional<Party> asParty()
      • asUnit

        public final java.util.Optional<Unit> asUnit()
      • asDate

        public final java.util.Optional<Date> asDate()
      • asOptional

        public final java.util.Optional<DamlOptional> asOptional()
      • asTextMap

        public final java.util.Optional<DamlTextMap> asTextMap()
      • asGenMap

        public final java.util.Optional<DamlGenMap> asGenMap()
      • toProto

        public abstract com.daml.ledger.api.v1.ValueOuterClass.Value toProto()