Google Cloud Api Hub V1 Client - Class Point (0.1.1)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class Point.

Point within the file (line and character).

Generated from protobuf message google.cloud.apihub.v1.Point

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ line int

Required. Line number (zero-indexed).

↳ character int

Required. Character position within the line (zero-indexed).

getLine

Required. Line number (zero-indexed).

Returns
Type Description
int

setLine

Required. Line number (zero-indexed).

Parameter
Name Description
var int
Returns
Type Description
$this

getCharacter

Required. Character position within the line (zero-indexed).

Returns
Type Description
int

setCharacter

Required. Character position within the line (zero-indexed).

Parameter
Name Description
var int
Returns
Type Description
$this