public abstract class Value
extends java.lang.Object
Constructor and Description |
---|
Value() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Bool> |
asBool() |
java.util.Optional<ContractId> |
asContractId() |
java.util.Optional<Date> |
asDate() |
java.util.Optional<Decimal> |
asDecimal()
Deprecated.
|
java.util.Optional<DamlEnum> |
asEnum() |
java.util.Optional<DamlGenMap> |
asGenMap() |
java.util.Optional<Int64> |
asInt64() |
java.util.Optional<DamlList> |
asList() |
java.util.Optional<DamlTextMap> |
asMap()
Deprecated.
|
java.util.Optional<Numeric> |
asNumeric() |
java.util.Optional<DamlOptional> |
asOptional() |
java.util.Optional<Party> |
asParty() |
java.util.Optional<Record> |
asRecord() |
java.util.Optional<Text> |
asText() |
java.util.Optional<DamlTextMap> |
asTextMap() |
java.util.Optional<Timestamp> |
asTimestamp() |
java.util.Optional<Unit> |
asUnit() |
java.util.Optional<Variant> |
asVariant() |
static Value |
fromProto(com.digitalasset.ledger.api.v1.ValueOuterClass.Value value) |
abstract com.digitalasset.ledger.api.v1.ValueOuterClass.Value |
toProto() |
public static Value fromProto(com.digitalasset.ledger.api.v1.ValueOuterClass.Value value)
public final java.util.Optional<Bool> asBool()
public final java.util.Optional<Record> asRecord()
public final java.util.Optional<Variant> asVariant()
public final java.util.Optional<DamlEnum> asEnum()
public final java.util.Optional<ContractId> asContractId()
public final java.util.Optional<DamlList> asList()
public final java.util.Optional<Int64> asInt64()
@Deprecated public final java.util.Optional<Decimal> asDecimal()
public final java.util.Optional<Numeric> asNumeric()
public final java.util.Optional<Text> asText()
public final java.util.Optional<Timestamp> asTimestamp()
public final java.util.Optional<Party> asParty()
public final java.util.Optional<Unit> asUnit()
public final java.util.Optional<Date> asDate()
public final java.util.Optional<DamlOptional> asOptional()
public final java.util.Optional<DamlTextMap> asTextMap()
@Deprecated public final java.util.Optional<DamlTextMap> asMap()
public final java.util.Optional<DamlGenMap> asGenMap()
public abstract com.digitalasset.ledger.api.v1.ValueOuterClass.Value toProto()