(self, value, message)
Convert a JSON representation into ListValue message.
Convert a JSON representation into ListValue message.
Convert a JSON representation into ListValue message .
def _ConvertListValueMessage(self, value, message):
    """Convert a JSON representation into ListValue message."""
    if not isinstance(value, list):
      raise ParseError(
          'ListValue must be in [] which is {0}.'.format(value))
    message.ClearField('values')
    for item in value:
      self._ConvertValueMessage(item, message.values.add())
def _ConvertListValueMessage ( self , value , message ) : if not isinstance ( value , list ) : raise ParseError ( 'ListValue must be in [] which is {0}.' . format ( value ) ) message . ClearField ( 'values' ) for item in value : self . _ConvertValueMessage ( item , message . values . add ( ) )