Package com.daml.ledger.javaapi.data
Class DamlRecord.Field
- java.lang.Object
-
- com.daml.ledger.javaapi.data.DamlRecord.Field
-
- Direct Known Subclasses:
Record.Field
- Enclosing class:
- DamlRecord
public static class DamlRecord.Field extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static DamlRecord.Field
fromProto(com.daml.ledger.api.v1.ValueOuterClass.RecordField field)
@NonNull java.util.Optional<java.lang.String>
getLabel()
@NonNull Value
getValue()
int
hashCode()
com.daml.ledger.api.v1.ValueOuterClass.RecordField
toProto()
java.lang.String
toString()
-
-
-
Method Detail
-
getLabel
public @NonNull java.util.Optional<java.lang.String> getLabel()
-
getValue
public @NonNull Value getValue()
-
fromProto
public static DamlRecord.Field fromProto(com.daml.ledger.api.v1.ValueOuterClass.RecordField field)
-
toProto
public com.daml.ledger.api.v1.ValueOuterClass.RecordField toProto()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-