proto library Client - Class FeatureSetEditionDefault (v5.36.2)

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

A map from every known edition with a unique set of defaults to its defaults. Not all editions may be contained here. For a given edition, the defaults at the closest matching edition ordered at or before it should be used. This field must be in strict ascending order by edition.

Generated from protobuf message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault

Namespace

Google \ Protobuf \ Internal \ FeatureSetDefaults

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ edition int
↳ overridable_features Google\Protobuf\Internal\FeatureSet

Defaults of features that can be overridden in this edition.

↳ fixed_features Google\Protobuf\Internal\FeatureSet

Defaults of features that can't be overridden in this edition.

getEdition

Generated from protobuf field optional .google.protobuf.Edition edition = 3;

Returns
Type Description
int one of the values in {@see \Google\Protobuf\Internal\Edition}

hasEdition

clearEdition

setEdition

Generated from protobuf field optional .google.protobuf.Edition edition = 3;

Parameter
Name Description
var int

one of the values in Google\Protobuf\Internal\Edition

Returns
Type Description
$this

getOverridableFeatures

Defaults of features that can be overridden in this edition.

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

hasOverridableFeatures

clearOverridableFeatures

setOverridableFeatures

Defaults of features that can be overridden in this edition.

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

getFixedFeatures

Defaults of features that can't be overridden in this edition.

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

hasFixedFeatures

clearFixedFeatures

setFixedFeatures

Defaults of features that can't be overridden in this edition.

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