public abstract class ProtoFileElement extends Object
.proto
file.Modifier and Type | Class and Description |
---|---|
static interface |
ProtoFileElement.Builder |
Constructor and Description |
---|
ProtoFileElement() |
Modifier and Type | Method and Description |
---|---|
static ProtoFileElement.Builder |
builder(Location location) |
abstract com.google.common.collect.ImmutableList<ExtendElement> |
extendDeclarations() |
abstract com.google.common.collect.ImmutableList<String> |
imports() |
abstract Location |
location() |
abstract com.google.common.collect.ImmutableList<OptionElement> |
options() |
abstract String |
packageName() |
abstract com.google.common.collect.ImmutableList<String> |
publicImports() |
abstract com.google.common.collect.ImmutableList<ServiceElement> |
services() |
abstract ProtoFile.Syntax |
syntax() |
String |
toSchema() |
abstract com.google.common.collect.ImmutableList<TypeElement> |
types() |
public static ProtoFileElement.Builder builder(Location location)
public abstract Location location()
public abstract String packageName()
public abstract ProtoFile.Syntax syntax()
public abstract com.google.common.collect.ImmutableList<String> imports()
public abstract com.google.common.collect.ImmutableList<String> publicImports()
public abstract com.google.common.collect.ImmutableList<TypeElement> types()
public abstract com.google.common.collect.ImmutableList<ServiceElement> services()
public abstract com.google.common.collect.ImmutableList<ExtendElement> extendDeclarations()
public abstract com.google.common.collect.ImmutableList<OptionElement> options()
public final String toSchema()
Copyright © 2013–2016 Square, Inc.. All rights reserved.