public static interface ProtoFileElement.Builder
Modifier and Type | Method and Description |
---|---|
ProtoFileElement |
build() |
ProtoFileElement.Builder |
extendDeclarations(com.google.common.collect.ImmutableList<ExtendElement> extendDeclarations) |
ProtoFileElement.Builder |
imports(com.google.common.collect.ImmutableList<String> imports) |
ProtoFileElement.Builder |
location(Location location) |
ProtoFileElement.Builder |
options(Collection<OptionElement> options) |
ProtoFileElement.Builder |
packageName(String packageName) |
ProtoFileElement.Builder |
publicImports(com.google.common.collect.ImmutableList<String> publicImports) |
ProtoFileElement.Builder |
services(com.google.common.collect.ImmutableList<ServiceElement> services) |
ProtoFileElement.Builder |
syntax(ProtoFile.Syntax syntax) |
ProtoFileElement.Builder |
types(com.google.common.collect.ImmutableList<TypeElement> types) |
ProtoFileElement.Builder location(Location location)
ProtoFileElement.Builder packageName(String packageName)
ProtoFileElement.Builder syntax(ProtoFile.Syntax syntax)
ProtoFileElement.Builder imports(com.google.common.collect.ImmutableList<String> imports)
ProtoFileElement.Builder publicImports(com.google.common.collect.ImmutableList<String> publicImports)
ProtoFileElement.Builder types(com.google.common.collect.ImmutableList<TypeElement> types)
ProtoFileElement.Builder services(com.google.common.collect.ImmutableList<ServiceElement> services)
ProtoFileElement.Builder extendDeclarations(com.google.common.collect.ImmutableList<ExtendElement> extendDeclarations)
ProtoFileElement.Builder options(Collection<OptionElement> options)
ProtoFileElement build()
Copyright © 2013–2016 Square, Inc.. All rights reserved.