docs: public AdvancedNetworkConfig setRestEndpointConfig(RestServerEndpointConfig restServerEndpointConfig) {
          restServerEndpointConfig.setProtocolType(ProtocolType.REST);
          endpointConfigs.put(REST, restServerEndpointConfig);
          return this;
      }