Class Service
java.lang.Object
com.google.flatbuffers.Table
com.google.flatbuffers.reflection.Service
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static Service__lookup_by_key(Service obj, int vectorLocation, String key, ByteBuffer bb) static voidaddAttributes(FlatBufferBuilder builder, int attributesOffset) static voidaddCalls(FlatBufferBuilder builder, int callsOffset) static voidaddDeclarationFile(FlatBufferBuilder builder, int declarationFileOffset) static voidaddDocumentation(FlatBufferBuilder builder, int documentationOffset) static voidaddName(FlatBufferBuilder builder, int nameOffset) attributes(int j) attributes(KeyValue obj, int j) attributesByKey(KeyValue obj, String key) attributesByKey(String key) intcalls(int j) callsByKey(RPCCall obj, String key) callsByKey(String key) intstatic intcreateAttributesVector(FlatBufferBuilder builder, int[] data) static intcreateCallsVector(FlatBufferBuilder builder, int[] data) static intcreateDocumentationVector(FlatBufferBuilder builder, int[] data) static intcreateService(FlatBufferBuilder builder, int nameOffset, int callsOffset, int attributesOffset, int documentationOffset, int declarationFileOffset) File that this Service is declared in.documentation(int j) intstatic intendService(FlatBufferBuilder builder) static Servicestatic ServicegetRootAsService(ByteBuffer _bb, Service obj) protected intkeysCompare(Integer o1, Integer o2, ByteBuffer _bb) Compare two tables by the key.name()static voidstartAttributesVector(FlatBufferBuilder builder, int numElems) static voidstartCallsVector(FlatBufferBuilder builder, int numElems) static voidstartDocumentationVector(FlatBufferBuilder builder, int numElems) static voidstartService(FlatBufferBuilder builder) static voidMethods inherited from class com.google.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, sortTables
-
Constructor Details
-
Service
public Service()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsService
-
getRootAsService
-
__init
-
__assign
-
name
-
nameAsByteBuffer
-
nameInByteBuffer
-
calls
-
calls
-
callsLength
public int callsLength() -
callsByKey
-
callsByKey
-
callsVector
-
callsVector
-
attributes
-
attributes
-
attributesLength
public int attributesLength() -
attributesByKey
-
attributesByKey
-
attributesVector
-
attributesVector
-
documentation
-
documentationLength
public int documentationLength() -
documentationVector
-
documentationVector
-
declarationFile
File that this Service is declared in. -
declarationFileAsByteBuffer
-
declarationFileInByteBuffer
-
createService
public static int createService(FlatBufferBuilder builder, int nameOffset, int callsOffset, int attributesOffset, int documentationOffset, int declarationFileOffset) -
startService
-
addName
-
addCalls
-
createCallsVector
-
startCallsVector
-
addAttributes
-
createAttributesVector
-
startAttributesVector
-
addDocumentation
-
createDocumentationVector
-
startDocumentationVector
-
addDeclarationFile
-
endService
-
keysCompare
Description copied from class:TableCompare two tables by the key.- Overrides:
keysComparein classTable- Parameters:
o1- An 'Integer' index of the first key into the bb.o2- An 'Integer' index of the second key into the bb._bb- AByteBufferto get the keys.
-
__lookup_by_key
-