public static final class DescriptorProtos.FileDescriptorProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder> implements DescriptorProtos.FileDescriptorProtoOrBuilder
google.protobuf.FileDescriptorProto
Describes a complete .proto file.
| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos.FileDescriptorProto.Builder |
addAllDependency(java.lang.Iterable<java.lang.String> values)
repeated string dependency = 3; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllMessageType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllPublicDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 public_dependency = 10; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllService(java.lang.Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addAllWeakDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 weak_dependency = 11; |
DescriptorProtos.FileDescriptorProto.Builder |
addDependency(java.lang.String value)
repeated string dependency = 3; |
DescriptorProtos.FileDescriptorProto.Builder |
addDependencyBytes(com.google.protobuf.ByteString value)
repeated string dependency = 3; |
DescriptorProtos.FileDescriptorProto.Builder |
addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addEnumType(int index,
DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addEnumType(int index,
DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.EnumDescriptorProto.Builder |
addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.EnumDescriptorProto.Builder |
addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addExtension(int index,
DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addExtension(int index,
DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FieldDescriptorProto.Builder |
addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FieldDescriptorProto.Builder |
addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
addMessageType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
addMessageType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
addMessageType(int index,
DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
addMessageType(int index,
DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
addMessageTypeBuilder()
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
addMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
addPublicDependency(int value)
repeated int32 public_dependency = 10; |
DescriptorProtos.FileDescriptorProto.Builder |
addService(DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addService(DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addService(int index,
DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addService(int index,
DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.ServiceDescriptorProto.Builder |
addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.ServiceDescriptorProto.Builder |
addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
addWeakDependency(int value)
repeated int32 weak_dependency = 11; |
DescriptorProtos.FileDescriptorProto |
build() |
DescriptorProtos.FileDescriptorProto |
buildPartial() |
DescriptorProtos.FileDescriptorProto.Builder |
clear() |
DescriptorProtos.FileDescriptorProto.Builder |
clearDependency()
repeated string dependency = 3; |
DescriptorProtos.FileDescriptorProto.Builder |
clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
clearMessageType()
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
clearName()
optional string name = 1; |
DescriptorProtos.FileDescriptorProto.Builder |
clearOptions()
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileDescriptorProto.Builder |
clearPackage()
optional string package = 2; |
DescriptorProtos.FileDescriptorProto.Builder |
clearPublicDependency()
repeated int32 public_dependency = 10; |
DescriptorProtos.FileDescriptorProto.Builder |
clearService()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
clearSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
DescriptorProtos.FileDescriptorProto.Builder |
clearWeakDependency()
repeated int32 weak_dependency = 11; |
DescriptorProtos.FileDescriptorProto.Builder |
clone() |
DescriptorProtos.FileDescriptorProto |
getDefaultInstanceForType() |
java.lang.String |
getDependency(int index)
repeated string dependency = 3; |
com.google.protobuf.ByteString |
getDependencyBytes(int index)
repeated string dependency = 3; |
int |
getDependencyCount()
repeated string dependency = 3; |
com.google.protobuf.ProtocolStringList |
getDependencyList()
repeated string dependency = 3; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DescriptorProtos.EnumDescriptorProto |
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.EnumDescriptorProto.Builder |
getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
java.util.List<DescriptorProtos.EnumDescriptorProto.Builder> |
getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
int |
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
java.util.List<DescriptorProtos.EnumDescriptorProto> |
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.EnumDescriptorProtoOrBuilder |
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> |
getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FieldDescriptorProto |
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FieldDescriptorProto.Builder |
getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> |
getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
int |
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
java.util.List<DescriptorProtos.FieldDescriptorProto> |
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FieldDescriptorProtoOrBuilder |
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> |
getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.DescriptorProto |
getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.DescriptorProto.Builder |
getMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4; |
java.util.List<DescriptorProtos.DescriptorProto.Builder> |
getMessageTypeBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4; |
int |
getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4; |
java.util.List<DescriptorProtos.DescriptorProto> |
getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.DescriptorProtoOrBuilder |
getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4; |
java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> |
getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4; |
java.lang.String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
DescriptorProtos.FileOptions |
getOptions()
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileOptions.Builder |
getOptionsBuilder()
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileOptionsOrBuilder |
getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8; |
java.lang.String |
getPackage()
optional string package = 2; |
com.google.protobuf.ByteString |
getPackageBytes()
optional string package = 2; |
int |
getPublicDependency(int index)
repeated int32 public_dependency = 10; |
int |
getPublicDependencyCount()
repeated int32 public_dependency = 10; |
java.util.List<java.lang.Integer> |
getPublicDependencyList()
repeated int32 public_dependency = 10; |
DescriptorProtos.ServiceDescriptorProto |
getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.ServiceDescriptorProto.Builder |
getServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
java.util.List<DescriptorProtos.ServiceDescriptorProto.Builder> |
getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
int |
getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
java.util.List<DescriptorProtos.ServiceDescriptorProto> |
getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.ServiceDescriptorProtoOrBuilder |
getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> |
getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.SourceCodeInfo |
getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
DescriptorProtos.SourceCodeInfo.Builder |
getSourceCodeInfoBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
DescriptorProtos.SourceCodeInfoOrBuilder |
getSourceCodeInfoOrBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
int |
getWeakDependency(int index)
repeated int32 weak_dependency = 11; |
int |
getWeakDependencyCount()
repeated int32 weak_dependency = 11; |
java.util.List<java.lang.Integer> |
getWeakDependencyList()
repeated int32 weak_dependency = 11; |
boolean |
hasName()
optional string name = 1; |
boolean |
hasOptions()
optional .google.protobuf.FileOptions options = 8; |
boolean |
hasPackage()
optional string package = 2; |
boolean |
hasSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DescriptorProtos.FileDescriptorProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DescriptorProtos.FileDescriptorProto.Builder |
mergeFrom(DescriptorProtos.FileDescriptorProto other) |
DescriptorProtos.FileDescriptorProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
DescriptorProtos.FileDescriptorProto.Builder |
mergeOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileDescriptorProto.Builder |
mergeSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
DescriptorProtos.FileDescriptorProto.Builder |
removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
removeMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
removeService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
setDependency(int index,
java.lang.String value)
repeated string dependency = 3; |
DescriptorProtos.FileDescriptorProto.Builder |
setEnumType(int index,
DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
setEnumType(int index,
DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
DescriptorProtos.FileDescriptorProto.Builder |
setExtension(int index,
DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
setExtension(int index,
DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7; |
DescriptorProtos.FileDescriptorProto.Builder |
setMessageType(int index,
DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
setMessageType(int index,
DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4; |
DescriptorProtos.FileDescriptorProto.Builder |
setName(java.lang.String value)
optional string name = 1; |
DescriptorProtos.FileDescriptorProto.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1; |
DescriptorProtos.FileDescriptorProto.Builder |
setOptions(DescriptorProtos.FileOptions.Builder builderForValue)
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileDescriptorProto.Builder |
setOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileDescriptorProto.Builder |
setPackage(java.lang.String value)
optional string package = 2; |
DescriptorProtos.FileDescriptorProto.Builder |
setPackageBytes(com.google.protobuf.ByteString value)
optional string package = 2; |
DescriptorProtos.FileDescriptorProto.Builder |
setPublicDependency(int index,
int value)
repeated int32 public_dependency = 10; |
DescriptorProtos.FileDescriptorProto.Builder |
setService(int index,
DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
setService(int index,
DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6; |
DescriptorProtos.FileDescriptorProto.Builder |
setSourceCodeInfo(DescriptorProtos.SourceCodeInfo.Builder builderForValue)
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
DescriptorProtos.FileDescriptorProto.Builder |
setSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
DescriptorProtos.FileDescriptorProto.Builder |
setWeakDependency(int index,
int value)
repeated int32 weak_dependency = 11; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DescriptorProtos.FileDescriptorProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DescriptorProtos.FileDescriptorProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DescriptorProtos.FileDescriptorProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(DescriptorProtos.FileDescriptorProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>java.io.IOExceptionpublic boolean hasName()
optional string name = 1;
file name, relative to root of source tree
hasName in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getName()
optional string name = 1;
file name, relative to root of source tree
getName in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
file name, relative to root of source tree
getNameBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setName(java.lang.String value)
optional string name = 1;
file name, relative to root of source tree
public DescriptorProtos.FileDescriptorProto.Builder clearName()
optional string name = 1;
file name, relative to root of source tree
public DescriptorProtos.FileDescriptorProto.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;
file name, relative to root of source tree
public boolean hasPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
hasPackage in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
getPackage in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic com.google.protobuf.ByteString getPackageBytes()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
getPackageBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setPackage(java.lang.String value)
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public DescriptorProtos.FileDescriptorProto.Builder clearPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public DescriptorProtos.FileDescriptorProto.Builder setPackageBytes(com.google.protobuf.ByteString value)
optional string package = 2;
e.g. "foo", "foo.bar", etc.
public com.google.protobuf.ProtocolStringList getDependencyList()
repeated string dependency = 3;
Names of files imported by this file.
getDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getDependencyCount()
repeated string dependency = 3;
Names of files imported by this file.
getDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getDependency(int index)
repeated string dependency = 3;
Names of files imported by this file.
getDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic com.google.protobuf.ByteString getDependencyBytes(int index)
repeated string dependency = 3;
Names of files imported by this file.
getDependencyBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setDependency(int index, java.lang.String value)
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto.Builder addDependency(java.lang.String value)
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto.Builder addAllDependency(java.lang.Iterable<java.lang.String> values)
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto.Builder clearDependency()
repeated string dependency = 3;
Names of files imported by this file.
public DescriptorProtos.FileDescriptorProto.Builder addDependencyBytes(com.google.protobuf.ByteString value)
repeated string dependency = 3;
Names of files imported by this file.
public java.util.List<java.lang.Integer> getPublicDependencyList()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
getPublicDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getPublicDependencyCount()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
getPublicDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getPublicDependency(int index)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
getPublicDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setPublicDependency(int index, int value)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public DescriptorProtos.FileDescriptorProto.Builder addPublicDependency(int value)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public DescriptorProtos.FileDescriptorProto.Builder addAllPublicDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public DescriptorProtos.FileDescriptorProto.Builder clearPublicDependency()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
public java.util.List<java.lang.Integer> getWeakDependencyList()
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
getWeakDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getWeakDependencyCount()
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
getWeakDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getWeakDependency(int index)
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
getWeakDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setWeakDependency(int index, int value)
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
public DescriptorProtos.FileDescriptorProto.Builder addWeakDependency(int value)
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
public DescriptorProtos.FileDescriptorProto.Builder addAllWeakDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
public DescriptorProtos.FileDescriptorProto.Builder clearWeakDependency()
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
public java.util.List<DescriptorProtos.DescriptorProto> getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
getMessageTypeList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
getMessageTypeCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.DescriptorProto getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
getMessageType in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setMessageType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto.Builder setMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto.Builder addAllMessageType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto.Builder clearMessageType()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.FileDescriptorProto.Builder removeMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.DescriptorProto.Builder getMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
getMessageTypeOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
getMessageTypeOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public java.util.List<DescriptorProtos.DescriptorProto.Builder> getMessageTypeBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumType in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.FileDescriptorProto.Builder removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public java.util.List<DescriptorProtos.EnumDescriptorProto.Builder> getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;public java.util.List<DescriptorProtos.ServiceDescriptorProto> getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.ServiceDescriptorProto getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;getService in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder setService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addService(DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addService(DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder addAllService(java.lang.Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder clearService()
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.FileDescriptorProto.Builder removeService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.ServiceDescriptorProto.Builder getServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6;public DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;public java.util.List<DescriptorProtos.ServiceDescriptorProto.Builder> getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtension in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FileDescriptorProto.Builder removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7;public DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;public java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;public boolean hasOptions()
optional .google.protobuf.FileOptions options = 8;hasOptions in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileOptions getOptions()
optional .google.protobuf.FileOptions options = 8;getOptions in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileDescriptorProto.Builder setOptions(DescriptorProtos.FileOptions.Builder builderForValue)
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileDescriptorProto.Builder mergeOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileDescriptorProto.Builder clearOptions()
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileOptions.Builder getOptionsBuilder()
optional .google.protobuf.FileOptions options = 8;public DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;getOptionsOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic boolean hasSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
hasSourceCodeInfo in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.SourceCodeInfo getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
getSourceCodeInfo in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.FileDescriptorProto.Builder setSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
public DescriptorProtos.FileDescriptorProto.Builder setSourceCodeInfo(DescriptorProtos.SourceCodeInfo.Builder builderForValue)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
public DescriptorProtos.FileDescriptorProto.Builder mergeSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
public DescriptorProtos.FileDescriptorProto.Builder clearSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
public DescriptorProtos.SourceCodeInfo.Builder getSourceCodeInfoBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
public DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
getSourceCodeInfoOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilder