Метод |
Описание |
|
clear ( ) |
Reset all fields back to the initial values. |
|
extensions ( ) : ExtensionFieldMap |
Obtain the map of extensions in this message. |
|
fromStream ( Stream | resource | string $stream, Configuration $configuration = null ) : Message |
Creates message from the given stream. |
|
merge ( Message $message ) |
Merge $context into the message being built. |
|
readFrom ( Protobuf\ReadContext $context ) |
Serializes the message and returns a stream containing its bytes. |
|
serializedSize ( ComputeSizeContext $context ) : integer |
Compute the number of bytes that would be needed to encode the message |
|
toStream ( Configuration $configuration = null ) : Stream |
Serializes the message and returns a stream containing its bytes. |
|
unknownFieldSet ( ) : UnknownFieldSet |
Obtain the list of unknown fields in this message. |
|
writeTo ( WriteContext $context ) : Stream |
Encodes and writes the message |
|