Package com.google.protobuf.compiler
Class PluginProtos.CodeGeneratorRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<PluginProtos.CodeGeneratorRequest,PluginProtos.CodeGeneratorRequest.Builder>
com.google.protobuf.compiler.PluginProtos.CodeGeneratorRequest.Builder
- All Implemented Interfaces:
PluginProtos.CodeGeneratorRequestOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- PluginProtos.CodeGeneratorRequest
public static final class PluginProtos.CodeGeneratorRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<PluginProtos.CodeGeneratorRequest,PluginProtos.CodeGeneratorRequest.Builder>
implements PluginProtos.CodeGeneratorRequestOrBuilder
An encoded CodeGeneratorRequest is written to the plugin's stdin.Protobuf type
google.protobuf.compiler.CodeGeneratorRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllFileToGenerate(Iterable<String> values) The .proto files that were explicitly listed on the command-line.addAllProtoFile(Iterable<? extends DescriptorProtos.FileDescriptorProto> values) FileDescriptorProtos for all files in files_to_generate and everything they import.addAllSourceFileDescriptors(Iterable<? extends DescriptorProtos.FileDescriptorProto> values) File descriptors with all options, including source-retention options.addFileToGenerate(String value) The .proto files that were explicitly listed on the command-line.addFileToGenerateBytes(com.google.protobuf.ByteString value) The .proto files that were explicitly listed on the command-line.addProtoFile(int index, DescriptorProtos.FileDescriptorProto value) FileDescriptorProtos for all files in files_to_generate and everything they import.addProtoFile(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) FileDescriptorProtos for all files in files_to_generate and everything they import.FileDescriptorProtos for all files in files_to_generate and everything they import.addProtoFile(DescriptorProtos.FileDescriptorProto.Builder builderForValue) FileDescriptorProtos for all files in files_to_generate and everything they import.addSourceFileDescriptors(int index, DescriptorProtos.FileDescriptorProto value) File descriptors with all options, including source-retention options.addSourceFileDescriptors(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) File descriptors with all options, including source-retention options.File descriptors with all options, including source-retention options.addSourceFileDescriptors(DescriptorProtos.FileDescriptorProto.Builder builderForValue) File descriptors with all options, including source-retention options.The version number of protocol compiler.The .proto files that were explicitly listed on the command-line.The generator parameter passed on the command-line.FileDescriptorProtos for all files in files_to_generate and everything they import.File descriptors with all options, including source-retention options.The version number of protocol compiler.getFileToGenerate(int index) The .proto files that were explicitly listed on the command-line.com.google.protobuf.ByteStringgetFileToGenerateBytes(int index) The .proto files that were explicitly listed on the command-line.intThe .proto files that were explicitly listed on the command-line.The .proto files that were explicitly listed on the command-line.The generator parameter passed on the command-line.com.google.protobuf.ByteStringThe generator parameter passed on the command-line.getProtoFile(int index) FileDescriptorProtos for all files in files_to_generate and everything they import.intFileDescriptorProtos for all files in files_to_generate and everything they import.FileDescriptorProtos for all files in files_to_generate and everything they import.getSourceFileDescriptors(int index) File descriptors with all options, including source-retention options.intFile descriptors with all options, including source-retention options.File descriptors with all options, including source-retention options.booleanThe version number of protocol compiler.booleanThe generator parameter passed on the command-line.The version number of protocol compiler.removeProtoFile(int index) FileDescriptorProtos for all files in files_to_generate and everything they import.removeSourceFileDescriptors(int index) File descriptors with all options, including source-retention options.The version number of protocol compiler.setCompilerVersion(PluginProtos.Version.Builder builderForValue) The version number of protocol compiler.setFileToGenerate(int index, String value) The .proto files that were explicitly listed on the command-line.setParameter(String value) The generator parameter passed on the command-line.setParameterBytes(com.google.protobuf.ByteString value) The generator parameter passed on the command-line.setProtoFile(int index, DescriptorProtos.FileDescriptorProto value) FileDescriptorProtos for all files in files_to_generate and everything they import.setProtoFile(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) FileDescriptorProtos for all files in files_to_generate and everything they import.setSourceFileDescriptors(int index, DescriptorProtos.FileDescriptorProto value) File descriptors with all options, including source-retention options.setSourceFileDescriptors(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) File descriptors with all options, including source-retention options.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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 [json_name = "fileToGenerate"];- Specified by:
getFileToGenerateListin interfacePluginProtos.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 [json_name = "fileToGenerate"];- Specified by:
getFileToGenerateCountin interfacePluginProtos.CodeGeneratorRequestOrBuilder- Returns:
- The count of fileToGenerate.
-
getFileToGenerate
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 [json_name = "fileToGenerate"];- Specified by:
getFileToGeneratein interfacePluginProtos.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 [json_name = "fileToGenerate"];- Specified by:
getFileToGenerateBytesin interfacePluginProtos.CodeGeneratorRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fileToGenerate at the given index.
-
setFileToGenerate
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 [json_name = "fileToGenerate"];- Parameters:
index- The index to set the value at.value- The fileToGenerate to set.- Returns:
- This builder for chaining.
-
addFileToGenerate
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 [json_name = "fileToGenerate"];- Parameters:
value- The fileToGenerate to add.- Returns:
- This builder for chaining.
-
addAllFileToGenerate
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 [json_name = "fileToGenerate"];- Parameters:
values- The fileToGenerate to add.- Returns:
- This builder for chaining.
-
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 [json_name = "fileToGenerate"];- 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 [json_name = "fileToGenerate"];- 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 [json_name = "parameter"];- Specified by:
hasParameterin interfacePluginProtos.CodeGeneratorRequestOrBuilder- Returns:
- Whether the parameter field is set.
-
getParameter
The generator parameter passed on the command-line.
optional string parameter = 2 [json_name = "parameter"];- Specified by:
getParameterin interfacePluginProtos.CodeGeneratorRequestOrBuilder- Returns:
- The parameter.
-
getParameterBytes
public com.google.protobuf.ByteString getParameterBytes()The generator parameter passed on the command-line.
optional string parameter = 2 [json_name = "parameter"];- Specified by:
getParameterBytesin interfacePluginProtos.CodeGeneratorRequestOrBuilder- Returns:
- The bytes for parameter.
-
setParameter
The generator parameter passed on the command-line.
optional string parameter = 2 [json_name = "parameter"];- Parameters:
value- The parameter to set.- Returns:
- This builder for chaining.
-
clearParameter
The generator parameter passed on the command-line.
optional string parameter = 2 [json_name = "parameter"];- 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 [json_name = "parameter"];- Parameters:
value- The bytes for parameter to set.- Returns:
- This builder for chaining.
-
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"];- Specified by:
getProtoFileListin interfacePluginProtos.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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"];- Specified by:
getProtoFileCountin interfacePluginProtos.CodeGeneratorRequestOrBuilder
-
getProtoFile
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"];- Specified by:
getProtoFilein interfacePluginProtos.CodeGeneratorRequestOrBuilder
-
setProtoFile
public 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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
setProtoFile
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
addProtoFile
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
addProtoFile
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
addProtoFile
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
addProtoFile
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
addAllProtoFile
public PluginProtos.CodeGeneratorRequest.Builder addAllProtoFile(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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
removeProtoFile
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. Note: the files listed in files_to_generate will include runtime-retention options only, but all other files will include source-retention options. The source_file_descriptors field below is available in case you need source-retention options for files_to_generate. 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 [json_name = "protoFile"]; -
getSourceFileDescriptorsList
File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"];- Specified by:
getSourceFileDescriptorsListin interfacePluginProtos.CodeGeneratorRequestOrBuilder
-
getSourceFileDescriptorsCount
public int getSourceFileDescriptorsCount()File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"];- Specified by:
getSourceFileDescriptorsCountin interfacePluginProtos.CodeGeneratorRequestOrBuilder
-
getSourceFileDescriptors
File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"];- Specified by:
getSourceFileDescriptorsin interfacePluginProtos.CodeGeneratorRequestOrBuilder
-
setSourceFileDescriptors
public PluginProtos.CodeGeneratorRequest.Builder setSourceFileDescriptors(int index, DescriptorProtos.FileDescriptorProto value) File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
setSourceFileDescriptors
public PluginProtos.CodeGeneratorRequest.Builder setSourceFileDescriptors(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
addSourceFileDescriptors
public PluginProtos.CodeGeneratorRequest.Builder addSourceFileDescriptors(DescriptorProtos.FileDescriptorProto value) File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
addSourceFileDescriptors
public PluginProtos.CodeGeneratorRequest.Builder addSourceFileDescriptors(int index, DescriptorProtos.FileDescriptorProto value) File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
addSourceFileDescriptors
public PluginProtos.CodeGeneratorRequest.Builder addSourceFileDescriptors(DescriptorProtos.FileDescriptorProto.Builder builderForValue) File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
addSourceFileDescriptors
public PluginProtos.CodeGeneratorRequest.Builder addSourceFileDescriptors(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
addAllSourceFileDescriptors
public PluginProtos.CodeGeneratorRequest.Builder addAllSourceFileDescriptors(Iterable<? extends DescriptorProtos.FileDescriptorProto> values) File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
clearSourceFileDescriptors
File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
removeSourceFileDescriptors
File descriptors with all options, including source-retention options. These descriptors are only provided for the files listed in files_to_generate.
repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17 [json_name = "sourceFileDescriptors"]; -
hasCompilerVersion
public boolean hasCompilerVersion()The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3 [json_name = "compilerVersion"];- Specified by:
hasCompilerVersionin interfacePluginProtos.CodeGeneratorRequestOrBuilder- Returns:
- Whether the compilerVersion field is set.
-
getCompilerVersion
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3 [json_name = "compilerVersion"];- Specified by:
getCompilerVersionin interfacePluginProtos.CodeGeneratorRequestOrBuilder- Returns:
- The compilerVersion.
-
setCompilerVersion
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3 [json_name = "compilerVersion"]; -
setCompilerVersion
public PluginProtos.CodeGeneratorRequest.Builder setCompilerVersion(PluginProtos.Version.Builder builderForValue) The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3 [json_name = "compilerVersion"]; -
mergeCompilerVersion
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3 [json_name = "compilerVersion"]; -
clearCompilerVersion
The version number of protocol compiler.
optional .google.protobuf.compiler.Version compiler_version = 3 [json_name = "compilerVersion"];
-