code: public Descriptor replaceAllMessageSerializers(PMap<Type, MessageSerializer<?, ?>> messageSerializers) {
          return new Descriptor(name, calls, pathParamSerializers, messageSerializers, serializerFactory, exceptionSerializer, autoAcl, acls, headerFilter, locatableService, circuitBreaker, topicCalls);
      }
docs: Replace all the message serializers registered with this descriptor with the the given message serializers.
  
  @param messageSerializers The message serializers to replace the existing ones with.
  @return A copy of this descriptor with the new message serializers.