public abstract class MessageElement extends Object implements TypeElement
Modifier and Type | Class and Description |
---|---|
static interface |
MessageElement.Builder |
Constructor and Description |
---|
MessageElement() |
Modifier and Type | Method and Description |
---|---|
static MessageElement.Builder |
builder(Location location) |
abstract String |
documentation() |
abstract com.google.common.collect.ImmutableList<ExtensionsElement> |
extensions() |
abstract com.google.common.collect.ImmutableList<FieldElement> |
fields() |
abstract com.google.common.collect.ImmutableList<GroupElement> |
groups() |
abstract Location |
location() |
abstract String |
name() |
abstract com.google.common.collect.ImmutableList<TypeElement> |
nestedTypes() |
abstract com.google.common.collect.ImmutableList<OneOfElement> |
oneOfs() |
abstract com.google.common.collect.ImmutableList<OptionElement> |
options() |
abstract com.google.common.collect.ImmutableList<ReservedElement> |
reserveds() |
String |
toSchema() |
public static MessageElement.Builder builder(Location location)
public abstract Location location()
location
in interface TypeElement
public abstract String name()
name
in interface TypeElement
public abstract String documentation()
documentation
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<TypeElement> nestedTypes()
nestedTypes
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<OptionElement> options()
options
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<ReservedElement> reserveds()
public abstract com.google.common.collect.ImmutableList<FieldElement> fields()
public abstract com.google.common.collect.ImmutableList<OneOfElement> oneOfs()
public abstract com.google.common.collect.ImmutableList<ExtensionsElement> extensions()
public abstract com.google.common.collect.ImmutableList<GroupElement> groups()
public final String toSchema()
toSchema
in interface TypeElement
Copyright © 2013–2016 Square, Inc.. All rights reserved.