@@ -49,6 +49,7 @@ class Folder(google.protobuf.message.Message):
49
49
UPDATE_TIME_FIELD_NUMBER : builtins .int
50
50
CATALOG_ID_FIELD_NUMBER : builtins .int
51
51
PERMISSION_FIELD_NUMBER : builtins .int
52
+ CATALOG_INFO_FIELD_NUMBER : builtins .int
52
53
uid : builtins .str
53
54
"""The unique identifier of the folder."""
54
55
name : builtins .str
@@ -69,6 +70,9 @@ class Folder(google.protobuf.message.Message):
69
70
@property
70
71
def permission (self ) -> global___Folder .Permission :
71
72
"""Permission defines how a folder can be used."""
73
+ @property
74
+ def catalog_info (self ) -> global___CatalogInfo :
75
+ """The information about the catalog."""
72
76
def __init__ (
73
77
self ,
74
78
* ,
@@ -80,12 +84,35 @@ class Folder(google.protobuf.message.Message):
80
84
update_time : google .protobuf .timestamp_pb2 .Timestamp | None = ...,
81
85
catalog_id : builtins .str = ...,
82
86
permission : global___Folder .Permission | None = ...,
87
+ catalog_info : global___CatalogInfo | None = ...,
83
88
) -> None : ...
84
- def HasField (self , field_name : typing_extensions .Literal ["create_time" , b"create_time" , "metadata" , b"metadata" , "permission" , b"permission" , "update_time" , b"update_time" ]) -> builtins .bool : ...
85
- def ClearField (self , field_name : typing_extensions .Literal ["catalog_id" , b"catalog_id" , "create_time" , b"create_time" , "description" , b"description" , "metadata" , b"metadata" , "name" , b"name" , "permission" , b"permission" , "uid" , b"uid" , "update_time" , b"update_time" ]) -> None : ...
89
+ def HasField (self , field_name : typing_extensions .Literal ["catalog_info" , b"catalog_info" , " create_time" , b"create_time" , "metadata" , b"metadata" , "permission" , b"permission" , "update_time" , b"update_time" ]) -> builtins .bool : ...
90
+ def ClearField (self , field_name : typing_extensions .Literal ["catalog_id" , b"catalog_id" , "catalog_info" , b"catalog_info" , " create_time" , b"create_time" , "description" , b"description" , "metadata" , b"metadata" , "name" , b"name" , "permission" , b"permission" , "uid" , b"uid" , "update_time" , b"update_time" ]) -> None : ...
86
91
87
92
global___Folder = Folder
88
93
94
+ @typing_extensions .final
95
+ class CatalogInfo (google .protobuf .message .Message ):
96
+ """CatalogInfo contains the information about the catalog."""
97
+
98
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
99
+
100
+ FILE_COUNT_FIELD_NUMBER : builtins .int
101
+ TOTAL_SIZE_BYTES_FIELD_NUMBER : builtins .int
102
+ file_count : builtins .int
103
+ """The number of files in the catalog."""
104
+ total_size_bytes : builtins .int
105
+ """The total size of all files in the catalog in bytes."""
106
+ def __init__ (
107
+ self ,
108
+ * ,
109
+ file_count : builtins .int = ...,
110
+ total_size_bytes : builtins .int = ...,
111
+ ) -> None : ...
112
+ def ClearField (self , field_name : typing_extensions .Literal ["file_count" , b"file_count" , "total_size_bytes" , b"total_size_bytes" ]) -> None : ...
113
+
114
+ global___CatalogInfo = CatalogInfo
115
+
89
116
@typing_extensions .final
90
117
class ListFoldersRequest (google .protobuf .message .Message ):
91
118
"""ListFoldersRequest represents a request to list folders."""
0 commit comments