public final class Field extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Field.Label |
Modifier and Type | Method and Description |
---|---|
String |
documentation() |
String |
getDefault() |
boolean |
isDeprecated() |
boolean |
isExtension() |
boolean |
isOptional() |
boolean |
isPacked() |
boolean |
isRedacted() |
boolean |
isRepeated() |
boolean |
isRequired() |
Field.Label |
label() |
Location |
location() |
String |
name() |
Options |
options() |
String |
packageName() |
String |
qualifiedName()
Returns this field's name, prefixed with its package name.
|
int |
tag() |
String |
toString() |
ProtoType |
type() |
public Location location()
public String packageName()
public Field.Label label()
public boolean isRepeated()
public boolean isOptional()
public boolean isRequired()
public ProtoType type()
public String name()
public String qualifiedName()
public int tag()
public String documentation()
public Options options()
public boolean isDeprecated()
public boolean isPacked()
public boolean isRedacted()
public String getDefault()
public boolean isExtension()
Copyright © 2013–2016 Square, Inc.. All rights reserved.