Package com.daml.ledger.javaapi.data
Class CompletionStreamRequest
- java.lang.Object
-
- com.daml.ledger.javaapi.data.CompletionStreamRequest
-
public final class CompletionStreamRequest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CompletionStreamRequest(java.lang.String ledgerId, java.lang.String applicationId, java.util.Set<java.lang.String> parties)
CompletionStreamRequest(java.lang.String ledgerId, java.lang.String applicationId, java.util.Set<java.lang.String> parties, LedgerOffset offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static CompletionStreamRequest
fromProto(com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamRequest request)
java.lang.String
getApplicationId()
java.lang.String
getLedgerId()
java.util.Optional<LedgerOffset>
getLedgerOffset()
LedgerOffset
getOffset()
Deprecated.Legacy, nullable version ofgetLedgerOffset()
, which should be used instead.java.util.Set<java.lang.String>
getParties()
int
hashCode()
com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamRequest
toProto()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CompletionStreamRequest
public CompletionStreamRequest(java.lang.String ledgerId, java.lang.String applicationId, java.util.Set<java.lang.String> parties)
-
CompletionStreamRequest
public CompletionStreamRequest(java.lang.String ledgerId, java.lang.String applicationId, java.util.Set<java.lang.String> parties, LedgerOffset offset)
-
-
Method Detail
-
fromProto
public static CompletionStreamRequest fromProto(com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamRequest request)
-
toProto
public com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamRequest toProto()
-
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
-
getLedgerId
public java.lang.String getLedgerId()
-
getApplicationId
public java.lang.String getApplicationId()
-
getParties
public java.util.Set<java.lang.String> getParties()
-
getOffset
@Deprecated public LedgerOffset getOffset()
Deprecated.Legacy, nullable version ofgetLedgerOffset()
, which should be used instead.
-
getLedgerOffset
public java.util.Optional<LedgerOffset> getLedgerOffset()
-
-