
    <iT                     d    S r SSKrSSKJr   " S S\5      r " S S\5      rS	 r " S
 S\5      r	g)zEClient and server classes corresponding to protobuf-defined services.    N   )collections_pb2c                       \ rS rSrSrS rSrg)CollectionsStub   8Missing associated documentation comment in .proto file.c                     UR                  S[        R                  R                  [        R                  R
                  S9U l        UR                  S[        R                  R                  [        R                  R
                  S9U l	        UR                  S[        R                  R                  [        R                  R
                  S9U l        UR                  S[        R                  R                  [        R                  R
                  S9U l        UR                  S[        R                  R                  [        R                  R
                  S9U l        UR                  S[        R"                  R                  [        R                  R
                  S9U l        UR                  S[        R&                  R                  [        R(                  R
                  S9U l        UR                  S	[        R,                  R                  [        R(                  R
                  S9U l        UR                  S
[        R0                  R                  [        R2                  R
                  S9U l        UR                  S[        R6                  R                  [        R8                  R
                  S9U l        UR                  S[        R<                  R                  [        R>                  R
                  S9U l         UR                  S[        RB                  R                  [        RD                  R
                  S9U l#        UR                  S[        RH                  R                  [        RJ                  R
                  S9U l&        g)z1Constructor.

Args:
    channel: A grpc.Channel.
/qdrant.Collections/Get)request_serializerresponse_deserializer/qdrant.Collections/List/qdrant.Collections/Create/qdrant.Collections/Update/qdrant.Collections/Delete!/qdrant.Collections/UpdateAliases)/qdrant.Collections/ListCollectionAliases/qdrant.Collections/ListAliases)/qdrant.Collections/CollectionClusterInfo$/qdrant.Collections/CollectionExists0/qdrant.Collections/UpdateCollectionClusterSetup"/qdrant.Collections/CreateShardKey"/qdrant.Collections/DeleteShardKeyN)'unary_unarycollections__pb2GetCollectionInfoRequestSerializeToStringGetCollectionInfoResponse
FromStringGetListCollectionsRequestListCollectionsResponseListCreateCollectionCollectionOperationResponseCreateUpdateCollectionUpdateDeleteCollectionDeleteChangeAliasesUpdateAliasesListCollectionAliasesRequestListAliasesResponseListCollectionAliasesListAliasesRequestListAliasesCollectionClusterInfoRequestCollectionClusterInfoResponseCollectionClusterInfoCollectionExistsRequestCollectionExistsResponseCollectionExists#UpdateCollectionClusterSetupRequest$UpdateCollectionClusterSetupResponseUpdateCollectionClusterSetupCreateShardKeyRequestCreateShardKeyResponseCreateShardKeyDeleteShardKeyRequestDeleteShardKeyResponseDeleteShardKey)selfchannels     i/home/james-whalen/.local/lib/python3.13/site-packages/qdrant_client/grpc/collections_service_pb2_grpc.py__init__CollectionsStub.__init__   s    &&)#3#L#L#^#^&6&P&P&[&[ ' 
 ''*#3#J#J#\#\&6&N&N&Y&Y ( 	
 )),#3#D#D#V#V&6&R&R&]&] * 
 )),#3#D#D#V#V&6&R&R&]&] * 
 )),#3#D#D#V#V&6&R&R&]&] * 
 %003#3#A#A#S#S&6&R&R&]&] 1 
 &-%8%8;#3#P#P#b#b&6&J&J&U&U &9 &"
 #..1#3#F#F#X#X&6&J&J&U&U / 
 &-%8%8;#3#P#P#b#b&6&T&T&_&_ &9 &"
 !( 3 36#3#K#K#]#]&6&O&O&Z&Z !4 !
 -4,?,?B#3#W#W#i#i&6&[&[&f&f -@ -)
 &114#3#I#I#[#[&6&M&M&X&X 2 
 &114#3#I#I#[#[&6&M&M&X&X 2     )r3   r6   r%   r<   r)   r?   r   r"   r0   r.   r'   r+   r9   N)__name__
__module____qualname____firstlineno____doc__rC   __static_attributes__ rE   rB   r   r      s    BFrE   r   c                   f    \ rS rSrSrS rS rS rS rS r	S r
S	 rS
 rS rS rS rS rS rSrg)CollectionsServicerT   r   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z>
Get detailed information about specified existing collection
Method not implemented!set_codegrpc
StatusCodeUNIMPLEMENTEDset_detailsNotImplementedErrorr@   requestcontexts      rB   r   CollectionsServicer.GetW   7     	66756!";<<rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z+
Get list name of all existing collections
rQ   rR   rY   s      rB   r"   CollectionsServicer.List_   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z-
Create new collection with given parameters
rQ   rR   rY   s      rB   r%   CollectionsServicer.Createg   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z.
Update parameters of the existing collection
rQ   rR   rY   s      rB   r'   CollectionsServicer.Updateo   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z)
Drop collection and all associated data
rQ   rR   rY   s      rB   r)   CollectionsServicer.Deletew   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z+
Update Aliases of the existing collection
rQ   rR   rY   s      rB   r+   !CollectionsServicer.UpdateAliases   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z*
Get list of all aliases for a collection
rQ   rR   rY   s      rB   r.   )CollectionsServicer.ListCollectionAliases   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z6
Get list of all aliases for all existing collections
rQ   rR   rY   s      rB   r0   CollectionsServicer.ListAliases   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z*
Get cluster information for a collection
rQ   rR   rY   s      rB   r3   )CollectionsServicer.CollectionClusterInfo   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z%
Check the existence of a collection
rQ   rR   rY   s      rB   r6   $CollectionsServicer.CollectionExists   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z'
Update cluster setup for a collection
rQ   rR   rY   s      rB   r9   0CollectionsServicer.UpdateCollectionClusterSetup   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z
Create shard key
rQ   rR   rY   s      rB   r<   "CollectionsServicer.CreateShardKey   r]   rE   c                     UR                  [        R                  R                  5        UR	                  S5        [        S5      e)z
Delete shard key
rQ   rR   rY   s      rB   r?   "CollectionsServicer.DeleteShardKey   r]   rE   rL   N)rF   rG   rH   rI   rJ   r   r"   r%   r'   r)   r+   r.   r0   r3   r6   r9   r<   r?   rK   rL   rE   rB   rN   rN   T   sF    B=============rE   rN   c                 b   [         R                  " U R                  [        R                  R
                  [        R                  R                  S9[         R                  " U R                  [        R                  R
                  [        R                  R                  S9[         R                  " U R                  [        R                  R
                  [        R                  R                  S9[         R                  " U R                  [        R                  R
                  [        R                  R                  S9[         R                  " U R                   [        R"                  R
                  [        R                  R                  S9[         R                  " U R$                  [        R&                  R
                  [        R                  R                  S9[         R                  " U R(                  [        R*                  R
                  [        R,                  R                  S9[         R                  " U R.                  [        R0                  R
                  [        R,                  R                  S9[         R                  " U R2                  [        R4                  R
                  [        R6                  R                  S9[         R                  " U R8                  [        R:                  R
                  [        R<                  R                  S9[         R                  " U R>                  [        R@                  R
                  [        RB                  R                  S9[         R                  " U RD                  [        RF                  R
                  [        RH                  R                  S9[         R                  " U RJ                  [        RL                  R
                  [        RN                  R                  S9S.n[         RP                  " SU5      nURS                  U45        g )N)request_deserializerresponse_serializer)r   r"   r%   r'   r)   r+   r.   r0   r3   r6   r9   r<   r?   zqdrant.Collections)*rT   unary_unary_rpc_method_handlerr   r   r   r   r   r   r"   r    r!   r%   r#   r$   r'   r&   r)   r(   r+   r*   r.   r,   r-   r0   r/   r3   r1   r2   r6   r4   r5   r9   r7   r8   r<   r:   r;   r?   r=   r>   method_handlers_generic_handleradd_generic_rpc_handlers)servicerserverrpc_method_handlersgeneric_handlers       rB   !add_CollectionsServicer_to_serverr      s   66LL)9)R)R)])](8(R(R(d(d
 77MM)9)P)P)[)[(8(P(P(b(b
 99OO)9)J)J)U)U(8(T(T(f(f
 99OO)9)J)J)U)U(8(T(T(f(f
 99OO)9)J)J)U)U(8(T(T(f(f
 "@@**)9)G)G)R)R(8(T(T(f(f
 &*%H%H22)9)V)V)a)a(8(L(L(^(^&
  >>(()9)L)L)W)W(8(L(L(^(^
 &*%H%H22)9)V)V)a)a(8(V(V(h(h&
 !% C C--)9)Q)Q)\)\(8(Q(Q(c(c!
 -1,O,O99)9)])])h)h(8(](](o(o-
 #AA++)9)O)O)Z)Z(8(O(O(a(a
 #AA++)9)O)O)Z)Z(8(O(O(a(a{BF :: "57O
##_$67rE   c                      \ rS rSrSr\        SS j5       r\        SS j5       r\        SS j5       r\        SS j5       r	\        SS	 j5       r
\        SS
 j5       r\        SS j5       r\        SS j5       r\        SS j5       r\        SS j5       r\        SS j5       r\        SS j5       r\        SS j5       rSrg)Collectionsi
  r   rL   Nc
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr
   )rT   experimentalr   r   r   r   r   r   
rZ   targetoptionschannel_credentialscall_credentialsinsecurecompressionwait_for_readytimeoutmetadatas
             rB   r   Collections.Get  sL       ,,W>W55GG66AAW	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r    r   r!   r   r   s
             rB   r"   Collections.List  sL       ,,W>X33EE44??W	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r#   r   r$   r   r   s
             rB   r%   Collections.Create/  L       ,,W>Z--??88CCW	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r&   r   r$   r   r   s
             rB   r'   Collections.Update@  r   rE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r(   r   r$   r   r   s
             rB   r)   Collections.DeleteQ  r   rE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r*   r   r$   r   r   s
             rB   r+   Collections.UpdateAliasesb  sL       ,,W>a**<<88CCW	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r,   r   r-   r   r   s
             rB   r.   !Collections.ListCollectionAliasess  sL       ,,W>i99KK00;;W	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r/   r   r-   r   r   s
             rB   r0   Collections.ListAliases  sL       ,,W>_//AA00;;W	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r1   r   r2   r   r   s
             rB   r3   !Collections.CollectionClusterInfo  sL       ,,W>i99KK::EEW	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r4   r   r5   r   r   s
             rB   r6   Collections.CollectionExists  sL       ,,W>d44FF55@@W	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r7   r   r8   r   r   s
             rB   r9   (Collections.UpdateCollectionClusterSetup  sL       ,,W>p@@RRAALLW	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r:   r   r;   r   r   s
             rB   r<   Collections.CreateShardKey  L       ,,W>b22DD33>>W	X 	XrE   c
                     [         R                  R                  XS[        R                  R
                  [        R                  R                  X#XTXgX5      $ )Nr   )rT   r   r   r   r=   r   r>   r   r   s
             rB   r?   Collections.DeleteShardKey  r   rE   )rL   NNFNNNN)rF   rG   rH   rI   rJ   staticmethodr   r"   r%   r'   r)   r+   r.   r0   r3   r6   r9   r<   r?   rK   rL   rE   rB   r   r   
  ss   B  $!X X    $!X X    $!X X    $!X X    $!X X    $!X X    $!X X    $!X X    $!X X    $!X X    $!X X    $!X X    $!X XrE   r   )
rJ   rT    r   r   objectr   rN   r   r   rL   rE   rB   <module>r      sC    K  1If IXi=& i=XF8T^X& ^XrE   