Class Writer
java.lang.Object
com.google.api.generator.gapic.protowriter.Writer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.protobuf.compiler.PluginProtos.CodeGeneratorResponse -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.protobuf.compiler.PluginProtos.CodeGeneratorResponsewrite(GapicContext context, List<GapicClass> clazzes, GapicPackageInfo gapicPackageInfo, List<ReflectConfig> reflectConfigInfo, String outputFilePath) protected static com.google.protobuf.compiler.PluginProtos.CodeGeneratorResponsewrite(GapicContext context, List<GapicClass> clazzes, GapicPackageInfo gapicPackageInfo, List<ReflectConfig> reflectConfigInfo, String outputFilePath, JarOutputStream jos, com.google.protobuf.ByteString.Output output)
-
Field Details
-
EMPTY_RESPONSE
public static final com.google.protobuf.compiler.PluginProtos.CodeGeneratorResponse EMPTY_RESPONSE
-
-
Constructor Details
-
Writer
public Writer()
-
-
Method Details
-
write
protected static com.google.protobuf.compiler.PluginProtos.CodeGeneratorResponse write(GapicContext context, List<GapicClass> clazzes, GapicPackageInfo gapicPackageInfo, List<ReflectConfig> reflectConfigInfo, String outputFilePath, JarOutputStream jos, com.google.protobuf.ByteString.Output output) throws IOException - Throws:
IOException
-
write
public static com.google.protobuf.compiler.PluginProtos.CodeGeneratorResponse write(GapicContext context, List<GapicClass> clazzes, GapicPackageInfo gapicPackageInfo, List<ReflectConfig> reflectConfigInfo, String outputFilePath)
-