| Modifier and Type | Method and Description |
|---|---|
Proto |
Proto.getImportedProto(File file) |
Proto |
Proto.getImportedProto(String url) |
Proto |
Proto.getImportedProto(URL url) |
Proto |
EnumField.getProto() |
Proto |
Service.getProto() |
Proto |
Service.RpcMethod.getProto() |
Proto |
Proto.getProto() |
Proto |
HasProto.getProto() |
Proto |
EnumGroup.getProto() |
Proto |
EnumGroup.Value.getProto() |
Proto |
Extension.getProto() |
Proto |
Field.getProto() |
Proto |
Message.getProto() |
Proto |
DefaultProtoLoader.load(String path,
Proto importer) |
Proto |
Proto.Loader.load(String path,
Proto importer) |
protected Proto |
DefaultProtoLoader.loadFrom(File file,
Proto importer) |
protected Proto |
DefaultProtoLoader.loadFrom(URL resource,
Proto importer) |
static Proto |
DefaultProtoLoader.loadFromClasspath(String path,
Proto importer)
Loads a proto from the classpath.
|
protected Proto |
DefaultProtoLoader.loadFromOtherResource(String path,
Proto importer) |
static Proto |
ProtoUtil.parseProto(File file) |
protected Proto |
DefaultProtoLoader.searchFromAll(String path,
Proto importer)
Search from every possible resource.
|
protected Proto |
DefaultProtoLoader.searchFromProtoPathAndClasspath(String path,
Proto importer)
Search from proto_path and classpath (in that order).
|
protected Proto |
DefaultProtoLoader.searchFromProtoPathOnly(String path,
Proto importer)
Search from proto_path only.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Proto> |
Proto.getImportedProtos() |
| Constructor and Description |
|---|
EnumGroup(String name,
Message parentMessage,
Proto proto) |
Extension(Proto proto,
Message parentMessage,
String packageName,
String type) |
Message(String name,
Message parentMessage,
Proto proto) |
Proto(File file,
Proto.Loader loader,
Proto importer) |
Proto(URL url,
Proto.Loader loader,
Proto importer) |
Service(String name,
Message parentMessage,
Proto proto) |
Copyright © 2009–2021. All rights reserved.