@Namespace(value="google::protobuf") @NoOffset @Properties(inherit=onnx.class) public class FileDescriptor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
SYNTAX_PROTO2
enum google::protobuf::FileDescriptor::Syntax
|
static int |
SYNTAX_PROTO3
enum google::protobuf::FileDescriptor::Syntax
|
static int |
SYNTAX_UNKNOWN
enum google::protobuf::FileDescriptor::Syntax
|
Constructor and Description |
---|
FileDescriptor(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int SYNTAX_UNKNOWN
public static final int SYNTAX_PROTO2
public static final int SYNTAX_PROTO3
public FileDescriptor(Pointer p)
Pointer(Pointer)
.@StdString public BytePointer name()
@StdString @Name(value="package") public BytePointer _package()
@Const public DescriptorPool pool()
public int dependency_count()
@Const public FileDescriptor dependency(int index)
public int public_dependency_count()
@Const public FileDescriptor public_dependency(int index)
public int weak_dependency_count()
@Const public FileDescriptor weak_dependency(int index)
public int message_type_count()
@Cast(value="const google::protobuf::Descriptor*") public Pointer message_type(int index)
public int enum_type_count()
@Const public EnumDescriptor enum_type(int index)
public int service_count()
@Const public ServiceDescriptor service(int index)
public int extension_count()
@Const public FieldDescriptor extension(int index)
@Const @ByRef public FileOptions options()
@Cast(value="const char*") public static BytePointer SyntaxName(@Cast(value="google::protobuf::FileDescriptor::Syntax") int syntax)
@Cast(value="const google::protobuf::Descriptor*") public Pointer FindMessageTypeByName(@StdString BytePointer name)
@Cast(value="const google::protobuf::Descriptor*") public Pointer FindMessageTypeByName(@StdString String name)
@Const public EnumDescriptor FindEnumTypeByName(@StdString BytePointer name)
@Const public EnumDescriptor FindEnumTypeByName(@StdString String name)
@Const public EnumValueDescriptor FindEnumValueByName(@StdString BytePointer name)
@Const public EnumValueDescriptor FindEnumValueByName(@StdString String name)
@Const public ServiceDescriptor FindServiceByName(@StdString BytePointer name)
@Const public ServiceDescriptor FindServiceByName(@StdString String name)
@Const public FieldDescriptor FindExtensionByName(@StdString BytePointer name)
@Const public FieldDescriptor FindExtensionByName(@StdString String name)
@Const public FieldDescriptor FindExtensionByLowercaseName(@StdString BytePointer name)
@Const public FieldDescriptor FindExtensionByLowercaseName(@StdString String name)
@Const public FieldDescriptor FindExtensionByCamelcaseName(@StdString BytePointer name)
@Const public FieldDescriptor FindExtensionByCamelcaseName(@StdString String name)
public void CopyTo(FileDescriptorProto proto)
public void CopySourceCodeInfoTo(FileDescriptorProto proto)
public void CopyJsonNameTo(FileDescriptorProto proto)
@StdString public BytePointer DebugString()
@StdString public BytePointer DebugStringWithOptions(@Const @ByRef DebugStringOptions options)
@Cast(value="bool") public boolean GetSourceLocation(SourceLocation out_location)
@Cast(value="bool") public boolean GetSourceLocation(@StdVector IntPointer path, SourceLocation out_location)
@Cast(value="bool") public boolean GetSourceLocation(@StdVector IntBuffer path, SourceLocation out_location)
@Cast(value="bool") public boolean GetSourceLocation(@StdVector int[] path, SourceLocation out_location)
Copyright © 2024. All rights reserved.