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(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(Descriptors.FieldDescriptor field,
                java.lang.Object value)
Like  
setRepeatedField, but appends the value as a new element. | 
PluginProtos.CodeGeneratorRequest | 
build()
Constructs the message based on the state of the Builder. 
 | 
PluginProtos.CodeGeneratorRequest | 
buildPartial()
Like  
MessageLite.Builder.build(), but does not throw an exception if the message is missing required
 fields. | 
PluginProtos.CodeGeneratorRequest.Builder | 
clear()
Called by the initialization and clear code paths to allow subclasses to
 reset any of their builtin fields back to the initial values. 
 | 
PluginProtos.CodeGeneratorRequest.Builder | 
clearCompilerVersion()
 The version number of protocol compiler. 
 | 
PluginProtos.CodeGeneratorRequest.Builder | 
clearField(Descriptors.FieldDescriptor field)
Clears the field. 
 | 
PluginProtos.CodeGeneratorRequest.Builder | 
clearFileToGenerate()
 The .proto files that were explicitly listed on the command-line. 
 | 
PluginProtos.CodeGeneratorRequest.Builder | 
clearOneof(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()
Clones the Builder. 
 | 
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()
Get an instance of the type with no fields set. 
 | 
static Descriptors.Descriptor | 
getDescriptor()  | 
Descriptors.Descriptor | 
getDescriptorForType()
Get the message's type's descriptor. 
 | 
java.lang.String | 
getFileToGenerate(int index)
 The .proto files that were explicitly listed on the command-line. 
 | 
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. 
 | 
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. 
 | 
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. 
 | 
boolean | 
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false
 otherwise. 
 | 
PluginProtos.CodeGeneratorRequest.Builder | 
mergeCompilerVersion(PluginProtos.Version value)
 The version number of protocol compiler. 
 | 
PluginProtos.CodeGeneratorRequest.Builder | 
mergeFrom(CodedInputStream input,
         ExtensionRegistryLite extensionRegistry)
Like  
MessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. | 
PluginProtos.CodeGeneratorRequest.Builder | 
mergeFrom(Message other)
Merge  
other into the message being built. | 
PluginProtos.CodeGeneratorRequest.Builder | 
mergeFrom(PluginProtos.CodeGeneratorRequest other)  | 
PluginProtos.CodeGeneratorRequest.Builder | 
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Merge some unknown fields into the  
UnknownFieldSet for this message. | 
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(Descriptors.FieldDescriptor field,
        java.lang.Object value)
Sets a field to the given 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(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(Descriptors.FieldDescriptor field,
                int index,
                java.lang.Object value)
Sets an element of a repeated field to the given value. 
 | 
PluginProtos.CodeGeneratorRequest.Builder | 
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Set the  
UnknownFieldSet for this message. | 
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForFieldfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringmergeFromequals, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
public PluginProtos.CodeGeneratorRequest.Builder clear()
com.google.protobuf.GeneratedMessageV3.Builderclear in interface Message.Builderclear in interface MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
Message.BuilderMessageOrBuilder.getDescriptorForType().getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated
 message classes in that this method is an abstract method of the MessageLite interface
 whereas getDefaultInstance() is a static method of a specific class. They return the
 same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic PluginProtos.CodeGeneratorRequest build()
MessageLite.Builderbuild in interface Message.Builderbuild in interface MessageLite.Builderpublic PluginProtos.CodeGeneratorRequest buildPartial()
MessageLite.BuilderMessageLite.Builder.build(), but does not throw an exception if the message is missing required
 fields. Instead, a partial message is returned. Subsequent changes to the Builder will not
 affect the returned message.buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic PluginProtos.CodeGeneratorRequest.Builder clone()
MessageLite.Builderclone in interface Message.Builderclone in interface MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>Object.clone()public PluginProtos.CodeGeneratorRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
Message.BuilderMessageOrBuilder.getField(Descriptors.FieldDescriptor) would return.setField in interface Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Message.BuilderclearField in interface Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
AbstractMessage.BuilderclearOneof in interface Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Message.BuilderMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int) would return.setRepeatedField in interface Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
Message.BuildersetRepeatedField, but appends the value as a new element.addRepeatedField in interface Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder mergeFrom(Message other)
Message.Builderother into the message being built. other must have the exact same type
 as this (i.e. getDescriptorForType() == other.getDescriptorForType()).
 Merging occurs as follows. For each field:
 * For singular primitive fields, if the field is set in other, then other's
 value overwrites the value in this message.
 * For singular message fields, if the field is set in other, it is merged into the
 corresponding sub-message of this message using the same merging rules.
 * For repeated fields, the elements in other are concatenated with the elements in
 this message.
 * For oneof groups, if the other message has one of the fields set, the group of this message
 is cleared and replaced by the field of the other message, so that the oneof constraint is
 preserved.
 
This is equivalent to the Message::MergeFrom method in C++.
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder mergeFrom(PluginProtos.CodeGeneratorRequest other)
public final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public PluginProtos.CodeGeneratorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
MessageLite.BuilderMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions
 that you want to be able to parse must be registered in extensionRegistry. Extensions
 not in the registry will be treated as unknown fields.mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<PluginProtos.CodeGeneratorRequest.Builder>java.io.IOExceptionpublic 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.CodeGeneratorRequestOrBuilderindex - The index of the element to return.public 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.CodeGeneratorRequestOrBuilderindex - The index of the value to return.public 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;index - The index to set the value at.value - The fileToGenerate to set.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;value - The fileToGenerate to add.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;values - The fileToGenerate to add.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(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;value - The bytes of the fileToGenerate to add.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 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;value - The parameter to set.public PluginProtos.CodeGeneratorRequest.Builder clearParameter()
The generator parameter passed on the command-line.
optional string parameter = 2;public PluginProtos.CodeGeneratorRequest.Builder setParameterBytes(ByteString value)
The generator parameter passed on the command-line.
optional string parameter = 2;value - The bytes for parameter to set.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)
Message.BuilderUnknownFieldSet for this message.setUnknownFields in interface Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>public final PluginProtos.CodeGeneratorRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Message.BuilderUnknownFieldSet for this message.mergeUnknownFields in interface Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>