@@ -1685,4 +1685,189 @@ class Index(google.protobuf.message.Message):
16851685
16861686 def WhichOneof (self , oneof_group : typing .Literal ['_pipeline_name' , b'_pipeline_name' ]) -> typing .Literal ['pipeline_name' ] | None :
16871687 ...
1688- global___Index = Index
1688+ global___Index = Index
1689+
1690+ @typing .final
1691+ class CreateSavedQueryRequest (google .protobuf .message .Message ):
1692+ """CreateSavedQueryRequest saves a mql query."""
1693+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1694+ ORGANIZATION_ID_FIELD_NUMBER : builtins .int
1695+ NAME_FIELD_NUMBER : builtins .int
1696+ MQL_BINARY_FIELD_NUMBER : builtins .int
1697+ organization_id : builtins .str
1698+ name : builtins .str
1699+
1700+ @property
1701+ def mql_binary (self ) -> google .protobuf .internal .containers .RepeatedScalarFieldContainer [builtins .bytes ]:
1702+ ...
1703+
1704+ def __init__ (self , * , organization_id : builtins .str = ..., name : builtins .str = ..., mql_binary : collections .abc .Iterable [builtins .bytes ] | None = ...) -> None :
1705+ ...
1706+
1707+ def ClearField (self , field_name : typing .Literal ['mql_binary' , b'mql_binary' , 'name' , b'name' , 'organization_id' , b'organization_id' ]) -> None :
1708+ ...
1709+ global___CreateSavedQueryRequest = CreateSavedQueryRequest
1710+
1711+ @typing .final
1712+ class CreateSavedQueryResponse (google .protobuf .message .Message ):
1713+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1714+ ID_FIELD_NUMBER : builtins .int
1715+ id : builtins .str
1716+
1717+ def __init__ (self , * , id : builtins .str = ...) -> None :
1718+ ...
1719+
1720+ def ClearField (self , field_name : typing .Literal ['id' , b'id' ]) -> None :
1721+ ...
1722+ global___CreateSavedQueryResponse = CreateSavedQueryResponse
1723+
1724+ @typing .final
1725+ class Query (google .protobuf .message .Message ):
1726+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1727+ ID_FIELD_NUMBER : builtins .int
1728+ ORGANIZATION_ID_FIELD_NUMBER : builtins .int
1729+ NAME_FIELD_NUMBER : builtins .int
1730+ MQL_BINARY_FIELD_NUMBER : builtins .int
1731+ CREATED_ON_FIELD_NUMBER : builtins .int
1732+ UPDATED_AT_FIELD_NUMBER : builtins .int
1733+ id : builtins .str
1734+ organization_id : builtins .str
1735+ name : builtins .str
1736+
1737+ @property
1738+ def mql_binary (self ) -> google .protobuf .internal .containers .RepeatedScalarFieldContainer [builtins .bytes ]:
1739+ ...
1740+
1741+ @property
1742+ def created_on (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
1743+ ...
1744+
1745+ @property
1746+ def updated_at (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
1747+ ...
1748+
1749+ def __init__ (self , * , id : builtins .str = ..., organization_id : builtins .str = ..., name : builtins .str = ..., mql_binary : collections .abc .Iterable [builtins .bytes ] | None = ..., created_on : google .protobuf .timestamp_pb2 .Timestamp | None = ..., updated_at : google .protobuf .timestamp_pb2 .Timestamp | None = ...) -> None :
1750+ ...
1751+
1752+ def HasField (self , field_name : typing .Literal ['created_on' , b'created_on' , 'updated_at' , b'updated_at' ]) -> builtins .bool :
1753+ ...
1754+
1755+ def ClearField (self , field_name : typing .Literal ['created_on' , b'created_on' , 'id' , b'id' , 'mql_binary' , b'mql_binary' , 'name' , b'name' , 'organization_id' , b'organization_id' , 'updated_at' , b'updated_at' ]) -> None :
1756+ ...
1757+ global___Query = Query
1758+
1759+ @typing .final
1760+ class DeleteSavedQueryRequest (google .protobuf .message .Message ):
1761+ """DeleteSavedQuery deletes a saved query based on the given id."""
1762+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1763+ ID_FIELD_NUMBER : builtins .int
1764+ id : builtins .str
1765+
1766+ def __init__ (self , * , id : builtins .str = ...) -> None :
1767+ ...
1768+
1769+ def ClearField (self , field_name : typing .Literal ['id' , b'id' ]) -> None :
1770+ ...
1771+ global___DeleteSavedQueryRequest = DeleteSavedQueryRequest
1772+
1773+ @typing .final
1774+ class DeleteSavedQueryResponse (google .protobuf .message .Message ):
1775+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1776+
1777+ def __init__ (self ) -> None :
1778+ ...
1779+ global___DeleteSavedQueryResponse = DeleteSavedQueryResponse
1780+
1781+ @typing .final
1782+ class GetSavedQueryRequest (google .protobuf .message .Message ):
1783+ """GetSavedQuery retrieves a saved query by id."""
1784+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1785+ ID_FIELD_NUMBER : builtins .int
1786+ id : builtins .str
1787+
1788+ def __init__ (self , * , id : builtins .str = ...) -> None :
1789+ ...
1790+
1791+ def ClearField (self , field_name : typing .Literal ['id' , b'id' ]) -> None :
1792+ ...
1793+ global___GetSavedQueryRequest = GetSavedQueryRequest
1794+
1795+ @typing .final
1796+ class GetSavedQueryResponse (google .protobuf .message .Message ):
1797+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1798+ SAVED_QUERY_FIELD_NUMBER : builtins .int
1799+
1800+ @property
1801+ def saved_query (self ) -> global___Query :
1802+ ...
1803+
1804+ def __init__ (self , * , saved_query : global___Query | None = ...) -> None :
1805+ ...
1806+
1807+ def HasField (self , field_name : typing .Literal ['saved_query' , b'saved_query' ]) -> builtins .bool :
1808+ ...
1809+
1810+ def ClearField (self , field_name : typing .Literal ['saved_query' , b'saved_query' ]) -> None :
1811+ ...
1812+ global___GetSavedQueryResponse = GetSavedQueryResponse
1813+
1814+ @typing .final
1815+ class UpdateSavedQueryRequest (google .protobuf .message .Message ):
1816+ """UpdateSavedQuery updates the saved query with the given id."""
1817+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1818+ ID_FIELD_NUMBER : builtins .int
1819+ NAME_FIELD_NUMBER : builtins .int
1820+ MQL_BINARY_FIELD_NUMBER : builtins .int
1821+ id : builtins .str
1822+ name : builtins .str
1823+
1824+ @property
1825+ def mql_binary (self ) -> google .protobuf .internal .containers .RepeatedScalarFieldContainer [builtins .bytes ]:
1826+ ...
1827+
1828+ def __init__ (self , * , id : builtins .str = ..., name : builtins .str = ..., mql_binary : collections .abc .Iterable [builtins .bytes ] | None = ...) -> None :
1829+ ...
1830+
1831+ def ClearField (self , field_name : typing .Literal ['id' , b'id' , 'mql_binary' , b'mql_binary' , 'name' , b'name' ]) -> None :
1832+ ...
1833+ global___UpdateSavedQueryRequest = UpdateSavedQueryRequest
1834+
1835+ @typing .final
1836+ class UpdateSavedQueryResponse (google .protobuf .message .Message ):
1837+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1838+
1839+ def __init__ (self ) -> None :
1840+ ...
1841+ global___UpdateSavedQueryResponse = UpdateSavedQueryResponse
1842+
1843+ @typing .final
1844+ class ListSavedQueriesRequest (google .protobuf .message .Message ):
1845+ """ListSavedQueries lists saved queries for a given organization."""
1846+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1847+ ORGANIZATION_ID_FIELD_NUMBER : builtins .int
1848+ LIMIT_FIELD_NUMBER : builtins .int
1849+ organization_id : builtins .str
1850+ limit : builtins .int
1851+
1852+ def __init__ (self , * , organization_id : builtins .str = ..., limit : builtins .int = ...) -> None :
1853+ ...
1854+
1855+ def ClearField (self , field_name : typing .Literal ['limit' , b'limit' , 'organization_id' , b'organization_id' ]) -> None :
1856+ ...
1857+ global___ListSavedQueriesRequest = ListSavedQueriesRequest
1858+
1859+ @typing .final
1860+ class ListSavedQueriesResponse (google .protobuf .message .Message ):
1861+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1862+ QUERIES_FIELD_NUMBER : builtins .int
1863+
1864+ @property
1865+ def queries (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___Query ]:
1866+ ...
1867+
1868+ def __init__ (self , * , queries : collections .abc .Iterable [global___Query ] | None = ...) -> None :
1869+ ...
1870+
1871+ def ClearField (self , field_name : typing .Literal ['queries' , b'queries' ]) -> None :
1872+ ...
1873+ global___ListSavedQueriesResponse = ListSavedQueriesResponse
0 commit comments