Cloud Speech V1 Client - Class ListPhraseSetResponse (1.18.3)

Reference documentation and code samples for the Cloud Speech V1 Client class ListPhraseSetResponse.

Message returned to the client by the ListPhraseSet method.

Generated from protobuf message google.cloud.speech.v1.ListPhraseSetResponse

Namespace

Google \ Cloud \ Speech \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ phrase_sets array<Google\Cloud\Speech\V1\PhraseSet>

The phrase set.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getPhraseSets

The phrase set.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPhraseSets

The phrase set.

Parameter
Name Description
var array<Google\Cloud\Speech\V1\PhraseSet>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this