11// This file is @generated by prost-build.
22/// The version number of protocol compiler.
3+ #[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
34#[ derive( Clone , PartialEq , :: prost:: Message ) ]
45pub struct Version {
56 #[ prost( int32, optional, tag = "1" ) ]
@@ -14,6 +15,7 @@ pub struct Version {
1415 pub suffix : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
1516}
1617/// An encoded CodeGeneratorRequest is written to the plugin's stdin.
18+ #[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
1719#[ derive( Clone , PartialEq , :: prost:: Message ) ]
1820pub struct CodeGeneratorRequest {
1921 /// The .proto files that were explicitly listed on the command-line. The
@@ -45,6 +47,7 @@ pub struct CodeGeneratorRequest {
4547 pub compiler_version : :: core:: option:: Option < Version > ,
4648}
4749/// The plugin writes an encoded CodeGeneratorResponse to stdout.
50+ #[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
4851#[ derive( Clone , PartialEq , :: prost:: Message ) ]
4952pub struct CodeGeneratorResponse {
5053 /// Error message. If non-empty, code generation failed. The plugin process
@@ -67,6 +70,7 @@ pub struct CodeGeneratorResponse {
6770/// Nested message and enum types in `CodeGeneratorResponse`.
6871pub mod code_generator_response {
6972 /// Represents a single generated file.
73+ #[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
7074 #[ derive( Clone , PartialEq , :: prost:: Message ) ]
7175 pub struct File {
7276 /// The file name, relative to the output directory. The name must not
@@ -131,6 +135,7 @@ pub mod code_generator_response {
131135 pub generated_code_info : :: core:: option:: Option < super :: super :: GeneratedCodeInfo > ,
132136 }
133137 /// Sync with code_generator.h.
138+ #[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
134139 #[ derive(
135140 Clone ,
136141 Copy ,
0 commit comments