!=58 d Z ddlZddlZddlZddlmZmZmZm Z m Z mZmZm Z mZmZmZmZ ed Z ed Z ed Z G d dee Zej j e G d d ee ee Z G d dee ee Z G d de eef Z G d de eef Z G d d Z G d d Z G d d ZdS )a Contains container classes to represent different protocol buffer types. This file defines container classes which represent categories of protocol buffer field types which need extra maintenance. Currently these categories are: - Repeated scalar fields - These are all repeated fields which aren't composite (e.g. they are of simple types like int32, string, etc). - Repeated composite fields - Repeated fields which are composite. This includes groups and nested messages. N)AnyIterableIteratorListMutableMappingMutableSequenceNoReturnOptionalSequenceTypeVarUnionoverload_T_K_Vc e Zd ZdZddgZdeddfdZedede fd Z ededee fd Z d Z defdZ d edefdZdZdefdZddZddZdS ) BaseContainerzBase container class._message_listener_valuesmessage_listenerreturnNc " || _ g | _ dS )z Args: message_listener: A MessageListener implementation. The RepeatedScalarFieldContainer will call this object's Modified() method when it is modified. N)r r )selfr s /builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib64/python3.11/site-packages/google/protobuf/internal/containers.py__init__zBaseContainer.__init__I s .DDLLL keyc d S N r r s r __getitem__zBaseContainer.__getitem__S Cr c d S r r r! s r r" zBaseContainer.__getitem__W r# r c | j | S )z$Retrieves item by the specified key.r r! s r r" zBaseContainer.__getitem__[ s <r c * t | j S )z0Returns the number of elements in the container.lenr r s r __len__zBaseContainer.__len___ s t|r otherc | |k S )z3Checks if another instance isn't equal to this one.r r r, s r __ne__zBaseContainer.__ne__c s u}r c * t | j S r reprr r* s r __repr__zBaseContainer.__repr__j r c b d|v r| d |d<