Package com.daml.ledger.javaapi.data
Class CompletionStreamResponse
- java.lang.Object
-
- com.daml.ledger.javaapi.data.CompletionStreamResponse
-
public class CompletionStreamResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CompletionStreamResponse(@NonNull java.util.Optional<Checkpoint> checkpoint, @NonNull java.util.List<@NonNull 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(CommandCompletionServiceOuterClass.CompletionStreamResponse response)
@NonNull java.util.Optional<Checkpoint>
getCheckpoint()
@NonNull java.util.List<@NonNull CompletionOuterClass.Completion>
getCompletions()
int
hashCode()
CommandCompletionServiceOuterClass.CompletionStreamResponse
toProto()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CompletionStreamResponse
public CompletionStreamResponse(@NonNull java.util.Optional<Checkpoint> checkpoint, @NonNull java.util.List<@NonNull CompletionOuterClass.Completion> completions)
-
-
Method Detail
-
fromProto
public static CompletionStreamResponse fromProto(CommandCompletionServiceOuterClass.CompletionStreamResponse response)
-
toProto
public CommandCompletionServiceOuterClass.CompletionStreamResponse toProto()
-
getCheckpoint
public @NonNull java.util.Optional<Checkpoint> getCheckpoint()
-
getCompletions
public @NonNull java.util.List<@NonNull 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
-
-