ListReply
extends Message
in package
Generated from protobuf message <code>users.hobbies.ListReply</code>
Table of Contents
Properties
- $hobbies : mixed
- Generated from protobuf field <code>repeated .users.hobbies.Hobby hobbies = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getHobbies() : RepeatedField
- Generated from protobuf field <code>repeated .users.hobbies.Hobby hobbies = 1;</code>
- setHobbies() : $this
- Generated from protobuf field <code>repeated .users.hobbies.Hobby hobbies = 1;</code>
Properties
$hobbies
Generated from protobuf field <code>repeated .users.hobbies.Hobby hobbies = 1;</code>
private
mixed
$hobbies
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type \Users\Hobbies\Hobby[]|\Google\Protobuf\Internal\RepeatedField $hobbies}
getHobbies()
Generated from protobuf field <code>repeated .users.hobbies.Hobby hobbies = 1;</code>
public
getHobbies() : RepeatedField
Return values
RepeatedFieldsetHobbies()
Generated from protobuf field <code>repeated .users.hobbies.Hobby hobbies = 1;</code>
public
setHobbies(array<string|int, Hobby>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, Hobby>|RepeatedField