public static final class DescriptorProtos.FileDescriptorProto extends com.google.protobuf.GeneratedMessageV3 implements DescriptorProtos.FileDescriptorProtoOrBuilder
Describes a complete .proto file.Protobuf type
google.protobuf.FileDescriptorProto| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.FileDescriptorProto.Builder
Describes a complete .proto file.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
DEPENDENCY_FIELD_NUMBER |
static int |
ENUM_TYPE_FIELD_NUMBER |
static int |
EXTENSION_FIELD_NUMBER |
static int |
MESSAGE_TYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OPTIONS_FIELD_NUMBER |
static int |
PACKAGE_FIELD_NUMBER |
static Parser<DescriptorProtos.FileDescriptorProto> |
PARSER
Deprecated.
|
static int |
PUBLIC_DEPENDENCY_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
static int |
SOURCE_CODE_INFO_FIELD_NUMBER |
static int |
SYNTAX_FIELD_NUMBER |
static int |
WEAK_DEPENDENCY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this message for equality.
|
static DescriptorProtos.FileDescriptorProto |
getDefaultInstance() |
DescriptorProtos.FileDescriptorProto |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
java.lang.String |
getDependency(int index)
Names of files imported by this file.
|
ByteString |
getDependencyBytes(int index)
Names of files imported by this file.
|
int |
getDependencyCount()
Names of files imported by this file.
|
ProtocolStringList |
getDependencyList()
Names of files imported by this file.
|
static Descriptors.Descriptor |
getDescriptor() |
DescriptorProtos.EnumDescriptorProto |
getEnumType(int index)
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; |
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)
All top-level definitions in this file.
|
int |
getMessageTypeCount()
All top-level definitions in this file.
|
java.util.List<DescriptorProtos.DescriptorProto> |
getMessageTypeList()
All top-level definitions in this file.
|
DescriptorProtos.DescriptorProtoOrBuilder |
getMessageTypeOrBuilder(int index)
All top-level definitions in this file.
|
java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> |
getMessageTypeOrBuilderList()
All top-level definitions in this file.
|
java.lang.String |
getName()
file name, relative to root of source tree
|
ByteString |
getNameBytes()
file name, relative to root of source tree
|
DescriptorProtos.FileOptions |
getOptions()
optional .google.protobuf.FileOptions options = 8; |
DescriptorProtos.FileOptionsOrBuilder |
getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8; |
java.lang.String |
getPackage()
e.g.
|
ByteString |
getPackageBytes()
e.g.
|
Parser<DescriptorProtos.FileDescriptorProto> |
getParserForType()
Gets the parser for a message of the same type as this message.
|
int |
getPublicDependency(int index)
Indexes of the public imported files in the dependency list above.
|
int |
getPublicDependencyCount()
Indexes of the public imported files in the dependency list above.
|
java.util.List<java.lang.Integer> |
getPublicDependencyList()
Indexes of the public imported files in the dependency list above.
|
int |
getSerializedSize()
Get the number of bytes required to encode this message.
|
DescriptorProtos.ServiceDescriptorProto |
getService(int index)
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()
This field contains optional information about the original source code.
|
DescriptorProtos.SourceCodeInfoOrBuilder |
getSourceCodeInfoOrBuilder()
This field contains optional information about the original source code.
|
java.lang.String |
getSyntax()
The syntax of the proto file.
|
ByteString |
getSyntaxBytes()
The syntax of the proto file.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields()
Get the
UnknownFieldSet for this message. |
int |
getWeakDependency(int index)
Indexes of the weak imported files in the dependency list.
|
int |
getWeakDependencyCount()
Indexes of the weak imported files in the dependency list.
|
java.util.List<java.lang.Integer> |
getWeakDependencyList()
Indexes of the weak imported files in the dependency list.
|
int |
hashCode()
Returns the hash code value for this message.
|
boolean |
hasName()
file name, relative to root of source tree
|
boolean |
hasOptions()
optional .google.protobuf.FileOptions options = 8; |
boolean |
hasPackage()
e.g.
|
boolean |
hasSourceCodeInfo()
This field contains optional information about the original source code.
|
boolean |
hasSyntax()
The syntax of the proto file.
|
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false
otherwise.
|
static DescriptorProtos.FileDescriptorProto.Builder |
newBuilder() |
static DescriptorProtos.FileDescriptorProto.Builder |
newBuilder(DescriptorProtos.FileDescriptorProto prototype) |
DescriptorProtos.FileDescriptorProto.Builder |
newBuilderForType()
Constructs a new builder for a message of the same type as this message.
|
static DescriptorProtos.FileDescriptorProto |
parseDelimitedFrom(java.io.InputStream input) |
static DescriptorProtos.FileDescriptorProto |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(byte[] data) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(java.nio.ByteBuffer data) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(ByteString data) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(CodedInputStream input) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(java.io.InputStream input) |
static DescriptorProtos.FileDescriptorProto |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<DescriptorProtos.FileDescriptorProto> |
parser() |
DescriptorProtos.FileDescriptorProto.Builder |
toBuilder()
Constructs a builder initialized with the current message.
|
void |
writeTo(CodedOutputStream output)
Serializes the message and writes it to
output. |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTofindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
public static final int DEPENDENCY_FIELD_NUMBER
public static final int PUBLIC_DEPENDENCY_FIELD_NUMBER
public static final int WEAK_DEPENDENCY_FIELD_NUMBER
public static final int MESSAGE_TYPE_FIELD_NUMBER
public static final int ENUM_TYPE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
public static final int SOURCE_CODE_INFO_FIELD_NUMBER
public static final int SYNTAX_FIELD_NUMBER
@Deprecated public static final Parser<DescriptorProtos.FileDescriptorProto> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
MessageOrBuilderUnknownFieldSet for this message.getUnknownFields in interface MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
public boolean hasName()
file name, relative to root of source tree
optional string name = 1;hasName in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getName()
file name, relative to root of source tree
optional string name = 1;getName in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic ByteString getNameBytes()
file name, relative to root of source tree
optional string name = 1;getNameBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic boolean hasPackage()
e.g. "foo", "foo.bar", etc.
optional string package = 2;hasPackage in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getPackage()
e.g. "foo", "foo.bar", etc.
optional string package = 2;getPackage in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic ByteString getPackageBytes()
e.g. "foo", "foo.bar", etc.
optional string package = 2;getPackageBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic ProtocolStringList getDependencyList()
Names of files imported by this file.
repeated string dependency = 3;getDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getDependencyCount()
Names of files imported by this file.
repeated string dependency = 3;getDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getDependency(int index)
Names of files imported by this file.
repeated string dependency = 3;getDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderindex - The index of the element to return.public ByteString getDependencyBytes(int index)
Names of files imported by this file.
repeated string dependency = 3;getDependencyBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderindex - The index of the value to return.public java.util.List<java.lang.Integer> getPublicDependencyList()
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;getPublicDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getPublicDependencyCount()
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;getPublicDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getPublicDependency(int index)
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;getPublicDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.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;getWeakDependencyList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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;getWeakDependencyCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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;getWeakDependency in interface DescriptorProtos.FileDescriptorProtoOrBuilderindex - The index of the element to return.public java.util.List<DescriptorProtos.DescriptorProto> getMessageTypeList()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageTypeList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageTypeOrBuilderList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic int getMessageTypeCount()
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageTypeCount in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.DescriptorProto getMessageType(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageType in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;getMessageTypeOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeOrBuilderList 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.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;getEnumTypeOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<DescriptorProtos.ServiceDescriptorProto> getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceOrBuilderList 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.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;getServiceOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionList in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionOrBuilderList 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.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;getExtensionOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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.FileOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;getOptionsOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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;hasSourceCodeInfo in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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;getSourceCodeInfo in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic 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;getSourceCodeInfoOrBuilder in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic boolean hasSyntax()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;hasSyntax in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic java.lang.String getSyntax()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;getSyntax in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic ByteString getSyntaxBytes()
The syntax of the proto file. The supported values are "proto2" and "proto3".
optional string syntax = 12;getSyntaxBytes in interface DescriptorProtos.FileDescriptorProtoOrBuilderpublic final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
MessageLiteoutput. This does not flush or close the
stream.writeTo in interface MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
MessageLitegetSerializedSize in interface MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
Messagetrue if the given
object is a message of the same type (as defined by getDescriptorForType()) and has
identical values for all of its fields. Subclasses must implement this; inheriting Object.equals() is incorrect.equals in interface Messageequals in class AbstractMessageobj - object to be compared for equality with this messagetrue if the specified object is equal to this messagepublic int hashCode()
MessageObject.hashCode() is incorrect.hashCode in interface MessagehashCode in class AbstractMessageMap.hashCode()public static DescriptorProtos.FileDescriptorProto parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.FileDescriptorProto parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic DescriptorProtos.FileDescriptorProto.Builder newBuilderForType()
MessageLitenewBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.FileDescriptorProto.Builder newBuilder()
public static DescriptorProtos.FileDescriptorProto.Builder newBuilder(DescriptorProtos.FileDescriptorProto prototype)
public DescriptorProtos.FileDescriptorProto.Builder toBuilder()
MessageLitetoBuilder in interface MessagetoBuilder in interface MessageLitepublic static DescriptorProtos.FileDescriptorProto getDefaultInstance()
public static Parser<DescriptorProtos.FileDescriptorProto> parser()
public Parser<DescriptorProtos.FileDescriptorProto> getParserForType()
MessageLitegetParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DescriptorProtos.FileDescriptorProto getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated
message classes in that this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific class. They return the
same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder