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,java.io.Serializable
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.DescriptorProto extends com.google.protobuf.GeneratedMessageV3 implements DescriptorProtos.DescriptorProtoOrBuilder
Describes a message type.
Protobuf typegoogle.protobuf.DescriptorProto- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescriptorProtos.DescriptorProto.BuilderDescribes a message type.static classDescriptorProtos.DescriptorProto.ExtensionRangeProtobuf typegoogle.protobuf.DescriptorProto.ExtensionRangestatic interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilderstatic classDescriptorProtos.DescriptorProto.ReservedRangeRange of reserved tag numbers.static interfaceDescriptorProtos.DescriptorProto.ReservedRangeOrBuilder-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intENUM_TYPE_FIELD_NUMBERstatic intEXTENSION_FIELD_NUMBERstatic intEXTENSION_RANGE_FIELD_NUMBERstatic intFIELD_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNESTED_TYPE_FIELD_NUMBERstatic intONEOF_DECL_FIELD_NUMBERstatic intOPTIONS_FIELD_NUMBERstatic com.google.protobuf.Parser<DescriptorProtos.DescriptorProto>PARSERDeprecated.static intRESERVED_NAME_FIELD_NUMBERstatic intRESERVED_RANGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static DescriptorProtos.DescriptorProtogetDefaultInstance()DescriptorProtos.DescriptorProtogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DescriptorProtos.EnumDescriptorProtogetEnumType(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;intgetEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;java.util.List<DescriptorProtos.EnumDescriptorProto>getEnumTypeList()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.EnumDescriptorProtoOrBuildergetEnumTypeOrBuilder(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 4;java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder>getEnumTypeOrBuilderList()repeated .google.protobuf.EnumDescriptorProto enum_type = 4;DescriptorProtos.FieldDescriptorProtogetExtension(int index)repeated .google.protobuf.FieldDescriptorProto extension = 6;intgetExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 6;java.util.List<DescriptorProtos.FieldDescriptorProto>getExtensionList()repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.FieldDescriptorProtoOrBuildergetExtensionOrBuilder(int index)repeated .google.protobuf.FieldDescriptorProto extension = 6;java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder>getExtensionOrBuilderList()repeated .google.protobuf.FieldDescriptorProto extension = 6;DescriptorProtos.DescriptorProto.ExtensionRangegetExtensionRange(int index)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;intgetExtensionRangeCount()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange>getExtensionRangeList()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.DescriptorProto.ExtensionRangeOrBuildergetExtensionRangeOrBuilder(int index)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;java.util.List<? extends DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder>getExtensionRangeOrBuilderList()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;DescriptorProtos.FieldDescriptorProtogetField(int index)repeated .google.protobuf.FieldDescriptorProto field = 2;intgetFieldCount()repeated .google.protobuf.FieldDescriptorProto field = 2;java.util.List<DescriptorProtos.FieldDescriptorProto>getFieldList()repeated .google.protobuf.FieldDescriptorProto field = 2;DescriptorProtos.FieldDescriptorProtoOrBuildergetFieldOrBuilder(int index)repeated .google.protobuf.FieldDescriptorProto field = 2;java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder>getFieldOrBuilderList()repeated .google.protobuf.FieldDescriptorProto field = 2;java.lang.StringgetName()optional string name = 1;com.google.protobuf.ByteStringgetNameBytes()optional string name = 1;DescriptorProtos.DescriptorProtogetNestedType(int index)repeated .google.protobuf.DescriptorProto nested_type = 3;intgetNestedTypeCount()repeated .google.protobuf.DescriptorProto nested_type = 3;java.util.List<DescriptorProtos.DescriptorProto>getNestedTypeList()repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.DescriptorProtoOrBuildergetNestedTypeOrBuilder(int index)repeated .google.protobuf.DescriptorProto nested_type = 3;java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder>getNestedTypeOrBuilderList()repeated .google.protobuf.DescriptorProto nested_type = 3;DescriptorProtos.OneofDescriptorProtogetOneofDecl(int index)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;intgetOneofDeclCount()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;java.util.List<DescriptorProtos.OneofDescriptorProto>getOneofDeclList()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.OneofDescriptorProtoOrBuildergetOneofDeclOrBuilder(int index)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;java.util.List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder>getOneofDeclOrBuilderList()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;DescriptorProtos.MessageOptionsgetOptions()optional .google.protobuf.MessageOptions options = 7;DescriptorProtos.MessageOptionsOrBuildergetOptionsOrBuilder()optional .google.protobuf.MessageOptions options = 7;com.google.protobuf.Parser<DescriptorProtos.DescriptorProto>getParserForType()java.lang.StringgetReservedName(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.intgetReservedNameCount()Reserved field names, which may not be used by fields in the same message.com.google.protobuf.ProtocolStringListgetReservedNameList()Reserved field names, which may not be used by fields in the same message.DescriptorProtos.DescriptorProto.ReservedRangegetReservedRange(int index)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;intgetReservedRangeCount()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;java.util.List<DescriptorProtos.DescriptorProto.ReservedRange>getReservedRangeList()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;DescriptorProtos.DescriptorProto.ReservedRangeOrBuildergetReservedRangeOrBuilder(int index)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;java.util.List<? extends DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder>getReservedRangeOrBuilderList()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;intgetSerializedSize()inthashCode()booleanhasName()optional string name = 1;booleanhasOptions()optional .google.protobuf.MessageOptions options = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DescriptorProtos.DescriptorProto.BuildernewBuilder()static DescriptorProtos.DescriptorProto.BuildernewBuilder(DescriptorProtos.DescriptorProto prototype)DescriptorProtos.DescriptorProto.BuildernewBuilderForType()protected DescriptorProtos.DescriptorProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DescriptorProtos.DescriptorProtoparseDelimitedFrom(java.io.InputStream input)static DescriptorProtos.DescriptorProtoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.DescriptorProtoparseFrom(byte[] data)static DescriptorProtos.DescriptorProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.DescriptorProtoparseFrom(com.google.protobuf.ByteString data)static DescriptorProtos.DescriptorProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.DescriptorProtoparseFrom(com.google.protobuf.CodedInputStream input)static DescriptorProtos.DescriptorProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.DescriptorProtoparseFrom(java.io.InputStream input)static DescriptorProtos.DescriptorProtoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorProtos.DescriptorProtoparseFrom(java.nio.ByteBuffer data)static DescriptorProtos.DescriptorProtoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DescriptorProtos.DescriptorProto>parser()DescriptorProtos.DescriptorProto.BuildertoBuilder()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, 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
-
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTENSION_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NESTED_TYPE_FIELD_NUMBER
public static final int NESTED_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
-
EXTENSION_RANGE_FIELD_NUMBER
public static final int EXTENSION_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ONEOF_DECL_FIELD_NUMBER
public static final int ONEOF_DECL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESERVED_RANGE_FIELD_NUMBER
public static final int RESERVED_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESERVED_NAME_FIELD_NUMBER
public static final int RESERVED_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<DescriptorProtos.DescriptorProto> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public java.lang.String 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
public java.util.List<DescriptorProtos.FieldDescriptorProto> getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldOrBuilderList
public java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> 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
public DescriptorProtos.FieldDescriptorProto getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldOrBuilder
public DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2;- Specified by:
getFieldOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionList
public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionOrBuilderList
public java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> 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
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionOrBuilder
public DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6;- Specified by:
getExtensionOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeList
public java.util.List<DescriptorProtos.DescriptorProto> getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeOrBuilderList
public java.util.List<? extends DescriptorProtos.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
public DescriptorProtos.DescriptorProto getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeOrBuilder
public DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3;- Specified by:
getNestedTypeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeList
public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeOrBuilderList
public java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> 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
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeOrBuilder
public DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4;- Specified by:
getEnumTypeOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeList
public java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;- Specified by:
getExtensionRangeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeOrBuilderList
public java.util.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
public DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index)
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
public java.util.List<DescriptorProtos.OneofDescriptorProto> getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclOrBuilderList
public java.util.List<? extends DescriptorProtos.OneofDescriptorProtoOrBuilder> 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
public DescriptorProtos.OneofDescriptorProto getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;- Specified by:
getOneofDeclin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclOrBuilder
public DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder(int index)
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
public DescriptorProtos.MessageOptions getOptions()
optional .google.protobuf.MessageOptions options = 7;- Specified by:
getOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The options.
-
getOptionsOrBuilder
public DescriptorProtos.MessageOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.MessageOptions options = 7;- Specified by:
getOptionsOrBuilderin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeList
public java.util.List<DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeOrBuilderList
public java.util.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
public DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;- Specified by:
getReservedRangein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeOrBuilder
public DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder(int index)
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
public java.lang.String getReservedName(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:
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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.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.DescriptorProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(java.nio.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
public static DescriptorProtos.DescriptorProto parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.DescriptorProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.DescriptorProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.DescriptorProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public DescriptorProtos.DescriptorProto.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DescriptorProtos.DescriptorProto.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.DescriptorProto.Builder newBuilder(DescriptorProtos.DescriptorProto prototype)
-
toBuilder
public DescriptorProtos.DescriptorProto.Builder 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
public static DescriptorProtos.DescriptorProto getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DescriptorProtos.DescriptorProto> parser()
-
getParserForType
public com.google.protobuf.Parser<DescriptorProtos.DescriptorProto> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DescriptorProtos.DescriptorProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-