@Namespace(value="google::protobuf") @NoOffset @Properties(inherit=onnx.class) public class EnumDescriptor extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
EnumDescriptor.ReservedRange |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
EnumDescriptor(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
containing_type() |
void |
CopyTo(EnumDescriptorProto proto) |
BytePointer |
DebugString() |
BytePointer |
DebugStringWithOptions(DebugStringOptions options) |
FileDescriptor |
file() |
EnumDescriptor.ReservedRange |
FindReservedRangeContainingNumber(int number) |
EnumValueDescriptor |
FindValueByName(BytePointer name) |
EnumValueDescriptor |
FindValueByName(String name) |
EnumValueDescriptor |
FindValueByNumber(int number) |
BytePointer |
full_name() |
boolean |
GetSourceLocation(SourceLocation out_location) |
int |
index() |
boolean |
is_placeholder() |
boolean |
IsReservedName(BytePointer name) |
boolean |
IsReservedName(String name) |
boolean |
IsReservedNumber(int number) |
BytePointer |
name() |
EnumOptions |
options() |
int |
reserved_name_count() |
BytePointer |
reserved_name(int index) |
int |
reserved_range_count() |
EnumDescriptor.ReservedRange |
reserved_range(int index) |
int |
value_count() |
EnumValueDescriptor |
value(int index) |
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 EnumDescriptor(Pointer p)
Pointer(Pointer)
.@StdString public BytePointer name()
@StdString public BytePointer full_name()
public int index()
@Const public FileDescriptor file()
public int value_count()
@Const public EnumValueDescriptor value(int index)
@Const public EnumValueDescriptor FindValueByName(@StdString BytePointer name)
@Const public EnumValueDescriptor FindValueByName(@StdString String name)
@Const public EnumValueDescriptor FindValueByNumber(int number)
@Const @ByRef public EnumOptions options()
public void CopyTo(EnumDescriptorProto proto)
@StdString public BytePointer DebugString()
@StdString public BytePointer DebugStringWithOptions(@Const @ByRef DebugStringOptions options)
public int reserved_range_count()
@Const public EnumDescriptor.ReservedRange reserved_range(int index)
@Const public EnumDescriptor.ReservedRange FindReservedRangeContainingNumber(int number)
public int reserved_name_count()
@StdString public BytePointer reserved_name(int index)
@Cast(value="bool") public boolean IsReservedName(@StdString BytePointer name)
@Cast(value="bool") public boolean IsReservedName(@StdString String name)
@Cast(value="bool") public boolean GetSourceLocation(SourceLocation out_location)
Copyright © 2024. All rights reserved.