File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ class Proto2DescriptorProto extends \Google\Collection
32
32
protected $ nestedTypeDataType = 'array ' ;
33
33
protected $ oneofDeclType = Proto2OneofDescriptorProto::class;
34
34
protected $ oneofDeclDataType = 'array ' ;
35
+ /**
36
+ * @var string
37
+ */
38
+ public $ visibility ;
35
39
36
40
/**
37
41
* @param Proto2EnumDescriptorProto[]
@@ -103,6 +107,20 @@ public function getOneofDecl()
103
107
{
104
108
return $ this ->oneofDecl ;
105
109
}
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
+ }
106
124
}
107
125
108
126
// Adding a class alias for backwards compatibility with the previous class name.
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ class Proto2EnumDescriptorProto extends \Google\Collection
26
26
public $ name ;
27
27
protected $ valueType = Proto2EnumValueDescriptorProto::class;
28
28
protected $ valueDataType = 'array ' ;
29
+ /**
30
+ * @var string
31
+ */
32
+ public $ visibility ;
29
33
30
34
/**
31
35
* @param string
@@ -55,6 +59,20 @@ public function getValue()
55
59
{
56
60
return $ this ->value ;
57
61
}
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
+ }
58
76
}
59
77
60
78
// Adding a class alias for backwards compatibility with the previous class name.
You can’t perform that action at this time.
0 commit comments