Class DescriptorProtos.FileDescriptorSet.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FileDescriptorSet.Builder>
com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorSet.Builder>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<DescriptorProtos.FileDescriptorSet,DescriptorProtos.FileDescriptorSet.Builder>
com.google.protobuf.generated.DescriptorProtos.FileDescriptorSet.Builder
- All Implemented Interfaces:
DescriptorProtos.FileDescriptorSetOrBuilder
,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.FileDescriptorSet>
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
DescriptorProtos.FileDescriptorSet
public static final class DescriptorProtos.FileDescriptorSet.Builder
extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<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.FileDescriptorSet
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFile
(Iterable<? extends DescriptorProtos.FileDescriptorProto> values) repeated .google.protobuf.FileDescriptorProto file = 1;
addFile
(int index, DescriptorProtos.FileDescriptorProto value) repeated .google.protobuf.FileDescriptorProto file = 1;
addFile
(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) repeated .google.protobuf.FileDescriptorProto file = 1;
repeated .google.protobuf.FileDescriptorProto file = 1;
addFile
(DescriptorProtos.FileDescriptorProto.Builder builderForValue) repeated .google.protobuf.FileDescriptorProto file = 1;
repeated .google.protobuf.FileDescriptorProto file = 1;
addFileBuilder
(int index) repeated .google.protobuf.FileDescriptorProto file = 1;
build()
clear()
repeated .google.protobuf.FileDescriptorProto file = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getFile
(int index) repeated .google.protobuf.FileDescriptorProto file = 1;
getFileBuilder
(int index) repeated .google.protobuf.FileDescriptorProto file = 1;
repeated .google.protobuf.FileDescriptorProto file = 1;
int
repeated .google.protobuf.FileDescriptorProto file = 1;
repeated .google.protobuf.FileDescriptorProto file = 1;
getFileOrBuilder
(int index) repeated .google.protobuf.FileDescriptorProto file = 1;
repeated .google.protobuf.FileDescriptorProto file = 1;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) removeFile
(int index) repeated .google.protobuf.FileDescriptorProto file = 1;
setFile
(int index, DescriptorProtos.FileDescriptorProto value) repeated .google.protobuf.FileDescriptorProto file = 1;
setFile
(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) repeated .google.protobuf.FileDescriptorProto file = 1;
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setField, setRepeatedField
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
clearOneof, clone, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorSet.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<DescriptorProtos.FileDescriptorSet,
DescriptorProtos.FileDescriptorSet.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorSet.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.FileDescriptorSet>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FileDescriptorSet.Builder>
-
mergeFrom
public DescriptorProtos.FileDescriptorSet.Builder mergeFrom(DescriptorProtos.FileDescriptorSet other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<DescriptorProtos.FileDescriptorSet,
DescriptorProtos.FileDescriptorSet.Builder>
-
mergeFrom
public DescriptorProtos.FileDescriptorSet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FileDescriptorSet.Builder>
- Throws:
IOException
-
getFileList
repeated .google.protobuf.FileDescriptorProto file = 1;
- Specified by:
getFileList
in interfaceDescriptorProtos.FileDescriptorSetOrBuilder
-
getFileCount
public int getFileCount()repeated .google.protobuf.FileDescriptorProto file = 1;
- Specified by:
getFileCount
in interfaceDescriptorProtos.FileDescriptorSetOrBuilder
-
getFile
repeated .google.protobuf.FileDescriptorProto file = 1;
- Specified by:
getFile
in interfaceDescriptorProtos.FileDescriptorSetOrBuilder
-
setFile
public DescriptorProtos.FileDescriptorSet.Builder setFile(int index, DescriptorProtos.FileDescriptorProto value) repeated .google.protobuf.FileDescriptorProto file = 1;
-
setFile
public DescriptorProtos.FileDescriptorSet.Builder setFile(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) repeated .google.protobuf.FileDescriptorProto file = 1;
-
addFile
public DescriptorProtos.FileDescriptorSet.Builder addFile(DescriptorProtos.FileDescriptorProto value) repeated .google.protobuf.FileDescriptorProto file = 1;
-
addFile
public DescriptorProtos.FileDescriptorSet.Builder addFile(int index, DescriptorProtos.FileDescriptorProto value) repeated .google.protobuf.FileDescriptorProto file = 1;
-
addFile
public DescriptorProtos.FileDescriptorSet.Builder addFile(DescriptorProtos.FileDescriptorProto.Builder builderForValue) repeated .google.protobuf.FileDescriptorProto file = 1;
-
addFile
public DescriptorProtos.FileDescriptorSet.Builder addFile(int index, DescriptorProtos.FileDescriptorProto.Builder builderForValue) repeated .google.protobuf.FileDescriptorProto file = 1;
-
addAllFile
public DescriptorProtos.FileDescriptorSet.Builder addAllFile(Iterable<? extends DescriptorProtos.FileDescriptorProto> values) repeated .google.protobuf.FileDescriptorProto file = 1;
-
clearFile
repeated .google.protobuf.FileDescriptorProto file = 1;
-
removeFile
repeated .google.protobuf.FileDescriptorProto file = 1;
-
getFileBuilder
repeated .google.protobuf.FileDescriptorProto file = 1;
-
getFileOrBuilder
repeated .google.protobuf.FileDescriptorProto file = 1;
- Specified by:
getFileOrBuilder
in interfaceDescriptorProtos.FileDescriptorSetOrBuilder
-
getFileOrBuilderList
repeated .google.protobuf.FileDescriptorProto file = 1;
- Specified by:
getFileOrBuilderList
in interfaceDescriptorProtos.FileDescriptorSetOrBuilder
-
addFileBuilder
repeated .google.protobuf.FileDescriptorProto file = 1;
-
addFileBuilder
repeated .google.protobuf.FileDescriptorProto file = 1;
-
getFileBuilderList
repeated .google.protobuf.FileDescriptorProto file = 1;
-