Uses of Enum Class
io.modelcontextprotocol.spec.McpSchema.Role
Packages that use McpSchema.Role
-
Uses of McpSchema.Role in io.modelcontextprotocol.spec
Methods in io.modelcontextprotocol.spec that return McpSchema.RoleModifier and TypeMethodDescriptionMcpSchema.CreateMessageResult.role()Returns the value of therolerecord component.McpSchema.PromptMessage.role()Returns the value of therolerecord component.McpSchema.SamplingMessage.role()Returns the value of therolerecord component.static McpSchema.RoleReturns the enum constant of this class with the specified name.static McpSchema.Role[]McpSchema.Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.modelcontextprotocol.spec that return types with arguments of type McpSchema.RoleModifier and TypeMethodDescriptionMcpSchema.Annotations.audience()Returns the value of theaudiencerecord component.McpSchema.EmbeddedResource.audience()Deprecated.Only exists for backwards-compatibility purposes.McpSchema.ImageContent.audience()Deprecated.Only exists for backwards-compatibility purposes.McpSchema.TextContent.audience()Deprecated.Only exists for backwards-compatibility purposes.Methods in io.modelcontextprotocol.spec with parameters of type McpSchema.RoleModifier and TypeMethodDescriptionMcpSchema.CreateMessageResult.Builder.role(McpSchema.Role role) Constructors in io.modelcontextprotocol.spec with parameters of type McpSchema.RoleModifierConstructorDescriptionCreateMessageResult(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.PromptMessage(McpSchema.Role role, McpSchema.Content content) Creates an instance of aPromptMessagerecord class.SamplingMessage(McpSchema.Role role, McpSchema.Content content) Creates an instance of aSamplingMessagerecord class.Constructor parameters in io.modelcontextprotocol.spec with type arguments of type McpSchema.RoleModifierConstructorDescriptionAnnotations(List<McpSchema.Role> audience, Double priority) Creates an instance of aAnnotationsrecord class.EmbeddedResource(List<McpSchema.Role> audience, Double priority, McpSchema.ResourceContents resource) Deprecated.Only exists for backwards-compatibility purposes.ImageContent(List<McpSchema.Role> audience, Double priority, String data, String mimeType) Deprecated.Only exists for backwards-compatibility purposes.TextContent(List<McpSchema.Role> audience, Double priority, String content) Deprecated.Only exists for backwards-compatibility purposes.