public static class Types.NestedField
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
doc() |
boolean |
equals(java.lang.Object o) |
int |
fieldId() |
int |
hashCode() |
boolean |
isOptional() |
boolean |
isRequired() |
java.lang.String |
name() |
static Types.NestedField |
of(int id,
boolean isOptional,
java.lang.String name,
Type type) |
static Types.NestedField |
of(int id,
boolean isOptional,
java.lang.String name,
Type type,
java.lang.String doc) |
static Types.NestedField |
optional(int id,
java.lang.String name,
Type type) |
static Types.NestedField |
optional(int id,
java.lang.String name,
Type type,
java.lang.String doc) |
static Types.NestedField |
required(int id,
java.lang.String name,
Type type) |
static Types.NestedField |
required(int id,
java.lang.String name,
Type type,
java.lang.String doc) |
java.lang.String |
toString() |
Type |
type() |
public static Types.NestedField optional(int id, java.lang.String name, Type type)
public static Types.NestedField optional(int id, java.lang.String name, Type type, java.lang.String doc)
public static Types.NestedField required(int id, java.lang.String name, Type type)
public static Types.NestedField required(int id, java.lang.String name, Type type, java.lang.String doc)
public static Types.NestedField of(int id, boolean isOptional, java.lang.String name, Type type)
public static Types.NestedField of(int id, boolean isOptional, java.lang.String name, Type type, java.lang.String doc)
public boolean isOptional()
public boolean isRequired()
public int fieldId()
public java.lang.String name()
public Type type()
public java.lang.String doc()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object