public class CompletionStreamResponse
extends java.lang.Object
Constructor and Description |
---|
CompletionStreamResponse(@NonNull java.util.Optional<Checkpoint> checkpoint,
@NonNull java.util.List<CompletionOuterClass.Completion> completions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static CompletionStreamResponse |
fromProto(CommandCompletionServiceOuterClass.CompletionStreamResponse response) |
@NonNull java.util.Optional<Checkpoint> |
getCheckpoint() |
@NonNull java.util.List<CompletionOuterClass.Completion> |
getCompletions() |
int |
hashCode() |
CommandCompletionServiceOuterClass.CompletionStreamResponse |
toProto() |
java.lang.String |
toString() |
public CompletionStreamResponse(@NonNull java.util.Optional<Checkpoint> checkpoint, @NonNull java.util.List<CompletionOuterClass.Completion> completions)
public static CompletionStreamResponse fromProto(CommandCompletionServiceOuterClass.CompletionStreamResponse response)
public CommandCompletionServiceOuterClass.CompletionStreamResponse toProto()
public @NonNull java.util.Optional<Checkpoint> getCheckpoint()
public @NonNull java.util.List<CompletionOuterClass.Completion> getCompletions()
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