Package com.daml.ledger.javaapi.data
Class SubmitCommandsRequest
- java.lang.Object
-
- com.daml.ledger.javaapi.data.SubmitCommandsRequest
-
public final class SubmitCommandsRequest 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 SubmitCommandsRequest
fromProto(com.daml.ledger.api.v1.CommandsOuterClass.Commands commands)
@NonNull java.util.List<java.lang.String>
getActAs()
@NonNull java.lang.String
getApplicationId()
@NonNull java.lang.String
getCommandId()
@NonNull java.util.List<@NonNull Command>
getCommands()
@NonNull java.util.Optional<java.time.Duration>
getDeduplicationTime()
@NonNull java.util.List<@NonNull DisclosedContract>
getDisclosedContracts()
@NonNull java.util.Optional<java.time.Instant>
getMinLedgerTimeAbsolute()
@NonNull java.util.Optional<java.time.Duration>
getMinLedgerTimeRelative()
@NonNull java.util.List<@NonNull java.lang.String>
getPackageIdSelectionPreference()
@NonNull java.lang.String
getParty()
@NonNull java.util.List<@NonNull PrefetchContractKey>
getPrefetchContractKeys()
@NonNull java.util.List<java.lang.String>
getReadAs()
@NonNull java.util.Optional<java.lang.String>
getSubmissionId()
@NonNull java.lang.String
getWorkflowId()
int
hashCode()
static com.daml.ledger.api.v1.CommandsOuterClass.Commands
toProto(@NonNull java.lang.String ledgerId, @NonNull CommandsSubmission submission)
static com.daml.ledger.api.v1.CommandsOuterClass.Commands
toProto(@NonNull java.lang.String ledgerId, @NonNull java.lang.String submissionId, @NonNull CommandsSubmission submission)
java.lang.String
toString()
-
-
-
Method Detail
-
fromProto
public static SubmitCommandsRequest fromProto(com.daml.ledger.api.v1.CommandsOuterClass.Commands commands)
-
toProto
public static com.daml.ledger.api.v1.CommandsOuterClass.Commands toProto(@NonNull java.lang.String ledgerId, @NonNull CommandsSubmission submission)
-
toProto
public static com.daml.ledger.api.v1.CommandsOuterClass.Commands toProto(@NonNull java.lang.String ledgerId, @NonNull java.lang.String submissionId, @NonNull CommandsSubmission submission)
-
getWorkflowId
public @NonNull java.lang.String getWorkflowId()
-
getApplicationId
public @NonNull java.lang.String getApplicationId()
-
getCommandId
public @NonNull java.lang.String getCommandId()
-
getParty
public @NonNull java.lang.String getParty()
-
getActAs
public @NonNull java.util.List<java.lang.String> getActAs()
-
getReadAs
public @NonNull java.util.List<java.lang.String> getReadAs()
-
getMinLedgerTimeAbsolute
public @NonNull java.util.Optional<java.time.Instant> getMinLedgerTimeAbsolute()
-
getMinLedgerTimeRelative
public @NonNull java.util.Optional<java.time.Duration> getMinLedgerTimeRelative()
-
getDeduplicationTime
public @NonNull java.util.Optional<java.time.Duration> getDeduplicationTime()
-
getSubmissionId
public @NonNull java.util.Optional<java.lang.String> getSubmissionId()
-
getCommands
public @NonNull java.util.List<@NonNull Command> getCommands()
-
getDisclosedContracts
public @NonNull java.util.List<@NonNull DisclosedContract> getDisclosedContracts()
-
getPackageIdSelectionPreference
public @NonNull java.util.List<@NonNull java.lang.String> getPackageIdSelectionPreference()
-
getPrefetchContractKeys
public @NonNull java.util.List<@NonNull PrefetchContractKey> getPrefetchContractKeys()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-