Class PluginProtos.CodeGeneratorRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
com.google.protobuf.compiler.PluginProtos.CodeGeneratorRequest.Builder
All Implemented Interfaces:
PluginProtos.CodeGeneratorRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PluginProtos.CodeGeneratorRequest

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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • getDefaultInstanceForType

      public PluginProtos.CodeGeneratorRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PluginProtos.CodeGeneratorRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • setField

      public PluginProtos.CodeGeneratorRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • clearField

      public PluginProtos.CodeGeneratorRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • clearOneof

      public PluginProtos.CodeGeneratorRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • setRepeatedField

      public PluginProtos.CodeGeneratorRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • addRepeatedField

      public PluginProtos.CodeGeneratorRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • mergeFrom

      public PluginProtos.CodeGeneratorRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • mergeFrom

      public PluginProtos.CodeGeneratorRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PluginProtos.CodeGeneratorRequest.Builder>
      Throws:
      IOException
    • getFileToGenerateList

      public 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;
      Specified by:
      getFileToGenerateList in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Returns:
      A list containing the fileToGenerate.
    • getFileToGenerateCount

      public 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;
      Specified by:
      getFileToGenerateCount in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Returns:
      The count of fileToGenerate.
    • getFileToGenerate

      public 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;
      Specified by:
      getFileToGenerate in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fileToGenerate at the given index.
    • getFileToGenerateBytes

      public 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;
      Specified by:
      getFileToGenerateBytes in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fileToGenerate at the given index.
    • setFileToGenerate

      public PluginProtos.CodeGeneratorRequest.Builder setFileToGenerate(int index, 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;
      Parameters:
      index - The index to set the value at.
      value - The fileToGenerate to set.
      Returns:
      This builder for chaining.
    • addFileToGenerate

      public PluginProtos.CodeGeneratorRequest.Builder addFileToGenerate(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;
      Parameters:
      value - The fileToGenerate to add.
      Returns:
      This builder for chaining.
    • addAllFileToGenerate

      public PluginProtos.CodeGeneratorRequest.Builder addAllFileToGenerate(Iterable<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;
      Parameters:
      values - The fileToGenerate to add.
      Returns:
      This builder for chaining.
    • clearFileToGenerate

      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;
      Returns:
      This builder for chaining.
    • addFileToGenerateBytes

      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;
      Parameters:
      value - The bytes of the fileToGenerate to add.
      Returns:
      This builder for chaining.
    • hasParameter

      public boolean hasParameter()
       The generator parameter passed on the command-line.
       
      optional string parameter = 2;
      Specified by:
      hasParameter in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Returns:
      Whether the parameter field is set.
    • getParameter

      public String getParameter()
       The generator parameter passed on the command-line.
       
      optional string parameter = 2;
      Specified by:
      getParameter in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Returns:
      The parameter.
    • getParameterBytes

      public com.google.protobuf.ByteString getParameterBytes()
       The generator parameter passed on the command-line.
       
      optional string parameter = 2;
      Specified by:
      getParameterBytes in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Returns:
      The bytes for parameter.
    • setParameter

       The generator parameter passed on the command-line.
       
      optional string parameter = 2;
      Parameters:
      value - The parameter to set.
      Returns:
      This builder for chaining.
    • clearParameter

       The generator parameter passed on the command-line.
       
      optional string parameter = 2;
      Returns:
      This builder for chaining.
    • setParameterBytes

      public PluginProtos.CodeGeneratorRequest.Builder setParameterBytes(com.google.protobuf.ByteString value)
       The generator parameter passed on the command-line.
       
      optional string parameter = 2;
      Parameters:
      value - The bytes for parameter to set.
      Returns:
      This builder for chaining.
    • getProtoFileList

      public 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;
      Specified by:
      getProtoFileList in interface PluginProtos.CodeGeneratorRequestOrBuilder
    • getProtoFileCount

      public 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;
      Specified by:
      getProtoFileCount in interface PluginProtos.CodeGeneratorRequestOrBuilder
    • getProtoFile

      public 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;
      Specified by:
      getProtoFile in interface PluginProtos.CodeGeneratorRequestOrBuilder
    • setProtoFile

       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;
    • setProtoFile

       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;
    • addProtoFile

       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;
    • addProtoFile

       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;
    • addProtoFile

       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;
    • addProtoFile

       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;
    • addAllProtoFile

       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;
    • 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;
    • removeProtoFile

      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;
    • getProtoFileBuilder

      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;
    • getProtoFileOrBuilder

      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;
      Specified by:
      getProtoFileOrBuilder in interface PluginProtos.CodeGeneratorRequestOrBuilder
    • getProtoFileOrBuilderList

      public 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;
      Specified by:
      getProtoFileOrBuilderList in interface PluginProtos.CodeGeneratorRequestOrBuilder
    • addProtoFileBuilder

      public 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;
    • addProtoFileBuilder

      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;
    • getProtoFileBuilderList

      public 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;
    • hasCompilerVersion

      public boolean hasCompilerVersion()
       The version number of protocol compiler.
       
      optional .google.protobuf.compiler.Version compiler_version = 3;
      Specified by:
      hasCompilerVersion in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Returns:
      Whether the compilerVersion field is set.
    • getCompilerVersion

      public PluginProtos.Version getCompilerVersion()
       The version number of protocol compiler.
       
      optional .google.protobuf.compiler.Version compiler_version = 3;
      Specified by:
      getCompilerVersion in interface PluginProtos.CodeGeneratorRequestOrBuilder
      Returns:
      The compilerVersion.
    • setCompilerVersion

       The version number of protocol compiler.
       
      optional .google.protobuf.compiler.Version compiler_version = 3;
    • setCompilerVersion

      public PluginProtos.CodeGeneratorRequest.Builder setCompilerVersion(PluginProtos.Version.Builder builderForValue)
       The version number of protocol compiler.
       
      optional .google.protobuf.compiler.Version compiler_version = 3;
    • mergeCompilerVersion

       The version number of protocol compiler.
       
      optional .google.protobuf.compiler.Version compiler_version = 3;
    • clearCompilerVersion

      public PluginProtos.CodeGeneratorRequest.Builder clearCompilerVersion()
       The version number of protocol compiler.
       
      optional .google.protobuf.compiler.Version compiler_version = 3;
    • getCompilerVersionBuilder

      public PluginProtos.Version.Builder getCompilerVersionBuilder()
       The version number of protocol compiler.
       
      optional .google.protobuf.compiler.Version compiler_version = 3;
    • getCompilerVersionOrBuilder

      public PluginProtos.VersionOrBuilder getCompilerVersionOrBuilder()
       The version number of protocol compiler.
       
      optional .google.protobuf.compiler.Version compiler_version = 3;
      Specified by:
      getCompilerVersionOrBuilder in interface PluginProtos.CodeGeneratorRequestOrBuilder
    • setUnknownFields

      public final PluginProtos.CodeGeneratorRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>
    • mergeUnknownFields

      public final PluginProtos.CodeGeneratorRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PluginProtos.CodeGeneratorRequest.Builder>