public class CompletionStreamRequest
extends java.lang.Object
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static CompletionStreamRequest |
fromProto(CommandCompletionServiceOuterClass.CompletionStreamRequest request) |
java.lang.String |
getApplicationId() |
java.lang.String |
getLedgerId() |
java.util.Optional<LedgerOffset> |
getLedgerOffset() |
LedgerOffset |
getOffset()
Deprecated.
Legacy, nullable version of
getLedgerOffset() , which should be used instead. |
java.util.Set<java.lang.String> |
getParties() |
int |
hashCode() |
CommandCompletionServiceOuterClass.CompletionStreamRequest |
toProto() |
java.lang.String |
toString() |
public CompletionStreamRequest(java.lang.String ledgerId, java.lang.String applicationId, java.util.Set<java.lang.String> parties)
public CompletionStreamRequest(java.lang.String ledgerId, java.lang.String applicationId, java.util.Set<java.lang.String> parties, LedgerOffset offset)
public static CompletionStreamRequest fromProto(CommandCompletionServiceOuterClass.CompletionStreamRequest request)
public CommandCompletionServiceOuterClass.CompletionStreamRequest toProto()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getLedgerId()
public java.lang.String getApplicationId()
public java.util.Set<java.lang.String> getParties()
@Deprecated public LedgerOffset getOffset()
getLedgerOffset()
, which should be used instead.public java.util.Optional<LedgerOffset> getLedgerOffset()