pub fn new() -> Self {
        Self { _pd: PhantomData }
    }
Configure a ProstCodec with encoder/decoder buffer settings. This is used to control
how memory is allocated and grows per RPC.
tonic/src/codec/prost.rs