Kinesis plugin and google_pubsub plugin conflict when logstash configured with both conf's

When i have logstash configured for both kinesis and google pub sub, logstash does not start
gives this error
java.lang.NoClassDefFoundError: com/google/protobuf/GeneratedMessageV3

When i remove the kinesis conf file then it loads, plz advise

Did some debugging found that if we load the google pubsub before the kineses , name the conf file
google_pub_sub.conf and kinesis kinesis.conf.

Then both work