public class FileDescriptorProtoPOJO extends Object
DescriptorProtos.FileDescriptorProto| 限定符和类型 | 字段和说明 |
|---|---|
List<String> |
dependencies
Names of files imported by this file.
|
List<EnumDescriptorProtoPOJO> |
enumTypes
All top-level enumeration types definitions in this file.
|
List<FieldDescriptorProtoPOJO> |
extensions
extensions definitions in this file.
|
List<DescriptorProtoPOJO> |
messageTypes
All top-level messages types definitions in this file.
|
String |
name
file name, relative to root of source tree
|
FileOptionsPOJO |
options
optionsdefinitions in this file.
|
String |
pkg
e.g.
|
List<Integer> |
publicDependency
publicDependency
|
List<ServiceDescriptorProtoPOJO> |
services
All service definitions in this file.
|
SourceCodeInfoPOJO |
sourceCodeInfo
sourceCodeInfo
|
List<Integer> |
weakDependency
weakDependency
|
| 构造器和说明 |
|---|
FileDescriptorProtoPOJO() |
@Protobuf(order=3, fieldType=STRING) public List<String> dependencies
Names of files imported by this file.
@Protobuf(order=4, fieldType=OBJECT) public List<DescriptorProtoPOJO> messageTypes
All top-level messages types definitions in this file.
@Protobuf(order=5, fieldType=OBJECT) public List<EnumDescriptorProtoPOJO> enumTypes
@Protobuf(order=6, fieldType=OBJECT) public List<ServiceDescriptorProtoPOJO> services
@Protobuf(order=7, fieldType=OBJECT) public List<FieldDescriptorProtoPOJO> extensions
@Protobuf(order=8, fieldType=OBJECT) public FileOptionsPOJO options
@Protobuf(order=9, fieldType=OBJECT) public SourceCodeInfoPOJO sourceCodeInfo
@Protobuf(order=10, fieldType=INT32) public List<Integer> publicDependency
Copyright © 2022 Baidu, Inc.. All rights reserved.