Interface ValueOuterClass.ValueOrBuilder

    • Method Detail

      • hasRecord

        boolean hasRecord()
        .com.daml.ledger.api.v1.Record record = 1 [json_name = "record"];
        Returns:
        Whether the record field is set.
      • getRecord

        ValueOuterClass.Record getRecord()
        .com.daml.ledger.api.v1.Record record = 1 [json_name = "record"];
        Returns:
        The record.
      • hasVariant

        boolean hasVariant()
        .com.daml.ledger.api.v1.Variant variant = 2 [json_name = "variant"];
        Returns:
        Whether the variant field is set.
      • getVariant

        ValueOuterClass.Variant getVariant()
        .com.daml.ledger.api.v1.Variant variant = 2 [json_name = "variant"];
        Returns:
        The variant.
      • hasContractId

        boolean hasContractId()
         Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail.
         Must be a valid LedgerString.
         
        string contract_id = 3 [json_name = "contractId"];
        Returns:
        Whether the contractId field is set.
      • getContractId

        java.lang.String getContractId()
         Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail.
         Must be a valid LedgerString.
         
        string contract_id = 3 [json_name = "contractId"];
        Returns:
        The contractId.
      • getContractIdBytes

        com.google.protobuf.ByteString getContractIdBytes()
         Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail.
         Must be a valid LedgerString.
         
        string contract_id = 3 [json_name = "contractId"];
        Returns:
        The bytes for contractId.
      • hasList

        boolean hasList()
         Represents a homogeneous list of values.
         
        .com.daml.ledger.api.v1.List list = 4 [json_name = "list"];
        Returns:
        Whether the list field is set.
      • getList

        ValueOuterClass.List getList()
         Represents a homogeneous list of values.
         
        .com.daml.ledger.api.v1.List list = 4 [json_name = "list"];
        Returns:
        The list.
      • getListOrBuilder

        ValueOuterClass.ListOrBuilder getListOrBuilder()
         Represents a homogeneous list of values.
         
        .com.daml.ledger.api.v1.List list = 4 [json_name = "list"];
      • hasInt64

        boolean hasInt64()
        sint64 int64 = 5 [json_name = "int64", jstype = JS_STRING];
        Returns:
        Whether the int64 field is set.
      • getInt64

        long getInt64()
        sint64 int64 = 5 [json_name = "int64", jstype = JS_STRING];
        Returns:
        The int64.
      • hasNumeric

        boolean hasNumeric()
         A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a
         scale between 0 and 37 (significant digits on the right of the decimal point).
         The field has to match the regex
           [+-]?\d{1,38}(.\d{0,37})?
         and should be representable by a Numeric without loss of precision.
         
        string numeric = 6 [json_name = "numeric"];
        Returns:
        Whether the numeric field is set.
      • getNumeric

        java.lang.String getNumeric()
         A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a
         scale between 0 and 37 (significant digits on the right of the decimal point).
         The field has to match the regex
           [+-]?\d{1,38}(.\d{0,37})?
         and should be representable by a Numeric without loss of precision.
         
        string numeric = 6 [json_name = "numeric"];
        Returns:
        The numeric.
      • getNumericBytes

        com.google.protobuf.ByteString getNumericBytes()
         A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a
         scale between 0 and 37 (significant digits on the right of the decimal point).
         The field has to match the regex
           [+-]?\d{1,38}(.\d{0,37})?
         and should be representable by a Numeric without loss of precision.
         
        string numeric = 6 [json_name = "numeric"];
        Returns:
        The bytes for numeric.
      • hasText

        boolean hasText()
         A string.
         
        string text = 8 [json_name = "text"];
        Returns:
        Whether the text field is set.
      • getText

        java.lang.String getText()
         A string.
         
        string text = 8 [json_name = "text"];
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
         A string.
         
        string text = 8 [json_name = "text"];
        Returns:
        The bytes for text.
      • hasTimestamp

        boolean hasTimestamp()
         Microseconds since the UNIX epoch. Can go backwards. Fixed
         since the vast majority of values will be greater than
         2^28, since currently the number of microseconds since the
         epoch is greater than that. Range: 0001-01-01T00:00:00Z to
         9999-12-31T23:59:59.999999Z, so that we can convert to/from
         https://www.ietf.org/rfc/rfc3339.txt
         
        sfixed64 timestamp = 9 [json_name = "timestamp", jstype = JS_STRING];
        Returns:
        Whether the timestamp field is set.
      • getTimestamp

        long getTimestamp()
         Microseconds since the UNIX epoch. Can go backwards. Fixed
         since the vast majority of values will be greater than
         2^28, since currently the number of microseconds since the
         epoch is greater than that. Range: 0001-01-01T00:00:00Z to
         9999-12-31T23:59:59.999999Z, so that we can convert to/from
         https://www.ietf.org/rfc/rfc3339.txt
         
        sfixed64 timestamp = 9 [json_name = "timestamp", jstype = JS_STRING];
        Returns:
        The timestamp.
      • hasParty

        boolean hasParty()
         An agent operating on the ledger.
         Must be a valid PartyIdString.
         
        string party = 11 [json_name = "party"];
        Returns:
        Whether the party field is set.
      • getParty

        java.lang.String getParty()
         An agent operating on the ledger.
         Must be a valid PartyIdString.
         
        string party = 11 [json_name = "party"];
        Returns:
        The party.
      • getPartyBytes

        com.google.protobuf.ByteString getPartyBytes()
         An agent operating on the ledger.
         Must be a valid PartyIdString.
         
        string party = 11 [json_name = "party"];
        Returns:
        The bytes for party.
      • hasBool

        boolean hasBool()
         True or false.
         
        bool bool = 12 [json_name = "bool"];
        Returns:
        Whether the bool field is set.
      • getBool

        boolean getBool()
         True or false.
         
        bool bool = 12 [json_name = "bool"];
        Returns:
        The bool.
      • hasUnit

        boolean hasUnit()
         This value is used for example for choices that don't take any arguments.
         
        .google.protobuf.Empty unit = 13 [json_name = "unit"];
        Returns:
        Whether the unit field is set.
      • getUnit

        com.google.protobuf.Empty getUnit()
         This value is used for example for choices that don't take any arguments.
         
        .google.protobuf.Empty unit = 13 [json_name = "unit"];
        Returns:
        The unit.
      • getUnitOrBuilder

        com.google.protobuf.EmptyOrBuilder getUnitOrBuilder()
         This value is used for example for choices that don't take any arguments.
         
        .google.protobuf.Empty unit = 13 [json_name = "unit"];
      • hasDate

        boolean hasDate()
         Days since the unix epoch. Can go backwards. Limited from
         0001-01-01 to 9999-12-31, also to be compatible with
         https://www.ietf.org/rfc/rfc3339.txt
         
        int32 date = 14 [json_name = "date"];
        Returns:
        Whether the date field is set.
      • getDate

        int getDate()
         Days since the unix epoch. Can go backwards. Limited from
         0001-01-01 to 9999-12-31, also to be compatible with
         https://www.ietf.org/rfc/rfc3339.txt
         
        int32 date = 14 [json_name = "date"];
        Returns:
        The date.
      • hasOptional

        boolean hasOptional()
         The Optional type, None or Some
         
        .com.daml.ledger.api.v1.Optional optional = 15 [json_name = "optional"];
        Returns:
        Whether the optional field is set.
      • getOptional

        ValueOuterClass.Optional getOptional()
         The Optional type, None or Some
         
        .com.daml.ledger.api.v1.Optional optional = 15 [json_name = "optional"];
        Returns:
        The optional.
      • getOptionalOrBuilder

        ValueOuterClass.OptionalOrBuilder getOptionalOrBuilder()
         The Optional type, None or Some
         
        .com.daml.ledger.api.v1.Optional optional = 15 [json_name = "optional"];
      • hasMap

        boolean hasMap()
         The Map type
         
        .com.daml.ledger.api.v1.Map map = 16 [json_name = "map"];
        Returns:
        Whether the map field is set.
      • getMap

        ValueOuterClass.Map getMap()
         The Map type
         
        .com.daml.ledger.api.v1.Map map = 16 [json_name = "map"];
        Returns:
        The map.
      • hasEnum

        boolean hasEnum()
         The Enum type
         
        .com.daml.ledger.api.v1.Enum enum = 17 [json_name = "enum"];
        Returns:
        Whether the enum field is set.
      • getEnum

        ValueOuterClass.Enum getEnum()
         The Enum type
         
        .com.daml.ledger.api.v1.Enum enum = 17 [json_name = "enum"];
        Returns:
        The enum.
      • hasGenMap

        boolean hasGenMap()
         The GenMap type
         
        .com.daml.ledger.api.v1.GenMap gen_map = 18 [json_name = "genMap"];
        Returns:
        Whether the genMap field is set.
      • getGenMap

        ValueOuterClass.GenMap getGenMap()
         The GenMap type
         
        .com.daml.ledger.api.v1.GenMap gen_map = 18 [json_name = "genMap"];
        Returns:
        The genMap.
      • getGenMapOrBuilder

        ValueOuterClass.GenMapOrBuilder getGenMapOrBuilder()
         The GenMap type
         
        .com.daml.ledger.api.v1.GenMap gen_map = 18 [json_name = "genMap"];