public final class Record extends Value
Modifier and Type | Class and Description |
---|---|
static class |
Record.Field |
Constructor and Description |
---|
Record(@NonNull Identifier recordId,
@NonNull java.util.List<Record.Field> fields) |
Record(@NonNull Identifier recordId,
Record.Field... fields) |
Record(@NonNull java.util.List<Record.Field> fields) |
Record(@NonNull java.util.Optional<Identifier> recordId,
@NonNull java.util.List<Record.Field> fields,
java.util.Map<java.lang.String,Value> fieldsMap) |
Record(Record.Field... fields) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static @NonNull Record |
fromProto(com.digitalasset.ledger.api.v1.ValueOuterClass.Record record) |
@NonNull java.util.List<Record.Field> |
getFields() |
@NonNull java.util.Map<java.lang.String,Value> |
getFieldsMap() |
@NonNull java.util.Optional<Identifier> |
getRecordId() |
int |
hashCode() |
com.digitalasset.ledger.api.v1.ValueOuterClass.Value |
toProto() |
com.digitalasset.ledger.api.v1.ValueOuterClass.Record |
toProtoRecord() |
java.lang.String |
toString() |
public Record(@NonNull Identifier recordId, Record.Field... fields)
public Record(Record.Field... fields)
public Record(@NonNull Identifier recordId, @NonNull java.util.List<Record.Field> fields)
public Record(@NonNull java.util.List<Record.Field> fields)
public Record(@NonNull java.util.Optional<Identifier> recordId, @NonNull java.util.List<Record.Field> fields, java.util.Map<java.lang.String,Value> fieldsMap)
public static @NonNull Record fromProto(com.digitalasset.ledger.api.v1.ValueOuterClass.Record record)
public com.digitalasset.ledger.api.v1.ValueOuterClass.Value toProto()
public com.digitalasset.ledger.api.v1.ValueOuterClass.Record toProtoRecord()
public @NonNull java.util.Optional<Identifier> getRecordId()
public @NonNull java.util.List<Record.Field> getFields()
public @NonNull java.util.Map<java.lang.String,Value> getFieldsMap()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object