proto library Client - Class UninterpretedOption (v5.36.2)
Reference documentation and code samples for the proto library Client class UninterpretedOption.
A message representing a option the parser does not recognize. This only
appears in options protos created by the compiler::Parser class.
DescriptorPool resolves these when building Descriptor objects. Therefore,
options protos in descriptor objects (e.g. returned by Descriptor::options(),
or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
in them.
Generated from protobuf message google.protobuf.UninterpretedOption
Namespace
Google \ Protobuf \ Internal
Methods
__construct
| Parameters |
| Name |
Description |
data |
array
Optional. Data for populating the Message object.
|
↳ name |
array<UninterpretedOption\NamePart>
|
↳ identifier_value |
string
The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.
|
↳ positive_int_value |
int|string
|
↳ negative_int_value |
int|string
|
↳ double_value |
float
|
↳ string_value |
string
|
↳ aggregate_value |
string
|
getName
Generated from protobuf field repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
setName
Generated from protobuf field repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
| Returns |
| Type |
Description |
$this |
|
getIdentifierValue
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing. Exactly one of these should be set.
| Returns |
| Type |
Description |
string |
|
hasIdentifierValue
clearIdentifierValue
setIdentifierValue
The value of the uninterpreted option, in whatever type the tokenizer
identified it as during parsing. Exactly one of these should be set.
| Parameter |
| Name |
Description |
var |
string
|
| Returns |
| Type |
Description |
$this |
|
getPositiveIntValue
Generated from protobuf field optional uint64 positive_int_value = 4;
| Returns |
| Type |
Description |
int|string |
|
hasPositiveIntValue
clearPositiveIntValue
setPositiveIntValue
Generated from protobuf field optional uint64 positive_int_value = 4;
| Parameter |
| Name |
Description |
var |
int|string
|
| Returns |
| Type |
Description |
$this |
|
getNegativeIntValue
Generated from protobuf field optional int64 negative_int_value = 5;
| Returns |
| Type |
Description |
int|string |
|
hasNegativeIntValue
clearNegativeIntValue
setNegativeIntValue
Generated from protobuf field optional int64 negative_int_value = 5;
| Parameter |
| Name |
Description |
var |
int|string
|
| Returns |
| Type |
Description |
$this |
|
getDoubleValue
Generated from protobuf field optional double double_value = 6;
| Returns |
| Type |
Description |
float |
|
hasDoubleValue
clearDoubleValue
setDoubleValue
Generated from protobuf field optional double double_value = 6;
| Parameter |
| Name |
Description |
var |
float
|
| Returns |
| Type |
Description |
$this |
|
getStringValue
Generated from protobuf field optional bytes string_value = 7;
| Returns |
| Type |
Description |
string |
|
hasStringValue
clearStringValue
setStringValue
Generated from protobuf field optional bytes string_value = 7;
| Parameter |
| Name |
Description |
var |
string
|
| Returns |
| Type |
Description |
$this |
|
getAggregateValue
Generated from protobuf field optional string aggregate_value = 8;
| Returns |
| Type |
Description |
string |
|
hasAggregateValue
clearAggregateValue
setAggregateValue
Generated from protobuf field optional string aggregate_value = 8;
| Parameter |
| Name |
Description |
var |
string
|
| Returns |
| Type |
Description |
$this |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-01 UTC."],[],[]]