proto library Client - Class ExtensionRange (v5.36.2)

Reference documentation and code samples for the proto library Client class ExtensionRange.

Generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange

Namespace

Google \ Protobuf \ Internal \ DescriptorProto

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start int

Inclusive.

↳ end int

Exclusive.

↳ options Google\Protobuf\Internal\ExtensionRangeOptions

getStart

Inclusive.

Returns
Type Description
int

hasStart

clearStart

setStart

Inclusive.

Parameter
Name Description
var int
Returns
Type Description
$this

getEnd

Exclusive.

Returns
Type Description
int

hasEnd

clearEnd

setEnd

Exclusive.

Parameter
Name Description
var int
Returns
Type Description
$this

getOptions

Generated from protobuf field optional .google.protobuf.ExtensionRangeOptions options = 3;

Returns
Type Description
Google\Protobuf\Internal\ExtensionRangeOptions|null

hasOptions

clearOptions

setOptions

Generated from protobuf field optional .google.protobuf.ExtensionRangeOptions options = 3;

Parameter
Name Description
var Google\Protobuf\Internal\ExtensionRangeOptions
Returns
Type Description
$this