IncomingMessage extends AbstractMessage
Protobuf message : IncomingMessage
Table of Contents
Methods
- addReceivers() : mixed
- Add a new element to 'receivers'
- clear() : mixed
- {@inheritdoc}
- descriptor() : mixed
- {@inheritdoc}
- extensions() : mixed
- {@inheritdoc}
- fromArray() : mixed
- {@inheritdoc}
- fromStream() : mixed
- {@inheritdoc}
- getBody() : string
- Get 'body' value
- getExpiry() : int
- Get 'expiry' value
- getReceiversList() : Collection<string|int, Receiver>
- Get 'receivers' value
- getSender() : Sender
- Get 'sender' value
- getType() : string
- Get 'type' value
- hasBody() : bool
- Check if 'body' has a value
- hasExpiry() : bool
- Check if 'expiry' has a value
- hasReceiversList() : bool
- Check if 'receivers' has a value
- hasSender() : bool
- Check if 'sender' has a value
- hasType() : bool
- Check if 'type' has a value
- merge() : mixed
- {@inheritdoc}
- readFrom() : mixed
- {@inheritdoc}
- serializedSize() : mixed
- {@inheritdoc}
- setBody() : mixed
- Set 'body' value
- setExpiry() : mixed
- Set 'expiry' value
- setReceiversList() : mixed
- Set 'receivers' value
- setSender() : mixed
- Set 'sender' value
- setType() : mixed
- Set 'type' value
- toStream() : mixed
- {@inheritdoc}
- unknownFieldSet() : mixed
- {@inheritdoc}
- writeTo() : mixed
- {@inheritdoc}
Methods
addReceivers()
Add a new element to 'receivers'
public
addReceivers(Receiver $value) : mixed
Parameters
- $value : Receiver
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
stringgetExpiry()
Get 'expiry' value
public
getExpiry() : int
Return values
intgetReceiversList()
Get 'receivers' value
public
getReceiversList() : Collection<string|int, Receiver>
Return values
Collection<string|int, Receiver>getSender()
Get 'sender' value
public
getSender() : Sender
Return values
SendergetType()
Get 'type' value
public
getType() : string
Return values
stringhasBody()
Check if 'body' has a value
public
hasBody() : bool
Return values
boolhasExpiry()
Check if 'expiry' has a value
public
hasExpiry() : bool
Return values
boolhasReceiversList()
Check if 'receivers' has a value
public
hasReceiversList() : bool
Return values
boolhasSender()
Check if 'sender' has a value
public
hasSender() : bool
Return values
boolhasType()
Check if 'type' has a value
public
hasType() : 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
setExpiry()
Set 'expiry' value
public
setExpiry([int $value = null ]) : mixed
Parameters
- $value : int = null
setReceiversList()
Set 'receivers' value
public
setReceiversList([Collection<string|int, Receiver> $value = null ]) : mixed
Parameters
- $value : Collection<string|int, Receiver> = null
setSender()
Set 'sender' value
public
setSender([Sender $value = null ]) : mixed
Parameters
- $value : Sender = null
setType()
Set 'type' value
public
setType([string $value = null ]) : mixed
Parameters
- $value : string = 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