Closed
Description
The generator should return normally with no-op when there's no service in protos.
For example: when generating from google/cloud/alloydb/connectors/v1alpha
, the generator exited with the following error:
Exception in thread "main" java.lang.IllegalStateException: No services found to generate
at com.google.common.base.Preconditions.checkState(Preconditions.java:512)
at com.google.api.generator.gapic.protoparser.Parser.parse(Parser.java:172)
at com.google.api.generator.gapic.Generator.generateGapic(Generator.java:30)
at com.google.api.generator.Main.main(Main.java:28)
--java_gapic_out: protoc-gen-java_gapic: Plugin failed with status code 1.