SearchRequest
extends Message
in package
Generated from protobuf message <code>recipes.recipes.SearchRequest</code>
Table of Contents
Properties
- $category : mixed
- Generated from protobuf field <code>string category = 4;</code>
- $page_size : mixed
- Generated from protobuf field <code>int32 page_size = 2;</code>
- $page_token : mixed
- Generated from protobuf field <code>string page_token = 1;</code>
- $title : mixed
- Generated from protobuf field <code>string title = 3;</code>
- $type : mixed
- Generated from protobuf field <code>string type = 5;</code>
Methods
- __construct() : mixed
- Constructor.
- getCategory() : string
- Generated from protobuf field <code>string category = 4;</code>
- getPageSize() : int
- Generated from protobuf field <code>int32 page_size = 2;</code>
- getPageToken() : string
- Generated from protobuf field <code>string page_token = 1;</code>
- getTitle() : string
- Generated from protobuf field <code>string title = 3;</code>
- getType() : string
- Generated from protobuf field <code>string type = 5;</code>
- setCategory() : $this
- Generated from protobuf field <code>string category = 4;</code>
- setPageSize() : $this
- Generated from protobuf field <code>int32 page_size = 2;</code>
- setPageToken() : $this
- Generated from protobuf field <code>string page_token = 1;</code>
- setTitle() : $this
- Generated from protobuf field <code>string title = 3;</code>
- setType() : $this
- Generated from protobuf field <code>string type = 5;</code>
Properties
$category
Generated from protobuf field <code>string category = 4;</code>
protected
mixed
$category
= ''
$page_size
Generated from protobuf field <code>int32 page_size = 2;</code>
protected
mixed
$page_size
= 0
$page_token
Generated from protobuf field <code>string page_token = 1;</code>
protected
mixed
$page_token
= ''
$title
Generated from protobuf field <code>string title = 3;</code>
protected
mixed
$title
= ''
$type
Generated from protobuf field <code>string type = 5;</code>
protected
mixed
$type
= ''
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 $page_token @type int $page_size @type string $title @type string $category @type string $type}
getCategory()
Generated from protobuf field <code>string category = 4;</code>
public
getCategory() : string
Return values
stringgetPageSize()
Generated from protobuf field <code>int32 page_size = 2;</code>
public
getPageSize() : int
Return values
intgetPageToken()
Generated from protobuf field <code>string page_token = 1;</code>
public
getPageToken() : string
Return values
stringgetTitle()
Generated from protobuf field <code>string title = 3;</code>
public
getTitle() : string
Return values
stringgetType()
Generated from protobuf field <code>string type = 5;</code>
public
getType() : string
Return values
stringsetCategory()
Generated from protobuf field <code>string category = 4;</code>
public
setCategory(string $var) : $this
Parameters
- $var : string
Return values
$thissetPageSize()
Generated from protobuf field <code>int32 page_size = 2;</code>
public
setPageSize(int $var) : $this
Parameters
- $var : int
Return values
$thissetPageToken()
Generated from protobuf field <code>string page_token = 1;</code>
public
setPageToken(string $var) : $this
Parameters
- $var : string
Return values
$thissetTitle()
Generated from protobuf field <code>string title = 3;</code>
public
setTitle(string $var) : $this
Parameters
- $var : string
Return values
$thissetType()
Generated from protobuf field <code>string type = 5;</code>
public
setType(string $var) : $this
Parameters
- $var : string