Class Service

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

public final class Service extends Table
  • Constructor Details

    • Service

      public Service()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsService

      public static Service getRootAsService(ByteBuffer _bb)
    • getRootAsService

      public static Service getRootAsService(ByteBuffer _bb, Service obj)
    • __init

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

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

      public String name()
    • nameAsByteBuffer

      public ByteBuffer nameAsByteBuffer()
    • nameInByteBuffer

      public ByteBuffer nameInByteBuffer(ByteBuffer _bb)
    • calls

      public RPCCall calls(int j)
    • calls

      public RPCCall calls(RPCCall obj, int j)
    • callsLength

      public int callsLength()
    • callsByKey

      public RPCCall callsByKey(String key)
    • callsByKey

      public RPCCall callsByKey(RPCCall obj, String key)
    • callsVector

      public RPCCall.Vector callsVector()
    • callsVector

      public RPCCall.Vector callsVector(RPCCall.Vector 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)
    • documentation

      public String documentation(int j)
    • documentationLength

      public int documentationLength()
    • documentationVector

      public StringVector documentationVector()
    • documentationVector

      public StringVector documentationVector(StringVector obj)
    • declarationFile

      public String declarationFile()
      File that this Service is declared in.
    • declarationFileAsByteBuffer

      public ByteBuffer declarationFileAsByteBuffer()
    • declarationFileInByteBuffer

      public ByteBuffer declarationFileInByteBuffer(ByteBuffer _bb)
    • createService

      public static int createService(FlatBufferBuilder builder, int nameOffset, int callsOffset, int attributesOffset, int documentationOffset, int declarationFileOffset)
    • startService

      public static void startService(FlatBufferBuilder builder)
    • addName

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

      public static void addCalls(FlatBufferBuilder builder, int callsOffset)
    • createCallsVector

      public static int createCallsVector(FlatBufferBuilder builder, int[] data)
    • startCallsVector

      public static void startCallsVector(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)
    • 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)
    • addDeclarationFile

      public static void addDeclarationFile(FlatBufferBuilder builder, int declarationFileOffset)
    • endService

      public static int endService(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 Service __lookup_by_key(Service obj, int vectorLocation, String key, ByteBuffer bb)