OutgoingMessage extends AbstractMessage
Protobuf message : OutgoingMessage
Table of Contents
Methods
- clear() : mixed
- {@inheritdoc}
- descriptor() : mixed
- {@inheritdoc}
- extensions() : mixed
- {@inheritdoc}
- fromArray() : mixed
- {@inheritdoc}
- fromStream() : mixed
- {@inheritdoc}
- getBody() : string
- Get 'body' value
- getCreated() : int
- Get 'created' value
- getExpiry() : int
- Get 'expiry' value
- getId() : Stream
- Get 'id' value
- getSender() : Sender
- Get 'sender' value
- hasBody() : bool
- Check if 'body' has a value
- hasCreated() : bool
- Check if 'created' has a value
- hasExpiry() : bool
- Check if 'expiry' has a value
- hasId() : bool
- Check if 'id' has a value
- hasSender() : bool
- Check if 'sender' has a value
- merge() : mixed
- {@inheritdoc}
- readFrom() : mixed
- {@inheritdoc}
- serializedSize() : mixed
- {@inheritdoc}
- setBody() : mixed
- Set 'body' value
- setCreated() : mixed
- Set 'created' value
- setExpiry() : mixed
- Set 'expiry' value
- setId() : mixed
- Set 'id' value
- setSender() : mixed
- Set 'sender' value
- toStream() : mixed
- {@inheritdoc}
- unknownFieldSet() : mixed
- {@inheritdoc}
- writeTo() : mixed
- {@inheritdoc}
Methods
clear()
{@inheritdoc}
public
clear() : mixed
descriptor()
{@inheritdoc}
public
static descriptor() : mixed
extensions()
{@inheritdoc}
public
extensions() : mixed
fromArray()
{@inheritdoc}
public
static fromArray(array<string|int, mixed> $values) : mixed
Parameters
- $values : array<string|int, mixed>
fromStream()
{@inheritdoc}
public
static fromStream(mixed $stream[, Configuration $configuration = null ]) : mixed
Parameters
- $stream : mixed
- $configuration : Configuration = null
getBody()
Get 'body' value
public
getBody() : string
Return values
stringgetCreated()
Get 'created' value
public
getCreated() : int
Return values
intgetExpiry()
Get 'expiry' value
public
getExpiry() : int
Return values
intgetId()
Get 'id' value
public
getId() : Stream
Return values
StreamgetSender()
Get 'sender' value
public
getSender() : Sender
Return values
SenderhasBody()
Check if 'body' has a value
public
hasBody() : bool
Return values
boolhasCreated()
Check if 'created' has a value
public
hasCreated() : bool
Return values
boolhasExpiry()
Check if 'expiry' has a value
public
hasExpiry() : bool
Return values
boolhasId()
Check if 'id' has a value
public
hasId() : bool
Return values
boolhasSender()
Check if 'sender' has a value
public
hasSender() : bool
Return values
boolmerge()
{@inheritdoc}
public
merge(Message $message) : mixed
Parameters
- $message : Message
readFrom()
{@inheritdoc}
public
readFrom(ReadContext $context) : mixed
Parameters
- $context : ReadContext
serializedSize()
{@inheritdoc}
public
serializedSize(ComputeSizeContext $context) : mixed
Parameters
- $context : ComputeSizeContext
setBody()
Set 'body' value
public
setBody([string $value = null ]) : mixed
Parameters
- $value : string = null
setCreated()
Set 'created' value
public
setCreated([int $value = null ]) : mixed
Parameters
- $value : int = null
setExpiry()
Set 'expiry' value
public
setExpiry([int $value = null ]) : mixed
Parameters
- $value : int = null
setId()
Set 'id' value
public
setId([Stream $value = null ]) : mixed
Parameters
- $value : Stream = null
setSender()
Set 'sender' value
public
setSender([Sender $value = null ]) : mixed
Parameters
- $value : Sender = null
toStream()
{@inheritdoc}
public
toStream([Configuration $configuration = null ]) : mixed
Parameters
- $configuration : Configuration = null
unknownFieldSet()
{@inheritdoc}
public
unknownFieldSet() : mixed
writeTo()
{@inheritdoc}
public
writeTo(WriteContext $context) : mixed
Parameters
- $context : WriteContext