AgentEndpointProtocol Class

public final class AgentEndpointProtocol
extends ExpandableStringEnum<AgentEndpointProtocol>

Defines values for AgentEndpointProtocol.

Field Summary

Modifier and Type Field and Description
static final AgentEndpointProtocol A2A

Static value a2a for AgentEndpointProtocol.

static final AgentEndpointProtocol ACTIVITY

Static value activity for AgentEndpointProtocol.

static final AgentEndpointProtocol INVOCATIONS

Static value invocations for AgentEndpointProtocol.

static final AgentEndpointProtocol INVOCATIONS_WS

WebSocket-based protocol for hosted voice and real-time streaming agents.

static final AgentEndpointProtocol MCP

Static value mcp for AgentEndpointProtocol.

static final AgentEndpointProtocol RESPONSES

Static value responses for AgentEndpointProtocol.

static final AgentEndpointProtocol VOICE

Static value voice for AgentEndpointProtocol.

static final AgentEndpointProtocol 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 AgentEndpointProtocol value.

Method Summary

Modifier and Type Method and Description
static AgentEndpointProtocol fromString(String name)

Creates or finds a AgentEndpointProtocol from its string representation.

static Collection<AgentEndpointProtocol> values()

Gets known AgentEndpointProtocol values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding AgentEndpointProtocol.

values

public static Collection<AgentEndpointProtocol> values()

Gets known AgentEndpointProtocol values.

Returns:

known AgentEndpointProtocol values.

Applies to