Class ValueOuterClass.Value.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
com.daml.ledger.api.v2.ValueOuterClass.Value.Builder
All Implemented Interfaces:
ValueOuterClass.ValueOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ValueOuterClass.Value

public static final class ValueOuterClass.Value.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder> implements ValueOuterClass.ValueOrBuilder
 Encodes values that the ledger accepts as command arguments and emits as contract arguments.

 The values encoding use different classes of non-empty strings as identifiers. Those classes are
 defined as follows:

 - NameStrings are strings with length <= 1000 that match the regexp ``[A-Za-z\$_][A-Za-z0-9\$_]*``.
 - PackageIdStrings are strings with length <= 64 that match the regexp ``[A-Za-z0-9\-_ ]+``.
 - PartyIdStrings are strings with length <= 255 that match the regexp ``[A-Za-z0-9:\-_ ]+``.
 - LedgerStrings are strings with length <= 255 that match the regexp ``[A-Za-z0-9#:\-_/ ]+``.
 - UserIdStrings are strings with length <= 128 that match the regexp ``[a-zA-Z0-9@^$.!`\-#+'~_|:]+``.
 
Protobuf type com.daml.ledger.api.v2.Value
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • getDefaultInstanceForType

      public ValueOuterClass.Value getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ValueOuterClass.Value build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ValueOuterClass.Value buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • setField

      public ValueOuterClass.Value.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • clearField

      public ValueOuterClass.Value.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • clearOneof

      public ValueOuterClass.Value.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • setRepeatedField

      public ValueOuterClass.Value.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • addRepeatedField

      public ValueOuterClass.Value.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • mergeFrom

      public ValueOuterClass.Value.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Value.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • mergeFrom

      public ValueOuterClass.Value.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Value.Builder>
      Throws:
      IOException
    • getSumCase

      public ValueOuterClass.Value.SumCase getSumCase()
      Specified by:
      getSumCase in interface ValueOuterClass.ValueOrBuilder
    • clearSum

      public ValueOuterClass.Value.Builder clearSum()
    • hasUnit

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

      public 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"];
      Specified by:
      getUnit in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The unit.
    • setUnit

      public ValueOuterClass.Value.Builder setUnit(com.google.protobuf.Empty value)
       This value is used for example for choices that don't take any arguments.
       
      .google.protobuf.Empty unit = 1 [json_name = "unit"];
    • setUnit

      public ValueOuterClass.Value.Builder setUnit(com.google.protobuf.Empty.Builder builderForValue)
       This value is used for example for choices that don't take any arguments.
       
      .google.protobuf.Empty unit = 1 [json_name = "unit"];
    • mergeUnit

      public ValueOuterClass.Value.Builder mergeUnit(com.google.protobuf.Empty value)
       This value is used for example for choices that don't take any arguments.
       
      .google.protobuf.Empty unit = 1 [json_name = "unit"];
    • clearUnit

      public ValueOuterClass.Value.Builder clearUnit()
       This value is used for example for choices that don't take any arguments.
       
      .google.protobuf.Empty unit = 1 [json_name = "unit"];
    • getUnitBuilder

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

      public 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"];
      Specified by:
      getUnitOrBuilder in interface ValueOuterClass.ValueOrBuilder
    • hasBool

      public boolean hasBool()
       True or false.
       
      bool bool = 2 [json_name = "bool"];
      Specified by:
      hasBool in interface ValueOuterClass.ValueOrBuilder
      Returns:
      Whether the bool field is set.
    • getBool

      public boolean getBool()
       True or false.
       
      bool bool = 2 [json_name = "bool"];
      Specified by:
      getBool in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The bool.
    • setBool

      public ValueOuterClass.Value.Builder setBool(boolean value)
       True or false.
       
      bool bool = 2 [json_name = "bool"];
      Parameters:
      value - The bool to set.
      Returns:
      This builder for chaining.
    • clearBool

      public ValueOuterClass.Value.Builder clearBool()
       True or false.
       
      bool bool = 2 [json_name = "bool"];
      Returns:
      This builder for chaining.
    • hasInt64

      public boolean hasInt64()
      sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
      Specified by:
      hasInt64 in interface ValueOuterClass.ValueOrBuilder
      Returns:
      Whether the int64 field is set.
    • getInt64

      public long getInt64()
      sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
      Specified by:
      getInt64 in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The int64.
    • setInt64

      public ValueOuterClass.Value.Builder setInt64(long value)
      sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
      Parameters:
      value - The int64 to set.
      Returns:
      This builder for chaining.
    • clearInt64

      public ValueOuterClass.Value.Builder clearInt64()
      sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
      Returns:
      This builder for chaining.
    • hasDate

      public 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"];
      Specified by:
      hasDate in interface ValueOuterClass.ValueOrBuilder
      Returns:
      Whether the date field is set.
    • getDate

      public 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"];
      Specified by:
      getDate in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The date.
    • setDate

      public ValueOuterClass.Value.Builder setDate(int value)
       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"];
      Parameters:
      value - The date to set.
      Returns:
      This builder for chaining.
    • clearDate

      public ValueOuterClass.Value.Builder clearDate()
       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:
      This builder for chaining.
    • hasTimestamp

      public 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];
      Specified by:
      hasTimestamp in interface ValueOuterClass.ValueOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public 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];
      Specified by:
      getTimestamp in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public ValueOuterClass.Value.Builder setTimestamp(long value)
       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];
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public ValueOuterClass.Value.Builder clearTimestamp()
       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:
      This builder for chaining.
    • hasNumeric

      public 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"];
      Specified by:
      hasNumeric in interface ValueOuterClass.ValueOrBuilder
      Returns:
      Whether the numeric field is set.
    • getNumeric

      public 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"];
      Specified by:
      getNumeric in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The numeric.
    • getNumericBytes

      public 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"];
      Specified by:
      getNumericBytes in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The bytes for numeric.
    • setNumeric

      public ValueOuterClass.Value.Builder setNumeric(String value)
       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"];
      Parameters:
      value - The numeric to set.
      Returns:
      This builder for chaining.
    • clearNumeric

      public ValueOuterClass.Value.Builder clearNumeric()
       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:
      This builder for chaining.
    • setNumericBytes

      public ValueOuterClass.Value.Builder setNumericBytes(com.google.protobuf.ByteString value)
       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"];
      Parameters:
      value - The bytes for numeric to set.
      Returns:
      This builder for chaining.
    • hasParty

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

      public String getParty()
       An agent operating on the ledger.
       Must be a valid PartyIdString.
       
      string party = 7 [json_name = "party"];
      Specified by:
      getParty in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The party.
    • getPartyBytes

      public com.google.protobuf.ByteString getPartyBytes()
       An agent operating on the ledger.
       Must be a valid PartyIdString.
       
      string party = 7 [json_name = "party"];
      Specified by:
      getPartyBytes in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The bytes for party.
    • setParty

      public ValueOuterClass.Value.Builder setParty(String value)
       An agent operating on the ledger.
       Must be a valid PartyIdString.
       
      string party = 7 [json_name = "party"];
      Parameters:
      value - The party to set.
      Returns:
      This builder for chaining.
    • clearParty

      public ValueOuterClass.Value.Builder clearParty()
       An agent operating on the ledger.
       Must be a valid PartyIdString.
       
      string party = 7 [json_name = "party"];
      Returns:
      This builder for chaining.
    • setPartyBytes

      public ValueOuterClass.Value.Builder setPartyBytes(com.google.protobuf.ByteString value)
       An agent operating on the ledger.
       Must be a valid PartyIdString.
       
      string party = 7 [json_name = "party"];
      Parameters:
      value - The bytes for party to set.
      Returns:
      This builder for chaining.
    • hasText

      public boolean hasText()
       A string.
       
      string text = 8 [json_name = "text"];
      Specified by:
      hasText in interface ValueOuterClass.ValueOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public String getText()
       A string.
       
      string text = 8 [json_name = "text"];
      Specified by:
      getText in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
       A string.
       
      string text = 8 [json_name = "text"];
      Specified by:
      getTextBytes in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The bytes for text.
    • setText

      public ValueOuterClass.Value.Builder setText(String value)
       A string.
       
      string text = 8 [json_name = "text"];
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public ValueOuterClass.Value.Builder clearText()
       A string.
       
      string text = 8 [json_name = "text"];
      Returns:
      This builder for chaining.
    • setTextBytes

      public ValueOuterClass.Value.Builder setTextBytes(com.google.protobuf.ByteString value)
       A string.
       
      string text = 8 [json_name = "text"];
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.
    • hasContractId

      public 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"];
      Specified by:
      hasContractId in interface ValueOuterClass.ValueOrBuilder
      Returns:
      Whether the contractId field is set.
    • getContractId

      public 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"];
      Specified by:
      getContractId in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The contractId.
    • getContractIdBytes

      public 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"];
      Specified by:
      getContractIdBytes in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The bytes for contractId.
    • setContractId

      public ValueOuterClass.Value.Builder setContractId(String value)
       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"];
      Parameters:
      value - The contractId to set.
      Returns:
      This builder for chaining.
    • clearContractId

      public ValueOuterClass.Value.Builder clearContractId()
       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:
      This builder for chaining.
    • setContractIdBytes

      public ValueOuterClass.Value.Builder setContractIdBytes(com.google.protobuf.ByteString value)
       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"];
      Parameters:
      value - The bytes for contractId to set.
      Returns:
      This builder for chaining.
    • hasOptional

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

      public ValueOuterClass.Optional getOptional()
       The Optional type, None or Some
       
      .com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"];
      Specified by:
      getOptional in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The optional.
    • setOptional

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

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

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

      public ValueOuterClass.Value.Builder clearOptional()
       The Optional type, None or Some
       
      .com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"];
    • getOptionalBuilder

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

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

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

      public ValueOuterClass.List getList()
       Represents a homogeneous list of values.
       
      .com.daml.ledger.api.v2.List list = 11 [json_name = "list"];
      Specified by:
      getList in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The list.
    • setList

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

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

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

      public ValueOuterClass.Value.Builder clearList()
       Represents a homogeneous list of values.
       
      .com.daml.ledger.api.v2.List list = 11 [json_name = "list"];
    • getListBuilder

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

      public ValueOuterClass.ListOrBuilder getListOrBuilder()
       Represents a homogeneous list of values.
       
      .com.daml.ledger.api.v2.List list = 11 [json_name = "list"];
      Specified by:
      getListOrBuilder in interface ValueOuterClass.ValueOrBuilder
    • hasTextMap

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

      public ValueOuterClass.TextMap getTextMap()
       The TextMap type
       
      .com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];
      Specified by:
      getTextMap in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The textMap.
    • setTextMap

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

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

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

      public ValueOuterClass.Value.Builder clearTextMap()
       The TextMap type
       
      .com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];
    • getTextMapBuilder

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

      public ValueOuterClass.TextMapOrBuilder getTextMapOrBuilder()
       The TextMap type
       
      .com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];
      Specified by:
      getTextMapOrBuilder in interface ValueOuterClass.ValueOrBuilder
    • hasGenMap

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

      public ValueOuterClass.GenMap getGenMap()
       The GenMap type
       
      .com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];
      Specified by:
      getGenMap in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The genMap.
    • setGenMap

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

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

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

      public ValueOuterClass.Value.Builder clearGenMap()
       The GenMap type
       
      .com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];
    • getGenMapBuilder

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

      public ValueOuterClass.GenMapOrBuilder getGenMapOrBuilder()
       The GenMap type
       
      .com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];
      Specified by:
      getGenMapOrBuilder in interface ValueOuterClass.ValueOrBuilder
    • hasRecord

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

      public ValueOuterClass.Record getRecord()
      .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
      Specified by:
      getRecord in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The record.
    • setRecord

      .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
    • setRecord

      .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
    • mergeRecord

      .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
    • clearRecord

      public ValueOuterClass.Value.Builder clearRecord()
      .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
    • getRecordBuilder

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

      public ValueOuterClass.RecordOrBuilder getRecordOrBuilder()
      .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
      Specified by:
      getRecordOrBuilder in interface ValueOuterClass.ValueOrBuilder
    • hasVariant

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

      public ValueOuterClass.Variant getVariant()
      .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
      Specified by:
      getVariant in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The variant.
    • setVariant

      .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
    • setVariant

      .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
    • mergeVariant

      .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
    • clearVariant

      public ValueOuterClass.Value.Builder clearVariant()
      .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
    • getVariantBuilder

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

      public ValueOuterClass.VariantOrBuilder getVariantOrBuilder()
      .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
      Specified by:
      getVariantOrBuilder in interface ValueOuterClass.ValueOrBuilder
    • hasEnum

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

      public ValueOuterClass.Enum getEnum()
       The Enum type
       
      .com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];
      Specified by:
      getEnum in interface ValueOuterClass.ValueOrBuilder
      Returns:
      The enum.
    • setEnum

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

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

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

      public ValueOuterClass.Value.Builder clearEnum()
       The Enum type
       
      .com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];
    • getEnumBuilder

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

      public ValueOuterClass.EnumOrBuilder getEnumOrBuilder()
       The Enum type
       
      .com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];
      Specified by:
      getEnumOrBuilder in interface ValueOuterClass.ValueOrBuilder
    • setUnknownFields

      public final ValueOuterClass.Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
    • mergeUnknownFields

      public final ValueOuterClass.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>