Interface ValueOuterClass.ValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ValueOuterClass.Value, ValueOuterClass.Value.Builder
Enclosing class:
ValueOuterClass

public static interface ValueOuterClass.ValueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasUnit

      boolean hasUnit()
       This value is used for example for choices that don't take any arguments.
       
      .google.protobuf.Empty unit = 1 [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 = 1 [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 = 1 [json_name = "unit"];
    • hasBool

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

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

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

      long getInt64()
      sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
      Returns:
      The int64.
    • 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 = 4 [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 = 4 [json_name = "date"];
      Returns:
      The date.
    • 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 = 5 [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 = 5 [json_name = "timestamp", jstype = JS_STRING];
      Returns:
      The timestamp.
    • 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
      
       .. code-block:: none
      
         [+-]?\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

      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
      
       .. code-block:: none
      
         [+-]?\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
      
       .. code-block:: none
      
         [+-]?\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.
    • hasParty

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

      String getParty()
       An agent operating on the ledger.
       Must be a valid PartyIdString.
       
      string party = 7 [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 = 7 [json_name = "party"];
      Returns:
      The bytes for party.
    • hasText

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

      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.
    • 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 = 9 [json_name = "contractId"];
      Returns:
      Whether the contractId field is set.
    • getContractId

      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 = 9 [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 = 9 [json_name = "contractId"];
      Returns:
      The bytes for contractId.
    • hasOptional

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

       The Optional type, None or Some
       
      .com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"];
      Returns:
      The optional.
    • getOptionalOrBuilder

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

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

       Represents a homogeneous list of values.
       
      .com.daml.ledger.api.v2.List list = 11 [json_name = "list"];
      Returns:
      The list.
    • getListOrBuilder

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

      boolean hasTextMap()
       The TextMap type
       
      .com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];
      Returns:
      Whether the textMap field is set.
    • getTextMap

       The TextMap type
       
      .com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];
      Returns:
      The textMap.
    • getTextMapOrBuilder

      ValueOuterClass.TextMapOrBuilder getTextMapOrBuilder()
       The TextMap type
       
      .com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];
    • hasGenMap

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

       The GenMap type
       
      .com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];
      Returns:
      The genMap.
    • getGenMapOrBuilder

      ValueOuterClass.GenMapOrBuilder getGenMapOrBuilder()
       The GenMap type
       
      .com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];
    • hasRecord

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

      .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
      Returns:
      The record.
    • getRecordOrBuilder

      ValueOuterClass.RecordOrBuilder getRecordOrBuilder()
      .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
    • hasVariant

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

      .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
      Returns:
      The variant.
    • getVariantOrBuilder

      ValueOuterClass.VariantOrBuilder getVariantOrBuilder()
      .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
    • hasEnum

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

       The Enum type
       
      .com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];
      Returns:
      The enum.
    • getEnumOrBuilder

      ValueOuterClass.EnumOrBuilder getEnumOrBuilder()
       The Enum type
       
      .com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];
    • getSumCase