Google Cloud Design Center V1 Client - Class CodeRange (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class CodeRange.

CodeRange represents a portion of code.

Generated from protobuf message google.cloud.designcenter.v1.CodeRange

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start CodePosition

Output only. Start position.

↳ end CodePosition

Output only. End position.

getStart

Output only. Start position.

Returns
Type Description
CodePosition|null

hasStart

clearStart

setStart

Output only. Start position.

Parameter
Name Description
var CodePosition
Returns
Type Description
$this

getEnd

Output only. End position.

Returns
Type Description
CodePosition|null

hasEnd

clearEnd

setEnd

Output only. End position.

Parameter
Name Description
var CodePosition
Returns
Type Description
$this