RecipeType
extends Message
in package
Generated from protobuf message <code>recipes.recipe_types.RecipeType</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>
Methods
- __construct() : mixed
- Constructor.
- getDisplayName() : string
- Generated from protobuf field <code>string display_name = 2;</code>
- getName() : string
- Generated from protobuf field <code>string name = 1;</code>
- setDisplayName() : $this
- Generated from protobuf field <code>string display_name = 2;</code>
- setName() : $this
- Generated from protobuf field <code>string name = 1;</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
= ''
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}
getDisplayName()
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
stringsetDisplayName()
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