Class 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)  
    • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object