@Override
    public void write(DocWriter writer, String previousText, ProtocolSection section) {
        var trait = section.shape().getMemberTrait(section.context().model(), getTraitClass()).get();
        write(writer, previousText, section, trait);
    }
@return returns the shape id of the protocol trait.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/interceptors/ProtocolTraitInterceptor.java