@@ -1055,6 +1055,8 @@ class File(google.protobuf.message.Message):
1055
1055
TOTAL_TOKENS_FIELD_NUMBER : builtins .int
1056
1056
EXTERNAL_METADATA_FIELD_NUMBER : builtins .int
1057
1057
OBJECT_UID_FIELD_NUMBER : builtins .int
1058
+ SUMMARY_FIELD_NUMBER : builtins .int
1059
+ DOWNLOAD_URL_FIELD_NUMBER : builtins .int
1058
1060
file_uid : builtins .str
1059
1061
"""file uid"""
1060
1062
name : builtins .str
@@ -1097,6 +1099,10 @@ class File(google.protobuf.message.Message):
1097
1099
"""objectUid in blob storage. user can upload to blob storage directly, then put objectUid here.
1098
1100
then no need the base64 encoding for the file content.
1099
1101
"""
1102
+ summary : builtins .str
1103
+ """summary of the file"""
1104
+ download_url : builtins .str
1105
+ """download url of the file"""
1100
1106
def __init__ (
1101
1107
self ,
1102
1108
* ,
@@ -1118,9 +1124,11 @@ class File(google.protobuf.message.Message):
1118
1124
total_tokens : builtins .int = ...,
1119
1125
external_metadata : google .protobuf .struct_pb2 .Struct | None = ...,
1120
1126
object_uid : builtins .str = ...,
1127
+ summary : builtins .str = ...,
1128
+ download_url : builtins .str = ...,
1121
1129
) -> None : ...
1122
1130
def HasField (self , field_name : typing_extensions .Literal ["_external_metadata" , b"_external_metadata" , "create_time" , b"create_time" , "delete_time" , b"delete_time" , "external_metadata" , b"external_metadata" , "update_time" , b"update_time" ]) -> builtins .bool : ...
1123
- def ClearField (self , field_name : typing_extensions .Literal ["_external_metadata" , b"_external_metadata" , "catalog_uid" , b"catalog_uid" , "content" , b"content" , "create_time" , b"create_time" , "creator_uid" , b"creator_uid" , "delete_time" , b"delete_time" , "external_metadata" , b"external_metadata" , "file_uid" , b"file_uid" , "name" , b"name" , "object_uid" , b"object_uid" , "owner_uid" , b"owner_uid" , "process_outcome" , b"process_outcome" , "process_status" , b"process_status" , "retrievable" , b"retrievable" , "size" , b"size" , "total_chunks" , b"total_chunks" , "total_tokens" , b"total_tokens" , "type" , b"type" , "update_time" , b"update_time" ]) -> None : ...
1131
+ def ClearField (self , field_name : typing_extensions .Literal ["_external_metadata" , b"_external_metadata" , "catalog_uid" , b"catalog_uid" , "content" , b"content" , "create_time" , b"create_time" , "creator_uid" , b"creator_uid" , "delete_time" , b"delete_time" , "download_url" , b"download_url" , " external_metadata" , b"external_metadata" , "file_uid" , b"file_uid" , "name" , b"name" , "object_uid" , b"object_uid" , "owner_uid" , b"owner_uid" , "process_outcome" , b"process_outcome" , "process_status" , b"process_status" , "retrievable" , b"retrievable" , "size" , b"size" , "summary" , b"summary " , "total_chunks" , b"total_chunks" , "total_tokens" , b"total_tokens" , "type" , b"type" , "update_time" , b"update_time" ]) -> None : ...
1124
1132
def WhichOneof (self , oneof_group : typing_extensions .Literal ["_external_metadata" , b"_external_metadata" ]) -> typing_extensions .Literal ["external_metadata" ] | None : ...
1125
1133
1126
1134
global___File = File
@@ -1341,6 +1349,52 @@ class ListCatalogFilesResponse(google.protobuf.message.Message):
1341
1349
1342
1350
global___ListCatalogFilesResponse = ListCatalogFilesResponse
1343
1351
1352
+ @typing_extensions .final
1353
+ class GetCatalogFileRequest (google .protobuf .message .Message ):
1354
+ """GetCatalogFileRequest represents a request to get a catalog file."""
1355
+
1356
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1357
+
1358
+ NAMESPACE_ID_FIELD_NUMBER : builtins .int
1359
+ CATALOG_ID_FIELD_NUMBER : builtins .int
1360
+ FILE_UID_FIELD_NUMBER : builtins .int
1361
+ namespace_id : builtins .str
1362
+ """The namespace id."""
1363
+ catalog_id : builtins .str
1364
+ """The catalog id."""
1365
+ file_uid : builtins .str
1366
+ """The file uid."""
1367
+ def __init__ (
1368
+ self ,
1369
+ * ,
1370
+ namespace_id : builtins .str = ...,
1371
+ catalog_id : builtins .str = ...,
1372
+ file_uid : builtins .str = ...,
1373
+ ) -> None : ...
1374
+ def ClearField (self , field_name : typing_extensions .Literal ["catalog_id" , b"catalog_id" , "file_uid" , b"file_uid" , "namespace_id" , b"namespace_id" ]) -> None : ...
1375
+
1376
+ global___GetCatalogFileRequest = GetCatalogFileRequest
1377
+
1378
+ @typing_extensions .final
1379
+ class GetCatalogFileResponse (google .protobuf .message .Message ):
1380
+ """GetCatalogFileResponse represents a response for getting a catalog file."""
1381
+
1382
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1383
+
1384
+ FILE_FIELD_NUMBER : builtins .int
1385
+ @property
1386
+ def file (self ) -> global___File :
1387
+ """The file."""
1388
+ def __init__ (
1389
+ self ,
1390
+ * ,
1391
+ file : global___File | None = ...,
1392
+ ) -> None : ...
1393
+ def HasField (self , field_name : typing_extensions .Literal ["file" , b"file" ]) -> builtins .bool : ...
1394
+ def ClearField (self , field_name : typing_extensions .Literal ["file" , b"file" ]) -> None : ...
1395
+
1396
+ global___GetCatalogFileResponse = GetCatalogFileResponse
1397
+
1344
1398
@typing_extensions .final
1345
1399
class CatalogRun (google .protobuf .message .Message ):
1346
1400
"""CatalogRun represents a single execution of a catalog action."""
0 commit comments