code: public AdvancedNetworkConfig setMemcacheEndpointConfig(ServerSocketEndpointConfig memcacheEndpointConfig) {
          memcacheEndpointConfig.setProtocolType(ProtocolType.MEMCACHE);
          endpointConfigs.put(MEMCACHE, memcacheEndpointConfig);
          return this;
      }
docs: Sets the server socket endpoint config for {@link ProtocolType#MEMCACHE memcache} protocol. If another
  {@code ServerSocketEndpointConfig} was previously set, it will be replaced.
  
  @param memcacheEndpointConfig the server socket endpoint configuration
  @return this object for fluent chaining