public ImmutableList<MessageType> filterDocumentingMessages(ProtoContainerElement element){
  ImmutableList.Builder<MessageType> builder=ImmutableList.builder();
  for (  MessageType msg : element.getMessages()) {
    if (!msg.isMapEntry()) {
      builder.add(msg);
    }
  }
  return builder.build();
}

public ImmutableList < MessageType > filterDocumentingMessages ( ProtoContainerElement element ) { ImmutableList . Builder < MessageType > builder = ImmutableList . builder ( ) ; for ( MessageType msg : element . getMessages ( ) ) { if ( ! msg . isMapEntry ( ) ) { builder . add ( msg ) ; } } return builder . build ( ) ; }
return the list of messages within element which should be documented in ruby .
