class_docstr: Simple, list-like container for holding repeated composite fields.
class_docstr_tok: ["Simple",",","list-like","container","for","holding","repeated","composite","fields","."]
docstr: Note that we pass in a descriptor instead of the generated directly,
  since at the time we construct a _RepeatedCompositeFieldContainer we
  haven't yet necessarily initialized the type that will be contained in the
  container.
  
  Args:
    message_listener: A MessageListener implementation.
      The RepeatedCompositeFieldContainer will call this object's
      Modified() method when it is modified.
    message_descriptor: A Descriptor instance describing the protocol type
      that should be present in this container.  We'll use the
      _concrete_class field of this descriptor when the client calls add().
docstr_tok: ["Note","that","we","pass","in","a","descriptor","instead","of","the","generated","directly",",","since","at","the","time","we","construct","a","_RepeatedCompositeFieldContainer","we","have","n't","yet","necessarily","initialized","the","type","that","will","be","contained","in","the","container",".","Args",":","message_listener",":","A","MessageListener","implementation",".","The","RepeatedCompositeFieldContainer","will","call","this","object's","Modified","(",")","method","when","it","is","modified",".","message_descriptor",":","A","Descriptor","instance","describing","the","protocol","type","that","should","be","present","in","this","container",".","We","'ll","use","the","_concrete_class","field","of","this","descriptor","when","the","client","calls","add","(",")","."]
code: def __init__(self, message_listener, message_descriptor):
      """
      Note that we pass in a descriptor instead of the generated directly,
      since at the time we construct a _RepeatedCompositeFieldContainer we
      haven't yet necessarily initialized the type that will be contained in the
      container.
  
      Args:
        message_listener: A MessageListener implementation.
          The RepeatedCompositeFieldContainer will call this object's
          Modified() method when it is modified.
        message_descriptor: A Descriptor instance describing the protocol type
          that should be present in this container.  We'll use the
          _concrete_class field of this descriptor when the client calls add().
      """
      super(RepeatedCompositeFieldContainer, self).__init__(
          message_listener
      )
      self._message_descriptor = message_descriptor
  
imports: import collections
  import sys
label_desc: Use image node_id 1 to create a new RepeatedCompositeFieldContainer object from inherited base classes: BaseContainer with example: obj = RepeatedCompositeFieldContainer(message_listener, message_descriptor)