Reference documentation and code samples for the proto library Client class EditionDefault.
Generated from protobuf message google.protobuf.FieldOptions.EditionDefault
Namespace
Google \ Protobuf \ Internal \ FieldOptionsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ edition |
int
|
↳ value |
string
Textproto value. |
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 |
|
getValue
Textproto value.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasValue
clearValue
setValue
Textproto value.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|