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()Returns the value of theaudiencerecord component.McpSchema.ImageContent.audience()Returns the value of theaudiencerecord component.McpSchema.TextContent.audience()Returns the value of theaudiencerecord component.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) 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) Creates an instance of aEmbeddedResourcerecord class.ImageContent(List<McpSchema.Role> audience, Double priority, String data, String mimeType) Creates an instance of aImageContentrecord class.TextContent(List<McpSchema.Role> audience, Double priority, String text) Creates an instance of aTextContentrecord class.