java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
io.envoyproxy.envoy.extensions.filters.http.mcp_router.v3.McpRouter.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, McpRouterOrBuilder, Cloneable
Enclosing class:
McpRouter

public static final class McpRouter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder> implements McpRouterOrBuilder
Protobuf type envoy.extensions.filters.http.mcp_router.v3.McpRouter
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • clear

      public McpRouter.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • getDefaultInstanceForType

      public McpRouter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public McpRouter build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public McpRouter buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public McpRouter.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • setField

      public McpRouter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • clearField

      public McpRouter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • clearOneof

      public McpRouter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • setRepeatedField

      public McpRouter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • addRepeatedField

      public McpRouter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • mergeFrom

      public McpRouter.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<McpRouter.Builder>
    • mergeFrom

      public McpRouter.Builder mergeFrom(McpRouter other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • mergeFrom

      public McpRouter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<McpRouter.Builder>
      Throws:
      IOException
    • getServersList

      public List<McpRouter.McpBackend> getServersList()
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
      Specified by:
      getServersList in interface McpRouterOrBuilder
    • getServersCount

      public int getServersCount()
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
      Specified by:
      getServersCount in interface McpRouterOrBuilder
    • getServers

      public McpRouter.McpBackend getServers(int index)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
      Specified by:
      getServers in interface McpRouterOrBuilder
    • setServers

      public McpRouter.Builder setServers(int index, McpRouter.McpBackend value)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • setServers

      public McpRouter.Builder setServers(int index, McpRouter.McpBackend.Builder builderForValue)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • addServers

      public McpRouter.Builder addServers(McpRouter.McpBackend value)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • addServers

      public McpRouter.Builder addServers(int index, McpRouter.McpBackend value)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • addServers

      public McpRouter.Builder addServers(McpRouter.McpBackend.Builder builderForValue)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • addServers

      public McpRouter.Builder addServers(int index, McpRouter.McpBackend.Builder builderForValue)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • addAllServers

      public McpRouter.Builder addAllServers(Iterable<? extends McpRouter.McpBackend> values)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • clearServers

      public McpRouter.Builder clearServers()
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • removeServers

      public McpRouter.Builder removeServers(int index)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • getServersBuilder

      public McpRouter.McpBackend.Builder getServersBuilder(int index)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • getServersOrBuilder

      public McpRouter.McpBackendOrBuilder getServersOrBuilder(int index)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
      Specified by:
      getServersOrBuilder in interface McpRouterOrBuilder
    • getServersOrBuilderList

      public List<? extends McpRouter.McpBackendOrBuilder> getServersOrBuilderList()
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
      Specified by:
      getServersOrBuilderList in interface McpRouterOrBuilder
    • addServersBuilder

      public McpRouter.McpBackend.Builder addServersBuilder()
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • addServersBuilder

      public McpRouter.McpBackend.Builder addServersBuilder(int index)
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • getServersBuilderList

      public List<McpRouter.McpBackend.Builder> getServersBuilderList()
       A list of remote MCP servers. MCP router aggregates capabilities, tools and resources from remote MCP servers
       and presents itself as single MCP server to the client. All remote MCP servers are sent the same capabilities
       that the client presented to Envoy.
       
      repeated .envoy.extensions.filters.http.mcp_router.v3.McpRouter.McpBackend servers = 1;
    • hasSessionIdentity

      public boolean hasSessionIdentity()
       If set, extracts a request "subject" and binds it into the MCP session.
       If not set, sessions are created without identity binding.
       
      .envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
      Specified by:
      hasSessionIdentity in interface McpRouterOrBuilder
      Returns:
      Whether the sessionIdentity field is set.
    • getSessionIdentity

      public SessionIdentity getSessionIdentity()
       If set, extracts a request "subject" and binds it into the MCP session.
       If not set, sessions are created without identity binding.
       
      .envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
      Specified by:
      getSessionIdentity in interface McpRouterOrBuilder
      Returns:
      The sessionIdentity.
    • setSessionIdentity

      public McpRouter.Builder setSessionIdentity(SessionIdentity value)
       If set, extracts a request "subject" and binds it into the MCP session.
       If not set, sessions are created without identity binding.
       
      .envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
    • setSessionIdentity

      public McpRouter.Builder setSessionIdentity(SessionIdentity.Builder builderForValue)
       If set, extracts a request "subject" and binds it into the MCP session.
       If not set, sessions are created without identity binding.
       
      .envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
    • mergeSessionIdentity

      public McpRouter.Builder mergeSessionIdentity(SessionIdentity value)
       If set, extracts a request "subject" and binds it into the MCP session.
       If not set, sessions are created without identity binding.
       
      .envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
    • clearSessionIdentity

      public McpRouter.Builder clearSessionIdentity()
       If set, extracts a request "subject" and binds it into the MCP session.
       If not set, sessions are created without identity binding.
       
      .envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
    • getSessionIdentityBuilder

      public SessionIdentity.Builder getSessionIdentityBuilder()
       If set, extracts a request "subject" and binds it into the MCP session.
       If not set, sessions are created without identity binding.
       
      .envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
    • getSessionIdentityOrBuilder

      public SessionIdentityOrBuilder getSessionIdentityOrBuilder()
       If set, extracts a request "subject" and binds it into the MCP session.
       If not set, sessions are created without identity binding.
       
      .envoy.extensions.filters.http.mcp_router.v3.SessionIdentity session_identity = 2;
      Specified by:
      getSessionIdentityOrBuilder in interface McpRouterOrBuilder
    • setUnknownFields

      public final McpRouter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>
    • mergeUnknownFields

      public final McpRouter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<McpRouter.Builder>