// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package azure.clientgenerator.core.exactname.enumvalue.models;

import com.azure.core.annotation.Generated;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Defines values for AgentEndpointProtocol.
 */
public final class AgentEndpointProtocol extends ExpandableStringEnum<AgentEndpointProtocol> {
    /**
     * Static value activity for AgentEndpointProtocol.
     */
    @Generated
    public static final AgentEndpointProtocol ACTIVITY = fromString("activity");

    /**
     * Static value responses for AgentEndpointProtocol.
     */
    @Generated
    public static final AgentEndpointProtocol RESPONSES = fromString("responses");

    /**
     * Static value a2a for AgentEndpointProtocol.
     */
    @Generated
    public static final AgentEndpointProtocol A2A = fromString("a2a");

    /**
     * Static value mcp for AgentEndpointProtocol.
     */
    @Generated
    public static final AgentEndpointProtocol MCP = fromString("mcp");

    /**
     * Creates a new instance of AgentEndpointProtocol value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Generated
    @Deprecated
    public AgentEndpointProtocol() {
    }

    /**
     * Creates or finds a AgentEndpointProtocol from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding AgentEndpointProtocol.
     */
    @Generated
    public static AgentEndpointProtocol fromString(String name) {
        return fromString(name, AgentEndpointProtocol.class);
    }

    /**
     * Gets known AgentEndpointProtocol values.
     * 
     * @return known AgentEndpointProtocol values.
     */
    @Generated
    public static Collection<AgentEndpointProtocol> values() {
        return values(AgentEndpointProtocol.class);
    }
}
