public static final class DescriptorProtos.FileDescriptorSet.Builder extends GeneratedMessageLite.Builder<DescriptorProtos.FileDescriptorSet,DescriptorProtos.FileDescriptorSet.Builder> implements DescriptorProtos.FileDescriptorSetOrBuilder
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.Protobuf type
google.protobuf.FileDescriptorSetinstance, isBuilt| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos.FileDescriptorSet.Builder |
addAllFile(Iterable<? extends DescriptorProtos.FileDescriptorProto> values)
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorSet.Builder |
addFile(DescriptorProtos.FileDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorSet.Builder |
addFile(DescriptorProtos.FileDescriptorProto value)
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorSet.Builder |
addFile(int index,
DescriptorProtos.FileDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorSet.Builder |
addFile(int index,
DescriptorProtos.FileDescriptorProto value)
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorSet.Builder |
clearFile()
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorProto |
getFile(int index)
repeated .google.protobuf.FileDescriptorProto file = 1; |
int |
getFileCount()
repeated .google.protobuf.FileDescriptorProto file = 1; |
List<DescriptorProtos.FileDescriptorProto> |
getFileList()
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorSet.Builder |
removeFile(int index)
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorSet.Builder |
setFile(int index,
DescriptorProtos.FileDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FileDescriptorProto file = 1; |
DescriptorProtos.FileDescriptorSet.Builder |
setFile(int index,
DescriptorProtos.FileDescriptorProto value)
repeated .google.protobuf.FileDescriptorProto file = 1; |
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultInstanceForType, isInitializedpublic List<DescriptorProtos.FileDescriptorProto> getFileList()
repeated .google.protobuf.FileDescriptorProto file = 1;getFileList in interface DescriptorProtos.FileDescriptorSetOrBuilderpublic int getFileCount()
repeated .google.protobuf.FileDescriptorProto file = 1;getFileCount in interface DescriptorProtos.FileDescriptorSetOrBuilderpublic DescriptorProtos.FileDescriptorProto getFile(int index)
repeated .google.protobuf.FileDescriptorProto file = 1;getFile in interface DescriptorProtos.FileDescriptorSetOrBuilderpublic DescriptorProtos.FileDescriptorSet.Builder setFile(int index, DescriptorProtos.FileDescriptorProto value)
repeated .google.protobuf.FileDescriptorProto file = 1;public DescriptorProtos.FileDescriptorSet.Builder setFile(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FileDescriptorProto file = 1;public DescriptorProtos.FileDescriptorSet.Builder addFile(DescriptorProtos.FileDescriptorProto value)
repeated .google.protobuf.FileDescriptorProto file = 1;public DescriptorProtos.FileDescriptorSet.Builder addFile(int index, DescriptorProtos.FileDescriptorProto value)
repeated .google.protobuf.FileDescriptorProto file = 1;public DescriptorProtos.FileDescriptorSet.Builder addFile(DescriptorProtos.FileDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FileDescriptorProto file = 1;public DescriptorProtos.FileDescriptorSet.Builder addFile(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FileDescriptorProto file = 1;public DescriptorProtos.FileDescriptorSet.Builder addAllFile(Iterable<? extends DescriptorProtos.FileDescriptorProto> values)
repeated .google.protobuf.FileDescriptorProto file = 1;public DescriptorProtos.FileDescriptorSet.Builder clearFile()
repeated .google.protobuf.FileDescriptorProto file = 1;public DescriptorProtos.FileDescriptorSet.Builder removeFile(int index)
repeated .google.protobuf.FileDescriptorProto file = 1;Copyright © 2008–2016 Google. All rights reserved.