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 __getitem__ (self, key)
 
def __hash__ (self)
 
def __hash__ (self)
 
def __init__ (self, message_listener)
 
def __init__ (self, message_listener)
 
def __len__ (self)
 
def __len__ (self)
 
def __ne__ (self, other)
 
def __ne__ (self, other)
 
def __repr__ (self)
 
def __repr__ (self)
 
def reverse (self)
 
def sort (self, *args, **kwargs)
 
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 bloaty/third_party/protobuf/python/google/protobuf/internal/containers.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

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 bloaty/third_party/protobuf/python/google/protobuf/internal/containers.py.

◆ __init__() [2/2]

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 55 of file protobuf/python/google/protobuf/internal/containers.py.

Member Function Documentation

◆ __getitem__() [1/2]

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

Definition at line 65 of file protobuf/python/google/protobuf/internal/containers.py.

◆ __getitem__() [2/2]

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

Definition at line 206 of file bloaty/third_party/protobuf/python/google/protobuf/internal/containers.py.

◆ __hash__() [1/2]

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

◆ __hash__() [2/2]

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

◆ __len__() [1/2]

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

Definition at line 69 of file protobuf/python/google/protobuf/internal/containers.py.

◆ __len__() [2/2]

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

Definition at line 210 of file bloaty/third_party/protobuf/python/google/protobuf/internal/containers.py.

◆ __ne__() [1/2]

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

Definition at line 73 of file protobuf/python/google/protobuf/internal/containers.py.

◆ __ne__() [2/2]

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 bloaty/third_party/protobuf/python/google/protobuf/internal/containers.py.

◆ __repr__() [1/2]

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

◆ __repr__() [2/2]

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

◆ reverse()

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

◆ sort() [1/2]

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

◆ sort() [2/2]

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

Member Data Documentation

◆ __slots__

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

◆ _message_listener

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

◆ _values

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:26