AgentEndpointProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. models. AgentEndpointProtocol
- com.
- com.
public final class AgentEndpointProtocol
extends ExpandableStringEnum<AgentEndpointProtocol>
Defines values for AgentEndpointProtocol.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Agent |
A2A
Static value a2a for Agent |
|
static final
Agent |
ACTIVITY
Static value activity for Agent |
|
static final
Agent |
INVOCATIONS
Static value invocations for Agent |
|
static final
Agent |
INVOCATIONS_WS
Web |
|
static final
Agent |
MCP
Static value mcp for Agent |
|
static final
Agent |
RESPONSES
Static value responses for Agent |
|
static final
Agent |
VOICE
Static value voice for Agent |
|
static final
Agent |
VOICE_CONVERSATION_ENGINE
Text conversation protocol for a hosted agent used by Voice Live Bridge. |
Constructor Summary
| Constructor | Description |
|---|---|
| AgentEndpointProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromString(String name)
Creates or finds a Agent |
|
static
Collection<Agent |
values()
Gets known Agent |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
A2A
public static final AgentEndpointProtocol A2A
Static value a2a for AgentEndpointProtocol.
ACTIVITY
public static final AgentEndpointProtocol ACTIVITY
Static value activity for AgentEndpointProtocol.
INVOCATIONS
public static final AgentEndpointProtocol INVOCATIONS
Static value invocations for AgentEndpointProtocol.
INVOCATIONS_WS
public static final AgentEndpointProtocol INVOCATIONS_WS
WebSocket-based protocol for hosted voice and real-time streaming agents.
MCP
public static final AgentEndpointProtocol MCP
Static value mcp for AgentEndpointProtocol.
RESPONSES
public static final AgentEndpointProtocol RESPONSES
Static value responses for AgentEndpointProtocol.
VOICE
public static final AgentEndpointProtocol VOICE
Static value voice for AgentEndpointProtocol.
VOICE_CONVERSATION_ENGINE
public static final AgentEndpointProtocol VOICE_CONVERSATION_ENGINE
Text conversation protocol for a hosted agent used by Voice Live Bridge. Declare version `1.0.0`; audio transport remains outside this protocol.
Constructor Details
AgentEndpointProtocol
@Deprecated
public AgentEndpointProtocol()
Deprecated
Creates a new instance of AgentEndpointProtocol value.
Method Details
fromString
public static AgentEndpointProtocol fromString(String name)
Creates or finds a AgentEndpointProtocol from its string representation.
Parameters:
Returns:
values
public static Collection<AgentEndpointProtocol> values()
Gets known AgentEndpointProtocol values.
Returns: