public static final class PluginProtos.CodeGeneratorRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder> implements PluginProtos.CodeGeneratorRequestOrBuilder
An encoded CodeGeneratorRequest is written to the plugin's stdin.Protobuf type
google.protobuf.compiler.CodeGeneratorRequest| Modifier and Type | Method and Description |
|---|---|
PluginProtos.CodeGeneratorRequest.Builder |
addAllFileToGenerate(java.lang.Iterable<java.lang.String> values)
The .proto files that were explicitly listed on the command-line.
|
PluginProtos.CodeGeneratorRequest.Builder |
addAllProtoFile(java.lang.Iterable<? extends DescriptorProtos.FileDescriptorProto> values)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
addFileToGenerate(java.lang.String value)
The .proto files that were explicitly listed on the command-line.
|
PluginProtos.CodeGeneratorRequest.Builder |
addFileToGenerateBytes(com.google.protobuf.ByteString value)
The .proto files that were explicitly listed on the command-line.
|
PluginProtos.CodeGeneratorRequest.Builder |
addProtoFile(DescriptorProtos.FileDescriptorProto.Builder builderForValue)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
addProtoFile(DescriptorProtos.FileDescriptorProto value)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
addProtoFile(int index,
DescriptorProtos.FileDescriptorProto.Builder builderForValue)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
addProtoFile(int index,
DescriptorProtos.FileDescriptorProto value)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
DescriptorProtos.FileDescriptorProto.Builder |
addProtoFileBuilder()
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
DescriptorProtos.FileDescriptorProto.Builder |
addProtoFileBuilder(int index)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PluginProtos.CodeGeneratorRequest |
build() |
PluginProtos.CodeGeneratorRequest |
buildPartial() |
PluginProtos.CodeGeneratorRequest.Builder |
clear() |
PluginProtos.CodeGeneratorRequest.Builder |
clearCompilerVersion()
The version number of protocol compiler.
|
PluginProtos.CodeGeneratorRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PluginProtos.CodeGeneratorRequest.Builder |
clearFileToGenerate()
The .proto files that were explicitly listed on the command-line.
|
PluginProtos.CodeGeneratorRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PluginProtos.CodeGeneratorRequest.Builder |
clearParameter()
The generator parameter passed on the command-line.
|
PluginProtos.CodeGeneratorRequest.Builder |
clearProtoFile()
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
clone() |
PluginProtos.Version |
getCompilerVersion()
The version number of protocol compiler.
|
PluginProtos.Version.Builder |
getCompilerVersionBuilder()
The version number of protocol compiler.
|
PluginProtos.VersionOrBuilder |
getCompilerVersionOrBuilder()
The version number of protocol compiler.
|
PluginProtos.CodeGeneratorRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFileToGenerate(int index)
The .proto files that were explicitly listed on the command-line.
|
com.google.protobuf.ByteString |
getFileToGenerateBytes(int index)
The .proto files that were explicitly listed on the command-line.
|
int |
getFileToGenerateCount()
The .proto files that were explicitly listed on the command-line.
|
com.google.protobuf.ProtocolStringList |
getFileToGenerateList()
The .proto files that were explicitly listed on the command-line.
|
java.lang.String |
getParameter()
The generator parameter passed on the command-line.
|
com.google.protobuf.ByteString |
getParameterBytes()
The generator parameter passed on the command-line.
|
DescriptorProtos.FileDescriptorProto |
getProtoFile(int index)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
DescriptorProtos.FileDescriptorProto.Builder |
getProtoFileBuilder(int index)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
java.util.List<DescriptorProtos.FileDescriptorProto.Builder> |
getProtoFileBuilderList()
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
int |
getProtoFileCount()
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
java.util.List<DescriptorProtos.FileDescriptorProto> |
getProtoFileList()
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
DescriptorProtos.FileDescriptorProtoOrBuilder |
getProtoFileOrBuilder(int index)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
java.util.List<? extends DescriptorProtos.FileDescriptorProtoOrBuilder> |
getProtoFileOrBuilderList()
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
boolean |
hasCompilerVersion()
The version number of protocol compiler.
|
boolean |
hasParameter()
The generator parameter passed on the command-line.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PluginProtos.CodeGeneratorRequest.Builder |
mergeCompilerVersion(PluginProtos.Version value)
The version number of protocol compiler.
|
PluginProtos.CodeGeneratorRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PluginProtos.CodeGeneratorRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
PluginProtos.CodeGeneratorRequest.Builder |
mergeFrom(PluginProtos.CodeGeneratorRequest other) |
PluginProtos.CodeGeneratorRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PluginProtos.CodeGeneratorRequest.Builder |
removeProtoFile(int index)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
setCompilerVersion(PluginProtos.Version.Builder builderForValue)
The version number of protocol compiler.
|
PluginProtos.CodeGeneratorRequest.Builder |
setCompilerVersion(PluginProtos.Version value)
The version number of protocol compiler.
|
PluginProtos.CodeGeneratorRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PluginProtos.CodeGeneratorRequest.Builder |
setFileToGenerate(int index,
java.lang.String value)
The .proto files that were explicitly listed on the command-line.
|
PluginProtos.CodeGeneratorRequest.Builder |
setParameter(java.lang.String value)
The generator parameter passed on the command-line.
|
PluginProtos.CodeGeneratorRequest.Builder |
setParameterBytes(com.google.protobuf.ByteString value)
The generator parameter passed on the command-line.
|
PluginProtos.CodeGeneratorRequest.Builder |
setProtoFile(int index,
DescriptorProtos.FileDescriptorProto.Builder builderForValue)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
setProtoFile(int index,
DescriptorProtos.FileDescriptorProto value)
FileDescriptorProtos for all files in files_to_generate and everything
they import.
|
PluginProtos.CodeGeneratorRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
PluginProtos.CodeGeneratorRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PluginProtos.CodeGeneratorRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PluginProtos.CodeGeneratorRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PluginProtos.CodeGeneratorRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder mergeFrom(PluginProtos.CodeGeneratorRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PluginProtos.CodeGeneratorRequest.Builder>java.io.IOExceptionpublic com.google.protobuf.ProtocolStringList getFileToGenerateList()
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;getFileToGenerateList in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic int getFileToGenerateCount()
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;getFileToGenerateCount in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic java.lang.String getFileToGenerate(int index)
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;getFileToGenerate in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic com.google.protobuf.ByteString getFileToGenerateBytes(int index)
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;getFileToGenerateBytes in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic PluginProtos.CodeGeneratorRequest.Builder setFileToGenerate(int index, java.lang.String value)
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;public PluginProtos.CodeGeneratorRequest.Builder addFileToGenerate(java.lang.String value)
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;public PluginProtos.CodeGeneratorRequest.Builder addAllFileToGenerate(java.lang.Iterable<java.lang.String> values)
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;public PluginProtos.CodeGeneratorRequest.Builder clearFileToGenerate()
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;public PluginProtos.CodeGeneratorRequest.Builder addFileToGenerateBytes(com.google.protobuf.ByteString value)
The .proto files that were explicitly listed on the command-line. The code generator should generate code only for these files. Each file's descriptor will be included in proto_file, below.
repeated string file_to_generate = 1;public boolean hasParameter()
The generator parameter passed on the command-line.
optional string parameter = 2;hasParameter in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic java.lang.String getParameter()
The generator parameter passed on the command-line.
optional string parameter = 2;getParameter in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic com.google.protobuf.ByteString getParameterBytes()
The generator parameter passed on the command-line.
optional string parameter = 2;getParameterBytes in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic PluginProtos.CodeGeneratorRequest.Builder setParameter(java.lang.String value)
The generator parameter passed on the command-line.
optional string parameter = 2;public PluginProtos.CodeGeneratorRequest.Builder clearParameter()
The generator parameter passed on the command-line.
optional string parameter = 2;public PluginProtos.CodeGeneratorRequest.Builder setParameterBytes(com.google.protobuf.ByteString value)
The generator parameter passed on the command-line.
optional string parameter = 2;public java.util.List<DescriptorProtos.FileDescriptorProto> getProtoFileList()
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;getProtoFileList in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic int getProtoFileCount()
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;getProtoFileCount in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic DescriptorProtos.FileDescriptorProto getProtoFile(int index)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;getProtoFile in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic PluginProtos.CodeGeneratorRequest.Builder setProtoFile(int index, DescriptorProtos.FileDescriptorProto value)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public PluginProtos.CodeGeneratorRequest.Builder setProtoFile(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public PluginProtos.CodeGeneratorRequest.Builder addProtoFile(DescriptorProtos.FileDescriptorProto value)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public PluginProtos.CodeGeneratorRequest.Builder addProtoFile(int index, DescriptorProtos.FileDescriptorProto value)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public PluginProtos.CodeGeneratorRequest.Builder addProtoFile(DescriptorProtos.FileDescriptorProto.Builder builderForValue)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public PluginProtos.CodeGeneratorRequest.Builder addProtoFile(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public PluginProtos.CodeGeneratorRequest.Builder addAllProtoFile(java.lang.Iterable<? extends DescriptorProtos.FileDescriptorProto> values)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public PluginProtos.CodeGeneratorRequest.Builder clearProtoFile()
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public PluginProtos.CodeGeneratorRequest.Builder removeProtoFile(int index)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public DescriptorProtos.FileDescriptorProto.Builder getProtoFileBuilder(int index)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public DescriptorProtos.FileDescriptorProtoOrBuilder getProtoFileOrBuilder(int index)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;getProtoFileOrBuilder in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic java.util.List<? extends DescriptorProtos.FileDescriptorProtoOrBuilder> getProtoFileOrBuilderList()
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;getProtoFileOrBuilderList in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder addProtoFileBuilder()
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public DescriptorProtos.FileDescriptorProto.Builder addProtoFileBuilder(int index)
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public java.util.List<DescriptorProtos.FileDescriptorProto.Builder> getProtoFileBuilderList()
FileDescriptorProtos for all files in files_to_generate and everything they import. The files will appear in topological order, so each file appears before any file that imports it. protoc guarantees that all proto_files will be written after the fields above, even though this is not technically guaranteed by the protobuf wire format. This theoretically could allow a plugin to stream in the FileDescriptorProtos and handle them one by one rather than read the entire set into memory at once. However, as of this writing, this is not similarly optimized on protoc's end -- it will store all fields in memory at once before sending them to the plugin. Type names of fields and extensions in the FileDescriptorProto are always fully qualified.
repeated .google.protobuf.FileDescriptorProto proto_file = 15;public boolean hasCompilerVersion()
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3;hasCompilerVersion in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic PluginProtos.Version getCompilerVersion()
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3;getCompilerVersion in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic PluginProtos.CodeGeneratorRequest.Builder setCompilerVersion(PluginProtos.Version value)
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3;public PluginProtos.CodeGeneratorRequest.Builder setCompilerVersion(PluginProtos.Version.Builder builderForValue)
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3;public PluginProtos.CodeGeneratorRequest.Builder mergeCompilerVersion(PluginProtos.Version value)
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3;public PluginProtos.CodeGeneratorRequest.Builder clearCompilerVersion()
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3;public PluginProtos.Version.Builder getCompilerVersionBuilder()
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3;public PluginProtos.VersionOrBuilder getCompilerVersionOrBuilder()
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3;getCompilerVersionOrBuilder in interface PluginProtos.CodeGeneratorRequestOrBuilderpublic final PluginProtos.CodeGeneratorRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public final PluginProtos.CodeGeneratorRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>