Package com.daml.ledger.javaapi.data
Class CompletionStreamResponse
- java.lang.Object
-
- com.daml.ledger.javaapi.data.CompletionStreamResponse
-
public final class CompletionStreamResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CompletionStreamResponse(@NonNull java.util.Optional<Checkpoint> checkpoint, @NonNull java.util.List<@NonNull com.daml.ledger.api.v1.CompletionOuterClass.Completion> completions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static CompletionStreamResponse
fromProto(com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamResponse response)
@NonNull java.util.Optional<Checkpoint>
getCheckpoint()
@NonNull java.util.List<@NonNull com.daml.ledger.api.v1.CompletionOuterClass.Completion>
getCompletions()
int
hashCode()
com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamResponse
toProto()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CompletionStreamResponse
public CompletionStreamResponse(@NonNull java.util.Optional<Checkpoint> checkpoint, @NonNull java.util.List<@NonNull com.daml.ledger.api.v1.CompletionOuterClass.Completion> completions)
-
-
Method Detail
-
fromProto
public static CompletionStreamResponse fromProto(com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamResponse response)
-
toProto
public com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamResponse toProto()
-
getCheckpoint
public @NonNull java.util.Optional<Checkpoint> getCheckpoint()
-
getCompletions
public @NonNull java.util.List<@NonNull com.daml.ledger.api.v1.CompletionOuterClass.Completion> getCompletions()
-
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
-
-