class OneofField
Hierarchy
- class \Google\Protobuf\Internal\OneofField
Expanded class hierarchy of OneofField
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ OneofField.php, line 12
Namespace
Google\Protobuf\InternalView source
class OneofField {
private $desc;
private $field_name;
private $number = 0;
private $value;
public function __construct($desc) {
$this->desc = $desc;
}
public function setValue($value) {
$this->value = $value;
}
public function getValue() {
return $this->value;
}
public function setFieldName($field_name) {
$this->field_name = $field_name;
}
public function getFieldName() {
return $this->field_name;
}
public function setNumber($number) {
$this->number = $number;
}
public function getNumber() {
return $this->number;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
OneofField::$desc | private | property | |
OneofField::$field_name | private | property | |
OneofField::$number | private | property | |
OneofField::$value | private | property | |
OneofField::getFieldName | public | function | |
OneofField::getNumber | public | function | |
OneofField::getValue | public | function | |
OneofField::setFieldName | public | function | |
OneofField::setNumber | public | function | |
OneofField::setValue | public | function | |
OneofField::__construct | public | function |