Package com.google.protobuf.gen
Class DescriptorProtos.FileDescriptorProto
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.gen.DescriptorProtos.FileDescriptorProto
-
- All Implemented Interfaces:
DescriptorProtos.FileDescriptorProtoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.FileDescriptorProto extends com.google.protobuf.GeneratedMessageV3 implements DescriptorProtos.FileDescriptorProtoOrBuilder
Describes a complete .proto file.
Protobuf typegoogle.protobuf.FileDescriptorProto- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescriptorProtos.FileDescriptorProto.BuilderDescribes a complete .proto file.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDEPENDENCY_FIELD_NUMBERstatic intENUM_TYPE_FIELD_NUMBERstatic intEXTENSION_FIELD_NUMBERstatic intMESSAGE_TYPE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOPTIONS_FIELD_NUMBERstatic intPACKAGE_FIELD_NUMBERstatic com.google.protobuf.Parser<DescriptorProtos.FileDescriptorProto>PARSERDeprecated.static intPUBLIC_DEPENDENCY_FIELD_NUMBERstatic intSERVICE_FIELD_NUMBERstatic intSOURCE_CODE_INFO_FIELD_NUMBERstatic intSYNTAX_FIELD_NUMBERstatic intWEAK_DEPENDENCY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static DescriptorProtos.FileDescriptorProtogetDefaultInstance()DescriptorProtos.FileDescriptorProtogetDefaultInstanceForType()StringgetDependency(int index)Names of files imported by this file.com.google.protobuf.ByteStringgetDependencyBytes(int index)Names of files imported by this file.intgetDependencyCount()Names of files imported by this file.com.google.protobuf.ProtocolStringListgetDependencyList()Names of files imported by this file.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DescriptorProtos.EnumDescriptorProtogetEnumType(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;intgetEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;List<DescriptorProtos.EnumDescriptorProto>getEnumTypeList()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.EnumDescriptorProtoOrBuildergetEnumTypeOrBuilder(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 5;List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder>getEnumTypeOrBuilderList()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;DescriptorProtos.FieldDescriptorProtogetExtension(int index)repeated .google.protobuf.FieldDescriptorProto extension = 7;intgetExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 7;List<DescriptorProtos.FieldDescriptorProto>getExtensionList()repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.FieldDescriptorProtoOrBuildergetExtensionOrBuilder(int index)repeated .google.protobuf.FieldDescriptorProto extension = 7;List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder>getExtensionOrBuilderList()repeated .google.protobuf.FieldDescriptorProto extension = 7;DescriptorProtos.DescriptorProtogetMessageType(int index)All top-level definitions in this file.intgetMessageTypeCount()All top-level definitions in this file.List<DescriptorProtos.DescriptorProto>getMessageTypeList()All top-level definitions in this file.DescriptorProtos.DescriptorProtoOrBuildergetMessageTypeOrBuilder(int index)All top-level definitions in this file.List<? extends DescriptorProtos.DescriptorProtoOrBuilder>getMessageTypeOrBuilderList()All top-level definitions in this file.StringgetName()file name, relative to root of source treecom.google.protobuf.ByteStringgetNameBytes()file name, relative to root of source treeDescriptorProtos.FileOptionsgetOptions()optional .google.protobuf.FileOptions options = 8;DescriptorProtos.FileOptionsOrBuildergetOptionsOrBuilder()optional .google.protobuf.FileOptions options = 8;StringgetPackage()e.g.com.google.protobuf.ByteStringgetPackageBytes()e.g.com.google.protobuf.Parser<DescriptorProtos.FileDescriptorProto>getParserForType()intgetPublicDependency(int index)Indexes of the public imported files in the dependency list above.intgetPublicDependencyCount()Indexes of the public imported files in the dependency list above.List<Integer>getPublicDependencyList()Indexes of the public imported files in the dependency list above.intgetSerializedSize()DescriptorProtos.ServiceDescriptorProtogetService(int index)repeated .google.protobuf.ServiceDescriptorProto service = 6;intgetServiceCount()repeated .google.protobuf.ServiceDescriptorProto service = 6;List<DescriptorProtos.ServiceDescriptorProto>getServiceList()repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.ServiceDescriptorProtoOrBuildergetServiceOrBuilder(int index)repeated .google.protobuf.ServiceDescriptorProto service = 6;List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder>getServiceOrBuilderList()repeated .google.protobuf.ServiceDescriptorProto service = 6;DescriptorProtos.SourceCodeInfogetSourceCodeInfo()This field contains optional information about the original source code.DescriptorProtos.SourceCodeInfoOrBuildergetSourceCodeInfoOrBuilder()This field contains optional information about the original source code.StringgetSyntax()The syntax of the proto file.com.google.protobuf.ByteStringgetSyntaxBytes()The syntax of the proto file.com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetWeakDependency(int index)Indexes of the weak imported files in the dependency list.intgetWeakDependencyCount()Indexes of the weak imported files in the dependency list.List<Integer>getWeakDependencyList()Indexes of the weak imported files in the dependency list.inthashCode()booleanhasName()file name, relative to root of source treebooleanhasOptions()optional .google.protobuf.FileOptions options = 8;booleanhasPackage()e.g.booleanhasSourceCodeInfo()This field contains optional information about the original source code.booleanhasSyntax()The syntax of the proto file.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DescriptorProtos.FileDescriptorProto.BuildernewBuilder()static DescriptorProtos.FileDescriptorProto.BuildernewBuilder(DescriptorProtos.FileDescriptorProto prototype)DescriptorProtos.FileDescriptorProto.BuildernewBuilderForType()protected DescriptorProtos.FileDescriptorProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DescriptorProtos.FileDescriptorProtoparseDelimitedFrom(InputStream input)static DescriptorProtos.FileDescriptorProtoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileDescriptorProtoparseFrom(byte[] data)static DescriptorProtos.FileDescriptorProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileDescriptorProtoparseFrom(com.google.protobuf.ByteString data)static DescriptorProtos.FileDescriptorProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileDescriptorProtoparseFrom(com.google.protobuf.CodedInputStream input)static DescriptorProtos.FileDescriptorProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileDescriptorProtoparseFrom(InputStream input)static DescriptorProtos.FileDescriptorProtoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileDescriptorProtoparseFrom(ByteBuffer data)static DescriptorProtos.FileDescriptorProtoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DescriptorProtos.FileDescriptorProto>parser()DescriptorProtos.FileDescriptorProto.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPENDENCY_FIELD_NUMBER
public static final int DEPENDENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLIC_DEPENDENCY_FIELD_NUMBER
public static final int PUBLIC_DEPENDENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEAK_DEPENDENCY_FIELD_NUMBER
public static final int WEAK_DEPENDENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_TYPE_FIELD_NUMBER
public static final int MESSAGE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENUM_TYPE_FIELD_NUMBER
public static final int ENUM_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTENSION_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_CODE_INFO_FIELD_NUMBER
public static final int SOURCE_CODE_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SYNTAX_FIELD_NUMBER
public static final int SYNTAX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<DescriptorProtos.FileDescriptorProto> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()
file name, relative to root of source tree
optional string name = 1;- Specified by:
hasNamein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getName
public String getName()
file name, relative to root of source tree
optional string name = 1;- Specified by:
getNamein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
file name, relative to root of source tree
optional string name = 1;- Specified by:
getNameBytesin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
hasPackage
public boolean hasPackage()
e.g. "foo", "foo.bar", etc.
optional string package = 2;- Specified by:
hasPackagein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPackage
public String getPackage()
e.g. "foo", "foo.bar", etc.
optional string package = 2;- Specified by:
getPackagein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPackageBytes
public com.google.protobuf.ByteString getPackageBytes()
e.g. "foo", "foo.bar", etc.
optional string package = 2;- Specified by:
getPackageBytesin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependencyList
public com.google.protobuf.ProtocolStringList getDependencyList()
Names of files imported by this file.
repeated string dependency = 3;- Specified by:
getDependencyListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependencyCount
public int getDependencyCount()
Names of files imported by this file.
repeated string dependency = 3;- Specified by:
getDependencyCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependency
public String getDependency(int index)
Names of files imported by this file.
repeated string dependency = 3;- Specified by:
getDependencyin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependencyBytes
public com.google.protobuf.ByteString getDependencyBytes(int index)
Names of files imported by this file.
repeated string dependency = 3;- Specified by:
getDependencyBytesin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPublicDependencyList
public List<Integer> getPublicDependencyList()
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;- Specified by:
getPublicDependencyListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPublicDependencyCount
public int getPublicDependencyCount()
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;- Specified by:
getPublicDependencyCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPublicDependency
public int getPublicDependency(int index)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;- Specified by:
getPublicDependencyin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getWeakDependencyList
public List<Integer> getWeakDependencyList()
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;- Specified by:
getWeakDependencyListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getWeakDependencyCount
public int getWeakDependencyCount()
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;- Specified by:
getWeakDependencyCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getWeakDependency
public int getWeakDependency(int index)
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;- Specified by:
getWeakDependencyin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeList
public List<DescriptorProtos.DescriptorProto> getMessageTypeList()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;- Specified by:
getMessageTypeListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeOrBuilderList
public List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;- Specified by:
getMessageTypeOrBuilderListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeCount
public int getMessageTypeCount()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;- Specified by:
getMessageTypeCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageType
public DescriptorProtos.DescriptorProto getMessageType(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;- Specified by:
getMessageTypein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeOrBuilder
public DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;- Specified by:
getMessageTypeOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeList
public List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypeListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeOrBuilderList
public List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypeOrBuilderListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeCount
public int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypeCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumType
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeOrBuilder
public DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;- Specified by:
getEnumTypeOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceList
public List<DescriptorProtos.ServiceDescriptorProto> getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServiceListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceOrBuilderList
public List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServiceOrBuilderListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceCount
public int getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServiceCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getService
public DescriptorProtos.ServiceDescriptorProto getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServicein interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceOrBuilder
public DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;- Specified by:
getServiceOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionList
public List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionOrBuilderList
public List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionOrBuilderListin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionCount
public int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionCountin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtension
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionOrBuilder
public DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;- Specified by:
getExtensionOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
hasOptions
public boolean hasOptions()
optional .google.protobuf.FileOptions options = 8;- Specified by:
hasOptionsin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getOptions
public DescriptorProtos.FileOptions getOptions()
optional .google.protobuf.FileOptions options = 8;- Specified by:
getOptionsin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getOptionsOrBuilder
public DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;- Specified by:
getOptionsOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
hasSourceCodeInfo
public boolean hasSourceCodeInfo()
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;- Specified by:
hasSourceCodeInfoin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getSourceCodeInfo
public DescriptorProtos.SourceCodeInfo getSourceCodeInfo()
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;- Specified by:
getSourceCodeInfoin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getSourceCodeInfoOrBuilder
public DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder()
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;- Specified by:
getSourceCodeInfoOrBuilderin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
hasSyntax
public boolean hasSyntax()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;- Specified by:
hasSyntaxin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getSyntax
public String getSyntax()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;- Specified by:
getSyntaxin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getSyntaxBytes
public com.google.protobuf.ByteString getSyntaxBytes()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;- Specified by:
getSyntaxBytesin interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileDescriptorProto parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileDescriptorProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DescriptorProtos.FileDescriptorProto.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DescriptorProtos.FileDescriptorProto.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.FileDescriptorProto.Builder newBuilder(DescriptorProtos.FileDescriptorProto prototype)
-
toBuilder
public DescriptorProtos.FileDescriptorProto.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DescriptorProtos.FileDescriptorProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DescriptorProtos.FileDescriptorProto getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DescriptorProtos.FileDescriptorProto> parser()
-
getParserForType
public com.google.protobuf.Parser<DescriptorProtos.FileDescriptorProto> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DescriptorProtos.FileDescriptorProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-