Class EnumVal

java.lang.Object
com.google.flatbuffers.Table
com.google.flatbuffers.reflection.EnumVal

public final class EnumVal extends Table
  • Constructor Details

    • EnumVal

      public EnumVal()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsEnumVal

      public static EnumVal getRootAsEnumVal(ByteBuffer _bb)
    • getRootAsEnumVal

      public static EnumVal getRootAsEnumVal(ByteBuffer _bb, EnumVal obj)
    • __init

      public void __init(int _i, ByteBuffer _bb)
    • __assign

      public EnumVal __assign(int _i, ByteBuffer _bb)
    • name

      public String name()
    • nameAsByteBuffer

      public ByteBuffer nameAsByteBuffer()
    • nameInByteBuffer

      public ByteBuffer nameInByteBuffer(ByteBuffer _bb)
    • value

      public long value()
    • unionType

      public Type unionType()
    • unionType

      public Type unionType(Type obj)
    • documentation

      public String documentation(int j)
    • documentationLength

      public int documentationLength()
    • documentationVector

      public StringVector documentationVector()
    • documentationVector

      public StringVector documentationVector(StringVector obj)
    • attributes

      public KeyValue attributes(int j)
    • attributes

      public KeyValue attributes(KeyValue obj, int j)
    • attributesLength

      public int attributesLength()
    • attributesByKey

      public KeyValue attributesByKey(String key)
    • attributesByKey

      public KeyValue attributesByKey(KeyValue obj, String key)
    • attributesVector

      public KeyValue.Vector attributesVector()
    • attributesVector

      public KeyValue.Vector attributesVector(KeyValue.Vector obj)
    • createEnumVal

      public static int createEnumVal(FlatBufferBuilder builder, int nameOffset, long value, int unionTypeOffset, int documentationOffset, int attributesOffset)
    • startEnumVal

      public static void startEnumVal(FlatBufferBuilder builder)
    • addName

      public static void addName(FlatBufferBuilder builder, int nameOffset)
    • addValue

      public static void addValue(FlatBufferBuilder builder, long value)
    • addUnionType

      public static void addUnionType(FlatBufferBuilder builder, int unionTypeOffset)
    • addDocumentation

      public static void addDocumentation(FlatBufferBuilder builder, int documentationOffset)
    • createDocumentationVector

      public static int createDocumentationVector(FlatBufferBuilder builder, int[] data)
    • startDocumentationVector

      public static void startDocumentationVector(FlatBufferBuilder builder, int numElems)
    • addAttributes

      public static void addAttributes(FlatBufferBuilder builder, int attributesOffset)
    • createAttributesVector

      public static int createAttributesVector(FlatBufferBuilder builder, int[] data)
    • startAttributesVector

      public static void startAttributesVector(FlatBufferBuilder builder, int numElems)
    • endEnumVal

      public static int endEnumVal(FlatBufferBuilder builder)
    • keysCompare

      protected int keysCompare(Integer o1, Integer o2, ByteBuffer _bb)
      Description copied from class: Table
      Compare two tables by the key.
      Overrides:
      keysCompare in class Table
      Parameters:
      o1 - An 'Integer' index of the first key into the bb.
      o2 - An 'Integer' index of the second key into the bb.
      _bb - A ByteBuffer to get the keys.
    • __lookup_by_key

      public static EnumVal __lookup_by_key(EnumVal obj, int vectorLocation, long key, ByteBuffer bb)