class IndexValue extends ProtocolMessage (View source)

Methods

string
serializeToString()

Serializes the message and return it as a string.

string
serializePartialToString()

Serializes a protocol buffer that might not have all of the required fields set.

parseFromString(string $s)

Fills the message with a protocol buffer parsed from the given input string.

parsePartialFromString(string $s)

Fills the message with a protocol buffer parsed from the given input string. Will not fail if the resulting protocol buffer is not fully initialized.

mergeFromString(string $s)

Like parseFromString, fills the message with a protocol buffer parsed from the given input string.

mergePartialFromString(string $s)

Like parsePartialFromString, fills the message with a protocol buffer parsed from the given input string. Will not fail if the resulting protocol buffer is not fully initialized.

copyFrom(mixed $pb)

Copies data from another protocol buffer into this protocol buffer.

bool
isInitialized()

Checks if this protocol message has all of the requried fields initialized.

checkInitialized()

No description

tryMerge($d)

No description

outputPartial($out)

No description

byteSizePartial()

No description

clear()

No description

mergeFrom($x)

No description

equals($x)

No description

shortDebugString($prefix = "")

No description

static 
debugFormatString($value)

Format protocol buffer as a text string for debugging.

static 
debugFormatDouble($value)

No description

static 
lengthVarUint64($value)

No description

static 
lengthVarInt64($value)

No description

static 
lengthVarInt32($value)

No description

static 
lengthString($len)

No description

static 
debugFormatBool($b)

No description

static 
debugFormatFloat($value)

No description

static 
debugFormatFixed32($value)

No description

static 
debugFormatFixed64($value)

No description

static 
debugFormatInt32($value)

No description

static 
debugFormatInt64($value)

No description

checkProtoArray($arr)

No description

static bool
integerEquals(int $a, int $b)

Checks if two integers are equal.

getPropertyName()

No description

setPropertyName($val)

No description

clearPropertyName()

No description

hasPropertyName()

No description

getValue()

No description

mutableValue()

No description

clearValue()

No description

hasValue()

No description

Details

string serializeToString()

Serializes the message and return it as a string.

Return Value

string The serialized protocol buffer.

Exceptions

ProtocolBufferEncodeError If the protocol buffer is not initialized.

string serializePartialToString()

Serializes a protocol buffer that might not have all of the required fields set.

Return Value

string The serialized protocol buffer.

parseFromString(string $s)

Fills the message with a protocol buffer parsed from the given input string.

Parameters

string $s The string containing a serialized protocol buffer.

Exceptions

ProtocolBufferDecodeError If the result message is not correctly initialized.

parsePartialFromString(string $s)

Fills the message with a protocol buffer parsed from the given input string. Will not fail if the resulting protocol buffer is not fully initialized.

Parameters

string $s The string containing a serialized protocol buffer.

mergeFromString(string $s)

Like parseFromString, fills the message with a protocol buffer parsed from the given input string.

Parameters

string $s The string containing a serialized protocol buffer.

Exceptions

ProtocolBufferDecodeError If the result message is not correctly initialized.

mergePartialFromString(string $s)

Like parsePartialFromString, fills the message with a protocol buffer parsed from the given input string. Will not fail if the resulting protocol buffer is not fully initialized.

Parameters

string $s The string containing a serialized protocol buffer.

copyFrom(mixed $pb)

Copies data from another protocol buffer into this protocol buffer.

Parameters

mixed $pb The protocol buffer to copy from.

bool isInitialized()

Checks if this protocol message has all of the requried fields initialized.

Return Value

bool true if all fields are initialized, false otherwise.

checkInitialized()

tryMerge($d)

Parameters

$d

outputPartial($out)

Parameters

$out

byteSizePartial()

clear()

mergeFrom($x)

Parameters

$x

equals($x)

Parameters

$x

shortDebugString($prefix = "")

Parameters

$prefix

static protected debugFormatString($value)

Format protocol buffer as a text string for debugging.

Parameters

$value

static protected debugFormatDouble($value)

Parameters

$value

static protected lengthVarUint64($value)

Parameters

$value

static protected lengthVarInt64($value)

Parameters

$value

static protected lengthVarInt32($value)

Parameters

$value

static protected lengthString($len)

Parameters

$len

static protected debugFormatBool($b)

Parameters

$b

static protected debugFormatFloat($value)

Parameters

$value

static protected debugFormatFixed32($value)

Parameters

$value

static protected debugFormatFixed64($value)

Parameters

$value

static protected debugFormatInt32($value)

Parameters

$value

static protected debugFormatInt64($value)

Parameters

$value

protected checkProtoArray($arr)

Parameters

$arr

static protected bool integerEquals(int $a, int $b)

Checks if two integers are equal.

Parameters

int $a The first integer to compare.
int $b The second integer to compare.

Return Value

bool True if the intergers are equal, false otherwise.

getPropertyName()

setPropertyName($val)

Parameters

$val

clearPropertyName()

hasPropertyName()

getValue()

mutableValue()

clearValue()

hasValue()