public final class ProtoFile extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProtoFile.Syntax
Syntax version.
|
Modifier and Type | Method and Description |
---|---|
String |
javaPackage() |
Location |
location() |
String |
name()
Returns the name of this proto file, like
simple_message for squareup/protos/person/simple_message.proto . |
Options |
options() |
String |
packageName() |
com.google.common.collect.ImmutableList<Service> |
services() |
String |
toString() |
com.google.common.collect.ImmutableList<Type> |
types() |
public Location location()
public String name()
simple_message
for squareup/protos/person/simple_message.proto
.public String packageName()
public String javaPackage()
public com.google.common.collect.ImmutableList<Type> types()
public com.google.common.collect.ImmutableList<Service> services()
public Options options()
Copyright © 2013–2016 Square, Inc.. All rights reserved.