Reference documentation and code samples for the proto library Client class NamePart.
The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files).
E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents "foo.(bar.baz).moo".
Generated from protobuf message google.protobuf.UninterpretedOption.NamePart
Namespace
Google \ Protobuf \ Internal \ UninterpretedOptionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name_part |
string
|
↳ is_extension |
bool
|
getNamePart
Generated from protobuf field required string name_part = 1;
| Returns | |
|---|---|
| Type | Description |
string |
|
hasNamePart
clearNamePart
setNamePart
Generated from protobuf field required string name_part = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIsExtension
Generated from protobuf field required bool is_extension = 2;
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasIsExtension
clearIsExtension
setIsExtension
Generated from protobuf field required bool is_extension = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|