SearchRequest
extends Message
in package
Generated from protobuf message <code>website.admin.realtime_news.SearchRequest</code>
Table of Contents
Properties
- $highlighted : mixed
- Permite buscar noticias destacadas, no destacadas o todas las noticias.
- $page_size : mixed
- Generated from protobuf field <code>int32 page_size = 2 [json_name = "pageSize"];</code>
- $page_token : mixed
- Generated from protobuf field <code>string page_token = 1 [json_name = "pageToken"];</code>
Methods
- __construct() : mixed
- Constructor.
- clearHighlighted() : mixed
- getHighlighted() : BoolValue|null
- Permite buscar noticias destacadas, no destacadas o todas las noticias.
- getHighlightedUnwrapped() : bool|null
- Returns the unboxed value from <code>getHighlighted()</code>
- getPageSize() : int
- Generated from protobuf field <code>int32 page_size = 2 [json_name = "pageSize"];</code>
- getPageToken() : string
- Generated from protobuf field <code>string page_token = 1 [json_name = "pageToken"];</code>
- hasHighlighted() : mixed
- setHighlighted() : $this
- Permite buscar noticias destacadas, no destacadas o todas las noticias.
- setHighlightedUnwrapped() : $this
- Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
- setPageSize() : $this
- Generated from protobuf field <code>int32 page_size = 2 [json_name = "pageSize"];</code>
- setPageToken() : $this
- Generated from protobuf field <code>string page_token = 1 [json_name = "pageToken"];</code>
Properties
$highlighted
Permite buscar noticias destacadas, no destacadas o todas las noticias.
protected
mixed
$highlighted
= null
Generated from protobuf field .google.protobuf.BoolValue highlighted = 3 [json_name = "highlighted"];
$page_size
Generated from protobuf field <code>int32 page_size = 2 [json_name = "pageSize"];</code>
protected
mixed
$page_size
= 0
$page_token
Generated from protobuf field <code>string page_token = 1 [json_name = "pageToken"];</code>
protected
mixed
$page_token
= ''
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 \Google\Protobuf\BoolValue $highlighted Permite buscar noticias destacadas, no destacadas o todas las noticias.}
clearHighlighted()
public
clearHighlighted() : mixed
getHighlighted()
Permite buscar noticias destacadas, no destacadas o todas las noticias.
public
getHighlighted() : BoolValue|null
Generated from protobuf field .google.protobuf.BoolValue highlighted = 3 [json_name = "highlighted"];
Return values
BoolValue|nullgetHighlightedUnwrapped()
Returns the unboxed value from <code>getHighlighted()</code>
public
getHighlightedUnwrapped() : bool|null
Permite buscar noticias destacadas, no destacadas o todas las noticias.
Generated from protobuf field .google.protobuf.BoolValue highlighted = 3 [json_name = "highlighted"];
Return values
bool|nullgetPageSize()
Generated from protobuf field <code>int32 page_size = 2 [json_name = "pageSize"];</code>
public
getPageSize() : int
Return values
intgetPageToken()
Generated from protobuf field <code>string page_token = 1 [json_name = "pageToken"];</code>
public
getPageToken() : string
Return values
stringhasHighlighted()
public
hasHighlighted() : mixed
setHighlighted()
Permite buscar noticias destacadas, no destacadas o todas las noticias.
public
setHighlighted(BoolValue $var) : $this
Generated from protobuf field .google.protobuf.BoolValue highlighted = 3 [json_name = "highlighted"];
Parameters
- $var : BoolValue
Return values
$thissetHighlightedUnwrapped()
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
public
setHighlightedUnwrapped(bool|null $var) : $this
Permite buscar noticias destacadas, no destacadas o todas las noticias.
Generated from protobuf field .google.protobuf.BoolValue highlighted = 3 [json_name = "highlighted"];
Parameters
- $var : bool|null
Return values
$thissetPageSize()
Generated from protobuf field <code>int32 page_size = 2 [json_name = "pageSize"];</code>
public
setPageSize(int $var) : $this
Parameters
- $var : int
Return values
$thissetPageToken()
Generated from protobuf field <code>string page_token = 1 [json_name = "pageToken"];</code>
public
setPageToken(string $var) : $this
Parameters
- $var : string