Google Cloud Vision Ai V1 Client - Class ListAnnotationsResponse (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ListAnnotationsResponse.

Request message for ListAnnotations API.

Generated from protobuf message google.cloud.visionai.v1.ListAnnotationsResponse

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ annotations array<Annotation>

The annotations from the specified asset.

↳ 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.

getAnnotations

The annotations from the specified asset.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAnnotations

The annotations from the specified asset.

Parameter
Name Description
var array<Annotation>
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