public MessageProtocol withVersion ( String version ) { return new MessageProtocol ( contentType , charset , Optional . ofNullable ( version ) ) ; }
Return a copy of this message protocol with the version set to the given version .