Modifier and Type | Method and Description |
---|---|
ProtoFile |
ProtoFile.Builder.build() |
static ProtoFile |
ProtoParser.parse(String name,
Reader reader)
Parse a named
.proto schema. |
static ProtoFile |
ProtoParser.parse(String name,
String data)
Parse a named
.proto schema. |
static ProtoFile |
ProtoParser.parseUtf8(File file)
Parse a
.proto definition file. |
static ProtoFile |
ProtoParser.parseUtf8(java.nio.file.Path path)
Parse a
.proto definition file. |
static ProtoFile |
ProtoParser.parseUtf8(String name,
InputStream is)
Parse a named
.proto schema. |
Copyright © 2015 Square, Inc.. All Rights Reserved.