Distributor
extends Message
in package
Generated from protobuf message <code>agrboards.distributors.Distributor</code>
Table of Contents
Properties
- $display_name : mixed
- Generated from protobuf field <code>string display_name = 2;</code>
- $name : mixed
- Generated from protobuf field <code>string name = 1;</code>
- $subtitle : mixed
- Generated from protobuf field <code>string subtitle = 3;</code>
- $visible : mixed
- Generated from protobuf field <code>bool visible = 4;</code>
- $commodities : mixed
- Generated from protobuf field <code>repeated string commodities = 5;</code>
Methods
- __construct() : mixed
- Constructor.
- getCommodities() : RepeatedField
- Generated from protobuf field <code>repeated string commodities = 5;</code>
- getDisplayName() : string
- Generated from protobuf field <code>string display_name = 2;</code>
- getName() : string
- Generated from protobuf field <code>string name = 1;</code>
- getSubtitle() : string
- Generated from protobuf field <code>string subtitle = 3;</code>
- getVisible() : bool
- Generated from protobuf field <code>bool visible = 4;</code>
- setCommodities() : $this
- Generated from protobuf field <code>repeated string commodities = 5;</code>
- setDisplayName() : $this
- Generated from protobuf field <code>string display_name = 2;</code>
- setName() : $this
- Generated from protobuf field <code>string name = 1;</code>
- setSubtitle() : $this
- Generated from protobuf field <code>string subtitle = 3;</code>
- setVisible() : $this
- Generated from protobuf field <code>bool visible = 4;</code>
Properties
$display_name
Generated from protobuf field <code>string display_name = 2;</code>
protected
mixed
$display_name
= ''
$name
Generated from protobuf field <code>string name = 1;</code>
protected
mixed
$name
= ''
$subtitle
Generated from protobuf field <code>string subtitle = 3;</code>
protected
mixed
$subtitle
= ''
$visible
Generated from protobuf field <code>bool visible = 4;</code>
protected
mixed
$visible
= false
$commodities
Generated from protobuf field <code>repeated string commodities = 5;</code>
private
mixed
$commodities
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 string $name @type string $display_name @type string $subtitle @type bool $visible @type string[]|\Google\Protobuf\Internal\RepeatedField $commodities}
getCommodities()
Generated from protobuf field <code>repeated string commodities = 5;</code>
public
getCommodities() : RepeatedField
Return values
RepeatedFieldgetDisplayName()
Generated from protobuf field <code>string display_name = 2;</code>
public
getDisplayName() : string
Return values
stringgetName()
Generated from protobuf field <code>string name = 1;</code>
public
getName() : string
Return values
stringgetSubtitle()
Generated from protobuf field <code>string subtitle = 3;</code>
public
getSubtitle() : string
Return values
stringgetVisible()
Generated from protobuf field <code>bool visible = 4;</code>
public
getVisible() : bool
Return values
boolsetCommodities()
Generated from protobuf field <code>repeated string commodities = 5;</code>
public
setCommodities(array<string|int, string>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, string>|RepeatedField
Return values
$thissetDisplayName()
Generated from protobuf field <code>string display_name = 2;</code>
public
setDisplayName(string $var) : $this
Parameters
- $var : string
Return values
$thissetName()
Generated from protobuf field <code>string name = 1;</code>
public
setName(string $var) : $this
Parameters
- $var : string
Return values
$thissetSubtitle()
Generated from protobuf field <code>string subtitle = 3;</code>
public
setSubtitle(string $var) : $this
Parameters
- $var : string
Return values
$thissetVisible()
Generated from protobuf field <code>bool visible = 4;</code>
public
setVisible(bool $var) : $this
Parameters
- $var : bool