@Namespace(value="google::protobuf") @NoOffset @Properties(inherit=tensorflow.class) public class MessageLite extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kMerge
enum google::protobuf::MessageLite::ParseFlags
|
static int |
kMergePartial
enum google::protobuf::MessageLite::ParseFlags
|
static int |
kMergePartialWithAliasing
enum google::protobuf::MessageLite::ParseFlags
|
static int |
kMergeWithAliasing
enum google::protobuf::MessageLite::ParseFlags
|
static int |
kParse
enum google::protobuf::MessageLite::ParseFlags
|
static int |
kParsePartial
enum google::protobuf::MessageLite::ParseFlags
|
static int |
kParsePartialWithAliasing
enum google::protobuf::MessageLite::ParseFlags
|
static int |
kParseWithAliasing
enum google::protobuf::MessageLite::ParseFlags
|
Constructor and Description |
---|
MessageLite(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 kMerge
public static final int kParse
public static final int kMergePartial
public static final int kParsePartial
public static final int kMergeWithAliasing
public static final int kParseWithAliasing
public static final int kMergePartialWithAliasing
public static final int kParsePartialWithAliasing
public MessageLite(Pointer p)
Pointer(Pointer)
.@StdString public BytePointer GetTypeName()
public MessageLite New()
public MessageLite New(Arena arena)
public Arena GetArena()
public Pointer GetMaybeArenaPointer()
public void Clear()
@StdString public BytePointer InitializationErrorString()
public void CheckTypeAndMergeFrom(@Const @ByRef MessageLite other)
@StdString public BytePointer DebugString()
@StdString public BytePointer ShortDebugString()
@Cast(value="bool") public boolean ParseFromCodedStream(CodedInputStream input)
@Cast(value="bool") public boolean ParsePartialFromCodedStream(CodedInputStream input)
@Cast(value="bool") public boolean ParseFromZeroCopyStream(ZeroCopyInputStream input)
@Cast(value="bool") public boolean ParsePartialFromZeroCopyStream(ZeroCopyInputStream input)
@Cast(value="bool") public boolean MergePartialFromBoundedZeroCopyStream(ZeroCopyInputStream input, int size)
@Cast(value="bool") public boolean MergeFromBoundedZeroCopyStream(ZeroCopyInputStream input, int size)
@Cast(value="bool") public boolean ParseFromBoundedZeroCopyStream(ZeroCopyInputStream input, int size)
@Cast(value="bool") public boolean ParsePartialFromBoundedZeroCopyStream(ZeroCopyInputStream input, int size)
@Cast(value="bool") public boolean ParseFromString(@StdString BytePointer data)
@Cast(value="bool") public boolean ParseFromString(@StdString String data)
@Cast(value="bool") public boolean ParsePartialFromString(@StdString BytePointer data)
@Cast(value="bool") public boolean ParsePartialFromString(@StdString String data)
@Cast(value="bool") public boolean ParsePartialFromArray(@Const Pointer data, int size)
@Cast(value="bool") public boolean MergeFromCodedStream(CodedInputStream input)
@Cast(value="bool") public boolean MergePartialFromCodedStream(CodedInputStream input)
@Cast(value="bool") public boolean MergeFromString(@StdString BytePointer data)
@Cast(value="bool") public boolean MergeFromString(@StdString String data)
@Cast(value="bool") public boolean SerializeToCodedStream(CodedOutputStream output)
@Cast(value="bool") public boolean SerializePartialToCodedStream(CodedOutputStream output)
@Cast(value="bool") public boolean SerializeToZeroCopyStream(ZeroCopyOutputStream output)
@Cast(value="bool") public boolean SerializePartialToZeroCopyStream(ZeroCopyOutputStream output)
@Cast(value="bool") public boolean SerializeToString(@StdString @Cast(value={"char*","std::string*"}) BytePointer output)
@Cast(value="bool") public boolean SerializePartialToString(@StdString @Cast(value={"char*","std::string*"}) BytePointer output)
@Cast(value="bool") public boolean SerializePartialToArray(Pointer data, int size)
@StdString public BytePointer SerializeAsString()
@StdString public BytePointer SerializePartialAsString()
@Cast(value="bool") public boolean AppendToString(@StdString @Cast(value={"char*","std::string*"}) BytePointer output)
@Cast(value="bool") public boolean AppendPartialToString(@StdString @Cast(value={"char*","std::string*"}) BytePointer output)
public int ByteSize()
public void SerializeWithCachedSizes(CodedOutputStream output)
@Cast(value="google::protobuf::uint8*") public BytePointer SerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") BytePointer target)
@Cast(value="google::protobuf::uint8*") public ByteBuffer SerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") ByteBuffer target)
@Cast(value="google::protobuf::uint8*") public byte[] SerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") byte[] target)
public int GetCachedSize()
@Cast(value="google::protobuf::uint8*") public BytePointer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") BytePointer target)
@Cast(value="google::protobuf::uint8*") public ByteBuffer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") ByteBuffer target)
Copyright © 2022. All rights reserved.