Class Types.NestedField

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Types

    public static class Types.NestedField
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • optional

        public static Types.NestedField optional​(int id,
                                                 java.lang.String name,
                                                 Type type,
                                                 java.lang.String doc)
      • required

        public static Types.NestedField required​(int id,
                                                 java.lang.String name,
                                                 Type type,
                                                 java.lang.String doc)
      • of

        public static Types.NestedField of​(int id,
                                           boolean isOptional,
                                           java.lang.String name,
                                           Type type)
      • of

        public static Types.NestedField of​(int id,
                                           boolean isOptional,
                                           java.lang.String name,
                                           Type type,
                                           java.lang.String doc)
      • isOptional

        public boolean isOptional()
      • isRequired

        public boolean isRequired()
      • fieldId

        public int fieldId()
      • name

        public java.lang.String name()
      • type

        public Type type()
      • doc

        public java.lang.String doc()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object