Public Member Functions | Private Attributes | Static Private Attributes | List of all members
google.protobuf.internal.containers.BaseContainer Class Reference
Inheritance diagram for google.protobuf.internal.containers.BaseContainer:
Inheritance graph
[legend]

Public Member Functions

def __getitem__ (self, key)
 
def __hash__ (self)
 
def __init__ (self, message_listener)
 
def __len__ (self)
 
def __ne__ (self, other)
 
def __repr__ (self)
 
def sort (self, *args, **kwargs)
 

Private Attributes

 _message_listener
 
 _values
 

Static Private Attributes

list __slots__ = ['_message_listener', '_values']
 

Detailed Description

Base container class.

Definition at line 189 of file containers.py.

Constructor & Destructor Documentation

◆ __init__()

def google.protobuf.internal.containers.BaseContainer.__init__ (   self,
  message_listener 
)
Args:
  message_listener: A MessageListener implementation.
The RepeatedScalarFieldContainer will call this object's
Modified() method when it is modified.

Definition at line 196 of file containers.py.

Member Function Documentation

◆ __getitem__()

def google.protobuf.internal.containers.BaseContainer.__getitem__ (   self,
  key 
)
Retrieves item by the specified key.

Definition at line 206 of file containers.py.

◆ __hash__()

def google.protobuf.internal.containers.BaseContainer.__hash__ (   self)

Definition at line 219 of file containers.py.

◆ __len__()

def google.protobuf.internal.containers.BaseContainer.__len__ (   self)
Returns the number of elements in the container.

Definition at line 210 of file containers.py.

◆ __ne__()

def google.protobuf.internal.containers.BaseContainer.__ne__ (   self,
  other 
)
Checks if another instance isn't equal to this one.

Definition at line 214 of file containers.py.

◆ __repr__()

def google.protobuf.internal.containers.BaseContainer.__repr__ (   self)

Definition at line 222 of file containers.py.

◆ sort()

def google.protobuf.internal.containers.BaseContainer.sort (   self,
args,
**  kwargs 
)

Definition at line 225 of file containers.py.

Member Data Documentation

◆ __slots__

list google.protobuf.internal.containers.BaseContainer.__slots__ = ['_message_listener', '_values']
staticprivate

Definition at line 194 of file containers.py.

◆ _message_listener

google.protobuf.internal.containers.BaseContainer._message_listener
private

Definition at line 203 of file containers.py.

◆ _values

google.protobuf.internal.containers.BaseContainer._values
private

Definition at line 204 of file containers.py.


The documentation for this class was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:10