public abstract class ProtoFile extends Object
.proto
file.Modifier and Type | Class and Description |
---|---|
static class |
ProtoFile.Builder |
static class |
ProtoFile.Syntax
Syntax version.
|
Modifier and Type | Method and Description |
---|---|
static ProtoFile.Builder |
builder(String filePath) |
abstract List<String> |
dependencies() |
abstract List<ExtendElement> |
extendDeclarations() |
abstract String |
filePath() |
abstract List<OptionElement> |
options() |
abstract String |
packageName() |
abstract List<String> |
publicDependencies() |
abstract List<ServiceElement> |
services() |
abstract ProtoFile.Syntax |
syntax() |
String |
toSchema() |
abstract List<TypeElement> |
typeElements() |
public static ProtoFile.Builder builder(String filePath)
public abstract String filePath()
public abstract String packageName()
public abstract ProtoFile.Syntax syntax()
public abstract List<TypeElement> typeElements()
public abstract List<ServiceElement> services()
public abstract List<ExtendElement> extendDeclarations()
public abstract List<OptionElement> options()
public final String toSchema()
Copyright © 2015 Square, Inc.. All Rights Reserved.