Uses of Enum Class
io.modelcontextprotocol.spec.McpSchema.CreateMessageResult.StopReason
Packages that use McpSchema.CreateMessageResult.StopReason
-
Uses of McpSchema.CreateMessageResult.StopReason in io.modelcontextprotocol.spec
Methods in io.modelcontextprotocol.spec that return McpSchema.CreateMessageResult.StopReasonModifier and TypeMethodDescriptionMcpSchema.CreateMessageResult.stopReason()Returns the value of thestopReasonrecord component.Returns the enum constant of this class with the specified name.McpSchema.CreateMessageResult.StopReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.modelcontextprotocol.spec with parameters of type McpSchema.CreateMessageResult.StopReasonModifier and TypeMethodDescriptionMcpSchema.CreateMessageResult.Builder.stopReason(McpSchema.CreateMessageResult.StopReason stopReason) Constructors in io.modelcontextprotocol.spec with parameters of type McpSchema.CreateMessageResult.StopReasonModifierConstructorDescriptionCreateMessageResult(McpSchema.Role role, McpSchema.Content content, String model, McpSchema.CreateMessageResult.StopReason stopReason) CreateMessageResult(McpSchema.Role role, McpSchema.Content content, String model, McpSchema.CreateMessageResult.StopReason stopReason, Map<String, Object> meta) Creates an instance of aCreateMessageResultrecord class.