public ProtocolBuilder codec(String codec) {
        this.codec = codec;
        return getThis();
    }
@Test
    void codec() {
        ProtocolBuilder builder = new ProtocolBuilder();
        builder.codec("mockcodec");
        Assertions.assertEquals("mockcodec", builder.build().getCodec());
    }