|
static | debugFormatString ($value) |
|
static | debugFormatDouble ($value) |
|
static | lengthVarUint64 ($value) |
|
static | lengthVarInt64 ($value) |
|
static | lengthVarInt32 ($value) |
|
static | lengthString ($len) |
|
static | debugFormatBool ($b) |
|
static | debugFormatFloat ($value) |
|
static | debugFormatFixed32 ($value) |
|
static | debugFormatFixed64 ($value) |
|
static | debugFormatInt32 ($value) |
|
static | debugFormatInt64 ($value) |
|
static | integerEquals ($a, $b) |
|
The parent class of all protocol buffers. Subclasses are automatically generated by php protocol buffer compiler. Encoding methods can raise ProtocolBufferEncodeError if a value for an integer or long field is too large, or if any required field is not set. Decoding methods can raise ProtocolBufferDecodeError if they couldn't decode correctly, or the decoded message doesn't have all required fields.
google\net\ProtocolMessage::copyFrom |
( |
|
$pb | ) |
|
Copies data from another protocol buffer into this protocol buffer.
- Parameters
-
mixed | $pb | The protocol buffer to copy from. |
static google\net\ProtocolMessage::debugFormatString |
( |
|
$value | ) |
|
|
staticprotected |
Format protocol buffer as a text string for debugging.
static google\net\ProtocolMessage::integerEquals |
( |
|
$a, |
|
|
|
$b |
|
) |
| |
|
staticprotected |
Checks if two integers are equal.
- Parameters
-
int | $a | The first integer to compare. |
int | $b | The second integer to compare. |
- Returns
- bool True if the intergers are equal, false otherwise.
google\net\ProtocolMessage::isInitialized |
( |
| ) |
|
Checks if this protocol message has all of the requried fields initialized.
- Returns
- bool true if all fields are initialized, false otherwise.
google\net\ProtocolMessage::mergeFromString |
( |
|
$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
-
google\net\ProtocolMessage::mergePartialFromString |
( |
|
$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. |
google\net\ProtocolMessage::parseFromString |
( |
|
$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
-
google\net\ProtocolMessage::parsePartialFromString |
( |
|
$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. |
google\net\ProtocolMessage::serializePartialToString |
( |
| ) |
|
Serializes a protocol buffer that might not have all of the required fields set.
- Returns
- string The serialized protocol buffer.
google\net\ProtocolMessage::serializeToString |
( |
| ) |
|
Serializes the message and return it as a string.
- Exceptions
-
- Returns
- string The serialized protocol buffer.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/php/sdk/google/appengine/runtime/proto/ProtocolMessage.php