Field
class Field extends ProtocolMessage (View source)
Methods
Serializes a protocol buffer that might not have all of the required fields set.
Fills the message with a protocol buffer parsed from the given input string.
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.
Like parseFromString, fills the message with a protocol buffer parsed from the given input string.
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.
Copies data from another protocol buffer into this protocol buffer.
Checks if this protocol message has all of the requried fields initialized.
No description
No description
No description
No description
No description
No description
No description
No description
Format protocol buffer as a text string for debugging.
No description
No description
No description
No description
No description
No description
No description
No description
Details
in ProtocolMessage at line 39
string
serializeToString()
Serializes the message and return it as a string.
in ProtocolMessage at line 54
string
serializePartialToString()
Serializes a protocol buffer that might not have all of the required fields set.
in ProtocolMessage at line 77
parseFromString(string $s)
Fills the message with a protocol buffer parsed from the given input string.
in ProtocolMessage at line 92
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.
in ProtocolMessage at line 108
mergeFromString(string $s)
Like parseFromString, fills the message with a protocol buffer parsed from the given input string.
in ProtocolMessage at line 128
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.
in ProtocolMessage at line 140
copyFrom(mixed $pb)
Copies data from another protocol buffer into this protocol buffer.
in ProtocolMessage at line 154
bool
isInitialized()
Checks if this protocol message has all of the requried fields initialized.
at line 433
checkInitialized()
at line 410
tryMerge($d)
at line 399
outputPartial($out)
at line 387
byteSizePartial()
at line 383
clear()
at line 438
mergeFrom($x)
at line 447
equals($x)
at line 455
shortDebugString($prefix = "")
in ProtocolMessage at line 171
static protected
debugFormatString($value)
Format protocol buffer as a text string for debugging.
in ProtocolMessage at line 181
static protected
debugFormatDouble($value)
in ProtocolMessage at line 192
static protected
lengthVarUint64($value)
in ProtocolMessage at line 227
static protected
lengthVarInt64($value)
in ProtocolMessage at line 241
static protected
lengthVarInt32($value)
in ProtocolMessage at line 245
static protected
lengthString($len)
in ProtocolMessage at line 249
static protected
debugFormatBool($b)
in ProtocolMessage at line 259
static protected
debugFormatFloat($value)
in ProtocolMessage at line 263
static protected
debugFormatFixed32($value)
in ProtocolMessage at line 268
static protected
debugFormatFixed64($value)
in ProtocolMessage at line 290
static protected
debugFormatInt32($value)
in ProtocolMessage at line 296
static protected
debugFormatInt64($value)
in ProtocolMessage at line 303
protected
checkProtoArray($arr)
in ProtocolMessage at line 322
static protected bool
integerEquals(int $a, int $b)
Checks if two integers are equal.