Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b1cd59

Browse files
authored
Updated protobuf descriptor pool (#5018)
1 parent e4f239e commit 0b1cd59

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

stubs/protobuf/google/protobuf/descriptor_pool.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@ class DescriptorPool:
77
def AddSerializedFile(self, serialized_file_desc_proto): ...
88
def AddDescriptor(self, desc): ...
99
def AddEnumDescriptor(self, enum_desc): ...
10+
def AddServiceDescriptor(self, service_desc): ...
11+
def AddExtensionDescriptor(self, extension): ...
1012
def AddFileDescriptor(self, file_desc): ...
1113
def FindFileByName(self, file_name): ...
1214
def FindFileContainingSymbol(self, symbol): ...
1315
def FindMessageTypeByName(self, full_name): ...
1416
def FindEnumTypeByName(self, full_name): ...
1517
def FindFieldByName(self, full_name): ...
18+
def FindOneofByName(self, full_name): ...
1619
def FindExtensionByName(self, full_name): ...
20+
def FindExtensionByNumber(self, message_descriptor, number): ...
21+
def FindAllExtensions(self, message_descriptor): ...
22+
def FindServiceByName(self, full_name): ...
23+
def FindMethodByName(self, full_name): ...
1724

1825
def Default(): ...

0 commit comments

Comments
 (0)