Skip to content

Commit cdfb10c

Browse files
authored
[protobuf] Add missing properties for class FieldDescriptor (#13625)
1 parent 0b8dcfc commit cdfb10c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stubs/protobuf/google/protobuf/descriptor.pyi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ class FieldDescriptor(DescriptorBase):
156156
cpp_type: Any
157157
@property
158158
def label(self): ...
159+
@property
160+
def camelcase_name(self) -> str: ...
161+
@property
162+
def has_presence(self) -> bool: ...
163+
@property
164+
def is_packed(self) -> bool: ...
159165
has_default_value: Any
160166
default_value: Any
161167
containing_type: Any

0 commit comments

Comments
 (0)