Package com.google.protobuf
Class DescriptorProtos.DescriptorProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.protobuf.DescriptorProtos.DescriptorProto
- All Implemented Interfaces:
DescriptorProtos.DescriptorProtoOrBuilder,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.DescriptorProto
extends com.google.protobuf.GeneratedMessageV3
implements DescriptorProtos.DescriptorProtoOrBuilder
Describes a message type.Protobuf type
google.protobuf.DescriptorProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes a message type.static final classProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangestatic interfacestatic final classRange of reserved tag numbers.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<DescriptorProtos.DescriptorProto>Deprecated.static final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorgetEnumType(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;intrepeated .google.protobuf.EnumDescriptorProto enum_type = 4;repeated .google.protobuf.EnumDescriptorProto enum_type = 4;getEnumTypeOrBuilder(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 4;repeated .google.protobuf.EnumDescriptorProto enum_type = 4;getExtension(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;intrepeated .google.protobuf.FieldDescriptorProto extension = 6;repeated .google.protobuf.FieldDescriptorProto extension = 6;getExtensionOrBuilder(int index) repeated .google.protobuf.FieldDescriptorProto extension = 6;repeated .google.protobuf.FieldDescriptorProto extension = 6;getExtensionRange(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;intrepeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;getExtensionRangeOrBuilder(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;getField(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;intrepeated .google.protobuf.FieldDescriptorProto field = 2;repeated .google.protobuf.FieldDescriptorProto field = 2;getFieldOrBuilder(int index) repeated .google.protobuf.FieldDescriptorProto field = 2;repeated .google.protobuf.FieldDescriptorProto field = 2;getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;getNestedType(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;intrepeated .google.protobuf.DescriptorProto nested_type = 3;repeated .google.protobuf.DescriptorProto nested_type = 3;getNestedTypeOrBuilder(int index) repeated .google.protobuf.DescriptorProto nested_type = 3;List<? extends DescriptorProtos.DescriptorProtoOrBuilder>repeated .google.protobuf.DescriptorProto nested_type = 3;getOneofDecl(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;intrepeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;getOneofDeclOrBuilder(int index) repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;optional .google.protobuf.MessageOptions options = 7;optional .google.protobuf.MessageOptions options = 7;com.google.protobuf.Parser<DescriptorProtos.DescriptorProto>getReservedName(int index) Reserved field names, which may not be used by fields in the same message.com.google.protobuf.ByteStringgetReservedNameBytes(int index) Reserved field names, which may not be used by fields in the same message.intReserved field names, which may not be used by fields in the same message.com.google.protobuf.ProtocolStringListReserved field names, which may not be used by fields in the same message.getReservedRange(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;intrepeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;getReservedRangeOrBuilder(int index) repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;intinthashCode()booleanhasName()optional string name = 1;booleanoptional .google.protobuf.MessageOptions options = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(DescriptorProtos.DescriptorProto prototype) protected DescriptorProtos.DescriptorProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DescriptorProtos.DescriptorProto>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER- See Also:
-
EXTENSION_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER- See Also:
-
NESTED_TYPE_FIELD_NUMBER
public static final int NESTED_TYPE_FIELD_NUMBER- See Also:
-
ENUM_TYPE_FIELD_NUMBER
public static final int ENUM_TYPE_FIELD_NUMBER- See Also:
-
EXTENSION_RANGE_FIELD_NUMBER
public static final int EXTENSION_RANGE_FIELD_NUMBER- See Also:
-
ONEOF_DECL_FIELD_NUMBER
public static final int ONEOF_DECL_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
RESERVED_RANGE_FIELD_NUMBER
public static final int RESERVED_RANGE_FIELD_NUMBER- See Also:
-
RESERVED_NAME_FIELD_NUMBER
public static final int RESERVED_NAME_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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()optional string name = 1;- Specified by:
hasNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 1;- Specified by:
getNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 1;- Specified by:
getNameBytesin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The bytes for name.
-
getFieldList
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldOrBuilderList
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldCount
public int getFieldCount()repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getField
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldOrBuilder
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionList
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionOrBuilderList
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionCount
public int getExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtension
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionOrBuilder
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeList
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeOrBuilderList
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeCount
public int getNestedTypeCount()repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedType
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeOrBuilder
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeList
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeOrBuilderList
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeCount
public int getEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeOrBuilder
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeList
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeOrBuilderList
public List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder> getExtensionRangeOrBuilderList()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeCount
public int getExtensionRangeCount()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRange
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeOrBuilder
public DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder(int index) repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclList
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclOrBuilderList
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclCount
public int getOneofDeclCount()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDecl
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclOrBuilder
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
hasOptions
public boolean hasOptions()optional .google.protobuf.MessageOptions options = 7;- Specified by:
hasOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
optional .google.protobuf.MessageOptions options = 7;- Specified by:
getOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The options.
-
getOptionsOrBuilder
optional .google.protobuf.MessageOptions options = 7;- Specified by:
getOptionsOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeList
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeOrBuilderList
public List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder> getReservedRangeOrBuilderList()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeOrBuilderListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeCount
public int getReservedRangeCount()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRange
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeOrBuilder
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedNameList
public com.google.protobuf.ProtocolStringList getReservedNameList()Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Specified by:
getReservedNameListin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- A list containing the reservedName.
-
getReservedNameCount
public int getReservedNameCount()Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Specified by:
getReservedNameCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The count of reservedName.
-
getReservedName
Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Specified by:
getReservedNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The reservedName at the given index.
-
getReservedNameBytes
public com.google.protobuf.ByteString getReservedNameBytes(int index) Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.
repeated string reserved_name = 10;- Specified by:
getReservedNameBytesin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the reservedName at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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.DescriptorProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.DescriptorProto 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.DescriptorProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.DescriptorProto parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.DescriptorProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static DescriptorProtos.DescriptorProto.Builder newBuilder(DescriptorProtos.DescriptorProto prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DescriptorProtos.DescriptorProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-