public static class Types.NestedField
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
Types.NestedField |
asOptional() |
Types.NestedField |
asRequired() |
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 Types.NestedField asOptional()
public boolean isRequired()
public Types.NestedField asRequired()
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.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object