public List<ShapeId> getTraits() {
        return traits;
    }
Gets the list of shape IDs that protocol implementations must know about
in order to successfully utilize the protocol.

@return Returns the protocol traits.
smithy-model/src/main/java/software/amazon/smithy/model/traits/ProtocolDefinitionTrait.java