Reference documentation and code samples for the proto library Client class ExtensionRangeOptions.
Generated from protobuf message google.protobuf.ExtensionRangeOptions
Namespace
Google \ Protobuf \ InternalMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uninterpreted_option |
array<UninterpretedOption>
The parser stores options it doesn't recognize here. See above. |
↳ declaration |
array<ExtensionRangeOptions\Declaration>
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally. |
↳ features |
FeatureSet
Any features defined in the specific edition. |
↳ verification |
int
The verification state of the range. TODO: flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED. |
getUninterpretedOption
The parser stores options it doesn't recognize here. See above.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<UninterpretedOption> |
|
setUninterpretedOption
The parser stores options it doesn't recognize here. See above.
| Parameter | |
|---|---|
| Name | Description |
var |
array<UninterpretedOption>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeclaration
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ExtensionRangeOptions\Declaration> |
|
setDeclaration
For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ExtensionRangeOptions\Declaration>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFeatures
Any features defined in the specific edition.
| Returns | |
|---|---|
| Type | Description |
FeatureSet|null |
|
hasFeatures
clearFeatures
setFeatures
Any features defined in the specific edition.
| Parameter | |
|---|---|
| Name | Description |
var |
FeatureSet
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVerification
The verification state of the range.
TODO: flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.
| Returns | |
|---|---|
| Type | Description |
int |
one of the values in {@see \Google\Protobuf\Internal\ExtensionRangeOptions\VerificationState} |
hasVerification
clearVerification
setVerification
The verification state of the range.
TODO: flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.
| Parameter | |
|---|---|
| Name | Description |
var |
int
one of the values in ExtensionRangeOptions\VerificationState |
| Returns | |
|---|---|
| Type | Description |
$this |
|