Skip to content

Commit dbc9618

Browse files
1 parent 1dfa29e commit dbc9618

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

src/ChromePolicy/Proto2DescriptorProto.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ class Proto2DescriptorProto extends \Google\Collection
3232
protected $nestedTypeDataType = 'array';
3333
protected $oneofDeclType = Proto2OneofDescriptorProto::class;
3434
protected $oneofDeclDataType = 'array';
35+
/**
36+
* @var string
37+
*/
38+
public $visibility;
3539

3640
/**
3741
* @param Proto2EnumDescriptorProto[]
@@ -103,6 +107,20 @@ public function getOneofDecl()
103107
{
104108
return $this->oneofDecl;
105109
}
110+
/**
111+
* @param string
112+
*/
113+
public function setVisibility($visibility)
114+
{
115+
$this->visibility = $visibility;
116+
}
117+
/**
118+
* @return string
119+
*/
120+
public function getVisibility()
121+
{
122+
return $this->visibility;
123+
}
106124
}
107125

108126
// Adding a class alias for backwards compatibility with the previous class name.

src/ChromePolicy/Proto2EnumDescriptorProto.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ class Proto2EnumDescriptorProto extends \Google\Collection
2626
public $name;
2727
protected $valueType = Proto2EnumValueDescriptorProto::class;
2828
protected $valueDataType = 'array';
29+
/**
30+
* @var string
31+
*/
32+
public $visibility;
2933

3034
/**
3135
* @param string
@@ -55,6 +59,20 @@ public function getValue()
5559
{
5660
return $this->value;
5761
}
62+
/**
63+
* @param string
64+
*/
65+
public function setVisibility($visibility)
66+
{
67+
$this->visibility = $visibility;
68+
}
69+
/**
70+
* @return string
71+
*/
72+
public function getVisibility()
73+
{
74+
return $this->visibility;
75+
}
5876
}
5977

6078
// Adding a class alias for backwards compatibility with the previous class name.

0 commit comments

Comments
 (0)