Add is_required / is_repeated properties to FieldDescriptor (#14703)

This commit is contained in:
Stefan VanBuren authored and GitHub committed 2025-09-17 14:55:53 +02:00
1 parent a56f819f5a
commit add4e85823
1 file changed
+4
@@ -156,6 +156,10 @@ class FieldDescriptor(DescriptorBase):
@property
def label(self): ...
@property
def is_required(self) -> bool: ...
@property
def is_repeated(self) -> bool: ...
@property
def camelcase_name(self) -> str: ...
@property
def has_presence(self) -> bool: ...