public static interface PluginProtos.CodeGeneratorResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getError()
optional string error = 1; |
ByteString |
getErrorBytes()
optional string error = 1; |
PluginProtos.CodeGeneratorResponse.File |
getFile(int index)
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; |
int |
getFileCount()
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; |
List<PluginProtos.CodeGeneratorResponse.File> |
getFileList()
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; |
PluginProtos.CodeGeneratorResponse.FileOrBuilder |
getFileOrBuilder(int index)
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; |
List<? extends PluginProtos.CodeGeneratorResponse.FileOrBuilder> |
getFileOrBuilderList()
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; |
boolean |
hasError()
optional string error = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasError()
optional string error = 1;
Error message. If non-empty, code generation failed. The plugin process should exit with status code zero even if it reports an error in this way. This should be used to indicate errors in .proto files which prevent the code generator from generating correct code. Errors which indicate a problem in protoc itself -- such as the input CodeGeneratorRequest being unparseable -- should be reported by writing a message to stderr and exiting with a non-zero status code.
String getError()
optional string error = 1;
Error message. If non-empty, code generation failed. The plugin process should exit with status code zero even if it reports an error in this way. This should be used to indicate errors in .proto files which prevent the code generator from generating correct code. Errors which indicate a problem in protoc itself -- such as the input CodeGeneratorRequest being unparseable -- should be reported by writing a message to stderr and exiting with a non-zero status code.
ByteString getErrorBytes()
optional string error = 1;
Error message. If non-empty, code generation failed. The plugin process should exit with status code zero even if it reports an error in this way. This should be used to indicate errors in .proto files which prevent the code generator from generating correct code. Errors which indicate a problem in protoc itself -- such as the input CodeGeneratorRequest being unparseable -- should be reported by writing a message to stderr and exiting with a non-zero status code.
List<PluginProtos.CodeGeneratorResponse.File> getFileList()
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
PluginProtos.CodeGeneratorResponse.File getFile(int index)
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
int getFileCount()
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
List<? extends PluginProtos.CodeGeneratorResponse.FileOrBuilder> getFileOrBuilderList()
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
PluginProtos.CodeGeneratorResponse.FileOrBuilder getFileOrBuilder(int index)
repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
Copyright © 2008–2016 Google. All rights reserved.